]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Make build-many-glibcs.py use binutils 2.28 branch by default.
[thirdparty/glibc.git] / ChangeLog
1 2017-01-02 Joseph Myers <joseph@codesourcery.com>
2
3 * scripts/build-many-glibcs.py (Context.checkout): Default
4 binutils version to 2.28 branch.
5
6 2017-01-01 Florian Weimer <fweimer@redhat.com>
7
8 * support/support_format_netent.c (support_format_netent): Work
9 around alpha struct netent definition difference.
10
11 2017-01-01 Florian Weimer <fweimer@redhat.com>
12
13 * support/xwrite.c (xwrite): Use %td for pointer difference.
14
15 2017-01-01 Florian Weimer <fweimer@redhat.com>
16
17 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
18 have-tunables only.
19 (tests-static): Add tst-malloc-usable-static-tunables for
20 have-tunables only.
21
22 2017-01-01 Joseph Myers <joseph@codesourcery.com>
23
24 * scripts/config.guess: Update to version 2017-01-01.
25 * scripts/config.sub: Update to version 2017-01-01.
26
27 * NEWS: Update copyright dates.
28 * catgets/gencat.c (print_version): Likewise.
29 * csu/version.c (banner): Likewise.
30 * debug/catchsegv.sh: Likewise.
31 * debug/pcprofiledump.c (print_version): Likewise.
32 * debug/xtrace.sh (do_version): Likewise.
33 * elf/ldconfig.c (print_version): Likewise.
34 * elf/ldd.bash.in: Likewise.
35 * elf/pldd.c (print_version): Likewise.
36 * elf/sotruss.sh: Likewise.
37 * elf/sprof.c (print_version): Likewise.
38 * iconv/iconv_prog.c (print_version): Likewise.
39 * iconv/iconvconfig.c (print_version): Likewise.
40 * locale/programs/locale.c (print_version): Likewise.
41 * locale/programs/localedef.c (print_version): Likewise.
42 * login/programs/pt_chown.c (print_version): Likewise.
43 * malloc/memusage.sh (do_version): Likewise.
44 * malloc/memusagestat.c (print_version): Likewise.
45 * malloc/mtrace.pl: Likewise.
46 * manual/libc.texinfo: Likewise.
47 * nptl/version.c (banner): Likewise.
48 * nscd/nscd.c (print_version): Likewise.
49 * nss/getent.c (print_version): Likewise.
50 * nss/makedb.c (print_version): Likewise.
51 * posix/getconf.c (main): Likewise.
52 * scripts/test-installation.pl: Likewise.
53 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
54
55 * All files with FSF copyright notices: Update copyright dates
56 using scripts/update-copyrights.
57 * intl/plural.c: Regenerated.
58 * locale/programs/charmap-kw.h: Likewise.
59 * locale/programs/locfile-kw.h: Likewise.
60
61 2016-12-31 Florian Weimer <fweimer@redhat.com>
62
63 [BZ #20593]
64 Update DNS RR type definitions.
65 * scripts/gen-rrtypes.py: New file.
66 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
67 BIND-internal RR type not used on the Internet. Add ns_t_ds,
68 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
69 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
70 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
71 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
72 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
73 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
74 ns_t_ta, ns_t_dlv.
75 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
76 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
77 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
78 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
79 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
80 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
81 Define.
82 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
83 entry for ns_t_zxfr.
84
85 2016-12-31 Florian Weimer <fweimer@redhat.com>
86
87 [BZ #18784]
88 CVE-2015-5180
89 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
90 T_UNSPEC. Adjust value.
91 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
92 * resolv/res_query.c (__libc_res_nquery): Likewise.
93 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
94 QTYPEs.
95 * resolv/tst-resolv-qtypes.c: New file.
96 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
97 (tst-resolv-qtypes): Link against libresolv and libpthread.
98
99 2016-12-31 Florian Weimer <fweimer@redhat.com>
100
101 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
102
103 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
104
105 * manual/tunables.texi: New chapter.
106 * manual/Makefile (chapters): Add it.
107 * manual/probes.texi (@node): Point to the Tunables chapter.
108
109 * Makeconfig (have-tunables): Check for non-negative instead
110 of positive.
111 * configure.ac: Add 'valstring' as a valid value for
112 --enable-tunables.
113 * configure: Regenerate.
114 * elf/Makefile (have-tunables): Check for non-negative instead
115 of positive.
116 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
117 dl-tunables.c.
118 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
119 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
120 (tunables_strdup): Likewise.
121 (disable_tunables): Likewise.
122 (parse_tunables): Likewise.
123 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
124 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
125 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
126 (TUNABLES_FRONTEND_yes): New macro, define as
127 TUNABLES_FRONTEND_valstring by default.
128 * manual/install.texi: Document new acceptable values for
129 --enable-tunables.
130 * INSTALL: Regenerate.
131
132 * config.make.in (have-loop-to-function): Define.
133 * elf/Makefile (CFLAGS-dl-tunables.c): Add
134 -fno-tree-loop-distribute-patterns.
135 * elf/dl-tunables.c: Include libc-internals.h.
136 (GLIBC_TUNABLES): New macro.
137 (tunables_strdup): New function.
138 (parse_tunables): New function.
139 (min_strlen): New function.
140 (__tunables_init): Use the new functions and macro.
141 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
142 * malloc/tst-malloc-usable-tunables.c: New test case.
143 * malloc/tst-malloc-usable-static-tunables.c: New test case.
144 * malloc/Makefile (tests, tests-static): Add tests.
145
146 * manual/install.texi: Add --enable-tunables option.
147 * INSTALL: Regenerate.
148 * README.tunables: New file.
149 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
150 (before-compile): Generate dl-tunable-list.h early.
151 * config.h.in: Add HAVE_TUNABLES.
152 * config.make.in: Add have-tunables.
153 * configure.ac: Add --enable-tunables option.
154 * configure: Regenerate.
155 * csu/init-first.c (__libc_init_first): Move
156 __libc_init_secure earlier...
157 * csu/init-first.c (LIBC_START_MAIN):... to here.
158 Include dl-tunables.h, libc-internal.h.
159 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
160 binaries.
161 * elf/Makefile (dl-routines): Add dl-tunables.
162 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
163 namespace.
164 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
165 only when !HAVE_TUNABLES.
166 * elf/rtld.c (process_envvars): Likewise.
167 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
168 (_dl_sysdep_start): Call __tunables_init.
169 * elf/dl-tunable-types.h: New file.
170 * elf/dl-tunables.c: New file.
171 * elf/dl-tunables.h: New file.
172 * elf/dl-tunables.list: New file.
173 * malloc/tst-malloc-usable-static.c: New test case.
174 * malloc/Makefile (tests-static): Add it.
175 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
176 Define TUNABLE_NAMESPACE.
177 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
178 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
179 callback functions.
180 (ptmalloc_init): Set tunable values.
181 * scripts/gen-tunables.awk: New file.
182 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
183 (_dl_sysdep_start): Call __tunables_init.
184
185 2016-12-31 Florian Weimer <fweimer@redhat.com>
186
187 * resolv/resolv.h (RES_BLAST): Deprecate.
188 * resolv/res_debug.c (p_option): Remove RES_BLAST.
189 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
190 to RES_BLAST.
191
192 2016-12-27 Florian Weimer <fweimer@redhat.com>
193
194 [BZ #19582]
195 Deprecate RES_USE_INET6.
196 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
197 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
198 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
199 RES_USE_INET6.
200 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
201 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
202 (_nss_nisplus_gethostbyaddr_r): Likewise.
203 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
204 of res_use_inet6.
205 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
206 instead of RES_USE_INET6.
207 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
208 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
209 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
210 Likewise.
211 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
212 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
213 Likewise.
214 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
215 (_nss_dns_gethostbyname_r): Likewise.
216 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
217 alternate RES_USE_INET6 handling.
218 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
219 instead of RES_USE_INET6.
220 * resolv/res_init.c (res_setoptions): Likewise.
221 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
222 * resolv/resolv-internal.h: New file.
223 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
224 make the deprecation warning non-fatal.
225 * resolv/README (Using the resolver in multi-threaded code): Drop
226 reference to RES_USE_INET6.
227 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
228 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
229
230 2016-12-31 Florian Weimer <fweimer@redhat.com>
231
232 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
233 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
234 tst-resolv-search.
235 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
236 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
237 with libresolv and libpthread.
238 * resolv/tst-bug18665.c: New file.
239 * resolv/tst-bug18665-tcp: Likewise.
240 * resolv/tst-res_use_inet6: Likewise.
241 * resolv/tst-resolv-basic: Likewise.
242 * resolv/tst-resolv-network: Likewise.
243 * resolv/tst-resolv-search: Likewise.
244 * support/Makefile (libsupport-routines): Add check_addrinfo,
245 check_dns_packet, check_hostent, check_netent, resolv_test,
246 support_format_address_family, support_format_addrinfo,
247 support_format_dns_packet, support_format_herrno,
248 support_format_hostent, support_format_netent, support_run_diff,
249 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
250 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
251 xstrdup, xwrite.
252 * support/check_addrinfo.c: New file.
253 * support/check_dns_packet.c: Likewise.
254 * support/check_hostent.c: Likewise.
255 * support/check_netent.c: Likewise.
256 * support/check_nss.h: Likewise.
257 * support/format_nss.h: Likewise.
258 * support/resolv_test.c: Likewise.
259 * support/resolv_test.h: Likewise.
260 * support/run_diff.h: Likewise.
261 * support/support_format_address_family.c: Likewise.
262 * support/support_format_addrinfo.c: Likewise.
263 * support/support_format_dns_packet.c: Likewise.
264 * support/support_format_herrno.c: Likewise.
265 * support/support_format_hostent.c: Likewise.
266 * support/support_format_netent.c: Likewise.
267 * support/support_run_diff.c: Likewise.
268 * support/xaccept.c: Likewise.
269 * support/xbind.c: Likewise.
270 * support/xconnect.c: Likewise.
271 * support/xfclose.c: Likewise.
272 * support/xfopen.c: Likewise.
273 * support/xgetsockname.c: Likewise.
274 * support/xlisten.c: Likewise.
275 * support/xmemstream.c: Likewise.
276 * support/xmemstream.h: Likewise.
277 * support/xpoll.c: Likewise.
278 * support/xpthread_once.c: Likewise.
279 * support/xrecvfrom.c: Likewise.
280 * support/xsendto.c: Likewise.
281 * support/xsetsockopt.c: Likewise.
282 * support/xstdio.h: Likewise.
283 * support/xstrdup.c: Likewise.
284 * support/support.h (xstrdup): Declare.
285 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
286 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
287 * support/xthread.h (xpthread_once): Likwise.
288 * support/xunistd.h (xwrite): Declare.
289
290 2016-12-31 Florian Weimer <fweimer@redhat.com>
291
292 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
293 (test_verbose): Declare.
294 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
295 * support/support_test_main.c (default_options): Likewise.
296 (usage, support_test_main): Handle 'v'.
297 (test_verbose): Define.
298 * support/tst-support_record_failure.c (do_test): Use
299 test_verbose.
300 * support/tst-support_record_failure-2.sh (different_status): Add
301 --verbose test.
302
303 2016-12-31 Florian Weimer <fweimer@redhat.com>
304
305 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
306 test failures are recorded.
307 * support/check.c (support_print_failure_impl): Call
308 support_record_failure.
309 (support_exit_failure_impl): Call support_record_failure if status
310 indicates failure.
311 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
312 * support/xasprintf.c (xasprintf): Likewise.
313 * support/xfork.c (xfork): Likewise.
314 * support/xpthread_check_return.c (xpthread_check_return):
315 Likewise.
316 * support/xsocket.c (xsocket): Likeweise.
317 * support/xwaitpid.c (xwaitpid): Likewise.
318 * support/support_record_failure.c (struct test_failures): Adjust
319 to coding style.
320 * support/support_test_verify_impl.c (support_test_verify_impl):
321 Adjust error messages.
322 * support/tst-support_record_failure-2.sh (different_status):
323 Adjust error messages.
324
325 2016-12-31 Florian Weimer <fweimer@redhat.com>
326
327 * support/namespace.h: New file.
328 * support/support_become_root.c: Likewise.
329 * support/support_enter_network_namespace.c: Likewise.
330 * support/tst-support-namespace.c: Likewise.
331 * support/xsocket.c: Likewise.
332 * support/xsocket.h: Likewise.
333 * support/Makefile (libsupport-routines): Add support_become_root,
334 support_enter_network_namespace, xsocket.
335 (tests): Add tst-support-namespace.
336
337 2016-12-31 Florian Weimer <fweimer@redhat.com>
338
339 [BZ #17252]
340 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
341 __USE_GNU.
342
343 2016-12-31 Torvald Riegel <triegel@redhat.com>
344
345 [BZ #13165]
346 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
347 use new algorithm.
348 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
349 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
350 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
351 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
352 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
353 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
354 __condvar_cleanup_waiting, __condvar_dec_grefs,
355 __pthread_cond_wait_common): New.
356 (__condvar_cleanup): Remove.
357 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
358 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
359 Likewise.
360 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
361 Likewise.
362 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
363 * nptl/tst-cond1.c: Add comment.
364 * nptl/tst-cond20.c (do_test): Adapt.
365 * nptl/tst-cond22.c (do_test): Likewise.
366 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
367 structure.
368 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
369 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
370 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
371 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
372 Likewise.
373 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
374 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
375 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
376 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
377 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
378 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
379 Likewise.
380 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
381 Likewise.
382 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
383 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
384 (COND_CLOCK_BITS): Adapt.
385 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
386 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
387 __PTHREAD_COND_SHARED_MASK): New.
388 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
389 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
390 * nptl/nptl_lock_constants.pysym: Adapt.
391 * nptl/test-cond-printers.py: Adapt.
392 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
393 cond_compat_check_and_clear): Adapt.
394 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
395 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
396 (__pthread_cond_timedwait): ... and move here.
397 * nptl/DESIGN-condvar.txt: Remove file.
398 * nptl/lowlevelcond.sym: Likewise.
399 * nptl/pthread_cond_timedwait.c: Likewise.
400 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
401 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
402 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
403 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
404 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
405 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
406 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
407 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
408 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
409 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
410 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
411 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
412 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
413 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
414 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
415 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
416
417 2016-12-31 Joseph Myers <joseph@codesourcery.com>
418
419 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
420 (fromfp): New declaration.
421 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
422 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
423 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
424 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
425 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
426 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
427 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
428 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
429 * math/math.h: Include <bits/types.h>.
430 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
431 constant and macro.
432 (FP_INT_DOWNWARD): Likewise.
433 (FP_INT_TOWARDZERO): Likewise.
434 (FP_INT_TONEARESTFROMZERO): Likewise.
435 (FP_INT_TONEAREST): Likewise.
436 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
437 (fromfpf): Likewise.
438 (fromfpl): Likewise.
439 (ufromfp): Likewise.
440 (ufromfpf): Likewise.
441 (ufromfpl): Likewise.
442 (fromfpx): Likewise.
443 (fromfpxf): Likewise.
444 (fromfpxl): Likewise.
445 (ufromfpx): Likewise.
446 (ufromfpxf): Likewise.
447 (ufromfpxl): Likewise.
448 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
449 s_fromfpxF and s_ufromfpxF.
450 * math/gen-fromfp-tests.py: New file.
451 * math/gen-fromfp-tests-inputs: Likewise.
452 * math/libm-test.inc: Include <stdint.h>
453 (check_intmax_t): New function.
454 (check_uintmax_t): Likewise.
455 (struct test_fiu_M_data): New type.
456 (struct test_fiu_U_data): Likewise.
457 (RUN_TEST_fiu_M): New macro.
458 (RUN_TEST_LOOP_fiu_M): Likewise.
459 (RUN_TEST_fiu_U): Likewise.
460 (RUN_TEST_LOOP_fiu_U): Likewise.
461 (fromfp_test_data): New array.
462 (fromfp_test): New function.
463 (fromfpx_test_data): New array.
464 (fromfpx_test): New function.
465 (ufromfp_test_data): New array.
466 (ufromfp_test): New function.
467 (ufromfpx_test_data): New array.
468 (ufromfpx_test): New function.
469 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
470 ufromfpx_test.
471 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
472 characters.
473 * math/test-tgmath-ret.c: Include <stdint.h>.
474 (rm): New variable.
475 (width): Likewise.
476 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
477 called function.
478 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
479 CHECK_RET_CONST_TYPE.
480 (CHECK_RET_CONST_DOUBLE): Likewise.
481 (CHECK_RET_CONST_LDOUBLE): Likewise.
482 (CHECK_RET_CONST): Take extra arguments and pass them to calls
483 macros.
484 (fromfp): New CHECK_RET_CONST call.
485 (ufromfp): Likewise.
486 (fromfpx): Likewise.
487 (ufromfpx): Likewise.
488 (do_test): Call check_return_fromfp, check_return_ufromfp,
489 check_return_fromfpx and check_return_ufromfpx.
490 * math/test-tgmath.c: Include <stdint.h>
491 (NCALLS): Increase to 138.
492 (F(compile_test)): Initialize i. Call fromfp functions.
493 (F(fromfp)): New function.
494 (F(fromfpx)): Likewise.
495 (F(ufromfp)): Likewise.
496 (F(ufromfpx)): Likewise.
497 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
498 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
499 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
500 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
501 ufromfpxl.
502 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
503 ufromfp and ufromfpx.
504 * math/fromfp.h: New file.
505 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
506 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
507 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
508 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
509 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
510 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
511 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
512 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
513 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
514 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
515 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
516 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
517 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
518 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
519 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
520 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
521 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
522 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
523 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
524 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
525 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
526 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
527 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
528 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
529 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
530 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
531 ufromfp, fromfpx and ufromfpx.
532 (CFLAGS-nldbl-fromfp.c): New variable.
533 (CFLAGS-nldbl-fromfpx.c): Likewise.
534 (CFLAGS-nldbl-ufromfp.c): Likewise.
535 (CFLAGS-nldbl-ufromfpx.c): Likewise.
536 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
537 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
538 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
539 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
540 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
541 * sysdeps/nacl/libm.abilist: Update.
542 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
543 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
544 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
545 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
546 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
547 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
548 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
549 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
550 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
551 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
552 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
553 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
555 Likewise.
556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
557 Likewise.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
559 Likewise.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
561 Likewise.
562 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
563 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
564 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
565 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
566 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
567 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
568 Likewise.
569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
570 Likewise.
571 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
572 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
574
575 2016-12-30 Florian Weimer <fweimer@redhat.com>
576
577 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
578 compat-gethnamaddr.
579 (CPPFLAGS): Remove.
580 * resolv/gethnamaddr.c: Rename ...
581 * resolv/compat-gethnamaddr.c: ... to this file.
582 (_endhtent): Make static.
583 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
584 symbol.
585 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
586 compat symbol.
587 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
588 symbol.
589 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
590 Turn into compat symbol.
591 * include/resolv.h (_endhtent): Remove declaration.
592
593 2016-12-30 Joseph Myers <joseph@codesourcery.com>
594
595 * bits/types.h (__intmax_t): New typedef.
596 (__uintmax_t): Likewise.
597 * sysdeps/generic/stdint.h: Include <bits/types.h>.
598 (intmax_t): Define using __intmax_t.
599 (uintmax_t): Define using __uintmax_t.
600
601 * support/Makefile (tests-special): Make definition conditional on
602 [$(run-built-tests) = yes].
603 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
604 on [$(run-built-tests) = yes].
605
606 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
607
608 * Rules (tests): Add tests-printers-programs to tests to be
609 built.
610
611 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
612
613 * sysvipc/Makefile (tests): Add test-sysvshm.
614 * sysvipc/test-sysvshm.c: New file.
615
616 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
617 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
618 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
619 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
620 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
621 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
622 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
623 Likewise.
624 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
625 Likewise.
626 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
627 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
628 is defined.
629
630 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
631 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
632 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
633 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
634 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
635 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
636 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
637 Likewise.
638 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
639 Likewise.
640 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
641 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
642 defined.
643
644 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
645 oldshmctl.
646 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
647 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
648 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
649 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
650 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
651 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
652 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
653 Likewise.
654 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
655 Likewise.
656 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
657 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
658 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
659 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
660 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
661 implementation.
662 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
663 if it is defined.
664
665 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
666 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
667 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
668 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
669 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
670 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
671 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
672 Likewise.
673 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
674 Likewise.
675 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
676 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
677 Define to __NR_osf_shmat.
678 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
679 defined.
680
681 * sysvipc/Makefile (tests): Add test-sysvsem.
682 * sysvipc/test-sysvsem.c: New file.
683
684 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
685 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
686 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
687 Likewise.
688 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
689 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
690 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
691 Likewise.
692 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
693 Likewise.
694 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
695 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
696 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
697 add a comment about s390 syscall difference from default one.
698 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
699 syscall if it is defined.
700
701 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
702 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
703 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
704 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
705 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
706 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
707 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
708 Likewise.
709 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
710 Likewise.
711 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
712 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
713 defined.
714
715 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
716 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
717 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
718 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
719 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
720 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
721 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
722 Likewise.
723 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
724 Likewise.
725 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
726 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
727 if it is defined.
728
729 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
730 oldsemctl.
731 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
732 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
733 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
734 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
735 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
736 implementation.
737 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
738 syscall if it is defined.
739 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
740 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
741 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
742 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
743 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
744 Likewise.
745 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
746
747 * sysvipc/Makefile (tests): Add test-sysvmsg.
748 * sysvipc/test-sysvmsg.c: New file.
749 * support/check.h (FAIL_UNSUPPORTED): New define.
750
751 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
752 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
753 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
754 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
755 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
756 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
757 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
758 Likewise.
759 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
760 Likewise.
761 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
762 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
763 define.
764
765 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
766 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
767 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
768 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
769 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
770 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
771 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
772 Likewise.
773 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
774 Likewise.
775 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
776 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
777 if defined.
778
779 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
780 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
781 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
782 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
783 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
784 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
785 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
786 Likewise.
787 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
788 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
789 Likewise.
790 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
791 if defined.
792 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
793
794 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
795 oldmsgctl.
796 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
797 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
798 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
799 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
800 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
801 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
802 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
803 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
804 Likewise.
805 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
806 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
807 implementation.
808 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
809 if defined.
810
811 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
812 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
813 definition and define its own.
814 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
815 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
816 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
817 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
818 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
819 definitions to common header.
820 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
821 operation from ipc_ops.h.
822
823 * sysdeps/unix/sysv/linux/kernel-features.h
824 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
825 * sysdeps/unix/sysv/linux/i386/kernel-features.h
826 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
827 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
828 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
829 * sysdeps/unix/sysv/linux/mips/kernel-features.h
830 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
831 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
832 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
833 * sysdeps/unix/sysv/linux/s390/kernel-features.h
834 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
835 * sysdeps/unix/sysv/linux/sh/kernel-features.h
836 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
837 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
838 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
839
840 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
841
842 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
843 overflow in pointer addition.
844
845 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
846
847 * sysdeps/powerpc/powerpc64/multiarch/Makefile
848 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
850 (strchr): Add __strchr_power8 to list of strchr functions.
851 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
852 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
853 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
854 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
855 (strchr): Add __strchr_power8 to ifunc list.
856 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
857 (__strchrnul): Add __strchrnul_power8 to ifunc list.
858 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
859 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
860
861 2016-12-28 Florian Weimer <fweimer@redhat.com>
862
863 * support/Makefile (libsupport-routines): Add
864 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
865 (tests): Add tst-support_record_failure.
866 (tests-special): tst-support_record_failure-2.
867 (tst-support_record_failure-2.out): Depend on
868 tst-support_record_failure-2.sh and tst-support_record_failure.
869 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
870 (support_test_verify_impl, support_record_failure)
871 (support_report_failure, support_report_failure_reset): Declare.
872 * support/support_test_main.c (adjust_exit_status): New function.
873 (support_test_main): Call it to incorporate record test failures.
874 * support/support_test_verify_impl.c: New file.
875 * support/support_record_failure.c: Likewise.
876 * support/tst-support_record_failure.c: Likewise.
877 * support/tst-support_record_failure-2.sh: Likewise.
878 * support/xunistd.h: Likewise.
879 * support/xfork.c: Likewise.
880 * support/xwaitpid.c: Likewise.
881
882 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
883
884 * scripts/check-c++-types.sh: Add comments.
885
886 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
887
888 [BZ #19514]
889 * resolv/res_send.c: Fix typo in comment.
890 * sysdeps/i386/i386-mcount.S: Likewise.
891 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
892 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
893 * sysdeps/sparc/sparc-mcount.S: Likewise.
894
895 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
896
897 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
898 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
899 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
900 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
901 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
902 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
903 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
904 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
905
906 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
907
908 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
909
910 2016-12-27 Florian Weimer <fweimer@redhat.com>
911
912 [BZ #17252]
913 * posix/unistd.h (getentropy): Declare.
914
915 2016-12-27 Florian Weimer <fweimer@redhat.com>
916
917 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
918 Remove.
919 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
920 (cmd): Remove spoof, nospoof, spoofalert.
921 (parse_line): Ignore spoof-related lines.
922 (do_init): Do not process RESOLV_SPOOF_CHECK.
923
924 2016-12-27 Florian Weimer <fweimer@redhat.com>
925
926 [BZ #20964]
927 sunrpc: Always obtain AF_INET addresses from NSS.
928 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
929 * sunrpc/rpc_gethostbyname.c: New file.
930 * sunrpc/Makefile (routines): Add it.
931 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
932 * sunrpc/clnt_simp.c (callrpc): Likewise.
933 * sunrpc/getrpcport.c (getrpcport): Likewise.
934
935 2016-12-27 Florian Weimer <fweimer@redhat.com>
936
937 * sunrpc/rpcinfo.c: Remove.
938 * sunrpc/Makefile: Remove comments referring to rpcinfo.
939
940 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
941
942 [BZ# 19387]
943 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
944 addition.
945 * string/test-memchr.c (do_test): Remove alignment limitation.
946 (test_main): Add test that trigger BZ# 19387.
947
948 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
949
950 [BZ #7065]
951 Enable stack protectore if requested by ./configure.
952 * Makeconfig (+stack-protector): New variable.
953 (+cflags): Use it.
954
955 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
956
957 [BZ #7065]
958 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
959 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
960 (__rt_sigreturn_stub): Use inhibit_stack_protector.
961 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
962 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
963
964 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
965
966 [BZ #7065]
967 * login/Makefile (pt_chown-cflags): Remove.
968 * nscd/Makefile (CFLAGS-nscd): Likewise.
969 * resolv/Makefile (CFLAGS-libresolv): Likewise.
970
971 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
972
973 [BZ #7065]
974 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
975 non-libc-linking testcase.
976
977 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
978 Adhemerval Zanella <adhemerval.zanella@linaro.org>
979 Florian Weimer <fweimer@redhat.com>
980
981 [BZ #7065]
982 PLT avoidance for __stack_chk_fail*.
983 * debug/Makefile (CFLAGS-stack_chk_fail.c)
984 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
985 * debug/stack_chk_fail.c (__stack_chk_fail): Add
986 __stack_chk_fail_local alias.
987 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
988 (__stack_chk_fail): Turn into hidden reference to
989 __stack_chk_fail_local.
990
991 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
992
993 [BZ #7065]
994 * configure.ac: Add check for unsupported stack-protection level.
995 (libc_cv_predef_stack_protector): Remove.
996 (no_ssp): New variable.
997 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
998 (stack_protector): Set to -fno-stack-protector similarly.
999 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1000 (libc_cv_asm_set_directive): Likewise.
1001 (libc_cv_protected_data): Likewise.
1002 (libc_cv_z_combreloc): Likewise.
1003 (libc_cv_hashstyle): Likewise.
1004 (libc_cv_has_glob_dat): Likewise.
1005 (libc_cv_output_format): Likewise.
1006 (libc_cv_output_format): Likewise.
1007 (libc_cv_ehdr_start): Likewise.
1008 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1009 (LIBC_LINKER_FEATURE): Likewise.
1010 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1011
1012 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1013
1014 [BZ #7065]
1015 * elf/Makefile (dummy-stack-chk-fail): New.
1016 (librtld.map): Use it.
1017
1018 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1019
1020 [BZ #7065]
1021 Compile the dynamic linker without stack protection.
1022 * elf/Makefile (elide-stack-protector): New.
1023 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1024 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1025 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1026 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1027
1028 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1029
1030 [BZ #7065]
1031 * config.make.in (have-ssp, no-stack-protector): New.
1032 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1033 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1034 (CFLAGS-sbrk.op): Likewise.
1035 (CFLAGS-brk.o): Likewise.
1036 (CFLAGS-brk.op): Likewise.
1037 * string/Makefile (CFLAGS-memcpy.c): Likewise.
1038 (CFLAGS-wordcopy.c): Likewise.
1039
1040 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1041
1042 [BZ #7065]
1043 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1044 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1045 * include/libc-symbols.h (inhibit_stack_protector): New macro.
1046 (__ifunc_resolver): Use it.
1047 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1048 inhibit_stack_protector.
1049 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1050 * elf/ifuncmain7.c (foo_ifunc): Likewise.
1051 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1052 (foo_protected_ifunc): Likewise.
1053 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1054 (foo_protected_ifunc): Likewise.
1055 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1056 * sysdeps/nacl/nacl_interface_query.c
1057 (nacl_interface_query_ifunc): Likewise.
1058 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1059 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1060 Likewise.
1061 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1062 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1063 the generated vDSO syscall resolver.
1064
1065 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1066 Florian Weimer <fweimer@redhat.com>
1067
1068 [BZ #7065]
1069 Initialize the stack guard earlier when linking statically.
1070 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1071 (__pthread_initialize_minimal): Declare.
1072 * csu/libc-start.c (__pthread_initialize_minimal): Remove
1073 declaration.
1074 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
1075 stack canary and apply_irel initialization up. Call
1076 __pthread_initialize_minimal only if linked in.
1077 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1078 constant values.
1079 (__pthread_initialize_minimal): Remove.
1080 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1081 (__pthread_initialize_minimal_internal): Do not call
1082 __libc_setup_tls.
1083
1084 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
1085
1086 [BZ #7065]
1087 * configure.ac (libc_cv_ssp): Move up.
1088 (libc_cv_ssp_strong): Likewise.
1089 (libc_cv_ssp_all): New.
1090 (stack_protector): Augment, adding -fstack-protector-all.
1091 (no_stack_protector): New.
1092 (STACK_PROTECTOR_LEVEL): New.
1093 (AC_ARG_ENABLE(stack-protector)): New configure flag.
1094 * manual/install.texi (--enable-stack-protector): Document it.
1095 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1096
1097 2016-12-24 Carlos O'Donell <carlos@redhat.com>
1098
1099 * README.pretty-printers: Must specify CPPFLAGS-* also.
1100 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1101 (CPPFLAGS-test-mutex-printers.c): Define.
1102 (CPPFLAGS-test-condattr-printers.c): Define.
1103 (CPPFLAGS-test-cond-printers.c): Define.
1104 (CPPFLAGS-test-rwlockattr-printers.c): Define.
1105 (CPPFLAGS-test-rwlock-printers.c): Define.
1106
1107 * nss/Makefile [ifeq (yes,$(have-thread-library))]
1108 (tests): Add tst-cancel-getpwuid_r.
1109 * nss/tst-cancel-getpwuid_r.c: New file.
1110
1111 [BZ #11941]
1112 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1113 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1114 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1115 tst-nodelete-dlclose.
1116 (modules-names): Add tst-nodelete-dlclose-dso and
1117 tst-nodelete-dlclose-plugin.
1118 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1119 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1120 ($(objpfx)tst-nodelete-dlclose): Define.
1121 ($(objpfx)tst-nodelete-dlclose.out): Define.
1122
1123 2016-12-23 Florian Weimer <fweimer@redhat.com>
1124
1125 * scripts/test_printers_common.py: Log GDB output in case of
1126 Python detection failure.
1127
1128 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
1129
1130 * configure.ac: Check for python3 or python.
1131 * configure: Regenerated.
1132 * config.make.in (PYTHON): New variable.
1133 * benchtests/Makefile: Don't define PYTHON.
1134 (bench): Define target only if PYTHON was defined.
1135 * Rules: Don't define PYTHON.
1136 Define pretty printer targets only if PYTHON was defined.
1137 (tests-printers): Add to tests-unsupported if PYTHON is not
1138 found.
1139 (python-flags, python-invoke): Remove.
1140 (tests-printers-out): Use PYTHON instead of python-invoke.
1141
1142 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1143
1144 [BZ #20978]
1145 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1146 Compare name == NULL, not name != NULL.
1147
1148 * manual/texinfo.tex: Update to version 2016-09-18.18 with
1149 trailing whitespace removed.
1150 * scripts/config.guess: Update to version 2016-10-02.
1151 * scripts/config.sub: Update to version 2016-11-19.
1152 * scripts/install-sh: Update to version 2016-01-11.22.
1153 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1154 * scripts/move-if-change: Update to version 2016-01-11 22:04.
1155
1156 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
1157
1158 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1159 (do_one_test) Restore original string so iteration works.
1160 * string/string-inlines.c (do_test): Create better input strings.
1161 (test_main) Reduce number of testruns.
1162 * string/string-inlines.c (__old_strsep_1c): New function.
1163 (__old_strsep_2c): Likewise.
1164 (__old_strsep_3c): Likewise.
1165 * string/strsep.c (__strsep): Remove case of small delim string.
1166 Call strcspn directly rather than strpbrk.
1167 * string/bits/string2.h (__strsep): Remove define.
1168 (__strsep_1c): Remove.
1169 (__strsep_2c): Remove.
1170 (__strsep_3c): Remove.
1171 (strsep): Remove.
1172 * sysdeps/unix/sysv/linux/internal_statvfs.c
1173 (__statvfs_getflags): Rename to __strsep.
1174
1175 2016-12-21 Florian Weimer <fweimer@redhat.com>
1176
1177 * csu/libc-tls.c (_dl_tls_setup): Remove.
1178 * elf/dl-tls.c (_dl_tls_setup): Likewise.
1179 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1180 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1181
1182 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1183
1184 [BZ #7065]
1185 * sysdeps/x86_64/Makefile [$(subdir) = elf]
1186 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1187
1188 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
1189 Florian Weimer <fweimer@redhat.com>
1190
1191 [BZ #7065]
1192 * csu/Makefile (tests): Empty assignment and document it.
1193 (tests-static): Remove.
1194 * csu/tst-empty.c: Move to...
1195 * misc/tst-empty.c: ... here. Switch to new test driver.
1196 * csu/tst-atomic.c: Move to...
1197 * misc/tst-atomic.c: ... here. Switch to new test driver.
1198 * csu/tst-atomic-long.c: Move to...
1199 * misc/tst-atomic-long.c: ... here.
1200 * misc/Makefile (tests): Add tst-empty, tst-atomic,
1201 tst-atomic-long.
1202 (tests-static): Add tst-empty.
1203
1204 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
1205
1206 * manual/nss.texi: Change incorrect @vtable to @table.
1207 * manual/arith.texi: Convert @tables of variables to @vtables
1208 and remove unnecessary indexing.
1209 * manual/filesys.texi: Likewise.
1210 * manual/llio.texi: Likewise.
1211 * manual/memory.texi: Likewise.
1212 * manual/process.texi: Likewise.
1213 * manual/resource.texi: Likewise.
1214 * manual/search.texi: Likewise.
1215 * manual/signal.texi: Likewise.
1216 * manual/socket.texi: Likewise.
1217 * manual/stdio.texi: Likewise.
1218 * manual/sysinfo.texi: Likewise.
1219 * manual/syslog.texi: Likewise.
1220 * manual/terminal.texi: Likewise.
1221 * manual/time.texi: Likewise.
1222 * manual/users.texi: Likewise.
1223
1224 2016-12-21 Joseph Myers <joseph@codesourcery.com>
1225
1226 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1227 (roundeven): New declaration.
1228 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1229 macro.
1230 * math/Versions (roundeven): New libm symbol at version
1231 GLIBC_2.25.
1232 (roundevenf): Likewise.
1233 (roundevenl): Likewise.
1234 * math/Makefile (libm-calls): Add s_roundevenF.
1235 * math/libm-test.inc (roundeven_test_data): New array.
1236 (roundeven_test): New function.
1237 (main): Call roundeven_test.
1238 * math/test-tgmath.c (NCALLS): Increase to 134.
1239 (F(compile_test)): Call roundeven.
1240 (F(roundeven)): New function.
1241 * manual/arith.texi (Rounding Functions): Document roundeven,
1242 roundevenf and roundevenl.
1243 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1244 * include/math.h (roundeven): Use libm_hidden_proto.
1245 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1246 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1247 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1248 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1249 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1250 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1251 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1252 roundeven.
1253 (CFLAGS-nldbl-roundeven.c): New variable.
1254 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1255 * sysdeps/nacl/libm.abilist: Update.
1256 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1257 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1258 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1259 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1260 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1261 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1262 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1263 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1264 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1265 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1266 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1267 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1269 Likewise.
1270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1271 Likewise.
1272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1273 Likewise.
1274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1275 Likewise.
1276 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1277 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1278 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1279 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1280 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1282 Likewise.
1283 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1284 Likewise.
1285 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1286 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1287 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1288
1289 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1290
1291 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1292 preprocessor indentation inside #if.
1293
1294 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1295
1296 * math/libm-test.inc (fmt_ftostr): New function.
1297 (print_float, check_float_internal): Replace some uses of
1298 FTOSTR with uses of fmt_ftostr.
1299 (print_max_error, print_complex_max_error, print_function_ulps)
1300 (print_complex_function_ulps): Remove uses of the macros
1301 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1302 * math/test-double.h (FTOSTR): Define to strfromd.
1303 (PRINTF_EXPR): Delete.
1304 (PRINTF_XEXPR): Likewise.
1305 (PRINTF_NEXPR): Likewise.
1306 * math/test-float.h (FTOSTR): Define to strfromf.
1307 (PRINTF_EXPR): Delete.
1308 (PRINTF_XEXPR): Likewise.
1309 (PRINTF_NEXPR): Likewise.
1310 * math/test-ldouble.h (FTOSTR): Define to strfroml.
1311 (PRINTF_EXPR): Delete.
1312 (PRINTF_XEXPR): Likewise.
1313 (PRINTF_NEXPR): Likewise.
1314
1315 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1316
1317 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1318 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1319 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1320 (__lll_lock_elision): Decrement adapt_count while unlocking
1321 instead of before locking.
1322 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1323 (__lll_trylock_elision): Likewise.
1324 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1325 (__lll_unlock_elision): Likewise.
1326
1327 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1328
1329 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1330 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1331 Use __libc_tbegin_retry macro.
1332
1333 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1334
1335 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1336 Add -msoft-float.
1337 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1338 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1339 Use __libc_t* transaction macros instead of __builtin_t*.
1340 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1341 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1342
1343 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1344
1345 * sysdeps/unix/sysv/linux/s390/elision-lock.c
1346 (__lll_lock_elision): Use atomics to load / store adapt_count.
1347 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1348 (__lll_trylock_elision): Likewise.
1349
1350 2016-12-20 Florian Weimer <fweimer@redhat.com>
1351
1352 Do not require memset elimination in explicit_bzero test.
1353 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1354 (enum test_expectation): Add NO_EXPECTATIONS.
1355 (subtests): NO_EXPECTATIONS for ordinary clear.
1356 (check_test_buffer): Handle NO_EXPECTATIONS.
1357 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1358
1359 2016-12-20 Joseph Myers <joseph@codesourcery.com>
1360
1361 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1362 (fmaxmag): New declaration.
1363 (fminmag): Likewise.
1364 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1365 macro.
1366 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1367 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1368 (fmaxmagf): Likewise.
1369 (fmaxmagl): Likewise.
1370 (fminmag): Likewise.
1371 (fminmagf): Likewise.
1372 (fminmagl): Likewise.
1373 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1374 * math/s_fmaxmag_template.c: New file.
1375 * math/s_fminmag_template.c: Likewise.
1376 * math/libm-test.inc (fmaxmag_test_data): New array.
1377 (fmaxmag_test): New function.
1378 (fminmag_test_data): New array.
1379 (fminmag_test): New function.
1380 (main): Call fmaxmag_test and fminmag_test.
1381 * math/test-tgmath.c (NCALLS): Increase to 132.
1382 (F(compile_test)): Call fmaxmag and fminmag.
1383 (F(fminmag)): New function.
1384 (F(fmaxmag)): Likewise.
1385 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1386 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1387 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1388 fminmag.
1389 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1390 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1391 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1392 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1394 and fminmag.
1395 (CFLAGS-nldbl-fmaxmag.c): New variable.
1396 (CFLAGS-nldbl-fminmag.c): Likewise.
1397 * sysdeps/nacl/libm.abilist: Update.
1398 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1399 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1400 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1401 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1402 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1403 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1404 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1405 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1406 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1407 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1408 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1409 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1411 Likewise.
1412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1413 Likewise.
1414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1415 Likewise.
1416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1417 Likewise.
1418 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1419 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1420 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1421 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1422 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1424 Likewise.
1425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1426 Likewise.
1427 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1428 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1430
1431 2016-12-19 Torvald Riegel <triegel@redhat.com>
1432
1433 [BZ #20973]
1434 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1435 wake-up in robust mutexes.
1436 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1437
1438 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1439
1440 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1441 (CFLAGS-bench-fmaxf.c): New rule.
1442 (CFLAGS-bench-fminf.c): Likewise.
1443 * benchtests/fmaxf-inputs: New file.
1444 * benchtests/fminf-inputs: Likewise.
1445
1446 * benchtests/Makefile (bench-math): Add fmin and fmax.
1447 (CFLAGS-bench-fmax.c): New rule.
1448 (CFLAGS-bench-fmin.c): Likewise.
1449 * benchtests/fmax-inputs: New file.
1450 * benchtests/fmin-inputs: Likewise.
1451
1452 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1453 parenthesis.
1454 (CMDLINE_PROCESS): Define using function instead of macro.
1455 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1456 of test-skeleton.
1457 * benchtests/bench-memchr.c: Likewise.
1458 * benchtests/bench-memcmp.c: Likewise.
1459 * benchtests/bench-memcpy-large.c: Likewise.
1460 * benchtests/bench-memcpy.c: Likewise.
1461 * benchtests/bench-memmem.c: Likewise.
1462 * benchtests/bench-memmove-large.c: Likewise.
1463 * benchtests/bench-memmove.c: Likewise.
1464 * benchtests/bench-memset-large.c: Likewise.
1465 * benchtests/bench-memset.c: Likewise.
1466 * benchtests/bench-rawmemchr.c: Likewise.
1467 * benchtests/bench-strcasecmp.c: Likewise.
1468 * benchtests/bench-strcasestr.c: Likewise.
1469 * benchtests/bench-strcat.c: Likewise.
1470 * benchtests/bench-strchr.c: Likewise.
1471 * benchtests/bench-strcmp.c: Likewise.
1472 * benchtests/bench-strcpy.c: Likewise.
1473 * benchtests/bench-strcpy_chk.c: Likewise.
1474 * benchtests/bench-strlen.c: Likewise.
1475 * benchtests/bench-strncasecmp.c: Likewise.
1476 * benchtests/bench-strncmp.c: Likewise.
1477 * benchtests/bench-strncpy.c: Likewise.
1478 * benchtests/bench-strnlen.c: Likewise.
1479 * benchtests/bench-strpbrk.c: Likewise.
1480 * benchtests/bench-strrchr.c: Likewise.
1481 * benchtests/bench-strsep.c: Likewise.
1482 * benchtests/bench-strspn.c: Likewise.
1483 * benchtests/bench-strstr.c: Likewise.
1484 * benchtests/bench-strtok.c: Likewise.
1485
1486 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
1487
1488 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1489 stepping identification.
1490 (init_cpu_features): Add handle of Haswell.
1491
1492 2016-11-25 Jim Meyering <meyering@fb.com>
1493
1494 [BZ #20386]
1495 Let gcc detect assert(a = 1) errors.
1496 * assert/assert.h (assert): Rewrite, retaining the old definintion
1497 when required, but otherwise putting the expression as-is in an "if"
1498 expression (hence, with no added parentheses) within a statement
1499 expression.
1500
1501 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
1502
1503 * benchtests/Makefile (binaries-benchset): Depend on libsupport
1504 DSO.
1505
1506 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
1507
1508 * Rules (python-flags, python-invoke): New.
1509 ($(test-printers-out)): Use $(python-flags).
1510
1511 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1512
1513 * manual/arith.texi (Math Error Reporting): Document that sNaN
1514 arguments are not considered domain errors.
1515
1516 2016-12-16 Zack Weinberg <zackw@panix.com>
1517 Florian Weimer <fweimer@redhat.com>
1518 Nick Mathewson <nickm@torproject.org>
1519
1520 * string/explicit_bzero.c: New routine.
1521 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1522 * string/Makefile (routines, strop-tests, tests): Add them.
1523 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1524 * string/string.h [__USE_MISC]: Declare explicit_bzero.
1525
1526 * debug/explicit_bzero_chk.c: New routine.
1527 * debug/Makefile (routines): Add it.
1528 * debug/tst-chk1.c: Test fortification of explicit_bzero.
1529 * string/bits/string3.h: Fortify explicit_bzero.
1530
1531 * manual/string.texi: Document explicit_bzero.
1532 * NEWS: Mention addition of explicit_bzero.
1533
1534 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1535 data before returning, using explicit_bzero.
1536 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1537 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1538 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1539
1540 * include/string.h: Redirect internal uses of explicit_bzero
1541 to __explicit_bzero_chk[_internal].
1542 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1543 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1544 * sysdeps/arm/nacl/libc.abilist
1545 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1546 * sysdeps/unix/sysv/linux/alpha/libc.abilist
1547 * sysdeps/unix/sysv/linux/arm/libc.abilist
1548 * sysdeps/unix/sysv/linux/hppa/libc.abilist
1549 * sysdeps/unix/sysv/linux/i386/libc.abilist
1550 * sysdeps/unix/sysv/linux/ia64/libc.abilist
1551 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1552 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1553 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1554 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1555 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1556 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1557 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1558 * sysdeps/unix/sysv/linux/nios2/libc.abilist
1559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1563 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1564 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1565 * sysdeps/unix/sysv/linux/sh/libc.abilist
1566 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1567 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1569 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1570 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1571 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1572 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1573 Add entries for explicit_bzero and __explicit_bzero_chk.
1574
1575 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1576
1577 * math/fenv.h
1578 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1579 (FE_SNANS_ALWAYS_SIGNAL): New macro.
1580 * math/test-fe-snans-always-signal.c: New file.
1581 * math/Makefile (tests): Add test-fe-snans-always-signal.
1582 (CFLAGS-test-fe-snans-always-signal.c): New variable.
1583 * manual/arith.texi (Infinity and NaN): Document
1584 FE_SNANS_ALWAYS_SIGNAL.
1585
1586 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1587
1588 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1589 bracket.
1590
1591 2016-12-16 Joseph Myers <joseph@codesourcery.com>
1592
1593 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1594 before calling execv.
1595
1596 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1597
1598 [BZ# 20971]
1599 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1600 overflow in pointer addition.
1601 * string/test-memchr.c (do_test): Add an argument to pass as
1602 the size on memchr.
1603 (test_main): Add check for SIZE_MAX.
1604
1605 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1606
1607 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1608 (libm-calls): Add w_scalblnF.
1609 * math/w_scalbln.c: Remove.
1610 * math/w_scalblnf.c: Likewise.
1611 * math/w_scalblnl.c: Likewise.
1612 * math/w_scalbln_template.c: New file with type-generic
1613 implementation based on math/w_scalbln.c.
1614 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1615 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1616
1617 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1618
1619 [BZ #20947]
1620 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1621 either is a signaling NaN.
1622 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
1623 follow fmaxl more closely.
1624 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1625 when either is a signaling NaN.
1626 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1627 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1628 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1629 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1630 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1631 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1632 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1633 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1634 (fmin_test_data): Likewise.
1635
1636 2016-12-15 Andreas Schwab <schwab@suse.de>
1637
1638 * support/support_test_main.c (support_test_main): Don't shadow
1639 file-local variable test_pid.
1640
1641 2016-12-15 Joseph Myers <joseph@codesourcery.com>
1642
1643 [BZ #20947]
1644 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1645 either is a signaling NaN.
1646 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1647
1648 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1649
1650 [BZ #20947]
1651 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1652 when either is a signaling NaN.
1653 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1654
1655 * bits/long-double.h: New file.
1656 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1657 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1658 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1659 * sysdeps/mips/bits/long-double.h: Likewise.
1660 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1661 * math/Makefile (headers): Add bits/long-double.h.
1662 * misc/sys/cdefs.h: Include <bits/long-double.h>.
1663 * stdlib/strtold.c: Include <bits/long-double.h> instead of
1664 <bits/wordsize.h>.
1665 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1666 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1667 * math/math.h: Do not include <bits/mathdef.h>.
1668 * sysdeps/aarch64/bits/mathdef.h: Remove file.
1669 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1670 inclusion.
1671 * sysdeps/ia64/bits/mathdef.h: Remove file.
1672 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1673 * sysdeps/mips/bits/mathdef.h: Likewise.
1674 * sysdeps/powerpc/bits/mathdef.h: Likewise.
1675 * sysdeps/s390/bits/mathdef.h: Likewise.
1676 * sysdeps/sparc/bits/mathdef.h: Likewise.
1677 * sysdeps/x86/bits/mathdef.h: Likewise.
1678 * sysdeps/s390/s390-32/bits/wordsize.h
1679 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1680 conditional code.
1681 * sysdeps/s390/s390-64/bits/wordsize.h
1682 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1683 Likewise.
1684 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1685 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1686 Likewise.
1687 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1688 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1689 Likewise.
1690 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1691 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1692 Likewise.
1693
1694 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1695 <linux/falloc.h>.
1696 (FALLOC_FL_KEEP_SIZE): Remove.
1697 (FALLOC_FL_PUNCH_HOLE): Likewise.
1698 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1699 (FALLOC_FL_ZERO_RANGE): Likewise.
1700
1701 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1702
1703 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1704
1705 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1706
1707 * sysdeps/unix/sysv/linux/renameat.c: New file.
1708 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1709
1710 * sysdeps/unix/sysv/linux/rename.c: New file.
1711 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1712
1713 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1714
1715 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1716 * string/strtok.c (strtok): Change to tailcall __strtok_r.
1717 * string/strtok_r.c (__strtok_r): Optimize for performance.
1718 * string/string-inlines.c (__old_strtok_r_1c): New function.
1719 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1720
1721 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1722
1723 * math/Makefile (gen-libm-calls): Add w_log1pF.
1724 (libm-calls): Remove w_log1pF.
1725 * math/w_log1p.c: Remove.
1726 * math/w_log1pf.c: Likewise.
1727 * math/w_log1pl.c: Likewise.
1728 * math/w_log1p_template.c: New file with type-generic
1729 implementation based on math/w_log1p.c.
1730 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1731 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1732
1733 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
1734
1735 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1736
1737 2016-12-14 Joseph Myers <joseph@codesourcery.com>
1738
1739 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1740 kernel version to 4.9.
1741
1742 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
1743
1744 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1745 ($(inst_libdir)/libm.a): Fix rule to create the target only.
1746
1747 2016-12-13 Andreas Schwab <schwab@suse.de>
1748
1749 * sysdeps/powerpc/dl-procinfo.c: Don't define
1750 _dl_powerpc_platforms.
1751 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1752 constants instead of referencing _dl_powerpc_platforms.
1753 (_dl_platform_string): Remove.
1754
1755 2016-12-13 Florian Weimer <fweimer@redhat.com>
1756
1757 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1758
1759 2016-12-13 Florian Weimer <fweimer@redhat.com>
1760
1761 * Rules (binaries-shared-tests, binaries-pie-tests)
1762 (binaries-static-tests): Link with $(link-extra-libs-tests).
1763 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1764 Remove $(link-extra-libs-tests).
1765
1766 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1767
1768 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1769 (sysdep_routines): Add strncmp_power9.
1770 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1771 (strncmp): Add __strncmp_power9 to list of strncmp functions.
1772 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1773 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1774 (strncmp): Add __strncmp_power9 to ifunc list.
1775 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1776
1777 2016-12-12 Florian Weimer <fweimer@redhat.com>
1778
1779 [BZ #17252]
1780 Add getentropy, getrandom.
1781 * stdlib/sys/random.h: New file.
1782 (headers): Add it.
1783 * stdlib/Makefile (routines): Add getentropy, getrandom.
1784 (tests): Add tst-getrandom.
1785 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1786 * stdlib/getentropy.c: New file.
1787 * stdlib/getrandom.c: Likewise.
1788 * stdlib/tst-getrandom.c: Likewise.
1789 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1790 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1791 * manual/crypt.texi (Unpredictable Bytes): New section.
1792 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1793 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1794 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1795 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1796 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1797 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1798 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1799 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1800 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1801 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1802 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1803 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1804 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1805 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1806 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1807 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1809 Likewise.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1811 Likewise.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1814 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1815 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1816 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1817 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1818 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1821 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1822 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1823 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1824
1825 2016-12-10 Florian Weimer <fweimer@redhat.com>
1826
1827 [BZ #20956]
1828 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1829 as additional compiler barriers.
1830 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1831 (fn2, do_test): Declare with external linkage.
1832 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1833 (do_test): Declare with external linkage.
1834 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1835 (do_test): Declare with external linkage.
1836 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1837 (do_test): Declare with external linkage.
1838
1839 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
1840
1841 * support/support_test_main.c (support_test_main): Use correct
1842 timeout.
1843
1844 2016-12-09 Carlos O'Donell <carlos@redhat.com>
1845 Florian Weimer <fweimer@redhat.com>
1846
1847 [BZ #16421]
1848 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1849 and __u6_addr32 members.
1850 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1851 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1852 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1853 Use __u6_addr32.
1854 * inet/tst-checks.c: Use <support/test-driver.c>
1855 * inet/tst-checks-posix.c: New file.
1856 * inet/Makefile (tests): Add it.
1857 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1858
1859 2016-12-09 Florian Weimer <fweimer@redhat.com>
1860
1861 New subdirectory support for build and test infrastructure.
1862 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
1863 setting install-lib.
1864 * Makeconfig (link-extra-libs-tests): Define.
1865 (+link-pie-tests, +link-static-tests, +link-tests): Use
1866 link-extra-libs-tests.
1867 (rpath-dirs, all-subdirs): Add support.
1868 (built-modules): Add libsupport.
1869 (libsupport): Define.
1870 * support: New directory.
1871 * support/Makefile: New file.
1872 * support/check.c: Likewise.
1873 * support/check.h: Likewise.
1874 * support/delayed_exit.c: Likewise.
1875 * support/ignore_stderr.c: Likewise.
1876 * support/oom_error.c: Likewise.
1877 * support/set_fortify_handler.c: Likewise.
1878 * support/support.h: Likewise.
1879 * support/temp_file-internal.h: Likewise.
1880 * support/temp_file.c: Likewise.
1881 * support/test-driver.c: Likewise.
1882 * support/test-driver.h: Likewise.
1883 * support/test_main.c: Likewise.
1884 * support/write_message.c: Likewise.
1885 * support/xasprintf.c: Likewise.
1886 * support/xcalloc.c: Likewise.
1887 * support/xmalloc.c: Likewise.
1888 * support/xpthread_barrier_destroy.c: Likewise.
1889 * support/xpthread_barrier_init.c: Likewise.
1890 * support/xpthread_barrier_wait.c: Likewise.
1891 * support/xpthread_cancel.c: Likewise.
1892 * support/xpthread_check_return.c: Likewise.
1893 * support/xpthread_cond_wait.c: Likewise.
1894 * support/xpthread_create.c: Likewise.
1895 * support/xpthread_detach.c: Likewise.
1896 * support/xpthread_join.c: Likewise.
1897 * support/xpthread_mutex_lock.c: Likewise.
1898 * support/xpthread_mutex_unlock.c: Likewise.
1899 * support/xpthread_sigmask.c: Likewise.
1900 * support/xpthread_spin_lock.c: Likewise.
1901 * support/xpthread_spin_unlock.c: Likewise.
1902 * support/xrealloc.c: Likewise.
1903 * support/xsignal.h: Likewise.
1904 * support/xthread.h: Likewise.
1905 * support_tempfile.h: Likewise.
1906 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1907 (TEST_DATA_LIMIT): Remove unused macro.
1908 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
1909 <support/check.h>.
1910 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1911 (ignore_stderr, set_fortify_handler): Remove. Now in
1912 <support/support.h>.
1913 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
1914 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
1915 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
1916 (xpthread_join): Remove. Now in <support/xthread.h>.
1917 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
1918 Introduce legacy wrappers.
1919 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
1920 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
1921 (write_message): Remove.
1922 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
1923 test-skeleton.c.
1924 * io/test-open-tmpfile: Likewise.
1925 * io/tst-posix_fallocate-common.c: Likewise.
1926 * libio/tst-fseek.c: Likewise.
1927 * malloc/tst-malloc-backtrace.c: Likewise.
1928 * malloc/tst-malloc-fork-deadlock.c: Likewise.
1929 * malloc/tst-malloc-thread-exit.c: Likewise.
1930 * nptl/tst-cancel7.c: Likewise.
1931 * nptl/tst-cleanup0.c: Likewise.
1932 * posix/tst-posix_fadvise-common.c: Likewise.
1933 * rt/tst-shm.c: Likewise.
1934 * time/bug-getdate1.c: Likewise.
1935 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1936 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
1937 * elf/Makefile (tst-piemod1.so): Link against libsupport.
1938
1939 2016-12-08 Joseph Myers <joseph@codesourcery.com>
1940
1941 * Rules [$(run-built-tests) != no] (tests-expected): Add
1942 $(tests-printers).
1943 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
1944
1945 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
1946
1947 [BZ #20539]
1948 * math/Makefile (install-lib-ldscripts): Add libm.a.
1949 (install_subdir): Remove.
1950 (install-others): Add.
1951 ($(inst_libdir)/libm.a): Add rule for installation as
1952 linker script.
1953 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
1954
1955 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
1956
1957 * INSTALL: Regenerated.
1958 * Makeconfig: Add comments and whitespace to make the control flow
1959 clearer.
1960 (+link-printers-tests, +link-pie-printers-tests,
1961 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
1962 built-rtld-LDFLAGS, link-libc-rpath,
1963 link-libc-tests-after-rpath-link,
1964 link-libc-printers-tests): New.
1965 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
1966 link-libc-tests): Use the new variables as required.
1967 * Makerules ($(py-const)): New rule.
1968 generated: Add $(py-const).
1969 * README.pretty-printers: New file.
1970 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
1971 (others): Depend on $(py-const).
1972 (tests): Depend on $(tests-printers-programs) or
1973 $(tests-printers-out),
1974 as required. Pass $(tests-printers) to merge-test-results.sh.
1975 * manual/install.texi: Add requirements for testing the pretty
1976 printers.
1977 * nptl/Makefile (gen-py-const-headers, pretty-printers,
1978 tests-printers, CFLAGS-test-mutexattr-printers.c
1979 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
1980 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
1981 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
1982 * nptl/nptl-printers.py: New file.
1983 * nptl/nptl_lock_constants.pysym: Likewise.
1984 * nptl/test-cond-printers.c: Likewise.
1985 * nptl/test-cond-printers.py: Likewise.
1986 * nptl/test-condattr-printers.c: Likewise.
1987 * nptl/test-condattr-printers.py: Likewise.
1988 * nptl/test-mutex-printers.c: Likewise.
1989 * nptl/test-mutex-printers.py: Likewise.
1990 * nptl/test-mutexattr-printers.c: Likewise.
1991 * nptl/test-mutexattr-printers.py: Likewise.
1992 * nptl/test-rwlock-printers.c: Likewise.
1993 * nptl/test-rwlock-printers.py: Likewise.
1994 * nptl/test-rwlockattr-printers.c: Likewise.
1995 * nptl/test-rwlockattr-printers.py: Likewise.
1996 * scripts/gen-py-const.awk: Likewise.
1997 * scripts/test_printers_common.py: Likewise.
1998 * scripts/test_printers_exceptions.py: Likewise.
1999
2000 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2001
2002 * scripts/build-many-glibcs.py (Context.__init__): Take strip
2003 argument.
2004 (Glibc.build_glibc): Strip installed shared libraries if
2005 requested.
2006 (get_parser): Add --strip option.
2007 (main): Update Context call.
2008
2009 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2010 Dominik Vogt <vogt@linux.vnet.ibm.com>
2011
2012 [BZ #20847]
2013 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2014 array bounds for else branch.
2015 (__execvpe): Style fixes.
2016 * posix/tst-vfork3.c (run_script): New function.
2017 (create_script): Likewise.
2018 (do_test): Use run_script internal function.
2019 (do_prepare): Use create_script internal function.
2020
2021 2016-12-07 Andreas Schwab <schwab@suse.de>
2022
2023 * sysdeps/unix/sysv/linux/x86/elision-conf.h
2024 (__elision_available): Don't declare.
2025 * sysdeps/unix/sysv/linux/x86/elision-conf.c
2026 (__elision_available): Don't define.
2027 (elision_init): Don't set __elision_available.
2028
2029 2016-12-07 Joseph Myers <joseph@codesourcery.com>
2030
2031 [BZ #20940]
2032 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2033 return Inf for arguments Inf and sNaN.
2034 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2035 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2036 Likewise.
2037 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2038 Likewise.
2039 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2040 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2041 for arguments Inf and sNaN. When returning a NaN, compute it by
2042 arithmetic on the arguments.
2043 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2044 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2045 arguments.
2046
2047 2016-12-06 Joseph Myers <joseph@codesourcery.com>
2048
2049 [BZ #20916]
2050 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2051 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
2052 to compute result.
2053 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2054 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2055
2056 2016-12-05 Torvald Riegel <triegel@redhat.com>
2057
2058 * include/atomic.h (__atomic_check_size_ls): New.
2059 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2060 atomic_store_release): Use it.
2061 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2062 (elision_adapt, ELIDE_LOCK): Use atomics.
2063 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2064 atomics and improve code comments.
2065 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2066 (__lll_trylock_elision): Likewise.
2067
2068 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2069
2070 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2071 programs.
2072
2073 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2074
2075 [BZ #20916]
2076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2077 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
2078 arguments to compute result.
2079 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2080 1 for arguments (sNaN, 0) or (1, sNaN).
2081 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2082 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2083
2084 [BZ #20919]
2085 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2086 NaN first argument when raised to power 0.
2087 * math/w_pow.c (__pow): Do not check for NaN or zero results from
2088 raising to power zero.
2089 * math/w_powf.c (__powf): Likewise.
2090 * math/w_powl.c (__powl): Likewise.
2091 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2092 pow (0, 0) or pow (NaN, 0).
2093
2094 2016-12-02 Carlos O'Donell <carlos@redhat.com>
2095
2096 [BZ #20918]
2097 * configure.ac: Test for static NSS cryptographic libraries and set
2098 libc_cv_static_nss_crypt.
2099 * configure: Regenerate.
2100 * config.make.in (static-nss-crypt): Define.
2101 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2102 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2103 (CFLAGS-tst-linkall-static.c): Define.
2104 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2105 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2106 ($(objpfx)tst-linkall-static): Define.
2107 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2108 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2109
2110 2016-12-02 Florian Weimer <fweimer@redhat.com>
2111
2112 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2113 (one-hundred, tst-tls-many-dynamic-modules): Define.
2114 (modules-names): Add $(tst-tls-many-dynamic-modules).
2115 (tst-tls-manydynamic%mod.os): Build with special preprocessor
2116 macros.
2117 (tst-tls-manydynamic): Link against libdl, libpthread.
2118 (tst-tls-manydynamic.out): The test needs the test modules at run
2119 time.
2120 * elf/tst-tls-manydynamic.c: New file.
2121 * elf/tst-tls-manydynamic.h: Likewise.
2122 * elf/tst-tls-manydynamicmod.c: Likewise.
2123
2124 2016-12-02 Florian Weimer <fweimer@redhat.com>
2125
2126 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2127 (TLS_DTV_UNALLOCATED): Add.
2128 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2129 offsets.
2130
2131 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2132
2133 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2134
2135 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
2136
2137 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2138 Add -fno-optimize-sibling-calls.
2139
2140 2016-12-02 Joseph Myers <joseph@codesourcery.com>
2141
2142 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2143 New declaration.
2144 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2145 macro.
2146 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2147 New macro.
2148 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2149 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2150 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2151 (llogbf): Likewise.
2152 (llogbl): Likewise.
2153 * math/Makefile (gen-libm-calls): Add w_llogbF.
2154 (tests): Add test-fp-llogb-constants.
2155 * math/w_llogb_template.c: New file. Based on
2156 math/w_ilogb_template.c.
2157 * math/libm-test.inc (llogb_test_data): New array.
2158 (llogb_test): New function.
2159 (main): Call llogb_test.
2160 * math/test-fp-llogb-constants.c: New file. Based on
2161 math/test-fp-ilogb-constants.c.
2162 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2163 (do_test): Call check_return_llogb.
2164 * math/test-tgmath.c (NCALLS): Increase to 126.
2165 (F(compile_test)): Call llogb.
2166 (F(llogb)): New function.
2167 * manual/math.texi (Exponents and Logarithms): Document llogb,
2168 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2169 * manual/libm-err-tab.pl (@all_functions): Add llogb.
2170 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2171 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2173 (CFLAGS-nldbl-llogb.c): New variable.
2174 * sysdeps/nacl/libm.abilist: Update.
2175 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2176 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2177 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2178 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2179 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2180 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2181 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2182 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2183 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2184 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2185 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2186 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2188 Likewise.
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2190 Likewise.
2191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2192 Likewise.
2193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2194 Likewise.
2195 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2196 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2197 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2198 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2199 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2201 Likewise.
2202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2203 Likewise.
2204 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2205 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2206 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2207
2208 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2209
2210 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2211 _Float128 instead of long double.
2212 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2213
2214 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2215 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2216 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2217 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2218 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2219 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2220 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2221 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2223 Likewise.
2224
2225 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2226
2227 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2228 Remove redirection to __strrchr_ppc.
2229
2230 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2231
2232 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2233 (sysdep_routines): Add strcmp_power9.
2234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2235 (strcmp): Add __strcmp_power9 to list of strcmp functions.
2236 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2237 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2238 (strcmp): Add __strcmp_power9 to ifunc list.
2239 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2240
2241 2016-12-01 Joseph Myers <joseph@codesourcery.com>
2242
2243 * bits/fp-logb.h: New file.
2244 * sysdeps/ia64/bits/fp-logb.h: Likewise.
2245 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2246 * sysdeps/x86/bits/fp-logb.h: Likewise.
2247 * math/Makefile (headers): Add bits/fp-logb.h.
2248 * math/math.h: Include <bits/fp-logb.h>.
2249 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2250 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2251 * bits/mathdef.h (FP_ILOGB0): Remove.
2252 (FP_ILOGBNAN): Likewise.
2253 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2254 (FP_ILOGBNAN): Likewise.
2255 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2256 (FP_ILOGBNAN): Likewise.
2257 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2258 (FP_ILOGBNAN): Likewise.
2259 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2260 (FP_ILOGBNAN): Likewise.
2261 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2262 (FP_ILOGBNAN): Likewise.
2263 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2264 (FP_ILOGBNAN): Likewise.
2265 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2266 (FP_ILOGBNAN): Likewise.
2267 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2268 (FP_ILOGBNAN): Likewise.
2269 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2270 (FP_ILOGBNAN): Likewise.
2271
2272 * scripts/build-many-glibcs.py: Add bot to usage message. Import
2273 time module.
2274 (Context.__init__): Initialize self.logsdir_old.
2275 (Context.run_builds): Handle bot action.
2276 (Context.bot_cycle): Copy logs directory before running builds.
2277 (Context.bot_run_self): Take argument for whether to check
2278 subprocess result. Flush stdout before running subprocess.
2279 (Context.bot): New function.
2280 (get_parser): Allow bot action.
2281
2282 2016-11-30 Joseph Myers <joseph@codesourcery.com>
2283
2284 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2285 Import email.mime.text, email.utils and smtplib modules.
2286 (Context.__init__): Initialize self.bot_config_json.
2287 (Context.run_builds): Handle bot-cycle action.
2288 (Context.load_bot_config_json): New function.
2289 (Context.part_build_old): Likewise.
2290 (Context.bot_cycle): Likewise.
2291 (Context.bot_build_mail): Likewise.
2292 (Context.bot_run_self): Likewise.
2293 (get_parser): Allow bot-cycle action.
2294
2295 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2296
2297 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2298 Remove redirection to __stpcpy_ppc.
2299
2300 2016-11-30 Florian Weimer <fweimer@redhat.com>
2301
2302 Remove __libc_memalign from ld.so because it is unused.
2303 * elf/dl-minimal.c: Update comment on the malloc implementation.
2304 (malloc): Renamed from __libc_memalign, replacing the original
2305 malloc implementation. Replace the align parameter with
2306 MALLOC_ALIGNMENT.
2307 * elf/Versions (ld): Update comment and remove __libc_memalign.
2308 * sysdeps/nacl/ld.abilist: Likewise.
2309 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2310 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2311 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2312 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2313 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2314 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2315 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2316 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2317 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2318 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2319 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2320 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2321 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2325 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2326 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2327 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2328 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2329 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2332 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2333 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2334 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2335 * sysdeps/generic/localplt.data (ld.so): Likewise.
2336 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2337 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2338 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2339 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2340 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2341 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2342 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2343 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2344 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2346 (ld.so): Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2348 (ld.so): Likewise.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2350 Likewise.
2351 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2352 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2353 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2355 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2356
2357 2016-11-30 Florian Weimer <fweimer@redhat.com>
2358
2359 [BZ #16628]
2360 Implement _dl_catch_error, _dl_signal_error in libc.so.
2361 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2362 (catch_hook): Define as thread-local or regular variable,
2363 depending on DL_ERROR_BOOTSTRAP.
2364 (CATCH_HOOK): Remove.
2365 (dl_signal_error, _dl_catch_error): Use
2366 catch_hook. Add hidden definition for libc.
2367 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
2368 for DL_ERROR_BOOTSTRAP only.
2369 * elf/dl-error.c: New file.
2370 * elf/dl-error-minimal.c: Likewise.
2371 * elf/tst-latepthread.c: Likewise.
2372 * elf/tst-latepthreadmod.c: Likewise.
2373 * elf/Makefile (routines): Add dl-error.
2374 (dl-routines): Remove dl-error.
2375 (rtld-routines): Add dl-error-minimal.
2376 [build-shared] (tests): Add tst-latepthread.
2377 (module-names): Add tst-latepthreadmod.
2378 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2379 symbol.
2380 (tst-latepthreadmod.so): Link against libpthread.
2381 (tst-latepthread): Link against libdbl.
2382 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2383 _dl_catch_error.
2384 [ld] (GLIBC_PRIVATE): Likewise.
2385 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2386 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2387 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2388 directly.
2389 * elf/dl-tsd.c: Remove file.
2390 * elf/rtld.c (_rtld_global_ro): Remove initializers for
2391 _dl_catch_error, _dl_signal_error.
2392 (_dl_initial_error_catch_tsd): Remove definition.
2393 (do_preload): Remove initialization of dl_error_catch_tsd.
2394 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2395 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2396 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2397 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2398 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2399 set dl_error_catch_tsd.
2400 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2401 _dl_error_catch_tsd member.
2402 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2403 members.
2404 (_dl_initial_error_catch_tsd): Remove declaration.
2405 (_dl_dprintf): Provide definition for use outside of ld.so.
2406 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2407 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
2408 prototype for libc.
2409 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2410 _dl_catch_error.
2411 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2412 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2413 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2414 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2415 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2416 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2417 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2418 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2419 Likewise.
2420 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2422 (ld.so): Likewise.
2423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2424 (ld.so): Likewise.
2425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2426 Likewise.
2427 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2428 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2429 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2430 Likewise.
2431 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2432 Likewise.
2433 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2434
2435 2016-11-30 Florian Weimer <fweimer@redhat.com>
2436
2437 [BZ #4099]
2438 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2439 _IO_BUFSIZ (8192).
2440
2441 2016-11-30 Carlos O'Donell <carlos@redhat.com>
2442
2443 * PROJECTS: Remove file.
2444
2445 2016-11-29 Florian Weimer <fweimer@redhat.com>
2446
2447 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2448
2449 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
2450 Steve Ellcey <sellcey@caviumnetworks.com>
2451
2452 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2453 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2454 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2455 fxstatat.
2456 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2457 lxstat.
2458 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2459 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2460 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2461 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2462 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2463 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2464 __xstat.
2465
2466 2016-11-29 Florian Weimer <fweimer@redhat.com>
2467
2468 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2469 Define.
2470 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2471 definition.
2472
2473 2016-11-29 Florian Weimer <fweimer@redhat.com>
2474
2475 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2476 version and turn into strong alias. Remove compat symbol.
2477
2478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2479 (__longjmp): Remove.
2480
2481 2016-11-29 Joseph Myers <joseph@codesourcery.com>
2482
2483 * bits/fp-fast.h: New file.
2484 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2485 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2486 * math/Makefile (headers): Add bits/fp-fast.h.
2487 * math/math.h: Include <bits/fp-fast.h>.
2488 * bits/mathdef.h (FP_FAST_FMA): Remove.
2489 (FP_FAST_FMAF): Likewise.
2490 (FP_FAST_FMAL): Likewise.
2491 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2492 (FP_FAST_FMAF): Likewise.
2493 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2494 (FP_FAST_FMAF): Likewise.
2495 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2496 (FP_FAST_FMAF): Likewise.
2497 (FP_FAST_FMAL): Likewise.
2498 * sysdeps/arm/bits/mathdef.h: Remove file.
2499 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2500 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2501 * sysdeps/tile/bits/mathdef.h: Likewise.
2502
2503 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2504
2505 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
2506 * math/w_ilogb.c: Remove.
2507 * math/w_ilogbf.c: Likewise.
2508 * math/w_ilogbl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2510 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2511 * math/Makefile (gen-libm-calls): Add w_ilogbF.
2512 (libm-calls): Remove w_ilogbF.
2513 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2514 (LDOUBLE_ilogbl_libm_version): New macro.
2515
2516 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2517
2518 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2519 [!__STRICT_ANSI__ && !__cplusplus].
2520
2521 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
2522
2523 [BZ #20750]
2524 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2525 of PIC.
2526
2527 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2528 Yury Norov <ynorov@caviumnetworks.com>
2529 Steve Ellcey <sellcey@caviumnetworks.com>
2530
2531 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2532 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2533 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2534 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2535 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2536 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2537 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2538 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2539 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2540 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2541 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2542 to get correct reg name for ILP32.
2543 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2544 (RELA_SIZE): New Macro.
2545 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2546 to support ILP32.
2547 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2548 cast for ILP32 mode.
2549 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2550 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2551 * sysdeps/aarch64/memset.S (__memset): Ditto.
2552 * sysdeps/aarch64/strchr.S (strchr): Ditto.
2553 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2554 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2555 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2556 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2557 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2558 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2559 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2560 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2561 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2562 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2563 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2564 change PTR_MANGLE call to use register numbers instead of names.
2565 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2566 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2567 ILP32 mode, change PTR_MANGLE calls to use register numbers.
2568 * sysdeps/aarch64/start.S (_start): Ditto.
2569 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2570 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2571 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2572 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2573 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2574 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2575 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2576 Make defined values dependent on __ILP32__.
2577 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2578 (sem_t): Change __align type.
2579 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2580 PTR_SIZE): New Macros.
2581 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2582 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2583 Set when in ILP32 mode.
2584 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2585 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2586 Set elf flags for ILP32.
2587 (add_system_dir): Set ILP32 library directories.
2588 * sysdeps/unix/sysv/linux/aarch64/init-first.c
2589 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2590 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2591 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2592 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2593 New Macros.
2594 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2595
2596 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
2597
2598 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2599 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2600 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2601
2602 2016-11-28 Joseph Myers <joseph@codesourcery.com>
2603
2604 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2605 <asm/cachectl.h>.
2606
2607 2016-11-27 Zack Weinberg <zackw@panix.com>
2608
2609 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2610 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2611
2612 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2613
2614 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2615 error_t to fix usage in C++ programs.
2616
2617 2016-11-26 Joseph Myers <joseph@codesourcery.com>
2618
2619 * scripts/build-many-glibcs.py: Import datetime module.
2620 (Context.__init__): Load JSON build state. Initialize list of
2621 status logs.
2622 (Context.run_builds): Update saved build state.
2623 (Context.add_makefile_cmdlist): Update list of status logs.
2624 (Context.load_build_state_json): New function.
2625 (Context.store_build_state_json): Likewise.
2626 (Context.clear_last_build_state): Likewise.
2627 (Context.update_build_state): Likewise.
2628 (CommandList.status_logs): Likewise.
2629
2630 2016-11-25 Joseph Myers <joseph@codesourcery.com>
2631
2632 * scripts/build-many-glibcs.py (Context.__init__): Save text of
2633 script being executed.
2634 (Context.get_script_text): New function.
2635 (Context.exec_self): Likewise.
2636 (Context.checkout): Re-exec script if changed by checkout process.
2637
2638 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2639
2640 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2641 (setpayloadsig): New declaration.
2642 * math/Versions (setpayloadsig): New libm symbol at version
2643 GLIBC_2.25.
2644 (setpayloadsigf): Likewise.
2645 (setpayloadsigl): Likewise.
2646 * math/Makefile (libm-calls): Add s_setpayloadsigF.
2647 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2648 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2649 (setpayloadsig_test_data): New array.
2650 (setpayloadsig_test): New function.
2651 (main): Call setpayloadsig_test.
2652 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2653 setpayloadsigf and setpayloadsigl.
2654 * manual/libm-err-tab.pl: Update comment on interfaces without
2655 ulps tabulated.
2656 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2657 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2658 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2659 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2660 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2661 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2662 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2663 setpayloadsig.
2664 (CFLAGS-nldbl-setpayloadsig.c): New variable.
2665 * sysdeps/nacl/libm.abilist: Update.
2666 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2667 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2668 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2669 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2670 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2671 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2672 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2673 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2674 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2675 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2676 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2677 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2679 Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2681 Likewise.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2683 Likewise.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2685 Likewise.
2686 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2687 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2688 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2689 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2690 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2691 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2692 Likewise.
2693 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2694 Likewise.
2695 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2696 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2697 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2698
2699 * scripts/build-many-glibcs.py: Import json module.
2700 (Context.__init__): Take replace_sources argument. Load
2701 versions.json.
2702 (Context.load_versions_json): New function.
2703 (Context.store_json): Likewise.
2704 (Context.store_versions_json): Likewise.
2705 (Context.set_component_version): Likewise.
2706 (Context.checkout): Update versions.json. Check for and handle
2707 changes of version. Prefer previously explicitly specified
2708 version to default version.
2709 (Context.checkout_vcs): Return a revision identifier.
2710 (Context.git_checkout): Likewise.
2711 (Context.gcc_checkout): Likewise.
2712 (get_parser): Add --replace-sources option.
2713 (main): Pass replace_sources argument to Context call.
2714
2715 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2716
2717 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2718 * nptl/allocatestack.c (allocate_stack): Likewise.
2719 (__reclaim_stacks): Likewise.
2720 (setxid_signal_thread): Obtain pid through syscall.
2721 * nptl/nptl-init.c (sigcancel_handler): Likewise.
2722 (sighandle_setxid): Likewise.
2723 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2724 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2725 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2726 Likewise.
2727 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2728 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2729 comment.
2730 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2731 * nptl/descr.h (struct pthread): Change comment about pid value.
2732 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2733 pid assert.
2734 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2735 Do not set pid value.
2736 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2737 pid cache check.
2738 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2739 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2740 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2741 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2742 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2743 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2744 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2745 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2746 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2747 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2748 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2749 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2750 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2751 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2752 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2753 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2754 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2755 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2756 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2757 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2758 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2759 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2760 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2761 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2762 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2765 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2766 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2767 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2768 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2769 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2770 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2771 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2772 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2773 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2774 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2775 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2776 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2777 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2778 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2779 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2780 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2783 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2784 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2785 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2786 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2787 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2788 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2789 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2790 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2791 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2792 struct access.
2793 (clone_test): Remove function.
2794 (do_test): Rewrite to take in consideration pid is not cached anymore.
2795
2796 2016-11-24 Joseph Myers <joseph@codesourcery.com>
2797
2798 * bits/flt-eval-method.h: New file.
2799 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2800 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2801 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2802 * math/Makefile (headers): Add bits/flt-eval-method.h.
2803 * math/math.h: Include <bits/flt-eval-method.h>.
2804 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2805 [__USE_ISOC99] (double_t): Likewise.
2806 * bits/mathdef.h (float_t): Remove.
2807 (double_t): Likewise.
2808 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2809 (double_t): Likewise.
2810 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2811 (double_t): Likewise.
2812 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2813 (double_t): Likewise.
2814 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2815 (double_t): Likewise.
2816 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2817 (double_t): Likewise.
2818 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2819 (double_t): Likewise.
2820 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2821 (double_t): Likewise.
2822 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2823 (double_t): Likewise.
2824 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2825 (double_t): Likewise.
2826 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2827 (double_t): Likewise.
2828 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2829 (double_t): Likewise.
2830 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2831 (double_t): Likewise.
2832 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2833 (double_t): Likewise.
2834
2835 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
2836
2837 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2838 instead of PIC.
2839
2840 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2841
2842 [BZ #20859]
2843 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2844 (-0x7fffffff) instead of 0x80000001.
2845 * math/test-fp-ilogb-constants.c: New file.
2846 * math/Makefile (tests): Add test-fp-ilogb-constants.
2847
2848 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
2849
2850 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2851 (_init): Use it in place of hardcoded R_MIPS_JALR.
2852 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2853 (_init): Use it in place of hardcoded R_MIPS_JALR.
2854 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2855 (_init): Use it in place of hardcoded R_MIPS_JALR.
2856
2857 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2858
2859 [BZ #20787]
2860 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2861 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2862 (double_t): Do not define to double if [__x86_64__] when
2863 __FLT_EVAL_METHOD__ is nonzero.
2864 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2865 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2866 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2867 test-flt-eval-method-387 and test-flt-eval-method-sse.
2868 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2869 variable.
2870 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2871
2872 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
2873
2874 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2875 use of -fno-isolate-erroneous-paths options for tilepro.
2876
2877 2016-11-23 Florian Weimer <fweimer@redhat.com>
2878
2879 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2880 structure initialization is no longer needed.
2881
2882 2016-11-23 Joseph Myers <joseph@codesourcery.com>
2883
2884 [BZ #20855]
2885 * bits/mathdef.h (float_t): Define to float.
2886 * math/test-flt-eval-method.c: New file.
2887 * math/Makefile (tests): Add test-flt-eval-method.
2888 (CFLAGS-test-flt-eval-method.c): New variable.
2889
2890 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
2891
2892 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2893 and __fstatfs. Make them aliases of __fstatfs64 if
2894 STATFS_IS_STATFS64 is set to non-zero.
2895 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2896 and __statfs64.
2897 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2898 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2899 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2900 for __statfs and statfs.
2901 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2902 to 0.
2903 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2904 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2905 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2906 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2907 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2908 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2911 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2912 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2913 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
2914 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
2915
2916 2016-11-22 Andreas Schwab <schwab@suse.de>
2917
2918 * misc/mkstemp.c: Include <fcntl.h>.
2919 * misc/mkstemps.c: Likewise.
2920 * misc/mkostemp.c: Likewise.
2921 * misc/mkostemps.c: Likewise.
2922
2923 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
2924
2925 [BZ #20847]
2926 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2927 array bounds.
2928 (__execvpe): Likewise.
2929
2930 2016-11-22 Joseph Myers <joseph@codesourcery.com>
2931
2932 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
2933 -fno-isolate-erroneous-paths options for tilepro.
2934
2935 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
2936
2937 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
2938 to 0 when in 32 bit mode.
2939 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
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/sparc/sparc32/kernel_stat.h: Ditto.
2945 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
2946 XSTAT_IS_XSTAT64 test.
2947 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
2948 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
2949 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
2950 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
2951 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
2952 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
2953 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
2954 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
2955 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
2956 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
2957 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
2958
2959 2016-11-19 Joseph Myers <joseph@codesourcery.com>
2960
2961 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2962 (setpayload): New declaration.
2963 * math/Versions (setpayload): New libm symbol at version
2964 GLIBC_2.25.
2965 (setpayloadf): Likewise.
2966 (setpayloadl): Likewise.
2967 * math/Makefile (libm-calls): Add s_setpayloadF.
2968 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
2969 test_Ff_b1_data.
2970 (RUN_TEST_Ff_b1): New macro.
2971 (RUN_TEST_LOOP_Ff_b1): Likewise.
2972 (canonicalize_test_data): Update type.
2973 (setpayload_test_data): New array.
2974 (setpayload_test): New function.
2975 (main): Call setpayload_test.
2976 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
2977 setpayloadf and setpayloadl.
2978 * manual/libm-err-tab.pl: Update comment on interfaces without
2979 ulps tabulated.
2980 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
2981 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
2982 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
2983 Likewise.
2984 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
2985 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
2986 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
2987 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
2988 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
2989 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
2990 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
2991 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
2992 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
2993 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2994 setpayload.
2995 (CFLAGS-nldbl-setpayload.c): New variable.
2996 * sysdeps/nacl/libm.abilist: Update.
2997 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2998 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2999 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3000 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3001 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3003 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3004 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3005 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3006 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3007 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3008 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3010 Likewise.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3012 Likewise.
3013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3014 Likewise.
3015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3016 Likewise.
3017 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3018 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3019 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3020 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3021 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3023 Likewise.
3024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3025 Likewise.
3026 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3027 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3028 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3029
3030 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3031
3032 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3033 * include/unistd.h: Extend comment about __access_noerrno return
3034 semantics.
3035 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3036 (access_common): Correct typo for EACCES.
3037
3038 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
3039
3040 * sysdeps/tile/math-tests.h: New file.
3041
3042 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3043 (__old_set_dataplane): Rename from set_dataplane and make a
3044 compatibility symbol.
3045 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3046 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3047 sys/dataplane.h.
3048
3049 2016-11-18 Joseph Myers <joseph@codesourcery.com>
3050
3051 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3052 script quote words in command output to log suitably for input to
3053 the shell.
3054
3055 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
3056 Maciej W. Rozycki <macro@imgtec.com>
3057
3058 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3059 `.Lno_weak_fn' label.
3060 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3061 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3062
3063 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3064 Yury Norov <ynorov@caviumnetworks.com>
3065
3066 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3067 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3068 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3069 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3070 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3071 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3072 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3073 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3074 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3075 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3076 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3077 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3078 (sysdep_routines): Remove oldgetrlimit64.
3079 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3080 (sysdep_routines): Likewise.
3081 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3082 (sysdep_routines): Likewise.
3083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3084 [$(subdir) = resource] (sysdep_routines): Likewise.
3085 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3086 [$(subdir) = resource] (sysdep_routines): Likewise.
3087 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3088 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3089 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3090 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3091 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3092 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3093 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3094 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3095 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3096 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3097 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3098 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3099 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3100 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3101 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3102 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3103 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3104 setrlimit and getrlimit.
3105 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3106 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3107 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3110 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3111 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3112 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3113 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3114 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3115 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3116 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3117 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3118 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3119 (__old_getrlimit64): Add compatibility symbol.
3120 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3121
3122 2016-11-17 Joseph Myers <joseph@codesourcery.com>
3123
3124 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3125 newly built gmp, mpfr and mpc.
3126
3127 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3128
3129 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3130
3131 * conform/Makefile (linknamespace-libs): Rename to
3132 linknamespace-libs-thr.
3133 (linknamespace-libs-posix): New variable.
3134 (linknamespace-libs-xsi): Likewise.
3135 (linknamespace-libs-XPG3): Include libcrypt.a.
3136 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3137 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3138 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3139 (linknamespace-libs-XOPEN2K): Likewise.
3140 (linknamespace-libs-XOPEN2K8): Likewise.
3141 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3142
3143 [BZ #20829]
3144 * stdio-common/Versions (__snprintf): Add to version
3145 GLIBC_PRIVATE.
3146 * include/stdio.h (__snprintf): Use libc_hidden_proto.
3147 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3148 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3149 of snprintf.
3150 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3151
3152 2016-11-16 Zack Weinberg <zackw@panix.com>
3153
3154 * string/string.h: Remove obsolete comment stating that
3155 strcoll_l and strxfrm_l have not yet been standardized.
3156
3157 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3158
3159 * hurd/hurd.h (__hurd_fail_noerrno): New function.
3160 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3161 __access_noerrno.
3162 * io/access.c (__access_noerrno): New function.
3163 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3164 (hurd_fail_seterrno): Likewise.
3165 (access_common): Likewise.
3166 (__access_noerrno): Likewise.
3167 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3168 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3169 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3170 macro.
3171
3172 2016-11-16 Joseph Myers <joseph@codesourcery.com>
3173
3174 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3175 Only declare fpregs if [__SH_FPU_ANY__].
3176
3177 2016-11-15 Joseph Myers <joseph@codesourcery.com>
3178
3179 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3180 Make code unconditional.
3181 [!(__SH4__ || __SH4A__)]: Remove conditional code.
3182
3183 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
3184
3185 * manual/sysinfo.texi (S_APPEND): Delete.
3186 (S_IMMUTABLE): Likewise.
3187
3188 2016-11-15 Denis Kaganovich <mahatma@eu.by>
3189 Magnus Granberg <zorry@gentoo.org>
3190 Mike Frysinger <vapier@gentoo.org>
3191
3192 [BZ #20662]
3193 * configure.ac (libc_cv_predef_stack_protector): Also check for
3194 __stack_chk_fail_local symbols.
3195 * configure: Regenerated.
3196
3197 2016-11-15 Florian Weimer <fweimer@redhat.com>
3198
3199 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3200 (libc_hidden_def): Remove redefinition.
3201 (__sigsetjmp): Add hidden definition.
3202 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3203 (libc_hidden_def): Remove redefinition.
3204 (__sigsetjmp): Add hidden definition.
3205
3206 2016-11-14 Joseph Myers <joseph@codesourcery.com>
3207
3208 * scripts/build-many-glibcs.py (os.path): Do not import.
3209 (Context): Inherit explicitly from object. Remove blank line
3210 between class and docstring.
3211 (Config): Likewise.
3212 (Glibc): Likewise.
3213 (Command): Likewise.
3214 (CommandList): Likewise.
3215 (Context.write_files): Store chmod mode in a variable.
3216
3217 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3218 LIBC_SLIBDIR_RTLDDIR for tilegx32.
3219 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3220
3221 2016-11-14 Zack Weinberg <zackw@panix.com>
3222
3223 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3224 creating or re-creating it.
3225
3226 * string/bits/string2.h: Fix typo in comment.
3227
3228 2016-11-14 Zack Weinberg <zackw@panix.com>
3229
3230 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3231 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3232 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3233 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3234 of redirected function names.
3235
3236 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3237 as well. Document that MESSAGE must be a single string literal.
3238
3239 2016-11-11 Joseph Myers <joseph@codesourcery.com>
3240
3241 * scripts/build-many-glibcs.py: New file.
3242
3243 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3244 (do_test): Disable -Wmaybe-uninitialized around uses of
3245 except_mask.
3246
3247 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3248
3249 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
3250
3251 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3252 (atomic_store_release): Provide tilepro-specific implementations.
3253
3254 2016-11-10 Joseph Myers <joseph@codesourcery.com>
3255
3256 * math/math.h (__MATH_TG): New macro.
3257 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3258 [__USE_ISOC99] (signbit): Likewise.
3259 [__USE_ISOC99] (isfinite): Likewise.
3260 [__USE_ISOC99] (isnan): Likewise.
3261 [__USE_ISOC99] (isinf): Likewise.
3262 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3263 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3264 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3265 __MATH_TG and __MATH_EVAL_FMT2.
3266 * sysdeps/generic/math_private.h (fabs_tg): Define using
3267 __MATH_TG.
3268 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3269 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3270 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3271 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3272 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3273 macro.
3274 (__iscanonical): Likewise.
3275 (iscanonical): Define using __MATH_TG.
3276
3277 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3278
3279 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3280 guards.
3281
3282 * sysdeps/unix/sysv/linux/access.c: New file.
3283 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3284
3285 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
3286
3287 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3288 and __WORDSIZE32_PTRDIFF_LONG.
3289
3290 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
3291
3292 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3293
3294 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3295
3296 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3297 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3298 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3299 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3300 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3302 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3303 * sysdeps/unix/sysv/linux/truncate.c: New file.
3304 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3305 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3306 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3307 Remove.
3308 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3309 Likewise.
3310
3311 * posix/tst-truncate-common.c: New file.
3312 * posix/tst-truncate.c: Use tst-truncate-common.c.
3313 * posix/tst-truncate64.c: Likewise and add LFS tests.
3314 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3315 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3316 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3317 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3318 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3320 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3321 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3322 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3323 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3324 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3325 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3326 Remove.
3327 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3328 Likewise.
3329
3330 2016-11-08 Joseph Myers <joseph@codesourcery.com>
3331
3332 [BZ #20790]
3333 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3334 to MAXLINESIZE.
3335 * sunrpc/bug20790.x: New file.
3336 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3337 variable.
3338 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3339 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3340
3341 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3342
3343 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3344
3345 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3346 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
3347 calloc, realloc, free, memalign and __libc_memalign rather than
3348 making them optional.
3349
3350 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3351 for libc.so.
3352
3353 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3354
3355 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3356 ptw-lseek64.
3357 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3358 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
3359 Likewise.
3360 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3361 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3362 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3363 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3364 * sysdeps/unix/sysv/linux/lseek.c: New file.
3365 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3366 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3367 __libc_lseek64 from auto-generation.
3368 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3369 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3370
3371 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3372
3373 * nptl/tst-basic1.c (tf, do_test): Use write_message.
3374 * nptl/tst-cleanup1.c (do_test): Likewise.
3375 * nptl/tst-cleanup3.c (do_test): Likewise.
3376 * nptl/tst-key1.c (do_test): Likewise.
3377 * nptl/tst-key2.c (tf, do_test): Likewise.
3378 * nptl/tst-key3.c (tf, do_test): Likewise.
3379 * nptl/tst-stdio1.c (do_test): Likewise.
3380 * nptl/tst-stdio2.c (do_test): Likewise.
3381
3382 * nptl/tst-kill3.c (handler): Use write_message in place of write.
3383 * nptl/tst-kill6.c (handler): Likewise.
3384 * nptl/tst-tls2.c (CB): Likewise.
3385 * nptl/tst-tls3.c (CB): Likewise.
3386
3387 2016-11-07 Joseph Myers <joseph@codesourcery.com>
3388
3389 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3390
3391 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
3392 Steve Ellcey <sellcey@caviumnetworks.com>
3393
3394 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3395 __ASSUME_ST_INO_64_BIT as 0
3396 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3397 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3398 over the code where __ASSUME_ST_INO_64_BIT is used.
3399 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3400 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3401 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3402
3403 2016-11-07 Florian Weimer <fweimer@redhat.com>
3404
3405 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3406 Document ABI exposure of the __kind offset.
3407 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3408 Mention reason for the __kind offset exposure in the ABI.
3409 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3410 Likewise.
3411 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3412 Likewise.
3413 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3414 Likewise.
3415 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3416 (struct __pthread_mutex_s): Likewise.
3417 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3418 Likewise.
3419 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3420 Likewise.
3421 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3422 Likewise.
3423 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3424 Likewise.
3425 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3426 Likewise.
3427 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3428 Likewise.
3429 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3430 (struct __pthread_mutex_s): Likewise.
3431 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3432 (struct __pthread_mutex_s): Likewise.
3433 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3434 Likewise.
3435
3436 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
3437
3438 * test-skeleton.c: Document do_test usage.
3439
3440 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
3441
3442 * iconv/gconv.h (__gconv_info): Define __data element using a
3443 zero-length array.
3444
3445 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
3446
3447 * math/test-tgmath2.c: Split up test function.
3448
3449 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3450
3451 * Rules (tests-expected): New variable, depending on
3452 $(run-built-tests).
3453 (tests): Pass $(tests-expected) to merge-test-results.sh, not
3454 $(tests).
3455
3456 * Rules [$(run-built-tests) = no] (tests): Do not depend on
3457 $(tests-unsupported).
3458
3459 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3460
3461 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3462 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
3463
3464 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3465
3466 [BZ #20768]
3467 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3468 __fegetenv instead of fegetenv.
3469
3470 [BZ #14139]
3471 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3472 (find_files): Obtain platform name from libm-test-ulps-name and
3473 store in %pplatforms.
3474 (canonicalize_platform): Remove.
3475 (print_platforms): Use $pplatforms directly.
3476 (by_platforms): Do not allow for platforms missing from
3477 %pplatforms.
3478 * sysdeps/aarch64/libm-test-ulps-name: New file.
3479 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3480 * sysdeps/arm/libm-test-ulps-name: Likewise.
3481 * sysdeps/generic/libm-test-ulps-name: Likewise.
3482 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3483 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3484 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3485 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3486 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3487 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3488 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3489 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3490 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3491 * sysdeps/nios2/libm-test-ulps-name: Likewise.
3492 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3493 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3494 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3495 * sysdeps/sh/libm-test-ulps-name: Likewise.
3496 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3497 * sysdeps/tile/libm-test-ulps-name: Likewise.
3498 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3499
3500 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3501
3502 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3503 (test-xfail-check-execstack): New variable.
3504
3505 * sysdeps/mips/localplt.data: New file.
3506
3507 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
3508 Steve Ellcey <sellcey@caviumnetworks.com>
3509
3510 * bits/wordsize.h: Add documentation.
3511 * sysdeps/aarch64/bits/wordsize.h : New file
3512 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3513 definitions.
3514 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3515 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3516 with #if instead of #ifdef.
3517 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3518 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3519 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3520 Add or change defines.
3521 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3522 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3523 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3524 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3525 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3526 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3527 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3528 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3529 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3530 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3531 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3532 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3533 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3534 * sysdeps/x86/bits/wordsize.h: Likewise.
3535
3536 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
3537 Kevin Petit <kevin.petit@arm.com>
3538
3539 * sysdeps/aarch64/memchr.S (__memchr): New file.
3540
3541 2016-11-04 Joseph Myers <joseph@codesourcery.com>
3542
3543 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3544
3545 2016-11-03 Joseph Myers <joseph@codesourcery.com>
3546
3547 [BZ #19398]
3548 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3549 $(linknamespace-symlists-tests).
3550
3551 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
3552
3553 * time/tst-strptime2.c: Ignore -Wformat-length warning.
3554
3555 2016-11-02 Florian Weimer <fweimer@redhat.com>
3556 Carlos O'Donell <carlos@redhat.com>
3557
3558 [Bug #20729]
3559 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3560 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
3561 for -Os related change.
3562
3563 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
3564
3565 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3566
3567 2016-11-01 Joseph Myers <joseph@codesourcery.com>
3568
3569 [BZ #19673]
3570 * manual/math.texi (Exponents and Logarithms): Correct description
3571 of clog10.
3572
3573 2016-10-31 Carlos O'Donell <carlos@redhat.com>
3574
3575 [Bz #20729]
3576 * locale/weight.h: Include libc-internal.h.
3577 * locale/weightwc.h: Likewise.
3578 * nptl/nptl_dbP.h: Likewise.
3579
3580 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
3581
3582 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3583 when it is MACH_PORT_NULL.
3584
3585 2016-10-31 Andreas Schwab <schwab@suse.de>
3586
3587 [BZ #20707]
3588 * posix/glob.c (glob): Initialize pglob before checking for
3589 GLOB_BRACE. Don't call glob recursively if pattern contains no
3590 valid brace expression despite GLOB_BRACE.
3591 * posix/globtest.sh: Test it.
3592
3593 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3594
3595 [BZ #20729]
3596 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3597 Define.
3598 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3599 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3600 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3601 for seq2.back_us and seq1.back_us only for -Os compiles.
3602 * locale/weightwc.h (findix): Likewise.
3603 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3604 DB_GET_FIELD_ADDRESS only for -Os compiles.
3605 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3606 for slen only for -Os compiles.
3607 * string/strcoll_l.c (get_next_seq): Ignore
3608 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3609 for -Os compiles.
3610
3611 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3612 * include/crypt.h: New file.
3613
3614 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3615
3616 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3617 from test-skeleton.c.
3618 (statclass): Replace calls to write with calls to write_message.
3619
3620 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3621
3622 * math/math.h
3623 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3624 New macro.
3625 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3626 Likewise.
3627 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3628 Likewise.
3629 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3630 SNANL.
3631 * math/test-double.h (snan_value_MACRO): New macro.
3632 * math/test-float.h (snan_value_MACRO): Likewise.
3633 * math/test-ldouble.h (snan_value_MACRO): Likewise.
3634 * math/libm-test.inc (issignaling_test_data): Add tests of
3635 snan_value_MACRO.
3636
3637 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3638
3639 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3640 behavior when eliding a lock not held by the current thread.
3641 * sysdeps/powerpc/nptl/elide.h: Likewise.
3642
3643 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3644
3645 [BZ #20728]
3646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3647 branch to _exit() by a function call.
3648
3649 2016-10-28 Florian Weimer <fweimer@redhat.com>
3650
3651 * malloc/malloc.c: Update chunk layout comments.
3652 (chunk_main_arena): Update comment.
3653
3654 2016-10-28 Florian Weimer <fweimer@redhat.com>
3655
3656 * crypt/sha256.c, crypt/sha256-block.c,
3657 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3658 sha256_process_block to __sha256_process_block.
3659 * crypt/sha512.c, crypt/sha512-block.c,
3660 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3661 sha512_process_block to __sha512_process_block.
3662
3663 2016-10-28 Carlos O'Donell <carlos@redhat.com>
3664
3665 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3666
3667 * math/test-nan-overflow.c: Include stdlib.h for malloc.
3668
3669 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
3670
3671 [BZ #20019]
3672 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3673 definition in unrelocated shared library.
3674 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3675
3676 2016-10-28 Florian Weimer <fweimer@redhat.com>
3677
3678 [BZ #20729]
3679 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3680 * sysdeps/unix/sysv/linux/i386/Makefile
3681 (uses-6-syscall-arguments): Define.
3682 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3683 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3684 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3685 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3686 Likewise.
3687 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3688 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3689 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3690 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3691 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3692 (CFLAGS-fallocate64.os): Likewise.
3693 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3694 (CFLAGS-pthread_rwlock_timedrdlock.os)
3695 (CFLAGS-pthread_rwlock_timedwrlock.o)
3696 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3697 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3698 (CFLAGS-sem_timedwait.os): Likewise.
3699
3700 2016-10-28 Florian Weimer <fweimer@redhat.com>
3701
3702 * elf/tst-linkall-static.c: New file.
3703 * elf/Makefile (tests-static): Add tst-linkall-static.
3704 (tst-linkall-static): Link against static libraries.
3705
3706 2016-10-27 Florian Weimer <fweimer@redhat.com>
3707
3708 * malloc/malloc.c (sysmalloc): Initialize previous size field of
3709 mmaped chunks.
3710
3711 2016-10-28 Florian Weimer <fweimer@redhat.com>
3712
3713 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3714 members to mchunk_prev_size, mchunk_size.
3715 (chunk_main_arena): Reverse sense and rename from
3716 chunk_non_main_arena.
3717 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3718 mchunk_size instead of size.
3719 (set_non_main_arena): Define.
3720 (chunksize): Use chunksize_nomask instead of direct member access.
3721 (chunksize_nomask): Define.
3722 (next_chunk): Use chunksize instead of direct member access.
3723 (prev_size, set_prev_size): Define.
3724 (prev_chunk): Use prev_size instead of direct member access.
3725 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3726 (inuse_bit_at_offset, set_inuse_bit_at_offset)
3727 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3728 (mchunk_prev_size, mchunk_size): Poison tokens.
3729 (unlink): Use chunksize_nomask, prev_size accessors.
3730 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3731 (do_check_free_chunk): Use prev_size accessor.
3732 (sysmalloc): Use set_prev_size, set_head accessors.
3733 (munmap_chunk, mremap_chunk): Use prev_size accessor.
3734 (__libc_free): Use chunksize_nomask accessor.
3735 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3736 chunk_main_arena accessors.
3737 (_int_free): Use chunksize_nomask, prev_size accessors.
3738 (malloc_consolidate): Use chunksize, prev_size accessors.
3739 (_int_realloc): Use chunksize_nomask accessor.
3740 (_int_memalign): Use set_prev_size accessor.
3741 (__malloc_info): Use chunksize_nomask accessor.
3742 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3743 accessors.
3744 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3745 (heap_trim): Use chunksize_nomask, prev_size accessors.
3746
3747 2016-10-28 Joseph Myers <joseph@codesourcery.com>
3748
3749 [BZ #19380]
3750 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3751 for inexact results.
3752 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3753 of inexact result where mpfr_subnormalize is the only inexact
3754 step.
3755 * stdlib/tst-strtod-round-data.h: Regenerated.
3756 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3757 Define to 0.
3758 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3759
3760 2016-10-27 David S. Miller <davem@davemloft.net>
3761
3762 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3763
3764 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
3765
3766 * malloc/malloc.c (do_set_mallopt_check): New function.
3767 (do_set_mmap_threshold): Likewise.
3768 (do_set_mmaps_max): Likewise.
3769 (do_set_top_pad): Likewise.
3770 (do_set_perturb_byte): Likewise.
3771 (do_set_trim_threshold): Likewise.
3772 (do_set_arena_max): Likewise.
3773 (do_set_arena_test): Likewise.
3774 (__libc_mallopt): Use them.
3775
3776 2016-10-26 Joseph Myers <joseph@codesourcery.com>
3777
3778 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3779 (canonicalize): New declaration.
3780 * math/Versions (canonicalize): New libm symbol at version
3781 GLIBC_2.25.
3782 (canonicalizef): Likewise.
3783 (canonicalizel): Likewise.
3784 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3785 * math/s_canonicalize_template.c: New file.
3786 * math/libm-test.inc: Update comment on functions tested and
3787 testing of NaN payloads.
3788 (TEST_NAN_PAYLOAD): New macro.
3789 (NO_TEST_INLINE): Update value.
3790 (XFAIL_TEST): Likewise.
3791 (ERRNO_UNCHANGED): Likewise.
3792 (ERRNO_EDOM): Likewise.
3793 (ERRNO_ERANGE): Likewise.
3794 (IGNORE_RESULT): Likewise.
3795 (NON_FINITE): Likewise.
3796 (TEST_SNAN): Likewise.
3797 (NO_TEST_MATHVEC): Likewise.
3798 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3799 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3800 (struct test_Ffp_b1_data): New type.
3801 (RUN_TEST_Ffp_b1): New macro.
3802 (RUN_TEST_LOOP_Ffp_b1): Likewise.
3803 (canonicalize_test_data): New array.
3804 (canonicalize_test): New function.
3805 (main): Call canonicalize_test.
3806 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3807 canonicalizef and canonicalizel.
3808 * manual/libm-err-tab.pl: Update comment on interfaces without
3809 ulps tabulated.
3810 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3811 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3812 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3813 canonicalize.
3814 (CFLAGS-nldbl-canonicalize.c): New variable.
3815 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3816 to ...
3817 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3818 ... here.
3819 (do_test): Also test canonicalizel.
3820 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3821 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3822 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3823 file.
3824 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3825 Use libm_hidden_def.
3826 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3827 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3828 (do_test): Also test canonicalizel.
3829 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3830 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3831 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3832 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3833 libm_hidden_def.
3834 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3835 macro.
3836 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3837 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3838 * sysdeps/nacl/libm.abilist: Update.
3839 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3840 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3841 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3842 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3843 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3844 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3845 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3846 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3847 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3848 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3849 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3850 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3852 Likewise.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3854 Likewise.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3856 Likewise.
3857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3858 Likewise.
3859 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3860 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3861 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3862 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3863 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3865 Likewise.
3866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3867 Likewise.
3868 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3870 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3871
3872 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3873 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3874 getpayload.
3875 (CFLAGS-nldbl-getpayload.c): New variable.
3876
3877 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3878
3879 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3880 integer from the format string.
3881
3882 2016-10-26 Florian Weimer <fweimer@redhat.com>
3883
3884 [BZ #19473]
3885 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3886 declarations.
3887 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3888 weak aliases.
3889 * malloc/hooks.c (__malloc_get_state): Remove definition.
3890 (malloc_get_state): New stub implementation as
3891 compatibility symbol.
3892 (malloc_set_state): Rename from __malloc_set_state. Turn into
3893 compat symbol.
3894 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3895 malloc_set_state.
3896 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3897
3898 2016-10-26 Florian Weimer <fweimer@redhat.com>
3899
3900 * iconvdata/iso646.c (enum variant): Drop illegal_var.
3901 (names): Turn into concatenation of strings.
3902 (gconv_init): Adapt iteration over names.
3903
3904 2016-10-26 Florian Weimer <fweimer@redhat.com>
3905
3906 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3907 make const.
3908 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3909 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3910 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3911 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3912 character in sbconv.
3913 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
3914 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
3915 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
3916
3917 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
3918
3919 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
3920
3921 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
3922 (M_TRIM_THRESHOLD): Likewise.
3923
3924 * manual/memory.texi (M_ARENA_TEST): Add documentation.
3925 (M_ARENA_MAX): Likewise.
3926 * malloc/malloc.c: Remove obsolete comment.
3927
3928 * manual/memory.texi: Add environment variable alternatives to
3929 setting mallopt parameters.
3930
3931 2016-10-26 Carlos O'Donell <carlos@redhat.com>
3932
3933 * include/atomic.h
3934 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
3935 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
3936
3937 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3938
3939 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
3940 * stdlib/tst-strfrom.h: New file.
3941 * stdlib/tst-strfrom.c: New file.
3942 * stdlib/tst-strfrom-locale.c: New file.
3943
3944 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
3945 * stdlib/bug-strtod2.c: Likewise.
3946 * stdlib/tst-strtod-round-skeleton.c: Likewise.
3947 * stdlib/tst-strtod6.c: Likewise.
3948 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
3949
3950 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3951
3952 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
3953 * manual/arith.texi: Document strfromd, strfromf, strfroml.
3954 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
3955 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
3956 * stdlib/stdlib.h (strfromd): New declaration.
3957 (strfromf): Likewise.
3958 (strfroml): Likewise.
3959 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
3960 strfrom.
3961 * stdlib/strfromd.c: New file.
3962 * stdlib/strfromf.c: Likewise.
3963 * stdlib/strfroml.c: Likewise.
3964 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
3965 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
3966 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
3967 * sysdeps/arm/nacl/libc.abilist: Update.
3968 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
3969 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3970 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3971 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3972 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3973 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3974 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3975 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3976 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3977 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3978 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3979 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3980 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3981 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
3983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3986 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3987 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3988 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3989 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3991 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3993 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3994 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3995 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3996
3997 2016-10-25 Joseph Myers <joseph@codesourcery.com>
3998
3999 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4000 instead of cmpli.
4001 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4002 instead of cmpli.
4003
4004 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
4005
4006 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4007 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4008 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4009 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4010 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4011 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4012
4013 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4014
4015 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4016 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4017 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4018 SYSCALL_LL64_PRW.
4019 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4020 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4021 __ASSUME_PRW_DUMMY_ARG.
4022 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4023 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4024 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4025 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4026 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4027 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4028
4029 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
4030
4031 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4032
4033 2016-10-22 Florian Weimer <fweimer@redhat.com>
4034
4035 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4036 "C++", to override a potential extern "C" directive around the
4037 header file inclusion.
4038
4039 2016-10-21 Joseph Myers <joseph@codesourcery.com>
4040
4041 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4042
4043 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
4044
4045 * sysdeps/powerpc/fpu/fenv_private.h:
4046 (_FPU_MASK_ALL): Rename to...
4047 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4048 XE FPSCR bits.
4049
4050 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4051
4052 (_FPU_MASK_ROUNDING): Rename to...
4053 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4054 NI bits.
4055
4056 (_FPU_MASK_EXCEPT_ROUND): Rename to...
4057 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4058 bits and rounding bits.
4059
4060 (__libc_feholdbits_ppc): New inline function to mask, set,
4061 and pontentially clear FSPCR bits, and change MSR[FE] bits.
4062 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4063 (libc_feholdexcept_setround_ppc): Likewise.
4064
4065 (__libc_femergeenv_ppc): New function to dynamically mask both
4066 old and new FP environments and merge.
4067 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4068 (libc_feresetround_ppc): Likewise.
4069 (libc_feupdateenv_test_ppc): Likewise.
4070 (libc_feupdateenv_ppc): Likewise.
4071
4072 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4073 of ISA RN bits, and update macro names.
4074 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4075 effectively the same as the previously mentioned function.
4076
4077 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4078 usage with fe_resetround_ppc.
4079
4080 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4081 to be used.
4082 (libc_feholdexcept_setround_ctxf): Likewise.
4083 (libc_feholdexcept_setround_ctxl): Likewise.
4084
4085 2016-10-21 Florian Weimer <fweimer@redhat.com>
4086
4087 [BZ #20715]
4088 * math/math.h [__cplusplus] (iszero): Define as function template.
4089 * math/Makefile [CXX] (tests): Add test-math-iszero.
4090 (CFLAGS-test-math-iszero.cc): Set.
4091 * math/test-math-iszero.cc: New file.
4092
4093 2016-10-20 Joseph Myers <joseph@codesourcery.com>
4094
4095 [BZ #20660]
4096 * sysdeps/arm/e_sqrt.c: New file.
4097 * sysdeps/arm/e_sqrtf.c: Likewise.
4098
4099 2016-10-19 Joseph Myers <joseph@codesourcery.com>
4100
4101 [BZ #20718]
4102 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4103 not use floating-point comparisons to test sign.
4104 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4105 Likewise.
4106
4107 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4108 (getpayload): New declaration.
4109 * math/Versions (getpayload): New libm symbol at version
4110 GLIBC_2.25.
4111 (getpayloadf): Likewise.
4112 (getpayloadl): Likewise.
4113 * math/Makefile (libm-calls): Add s_getpayloadF.
4114 * math/libm-test.inc: Include <nan-high-order-bit.h>.
4115 (struct test_f_f_data): Add comment.
4116 (RUN_TEST_fp_f): New macro.
4117 (RUN_TEST_LOOP_fp_f): Likewise.
4118 (getpayload_test_data): New array.
4119 (getpayload_test): New function.
4120 (main): Call getpayload_test.
4121 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4122 descriptor.
4123 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4124 getpayloadf and getpayloadl.
4125 * manual/libm-err-tab.pl: Update comment on interfaces without
4126 ulps tabulated.
4127 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4128 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4129 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4133 * sysdeps/nacl/libm.abilist: Update.
4134 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4135 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4136 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4137 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4138 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4139 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4140 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4141 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4142 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4143 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4144 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4145 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4147 Likewise.
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4149 Likewise.
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4151 Likewise.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4153 Likewise.
4154 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4155 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4156 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4157 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4158 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4159 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4160 Likewise.
4161 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4162 Likewise.
4163 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4164 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4165 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4166
4167 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4168
4169 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4170 tst-fallocate{64}.
4171 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4172 on syscall return.
4173
4174 2016-10-17 Carlos O'Donell <carlos@redhat.com>
4175
4176 [BZ #20689]
4177 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4178 usable.
4179
4180 2016-10-17 Joseph Myers <joseph@codesourcery.com>
4181
4182 * sysdeps/generic/nan-high-order-bit.h: New file.
4183 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4184 * sysdeps/mips/nan-high-order-bit.h: Likewise.
4185 * sysdeps/hppa/math_private.h: Remove file.
4186 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4187 not define here.
4188 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4189 <nan-high-order-bit.h>.
4190 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4191 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4192 <nan-high-order-bit.h>.
4193 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4194 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4195 <nan-high-order-bit.h>.
4196 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4197 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4198 <nan-high-order-bit.h>.
4199 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4200 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4201 <nan-high-order-bit.h>.
4202 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4203 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4204 <nan-high-order-bit.h>.
4205 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4206 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4207 <nan-high-order-bit.h>.
4208 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4209 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4210 <nan-high-order-bit.h>.
4211 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4212 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4213 <nan-high-order-bit.h>.
4214 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4215 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4216 <nan-high-order-bit.h>.
4217 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4218 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4219 <nan-high-order-bit.h>.
4220 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4221 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4222 <nan-high-order-bit.h>.
4223 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4224 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4225 <nan-high-order-bit.h>.
4226 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4227 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4228 <nan-high-order-bit.h>.
4229 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4230 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4231 <nan-high-order-bit.h>.
4232 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4233 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4234 <nan-high-order-bit.h>.
4235 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4236 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4237 <nan-high-order-bit.h>.
4238 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4239 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4240 <nan-high-order-bit.h>.
4241 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4242
4243 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4244
4245 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4246
4247 2016-09-22 John David Anglin <dave.anglin@bell.net>
4248
4249 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4250 abort-instr.h.
4251 (EFAULT): Remove conditional define.
4252 (ENOSYS): Likewise.
4253 (atomic_compare_and_exchange_val_acq): Use instruction nullification
4254 instead of conditional branch instructions.
4255
4256 2016-10-15 Joseph Myers <joseph@codesourcery.com>
4257
4258 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4259 (totalordermag): New declaration.
4260 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4261 New macro.
4262 * math/Versions (totalordermag): New libm symbol at version
4263 GLIBC_2.25.
4264 (totalordermagf): Likewise.
4265 (totalordermagl): Likewise.
4266 * math/Makefile (libm-calls): Add s_totalordermagF.
4267 * math/libm-test.inc (totalordermag_test_data): New array.
4268 (totalordermag_test): New function.
4269 (main): Call totalordermag_test.
4270 * math/test-tgmath.c (NCALLS): Increase to 125.
4271 (F(compile_test)): Call totalordermag.
4272 (F(totalordermag)): New function.
4273 * manual/arith.texi (FP Comparison Functions): Document
4274 totalordermag, totalordermagf and totalordermagl.
4275 * manual/libm-err-tab.pl: Update comment on interfaces without
4276 ulps tabulated.
4277 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4278 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4279 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4284 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4285 totalordermag.
4286 (CFLAGS-nldbl-totalordermag.c): New variable.
4287 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4288 (do_test): Also test totalordermagl.
4289 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4290 Likewise.
4291 * sysdeps/nacl/libm.abilist: Update.
4292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4293 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4294 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4295 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4301 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4305 Likewise.
4306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4307 Likewise.
4308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4309 Likewise.
4310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4311 Likewise.
4312 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4313 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4314 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4315 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4316 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4318 Likewise.
4319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4320 Likewise.
4321 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4322 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4323 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4324
4325 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
4326
4327 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4328 boolean.
4329
4330 2016-10-13 Joseph Myers <joseph@codesourcery.com>
4331
4332 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4333 raising FE_INVALID with feraisexcept in case where part of
4334 argument is infinite, subtract that part of argument from itself.
4335 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4336 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4337 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4338
4339 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4340
4341 * math/libm-test.inc (totalorder_test_data): Add more tests.
4342
4343 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
4344
4345 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4346 Undefine weak_alias and add a comment why mips64 require
4347 versioning.
4348
4349 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
4350
4351 [BZ #20647]
4352 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4353 maximum CPUID level is less than 2.
4354
4355 2016-10-12 Joseph Myers <joseph@codesourcery.com>
4356
4357 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4358 (totalorder): New declaration.
4359 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4360 New macro.
4361 * math/Versions (totalorder): New libm symbol at version
4362 GLIBC_2.25.
4363 (totalorderf): Likewise.
4364 (totalorderl): Likewise.
4365 * math/Makefile (libm-calls): Add s_totalorderF.
4366 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4367 string.
4368 * math/libm-test.inc (PAYLOAD_DIG): New macro.
4369 (qnan_value_pl): Likewise.
4370 (snan_value_pl): Likewise.
4371 (qnan_value): Define using qnan_value_pl.
4372 (snan_value): Define using snan_value_pl.
4373 (struct test_ff_i_data): Add comment about which tests use this
4374 structure.
4375 (RUN_TEST_ff_b): New macro.
4376 (RUN_TEST_LOOP_ff_b): Likewise.
4377 (totalorder_test_data): New array.
4378 (totalorder_test): New function.
4379 (main): Call totalorder_test.
4380 * math/test-tgmath.c (NCALLS): Increase to 122.
4381 (F(compile_test)): Call totalorder.
4382 (F(totalorder)): New function.
4383 * manual/arith.texi (FP Comparison Functions): Document
4384 totalorder, totalorderf and totalorderl.
4385 * manual/libm-err-tab.pl: Update comment on interfaces without
4386 ulps tabulated.
4387 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4388 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4389 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4394 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4395 totalorder.
4396 (CFLAGS-nldbl-totalorder.c): New variable.
4397 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4398 file.
4399 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4400 Add test-totalorderl-ldbl-128ibm.
4401 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4402 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4403 test-totalorderl-ldbl-96.
4404 * sysdeps/nacl/libm.abilist: Update.
4405 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4406 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4407 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4408 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4409 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4410 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4411 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4412 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4413 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4414 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4415 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4416 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4418 Likewise.
4419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4420 Likewise.
4421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4422 Likewise.
4423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4424 Likewise.
4425 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4426 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4427 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4429 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4430 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4431 Likewise.
4432 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4433 Likewise.
4434 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4435 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4436 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4437
4438 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4439
4440 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4441 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4442 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4443 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4444 remove ENOSYS implementation.
4445 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4446 Consolidate all Linux implementations.
4447
4448 2016-10-11 Florian Weimer <fweimer@redhat.com>
4449
4450 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4451 * resolv/herror.c (herror): Cast away const-ness.
4452 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4453 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4454
4455 2016-10-11 Joseph Myers <joseph@codesourcery.com>
4456
4457 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4458 instead of M_NAN + M_NAN.
4459 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4460
4461 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4462
4463 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4464 unused variable 'p'.
4465
4466 2016-10-09 Alan Modra <amodra@gmail.com>
4467 Andreas Schwab <schwab@linux-m68k.org>
4468
4469 [BZ #20554]
4470 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4471 [PIC && !SHARED]: Set up PIC register for PLT call.
4472
4473 2016-10-07 Joseph Myers <joseph@codesourcery.com>
4474
4475 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4476 conditional on value of [__FLT_EVAL_METHOD__].
4477 * math/test-iseqsig-excess-precision.c: New file.
4478 * math/Makefile (tests): Add test-iseqsig-excess-precision.
4479
4480 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4481
4482 * math/s_iseqsig_template.c: Include math-private.h.
4483
4484 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4485 * posix/tst-posix_fadvise.c: New file.
4486 * posix/tst-posix_fadvise64.c: Likewise.
4487 * posix/tst-posix_fadvise-common.c: Likewise.
4488 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4489 (__ASSUME_FADVISE64_64_6ARG): Define.
4490 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4491 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4492 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4493 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4494 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4495 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4496 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4497 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4498 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4499 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4500 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4501 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4504 Likewise.
4505 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4506 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4507 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4508 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4509 Alias to __posix_fadvise64_l32.
4510 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4511 Add compat definition to posix_fadvise64.
4512 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4513 Add versioned definition to posix_fadvise64.
4514 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4515 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4516 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4517 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4518 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4519
4520 * io/Makefile (tests): Add tst-posix_fallocate and
4521 tst-posix_fallocate64.
4522 * io/tst-posix_fallocate-common.c: New file.
4523 * io/tst-posix_fallocate.c: Likewise.
4524 * io/tst-posix_fallocate64.c: Likewise.
4525 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4526 file.
4527 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4528 Likewise.
4529 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4530 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4531 Likewise.
4532 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4533 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4534 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4535 SYSCALL_LL to pass both offset and len arguments.
4536 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4537 Likewise.
4538 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4539 __libc_pwrite64 alias used by posix_fallocate64.
4540
4541 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4542 tst-fallocate64.
4543 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4544 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4545 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4546 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4547 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4548 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4549 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4550 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4551 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4552 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4553 macro on offset argument.
4554 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4555 SYSCALL_LL64 on offset argument.
4556
4557 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4558 tst-fallocate64.
4559 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4560 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4561 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4562 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4563 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4564 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4565 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4566 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4567 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4568 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4569 macro on offset argument.
4570 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4571 SYSCALL_LL64 on offset argument.
4572 * test-skeleton.c (FAIL_RET): Add macro.
4573 (FAIL_EXIT): Likewise.
4574 (FAIL_EXIT1): Likewise.
4575 (_FAIL): Likewise.
4576
4577 2016-10-07 Florian Weimer <fweimer@redhat.com>
4578
4579 [BZ #20629]
4580 resolv: Remove RES_USEBSTRING and its implementation.
4581 * resolv/resolv.h (RES_USEBSTRING): Remove.
4582 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4583 (digitvalue, encode_bitstring, decode_bitstring): Remove.
4584 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4585 (labellen): Remove extended label types support.
4586 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4587 * resolv/res_init.c (res_setoptions): Likewise.
4588 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4589
4590 2016-10-07 Florian Weimer <fweimer@redhat.com>
4591
4592 resolv: Remove RES_NOIP6DOTINT and its implementation.
4593 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4594 (RES_NOIP6DOTINT): Remove.
4595 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4596 handling.
4597 * resolv/res_debug.c (p_option): Likewise.
4598 * resolv/res_init.c (res_setoptions): Likewise.
4599 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4600
4601 2016-10-07 Florian Weimer <fweimer@redhat.com>
4602
4603 resolv: Deprecate unimplemented flags.
4604 * misc/sys/cdefs.h (__glibc_macro_warning1)
4605 (__glibc_macro_warning): Define.
4606 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4607 (RES_KEEPTSIG): Mark as deprecated.
4608 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4609 RES_NOCHECKNAME, RES_KEEPTSIG.
4610 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4611
4612 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4613
4614 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4615 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4616 Use strong_alias to create symbols for glibc verison 2.19.
4617
4618 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4619
4620 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4621
4622 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4623
4624 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4625
4626 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4627
4628 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4629
4630 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4631
4632 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4633 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4634 in header for using it as type for ifunc function because __GI_* symbols
4635 for ppc32 do not target the ifunc symbols.
4636 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4637
4638 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4639
4640 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4641 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4642 libc_ifunc_hidden_def.
4643 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4644 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4645 Redirect ifunced function in header for using it as type of ifunc'ed
4646 function. Redefine libc_hidden_def to use fallback non ifunc'ed
4647 function for __GI_* symbol.
4648 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4649 * include/libc-symbols.h
4650 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4651
4652 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4653
4654 [BZ #20478]
4655 * sysdeps/s390/multiarch/ifunc-resolve.h
4656 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4657 to create ifunc symbols.
4658 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4659 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4660 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4661 for using it as type for ifunc function.
4662 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4663 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4664 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4665 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4666 * sysdeps/s390/multiarch/strcat.c: Likewise.
4667 * sysdeps/s390/multiarch/strchr.c: Likewise.
4668 * sysdeps/s390/multiarch/strcmp.c: Likewise.
4669 * sysdeps/s390/multiarch/strcpy.c: Likewise.
4670 * sysdeps/s390/multiarch/strcspn.c: Likewise.
4671 * sysdeps/s390/multiarch/strlen.c: Likewise.
4672 * sysdeps/s390/multiarch/strncmp.c: Likewise.
4673 * sysdeps/s390/multiarch/strncpy.c: Likewise.
4674 * sysdeps/s390/multiarch/strnlen.c: Likewise.
4675 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4676 * sysdeps/s390/multiarch/strrchr.c: Likewise.
4677 * sysdeps/s390/multiarch/strspn.c: Likewise.
4678 * sysdeps/s390/multiarch/wcschr.c: Likewise.
4679 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4680 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4681 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4682 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4683 * sysdeps/s390/multiarch/wmemset.c: Likewise.
4684 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4685 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4686 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4687 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4688 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4689 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4690
4691 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4692
4693 * include/libc-symbols.h (__ifunc_resolver):
4694 New macro is used by __ifunc* macros.
4695 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4696 depending on HAVE_GCC_IFUNC.
4697 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4698 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4700 Redirect ifunced function in header for using as type for ifunc function.
4701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4705 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4706 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4707 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4708 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4709 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4710 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4711 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4712 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4713 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4714 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4720 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4721 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4722 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4723 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4724 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4725 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4726 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4727 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4728 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4729 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4730 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4731 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4732 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4733 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4735 Add libc_hidden_def() and use libc_ifunc_hidden() macro
4736 instead of libc_ifunc() macro.
4737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4738 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4739
4740 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
4741
4742 * config.h.in (HAVE_GCC_IFUNC): New undef.
4743 * configure.ac: Add check if gcc supports attribute ifunc feature.
4744 * configure: Regenerated.
4745 * manual/install.texi: Add recommendation for gcc with
4746 indirect-function support.
4747 * INSTALL: Regenerated.
4748
4749 2016-10-06 Joseph Myers <joseph@codesourcery.com>
4750
4751 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4752 macro.
4753 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4754 (__iseqsig): New declaration.
4755 * math/s_iseqsig_template.c: New file.
4756 * math/Versions (__iseqsigf): New libm symbol at version
4757 GLIBC_2.25.
4758 (__iseqsig): Likewise.
4759 (__iseqsigl): Likewise.
4760 * math/libm-test.inc (iseqsig_test_data): New array.
4761 (iseqsig_test): New function.
4762 (main): Call iseqsig_test.
4763 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4764 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4765 * manual/libm-err-tab.pl: Update comment on interfaces without
4766 ulps tabulated.
4767 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4768 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4769 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4770 * sysdeps/nacl/libm.abilist: Update.
4771 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4772 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4773 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4774 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4775 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4776 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4777 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4778 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4779 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4780 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4781 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4782 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4784 Likewise.
4785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4786 Likewise.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4788 Likewise.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4790 Likewise.
4791 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4792 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4793 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4794 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4795 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4797 Likewise.
4798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4799 Likewise.
4800 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4801 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4802 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4803
4804 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
4805
4806 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4807 do_sincos_2, sloww, sloww1): Update comments.
4808
4809 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4810 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4811
4812 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4813 K boolean and rename it.
4814 (__sin): Adjust.
4815 (__cos): Adjust.
4816
4817 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4818 Siddhesh Poyarekar <siddhesh@sourceware.org>
4819
4820 * manual/nss.texi: Fix typos in the manual.
4821
4822 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
4823
4824 * manual/contrib.texi: Fix typos in the manual.
4825
4826 * manual/maint.texi: Fix typos in the manual.
4827
4828 * manual/install.texi: Fix typos in the manual.
4829 * INSTALL: Regenerated.
4830
4831 * manual/lang.texi: Fix typos in the manual.
4832
4833 * manual/probes.texi: Fix typos in the manual.
4834
4835 * manual/threads.texi: Fix typos in the manual.
4836
4837 * manual/debug.texi: Fix typos in the manual.
4838
4839 * manual/crypt.texi: Fix typos in the manual.
4840
4841 * manual/conf.texi: Fix typos in the manual.
4842
4843 * manual/sysinfo.texi: Fix typos in the manual.
4844
4845 * manual/users.texi: Fix typos in the manual.
4846
4847 * manual/job.texi: Fix typos in the manual.
4848
4849 * manual/process.texi: Fix typos in the manual.
4850
4851 * manual/argp.texi: Fix typos in the manual.
4852 * manual/getopt.texi: Likewise.
4853 * manual/startup.texi: Likewise.
4854
4855 * manual/signal.texi: Fix typos in the manual.
4856
4857 * manual/setjmp.texi: Fix typos in the manual.
4858
4859 * manual/resource.texi: Fix typos in the manual.
4860
4861 * manual/time.texi: Fix typos in the manual.
4862
4863 * manual/arith.texi: Fix typos in the manual.
4864
4865 * manual/math.texi: Fix typos in the manual.
4866
4867 * manual/syslog.texi: Fix typos in the manual.
4868
4869 * manual/terminal.texi: Fix typos in the manual.
4870
4871 * manual/socket.texi: Fix typos in the manual.
4872
4873 * manual/filesys.texi: Fix typos in the manual.
4874
4875 * manual/llio.texi: Fix typos in the manual.
4876
4877 * manual/stdio.text: Fix typos in the manual.
4878
4879 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
4880
4881 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4882 instead of K1.
4883
4884 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4885 SHIFT_QUADRANT and make it bool.
4886 (do_sincos_2): Likewise.
4887 (sloww): Likewise.
4888 (sloww1): Likewise.
4889 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4890 (__cos): Likewise.
4891
4892 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4893
4894 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4895
4896 2016-10-04 Joseph Myers <joseph@codesourcery.com>
4897
4898 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4899 Define to __WORDSIZE, not conditional on [LONG_MAX ==
4900 0x7fffffffL].
4901 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4902
4903 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4904
4905 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4906 inline by __inline__.
4907 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4908 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4909 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4910 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4911 sigset_t from signal.h.
4912 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
4913 which is already required.
4914
4915 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
4916
4917 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4918
4919 2016-10-03 Joseph Myers <joseph@codesourcery.com>
4920
4921 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
4922 (struct tcp_repair_window): New type.
4923
4924 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4925
4926 * libio/tst-memstream3.c: Include string.h.
4927
4928 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4929
4930 [BZ #18241]
4931 [BZ #20181]
4932 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
4933 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
4934 write position is at the end the buffer.
4935 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
4936 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
4937 (_IO_str_seekoff): Set correct offset from negative displacement and
4938 set EINVAL for invalid ones.
4939 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
4940 buffer length.
4941 (_IO_wstr_switch_to_get_mode): New function.
4942 (_IO_wstr_seekoff): Set correct offset from negative displacement and
4943 set EINVAL for invalid ones.
4944 * libio/tst-memstream3.c: New file.
4945 * libio/tst-wmemstream3.c: Likewise.
4946 * manual/examples/memstrm.c: Remove warning when priting size_t.
4947
4948 2016-09-30 Joseph Myers <joseph@codesourcery.com>
4949
4950 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
4951 macro to use __builtin_fma.
4952 * sysdeps/x86_64/fpu/dla.h: Remove file.
4953
4954 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4955 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
4956 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
4957
4958 2016-09-30 Carlos O'Donell <carlos@redhat.com>
4959
4960 [BZ #20292]
4961 * elf/Makefile (routines): Add dl-addr-obj.
4962 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
4963 tst-_dl_addr_inside_object.
4964 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
4965 [ifeq (yesyes,$(have-fpie)$(build-shared))]
4966 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
4967 [ifeq (yesyes,$(have-fpie)$(build-shared))]
4968 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
4969 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
4970 * elf/dl-open.c: Likewise.
4971 * elf/dl-addr-obj.c: New file.
4972 * elf/tst-_dl_addr_inside_object.c: New file.
4973
4974 2016-09-30 Joseph Myers <joseph@codesourcery.com>
4975
4976 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
4977 <bits/iscanonical.h>.
4978 * bits/iscanonical.h: New file.
4979 * math/s_iscanonicall.c: Likewise.
4980 * math/Versions (__iscanonicall): New libm symbol at version
4981 GLIBC_2.25.
4982 * math/libm-test.inc (iscanonical_test_data): New array.
4983 (iscanonical_test): New function.
4984 (main): Call iscanonical_test.
4985 * math/Makefile (headers): Add bits/iscanonical.h.
4986 (type-ldouble-routines): Add s_iscanonicall.
4987 * manual/arith.texi (Floating Point Classes): Document
4988 iscanonical.
4989 * manual/libm-err-tab.pl: Update comment on interfaces without
4990 ulps tabulated.
4991 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
4992 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
4993 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
4994 Likewise.
4995 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
4996 test-iscanonical-ldbl-128ibm.
4997 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
4998 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
4999 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5000 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5001 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5002 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5003 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5005 Likewise.
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5007 Likewise.
5008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5009 Likewise.
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5011 Likewise.
5012 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5013 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5014
5015 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5016
5017 * string/bits/string3.h: Remove C++ style comments.
5018
5019 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
5020
5021 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5022 instead of ternary condition.
5023 (do_sincos_2): Likewise.
5024 (__sin): Likewise.
5025 (__cos): Likewise.
5026 (slow): Likewise.
5027 (sloww): Likewise.
5028 (sloww1): Likewise.
5029 (bsloww): Likewise.
5030 (bsloww1): Likewise.
5031
5032 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5033 instead of ternary condition.
5034 (do_sin_slow): Likewise.
5035 (do_sincos_1): Likewise.
5036 (do_sincos_2): Likewise.
5037 (__cos): Likewise.
5038 (sloww): Likewise.
5039 (sloww1): Likewise.
5040 (sloww2): Likewise.
5041 (bsloww): Likewise.
5042 (bsloww1): Likewise.
5043 (bsloww2): Likewise.
5044
5045 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5046 check from here...
5047 (slow2): ... and here...
5048 (__sin): ... to here.
5049
5050 2016-09-28 Joseph Myers <joseph@codesourcery.com>
5051
5052 * math/math.h
5053 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5054 Cast argument to its own type.
5055 * math/test-iszero-excess-precision.c: New file.
5056 * math/Makefile (tests): Add test-iszero-excess-precision.
5057 (CFLAGS-test-iszero-excess-precision.c): New variable.
5058
5059 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5060
5061 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5062 field, add err field.
5063 (__spawni_child): Report error through err member instead of pipe.
5064 (__spawnix): Likewise.
5065
5066 2016-09-28 Zack Weinberg <zackw@panix.com>
5067
5068 * scripts/check-installed-headers.sh: Generalize treatment of
5069 sys/elf.h to all target architectures.
5070
5071 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5072 deleted typedef ucontext_t.
5073
5074 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5075
5076 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5077 (__INTERNAL_SYSCALL1): Likewise.
5078 (__INTERNAL_SYSCALL2): Likewise.
5079 (__INTERNAL_SYSCALL3): Likewise.
5080 (__INTERNAL_SYSCALL4): Likewise.
5081 (__INTERNAL_SYSCALL5): Likewise.
5082 (__INTERNAL_SYSCALL6): Likewise.
5083 (__INTERNAL_SYSCALL7): Likewise.
5084 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5085 (__INTERNAL_SYSCALL_NARGS): Likewise.
5086 (__INTERNAL_SYSCALL_DISP): Likewise.
5087 (INTERNAL_SYSCALL_CALL): Likewise.
5088 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5089 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5090 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5091 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5092 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5093 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5094 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5095 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5096 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5097 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5098 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5099 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5100 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5101
5102 2016-09-23 Joseph Myers <joseph@codesourcery.com>
5103
5104 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5105 macro.
5106 * math/libm-test.inc (iszero_test_data): New array.
5107 (iszero_test): New function.
5108 (main): Call iszero_test.
5109 * manual/arith.texi (Floating Point Classes): Document iszero.
5110 * manual/libm-err-tab.pl: Update comment on interfaces without
5111 ulps tabulated.
5112
5113 2016-09-23 Zack Weinberg <zackw@panix.com>
5114
5115 * scripts/check-installed-headers.sh: New script.
5116 * Rules: In each directory that defines header files to be installed,
5117 run check-installed-headers.sh on them as a special test.
5118 * Makefile: Likewise for the headers installed at top level.
5119
5120 * include/aliases.h, include/alloca.h, include/argz.h
5121 * include/arpa/nameser.h, include/arpa/nameser_compat.h
5122 * include/elf.h, include/envz.h, include/err.h
5123 * include/execinfo.h, include/fpu_control.h, include/getopt.h
5124 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5125 * include/link.h, include/malloc.h, include/mcheck.h
5126 * include/mntent.h, include/netinet/ether.h
5127 * include/nss.h, include/obstack.h, include/printf.h
5128 * include/pty.h, include/resolv.h, include/rpc/auth.h
5129 * include/rpc/auth_des.h, include/rpc/auth_unix.h
5130 * include/rpc/clnt.h, include/rpc/des_crypt.h
5131 * include/rpc/key_prot.h, include/rpc/netdb.h
5132 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5133 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5134 * include/rpc/rpc_msg.h, include/rpc/svc.h
5135 * include/rpc/svc_auth.h, include/rpc/xdr.h
5136 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5137 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5138 * include/rpcsvc/ypupd.h, include/shadow.h
5139 * include/stdio_ext.h, include/sys/epoll.h
5140 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5141 * include/sys/prctl.h, include/sys/profil.h
5142 * include/sys/statfs.h, include/sys/sysctl.h
5143 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5144 * sysdeps/arm/nacl/include/bits/setjmp.h
5145 * sysdeps/mips/include/sys/asm.h
5146 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5147 * sysdeps/unix/sysv/linux/include/sys/timex.h
5148 * sysdeps/x86/fpu/include/bits/fenv.h:
5149 Add #ifndef _ISOMAC guard around internal declarations.
5150 Add multiple-inclusion guard if not already present.
5151
5152 2016-09-23 Zack Weinberg <zackw@panix.com>
5153
5154 * sysdeps/generic/sys/ucontext.h
5155 * sysdeps/arm/sys/ucontext.h
5156 * sysdeps/i386/sys/ucontext.h
5157 * sysdeps/m68k/sys/ucontext.h
5158 * sysdeps/mips/sys/ucontext.h
5159 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5160 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5161 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5162 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5163 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5164 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5165 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5166 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5167 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5168 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5169 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5170 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5171 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5172 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5173 Include both bits/sigcontext.h and bits/sigstack.h.
5174 Fix grammar error in comment, if present.
5175
5176 * bits/sigstack.h
5177 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5178 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5179 * sysdeps/unix/sysv/linux/bits/sigstack.h
5180 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5181 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5182 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5183 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5184 * bits/sigcontext.h
5185 * sysdeps/mach/hurd/i386/bits/sigcontext.h
5186 * sysdeps/unix/sysv/linux/bits/sigcontext.h
5187 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5188 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5189 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
5190 as well as signal.h, if this was not already allowed. Request
5191 definition of size_t if necessary. Minimize semantically-null
5192 differences across files.
5193
5194 2016-09-23 Zack Weinberg <zackw@panix.com>
5195
5196 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5197 Remove all logic conditional on __need macros. Move all the
5198 conditionally defined types to their own headers...
5199 * time/bits/types/clock_t.h: Define clock_t here.
5200 * time/bits/types/clockid_t.h: Define clockid_t here.
5201 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5202 * time/bits/types/struct_timespec.h: Define struct timespec here.
5203 * time/bits/types/struct_timeval.h: Define struct timeval here.
5204 * time/bits/types/struct_tm.h: Define struct tm here.
5205 * time/bits/types/time_t.h: Define time_t here.
5206 * time/bits/types/timer_t.h: Define timer_t here.
5207 * time/Makefile: Install the new headers.
5208
5209 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5210 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5211 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5212 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5213 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5214 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5215 * sysdeps/unix/sysv/linux/bits/resource.h
5216 * sysdeps/unix/sysv/linux/bits/timex.h
5217 * sysdeps/unix/sysv/linux/mips/bits/resource.h
5218 * sysdeps/unix/sysv/linux/net/ppp_defs.h
5219 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5220 * sysdeps/unix/sysv/linux/sys/acct.h
5221 * sysdeps/unix/sysv/linux/sys/timerfd.h
5222 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5223 * time/sys/time.h, time/sys/timeb.h
5224 Use the new bits/types headers.
5225
5226 * include/time.h: Remove __need logic.
5227 * include/bits/time.h
5228 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5229 * include/bits/types/time_t.h, include/bits/types/timer_t.h
5230 * include/bits/types/struct_itimerspec.h
5231 * include/bits/types/struct_timespec.h
5232 * include/bits/types/struct_timeval.h
5233 * include/bits/types/struct_tm.h:
5234 New wrapper headers.
5235
5236 2016-09-23 Zack Weinberg <zackw@panix.com>
5237
5238 * sysdeps/mach/hurd/net/if_ppp.h
5239 * sysdeps/unix/sysv/linux/net/if_ppp.h:
5240 Only define struct ifpppstatsreq and struct ifpppcstatsreq
5241 if __USE_MISC is defined, to ensure struct ifreq is declared.
5242
5243 * inet/netinet/ether.h: Condition all function prototypes
5244 on __USE_MISC, to ensure struct ether_addr is declared.
5245
5246 * socket/bits/types/struct_osockaddr.h: New header.
5247 * include/bits/types/struct_osockaddr.h: New wrapper.
5248 * socket/Makefile: Install the new header.
5249 * socket/sys/socket.h, inet/protocols/talkd.h:
5250 Refer to bits/types/struct_osockaddr.h for the definition of
5251 struct osockaddr.
5252
5253 2016-09-23 Zack Weinberg <zackw@panix.com>
5254
5255 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5256 * inet/protocols/routed.h, inet/protocols/talkd.h
5257 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5258 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5259 * sysdeps/generic/netinet/if_ether.h
5260 * sysdeps/generic/netinet/in_systm.h
5261 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5262 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5263 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5264 * sysdeps/mach/hurd/net/if_arp.h
5265 * sysdeps/mach/hurd/net/if_ppp.h
5266 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5267 * sysdeps/unix/sysv/linux/bits/in.h
5268 * sysdeps/unix/sysv/linux/net/ethernet.h
5269 * sysdeps/unix/sysv/linux/net/if_arp.h
5270 * sysdeps/unix/sysv/linux/net/if_ppp.h
5271 * sysdeps/unix/sysv/linux/net/if_shaper.h
5272 * sysdeps/unix/sysv/linux/net/route.h
5273 * sysdeps/unix/sysv/linux/netinet/if_ether.h
5274 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5275 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5276 * sysdeps/unix/sysv/linux/netipx/ipx.h
5277 * sysdeps/unix/sysv/linux/sys/acct.h
5278 * include/arpa/nameser.h, include/resolv.h:
5279 Change all uses of u_char to unsigned char,
5280 u_short and ushort to unsigned short, u_int and uint to unsigned int,
5281 u_long and ulong to unsigned long, u_int8_t to uint8_t,
5282 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5283 and u_int64_t and u_quad_t to uint64_t.
5284
5285 * mach/sys/reboot.h: Remove two casts of integer literals
5286 to the types they already have.
5287
5288 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5289 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5290 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5291 from referring to 'unsigned char' to 'uint8_t' for consistency with
5292 the macro definition below.
5293
5294 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5295 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5296 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5297 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5298 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5299 * sysdeps/unix/sysv/linux/sys/acct.h
5300 * include/arpa/nameser.h, include/resolv.h:
5301 Fix indentation disrupted by mechanical edits.
5302
5303 * inet/protocols/talkd.h, resolv/arpa/nameser.h
5304 * sysdeps/generic/netinet/in_systm.h
5305 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5306 * sysdeps/gnu/netinet/udp.h
5307 * sysdeps/unix/sysv/linux/net/ethernet.h
5308 * sysdeps/unix/sysv/linux/net/if_arp.h
5309 * sysdeps/unix/sysv/linux/net/if_ppp.h
5310 * sysdeps/unix/sysv/linux/net/if_shaper.h
5311 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5312 * sysdeps/unix/sysv/linux/netinet/if_tr.h
5313 * sysdeps/unix/sysv/linux/netipx/ipx.h
5314 * sysdeps/unix/sysv/linux/sys/acct.h
5315 Include stdint.h for uintNN_t definitions.
5316 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5317
5318 2016-09-23 Zack Weinberg <zackw@panix.com>
5319
5320 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5321 * sysdeps/unix/sysv/linux/netrose/rose.h:
5322 Include sys/socket.h and netax25/ax25.h.
5323
5324 * inet/netinet/icmp6.h, inet/netinet/ip6.h
5325 * resolv/arpa/nameser_compat.h:
5326 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5327
5328 * sysdeps/unix/sysv/linux/sys/quota.h:
5329 Use __caddr_t instead of caddr_t.
5330 * sysdeps/unix/sysv/linux/sys/timerfd.h:
5331 Use __clockid_t instead of clockid_t.
5332
5333 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5334
5335 * argp/argp.h: Check whether _LIBC is defined before expanding it.
5336 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5337 expanding it.
5338
5339 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5340 Define __glibc_c99_flexarr_available to 1 when the compiler
5341 supports C99-compatible flexible array members, 0 otherwise.
5342 * sysdeps/unix/sysv/linux/bits/socket.h
5343 * sysdeps/mach/hurd/bits/socket.h
5344 * bits/socket.h: Use __glibc_c99_flexarr_available in
5345 definitions of struct cmsghdr and CMSG_DATA.
5346
5347 2016-09-23 Florian Weimer <fweimer@redhat.com>
5348
5349 * manual/nss.texi (NSS Modules Interface): Adjust function return
5350 type to enum nss_status. Document errnop argument. Clarify
5351 h_errnop semantics. Fix cross-reference formatting.
5352 (NSS Module Function Internals): Mention that *errnop needs to be
5353 set on failure, but not to zero.
5354
5355 2016-09-23 Florian Weimer <fweimer@redhat.com>
5356
5357 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5358 (get_random_name): New functions.
5359 (check_wrapper_flags_mode): Use linkat to give the new file a name
5360 determined by get_random_name.
5361 (do_test): Add calls to test open64 and openat64.
5362
5363 2016-09-23 Florian Weimer <fweimer@redhat.com>
5364
5365 * test-skeleton.c: Remove #include <stdarg.h>.
5366
5367 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
5368
5369 [BZ #19826]
5370 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5371 initialization of static TLS entries.
5372 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5373 * nptl/allocatestack.c (init_one_static_tls): Likewise.
5374
5375 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
5376
5377 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5378 _hurd_malloc_fork_prepare.
5379 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5380 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5381 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5382 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5383 (_hurd_fork_child_hook): Drop malloc_fork_child.
5384 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5385 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5386 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5387 after locking locks (notably hurd_dtable_lock). Call
5388 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5389 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5390 __malloc_fork_unlock_child.
5391 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5392
5393 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
5394
5395 * soft-fp/extendhftf2.c: New.
5396 * soft-fp/fixhfti.c: Likewise.
5397 * soft-fp/fixunshfti.c: Likewise.
5398 * soft-fp/floattihf.c: Likewise.
5399 * soft-fp/floatuntihf.c: Likewise.
5400 * soft-fp/half.h: Likewise.
5401 * soft-fp/trunctfhf2.c: Likewise.
5402
5403 2016-09-21 Joseph Myers <joseph@codesourcery.com>
5404
5405 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5406 macro.
5407 * math/libm-test.inc (issubnormal_test_data): New array.
5408 (issubnormal_test): New function.
5409 * manual/arith.texi (Floating Point Classes): Document
5410 issubnormal.
5411 * manual/libm-err-tab.pl: Update comment on interfaces without
5412 ulps tabulated.
5413
5414 * sysdeps/generic/stdint.h: Define
5415 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5416 <bits/libc-header-start.h> instead of including <features.h>.
5417 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5418 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5419 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5420 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5421 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5422 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5423 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5424 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5425 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5426 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5427 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5428 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5429 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5430 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5431 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5432 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5433 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5434 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5435 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5436 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5437 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5438 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5439 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5440 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5441 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5442 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5443 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5444 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5445 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5446 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5447 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5448 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5449 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5450 * manual/arith.texi (Integers): Document these macros for types
5451 specified by width properties.
5452 * manual/lang.texi (Width of Type): Document these macros for
5453 other standard typedefs.
5454 * stdlib/tst-width-stdint.c: New file.
5455 * stdlib/Makefile (tests): Add tst-width-stdint.
5456
5457 2016-09-21 Florian Weimer <fweimer@redhat.com>
5458
5459 [BZ #20016]
5460 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5461 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5462 Move ...
5463 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5464 ... here, as compatibility symbols in a new file.
5465 * resolv/Makefile (libresolv-routines): Add compat-hooks.
5466 * resolv/res_init.c (__res_vinit): Adjust member names.
5467 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5468 * resolv/resolv.h (res_sendhookact, res_send_qhook)
5469 (res_send_rhook): Remove.
5470 (struct __res_state): Rename qhook, rhook members.
5471
5472 2016-09-21 Florian Weimer <fweimer@redhat.com>
5473
5474 malloc: Use __libc_lock wrappers.
5475 * malloc/arena.c (list_lock, free_list_lock): Define using
5476 __libc_lock_define_initialized.
5477 (arena_lock): Adjust formatting.
5478 * malloc/malloc.c (struct malloc_state): Define mutex using
5479 __libc_lock_define.
5480 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5481 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5482 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5483 (mutex_unlock, mutex_trylock): Remove.
5484 (__pthread_initialize): Remove unused macro.
5485 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5486 (mutex_unlock, mutex_trylock): Remove.
5487
5488 2016-09-21 Florian Weimer <fweimer@redhat.com>
5489
5490 [BZ #20592]
5491 Remove RR type classification macros.
5492 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5493 (ns_t_udp_p, ns_t_xfr_p): Remove.
5494
5495 2016-09-21 Florian Weimer <fweimer@redhat.com>
5496
5497 Remove misleading version information.
5498 * resolv/arpa/nameser.h (__NAMESER): Remove.
5499 * resolv/arpa/nameser_compat.h (__BIND): Remove.
5500
5501 2016-09-21 Florian Weimer <fweimer@redhat.com>
5502
5503 Remove the always-defined BIND_4_COMPAT macro.
5504 * resolv/arpa/nameser.h: Unconditionally include
5505 <arpa/nameser_compat.h>.
5506 (BIND_4_COMPAT): Remove.
5507 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5508
5509 2016-09-21 Florian Weimer <fweimer@redhat.com>
5510
5511 [BZ #20591]
5512 Remove obsolete DNSSEC support.
5513 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5514 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5515 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5516 (ns_verify_tcp, ns_verify_tcp_init): Remove.
5517 (ns_cert_types): Add comment.
5518 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5519 separately.
5520 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5521 (dst_s_dns_key_id): Remove.
5522 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5523 variables.
5524
5525 2016-09-21 Florian Weimer <fweimer@redhat.com>
5526
5527 [BZ #20524]
5528 * manual/string.texi (String/Array Comparison): Clarify the
5529 strverscmp behavior.
5530
5531 2016-09-21 Florian Weimer <fweimer@redhat.com>
5532
5533 * test-skeleton.c (xasprintf): Add function.
5534 * io/tst-open-tmpfile.c: New test.
5535 * io/Makefile (tests): Add it.
5536
5537 2016-09-21 Florian Weimer <fweimer@redhat.com>
5538
5539 Avoid running $(CXX) during build to obtain header file paths.
5540 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5541 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5542 * Makerules (cstdlib, cmath): Remove variables. Use
5543 $(c++-cstdlib-header), $(c++-cmath-header) instead.
5544 * configure: Regenerate.
5545
5546 2016-09-21 Florian Weimer <fweimer@redhat.com>
5547
5548 * Makeconfig (all-object-suffixes): Include .op only if
5549 $(build-profile).
5550
5551 2016-09-21 Florian Weimer <fweimer@redhat.com>
5552
5553 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5554 conditionals. Do not define PATH_MAX.
5555
5556 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5557
5558 * posix/Makefile (tests): Add tst-spawn3.
5559 * posix/tst-spawn3.c: New file.
5560 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5561 if it is already opened for open action.
5562
5563 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5564 all signals when executing the clone vfork child.
5565 (SIGALL_SET): Remove macro.
5566
5567 * nptl/Makefile (tests): Add tst-exec5.
5568 * nptl/tst-exec5.c: New file.
5569 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5570 asynchronous cancellation.
5571
5572 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
5573
5574 * hurd/exc2signal.c: #include <hurd/signal.h>
5575 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5576 'sigcode', 'error' parameters with 'detail' parameter. Fix code
5577 accordingly.
5578 * mach/mach_error.c (mach_error): Fix old-style function definition.
5579 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5580
5581 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5582
5583 * math/Makefile (libm-calls): Remove s_nanF.
5584 (gen-libm-calls): Add s_nanF.
5585
5586 * math/s_nan.c: Refactor into ...
5587 * math/s_nan_template.c: New file.
5588
5589 * math/s_nanf.c: Removed.
5590 * math/s_nanl.c: Removed.
5591 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5592 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5593
5594 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5595 (LDOUBLE_nanl_libm_version): New macro.
5596
5597 * sysdeps/generic/math-type-macros-double.h:
5598 (M_STRTO_NAN): New macro.
5599 * sysdeps/generic/math-type-macros-float.h: Likewise.
5600 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5601
5602 * sysdeps/generic/math-type-macros.h: Document
5603 M_STRTO_NAN.
5604
5605 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5606
5607 * math/s_nanf.c: Remove __nanf undef.
5608 * math/s_nan.c: Remove __nan undef.
5609 * math/s_nanl.c: Remove __nanl undef.
5610
5611 * sysdeps/generic/math_private.h (__nan): Remove macro
5612 override.
5613 (__nanf): Likewise.
5614 (__nanl): Likewise.
5615
5616 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5617
5618 * math/Makefile (gen-all-calls): New variable.
5619 (generated): Replace gen-libm-calls with gen-all-calls.
5620 (gen-libm-templates.stmp): Likewise. Also, ensure
5621 the output directory exists or is created and add
5622 dependency on the Makefile.
5623 (calls): Move s_ldexpF into gen-calls.
5624 (gen-calls): New variable.
5625
5626 * math/s_ldexpf.c: Removed.
5627 * math/s_ldexpl.c: Removed.
5628 * math/s_ldexp.c: Refactored into ...
5629 * math/s_ldexp_template.c: New file.
5630
5631 * sysdeps/generic/math-type-macros-double.h: Remove
5632 redundant fall-through definition of declare_mgen_alias.
5633 (declare_mgen_alias_2): New macro.
5634
5635 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5636 New macro for function aliased to two exported symbols.
5637
5638 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5639 new template file.
5640 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5641
5642 2016-09-20 Florian Weimer <fweimer@redhat.com>
5643
5644 * Makeconfig (all-object-suffixes): Remove .og.
5645 * Makerules (elide-routines.og): Remove.
5646 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5647 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5648 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5649
5650 2016-09-20 Florian Weimer <fweimer@redhat.com>
5651
5652 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5653 .os objects.
5654
5655 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5656
5657 [BZ #20615]
5658 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5659 fpu directory by non-fpu.
5660 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5661 on non-fpu directory from a fpu directory.
5662
5663 2016-09-19 Joseph Myers <joseph@codesourcery.com>
5664
5665 * include/limits.h: Define
5666 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5667 <bits/libc-header-start.h> instead of including <features.h>.
5668 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5669 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5670 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5671 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5672 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5673 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5674 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5675 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5676 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5677 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5678 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5679 * manual/lang.texi (Width of Type): Document these macros.
5680 * stdlib/tst-width.c: New file.
5681 * stdlib/Makefile (tests): Add tst-width.
5682
5683 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5684
5685 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5686 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5687
5688 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5689
5690 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5691 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5692 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5693
5694 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5695
5696 [BZ #18243]
5697 * rt/Makefile (test): Add tst-shm-cancel.
5698 * rt/tst-shm-cancel.c: New file.
5699 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5700
5701 [BZ #18243]
5702 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5703 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5704 definition.
5705 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5706 uncontended case.
5707 * nptl/sem_wait.c (__new_sem_wait): Likewise.
5708 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5709 (tf): Fix check for uncontended case.
5710 (do_test): Likewise.
5711 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5712 (tf): Fix check for uncontended case.
5713 (do_test): Likewise.
5714 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5715 (tf): Fix check for uncontended case.
5716 (do_test): Likewise.
5717 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5718 (tf): Fix check for uncontended case.
5719 (do_test): Likewise.
5720
5721 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5722 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5723
5724 [BZ #15765]
5725 * nptl/Makefile (tests): Add tst-sem16.
5726 * nptl/tst-sem16.c: New file.
5727 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5728
5729 * nptl/sem_open.c (sem_open): Init pad value to 0.
5730 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5731 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5732
5733 2016-09-15 Florian Weimer <fweimer@redhat.com>
5734
5735 [BZ #20611]
5736 * inet/Makefile (routines): Add inet6_scopeid_pton.
5737 (tests): Add tst-inet6_scopeid_pton.
5738 * inet/inet6_scopeid_pton.c: New file.
5739 * inet/net-internal.h: Likewise.
5740 * inet/tst-inet6_scopeid_pton.c: New test.
5741 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5742 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5744
5745 2016-09-14 Florian Weimer <fweimer@redhat.com>
5746
5747 Remove support for compiling wrappers with PTW.
5748 * sysdeps/nptl/Makeconfig: Drop ptw- support.
5749 * nptl/Makefile (pthread-compat-wrappers): Define.
5750 (libpthread-routines): Use pthread-compat-wrappers.
5751 * sysdeps/unix/sysv/linux/alpha/Makefile
5752 (libpthread-routines, libpthread-shared-only-routines): Remove
5753 ptw- prefix.
5754 * sysdeps/s390/nptl/Makefile
5755 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5756 * sysdeps/ia64/nptl/Makefile
5757 (libpthread-routines, libpthread-shared-only-routines): Likewise.
5758 * sysdeps/nacl/Makefile (libpthread-routines): Use
5759 pthread-compat-wrappers to filter the routines list instead of the
5760 ptw- prefix.
5761
5762 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5763
5764 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5765 with L() and remove explicit suffix, convert real literals
5766 which can be equivalentally substituted with integers, and
5767 transform -L(x) to L(-x).
5768
5769 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5770 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5771 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5772 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5773 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5774 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5775 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5776 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5777 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5778 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5779 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5780 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5781 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5782 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5783 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5784 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5785 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5786 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5787 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5788 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5789 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5790 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5791 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5792 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5793 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5794 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5795 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5796 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5797 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5798 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5799 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5800 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5801 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5802 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5803 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5804 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5805 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5806 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5807 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5808 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5809 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5810 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5811 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5812 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5813 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5814 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5815 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5816 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5817 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5818 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5819
5820 2016-09-13 Florian Weimer <fweimer@redhat.com>
5821
5822 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5823
5824 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
5825
5826 * malloc/Makefile (tests): Remove individual static test names
5827 and just add all of tests-static.
5828
5829 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5830
5831 2016-09-07 Joseph Myers <joseph@codesourcery.com>
5832
5833 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5834 file.
5835
5836 * sysdeps/sparc/fpu/fegetmode.c: New file.
5837 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5838
5839 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5840 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5841
5842 * sysdeps/s390/fpu/fegetmode.c: New file.
5843 * sysdeps/s390/fpu/fesetmode.c: Likewise.
5844
5845 * sysdeps/powerpc/fpu/fegetmode.c: New file.
5846 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5847 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5848 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5849 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5850 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5851
5852 * sysdeps/mips/fpu/fegetmode.c: New file.
5853 * sysdeps/mips/fpu/fesetmode.c: Likewise.
5854
5855 * sysdeps/m68k/fpu/fegetmode.c: New file.
5856 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5857
5858 * sysdeps/ia64/fpu/fegetmode.c: New file.
5859 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5860
5861 * sysdeps/hppa/fpu/fegetmode.c: New file.
5862 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5863
5864 * sysdeps/arm/fegetmode.c: New file.
5865 * sysdeps/arm/fesetmode.c: Likewise.
5866
5867 * sysdeps/alpha/fpu/fegetmode.c: New file.
5868 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5869
5870 * sysdeps/aarch64/fpu/fegetmode.c: New file.
5871 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5872
5873 * math/fegetmode.c: New file.
5874 * math/fesetmode.c: Likewise.
5875 * sysdeps/i386/fpu/fegetmode.c: Likewise.
5876 * sysdeps/i386/fpu/fesetmode.c: Likewise.
5877 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5878 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5879 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5880 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5881 declaration.
5882 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5883 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5884 typedef.
5885 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5886 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5887 (femode_t): New typedef.
5888 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5889 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5890 (femode_t): New typedef.
5891 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5892 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5893 (femode_t): New typedef.
5894 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5895 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5896 (femode_t): New typedef.
5897 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5898 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5899 (femode_t): New typedef.
5900 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5901 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5902 (femode_t): New typedef.
5903 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5904 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5905 (femode_t): New typedef.
5906 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5907 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5908 (femode_t): New typedef.
5909 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5910 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5911 (femode_t): New typedef.
5912 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5913 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5914 (femode_t): New typedef.
5915 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
5916 declaration.
5917 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5918 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5919 (femode_t): New typedef.
5920 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5921 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5922 (femode_t): New typedef.
5923 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5924 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5925 (femode_t): New typedef.
5926 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5927 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5928 (femode_t): New typedef.
5929 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5930 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5931 (femode_t): New typedef.
5932 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5933 * manual/arith.texi (FE_DFL_MODE): Document macro.
5934 (fegetmode): Document function.
5935 (fesetmode): Likewise.
5936 * math/Versions (fegetmode): New libm symbol at version
5937 GLIBC_2.25.
5938 (fesetmode): Likewise.
5939 * math/Makefile (libm-support): Add fegetmode and fesetmode.
5940 (tests): Add test-femode and test-femode-traps.
5941 * math/test-femode-traps.c: New file.
5942 * math/test-femode.c: Likewise.
5943 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
5944 alias for __fe_dfl_env.
5945 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
5946 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
5947 (__fe_dfl_mode): Likewise.
5948 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
5949 version GLIBC_2.25.
5950 * sysdeps/nacl/libm.abilist: Update.
5951 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5952 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5953 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5954 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5955 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5956 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5957 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5958 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5959 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5960 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5961 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5962 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5964 Likewise.
5965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5966 Likewise.
5967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5968 Likewise.
5969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5970 Likewise.
5971 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5972 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5973 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5974 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5975 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5977 Likewise.
5978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5979 Likewise.
5980 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5981 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5982 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5983
5984 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
5985
5986 [BZ #20495]
5987 [BZ #20508]
5988 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
5989 processors, set Use_dl_runtime_resolve_slow and set
5990 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
5991 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
5992 New.
5993 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
5994 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
5995 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
5996 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
5997 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
5998 if Use_dl_runtime_resolve_opt is set. Use
5999 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6000 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6001 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
6002 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6003 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6004 New.
6005 (_dl_runtime_resolve_opt): Likewise.
6006 (_dl_runtime_profile): Define only if _dl_runtime_profile is
6007 defined.
6008
6009 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
6010
6011 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6012 __libc_memalign with "+ RELA R_390_GLOB_DAT".
6013
6014 2016-09-06 Florian Weimer <fweimer@redhat.com>
6015
6016 Convert malloc to __libc_lock. Automated part, using this Perl
6017 s/// command:
6018 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6019 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6020 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6021 conversion.
6022
6023 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
6024
6025 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6026 (linknamespace-symlists-tests): Likewise.
6027 (linknamespace-header-tests): Likewise.
6028
6029 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
6030
6031 [BZ #19810]
6032 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6033 * elf/tst-noload.c: New test case.
6034 * elf/Makefile (tests): Add tst-noload.
6035
6036 2016-09-02 Roland McGrath <roland@hack.frob.com>
6037
6038 * sysdeps/nacl/dup.c: Add libc_hidden_def.
6039
6040 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6041 not any more.
6042
6043 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6044
6045 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
6046
6047 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6048 (do_cos_slow): Likewise.
6049 (do_sin): Likewise.
6050 (do_sin_slow): Likewise.
6051 (slow): Likewise.
6052 (slow1): Likewise.
6053 (slow2): Likewise.
6054 (sloww): Likewise.
6055 (sloww1): Likewise.
6056 (sloww2): Likewise.
6057 (bsloww): Likewise.
6058 (bsloww1): Likewise.
6059 (bsloww2): Likewise.
6060 (cslow2): Likewise.
6061
6062 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6063
6064 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6065 arguments. Consolidate input partitioning from callers here.
6066 (do_cos_slow): Likewise.
6067 (do_sin): Likewise.
6068 (do_sin_slow): Likewise.
6069 (do_sincos_1): Remove the no longer necessary input partitioning.
6070 (do_sincos_2): Likewise.
6071 (__sin): Likewise.
6072 (__cos): Likewise.
6073 (slow1): Likewise.
6074 (slow2): Likewise.
6075 (sloww1): Likewise.
6076 (sloww2): Likewise.
6077 (bsloww1): Likewise.
6078 (bsloww2): Likewise.
6079 (cslow2): Likewise.
6080
6081 2016-09-02 Florian Weimer <fweimer@redhat.com>
6082
6083 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6084 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
6085 outside of allocated array.
6086
6087 2016-09-02 Florian Weimer <fweimer@redhat.com>
6088
6089 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6090 instead of MB_CUR_MAX to avoid variable-length array.
6091
6092 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6093
6094 * math/Makefile (libm-calls): Remove k_rem_pio2F.
6095 (type-double-routines): Add k_rem_pio2.
6096 (type-float-routines): Add k_rem_pio2f.
6097
6098 * sysdeps/generic/math_private.h:
6099 (__kernel_rem_pio2l): Removed.
6100
6101 * math/k_rem_pio2l.c: Removed.
6102 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6103 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6104 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6105 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6106
6107 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6108
6109 * math/Makefile (gen-libm-calls): Add s_fmin
6110 (libm-calls): Remove above.
6111
6112 * math/s_fmin.c: Refactor into ...
6113 * math/s_fmin_template.c: New file.
6114
6115 * math/s_fminf.c: Removed.
6116 * math/s_fminl.c: Removed.
6117 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6118 (LDOUBLE_fmin_libm_version): New macro.
6119
6120 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6121 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6122
6123 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6124
6125 * math/Makefile: (gen-libm-calls): Add s_fmax.
6126 (libm-calls): Remove above.
6127
6128 * math/s_fmax.c: Refactor into ...
6129 * math/s_fmax_template.c: New file.
6130 * math/s_fmaxf.c: Removed.
6131 * math/s_fmaxl.c: Removed.
6132
6133 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6134 (LDOUBLE_fmaxl_libm_version): New macro.
6135
6136 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6137 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6138
6139 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6140 s_fmin.c to pick the aarch64 version of the file.
6141 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6142 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6143
6144 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6145
6146 * math/Makefile: (gen-libm-calls): Add s_nextdown.
6147 (libm-calls): Remove above.
6148
6149 * math/s_nextdown.c: Refactor into ...
6150 * math/s_nextdown_template.c: New file.
6151 * math/s_nextdownf.c: Removed.
6152 * math/s_nextdownl.c: Removed.
6153
6154 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6155
6156 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6157
6158 * math/Makefile (gen-libm-calls): Add s_fdim.
6159 (libm-calls): Move to above.
6160
6161 * math/s_fdim.c: Renamed and refactored into to ...
6162 * math/s_fdim_template.c: New file.
6163 * math/s_fdiml.c: Removed.
6164 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6165 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6166
6167 * sysdeps/generic/math-type-macros-double.h:
6168 (declare_mgen_alias): Don't declare if already declared.
6169 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6170 Likewise.
6171
6172 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6173 (declare_mgen_alias): Don't declare if already declared.
6174 (M_LIBM_NEED_COMPAT): Likewise.
6175 (declare_mgen_libm_compat): Likewise.
6176 (LDOUBLE_fdiml_libm_version): New macro.
6177
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6179 Include math/s_fdim.c now that ldbl-opt version is not needed.
6180 (declare_mgen_alias): New macro to disable aliasing.
6181
6182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6183 (declare_mgen_alias): Likewise.
6184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6185 (declare_mgen_alias): Likewise.
6186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6187 (declare_mgen_alias): Likewise.
6188 (M_LIBM_NEED_COMPAT): Likewise.
6189
6190 2016-09-01 Florian Weimer <fweimer@redhat.com>
6191
6192 [BZ #20525]
6193 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6194 Include <linux/quota.h>.
6195 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6196 and btodb.
6197 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6198 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6199 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6200 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6201 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6202 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6203 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6204 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6205 types.
6206 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6207 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6208
6209 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6210
6211 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6212 (gammal_positive): Fix spacing.
6213 (__ieee754_gammal_r): Likewise.
6214
6215 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6216
6217 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6218 (_Float128): Define as long double, always.
6219 (L): Apply long double type suffix, always.
6220
6221 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6222 _Float128, excepting comments.
6223
6224 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6225 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6228 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6229 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6230 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6231 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6232 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6233 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6234 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6235 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6236 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6237 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6238 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6239 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6240 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6241 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6242 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6243 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6244 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6245 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6246 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6247 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6248 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6249 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6250 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6251 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6252 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6253 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6254 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6255 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6256 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6257 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6258 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6259 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6260 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6261 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6262 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6290 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6292
6293 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6294 _Float128, and include math_private.h.
6295 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6296
6297 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6298 long double semantics.
6299 (_Float128): Likewise.
6300 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6304
6305 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6306
6307 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6308 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6309 * sysdeps/s390/configure: Regenerated.
6310 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6311 instruction for raising over-/underflow if z196 zarch is supported
6312 by default.
6313 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6314
6315 2016-08-30 Svante Signell <svante.signell@gmail.com>
6316
6317 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6318 it point to a dumb buffer for RPC to fill it.
6319
6320 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
6321
6322 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6323 instead of if/else.
6324 (do_sin_slow): Likewise.
6325 (do_sincos_1): Use fabs instead of if/else.
6326 (do_sincos_2): Likewise.
6327 (__sin): Likewise.
6328 (__cos): Likewise.
6329 (slow2): Likewise.
6330 (sloww): Likewise.
6331 (sloww1): Likewise. Drop argument M.
6332 (sloww2): Use fabs instead of if/else.
6333 (bsloww): Likewise.
6334 (bsloww1): Likewise.
6335 (bsloww2): Likewise.
6336
6337 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6338 fall through comment.
6339 (do_sincos_1): Likewise.
6340
6341 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6342 Consolidate switch cases 0 and 2.
6343
6344 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6345
6346 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6347 (libm-calls): Remove the above.
6348
6349 * math/s_cexp_template.c: Update using type-generic macros.
6350 * math/s_clog10_template.c: Likewise.
6351 * math/s_cpow_template.c: Likewise.
6352 * math/s_clog_template.c: Likewise.
6353 * math/s_cproj_template.c: Likewise.
6354 * math/s_csqrt_template.c: Likewise.
6355
6356 * math/s_cexp.c: Removed.
6357 * math/s_cexpf.c: Removed.
6358 * math/s_cexpl.c: Removed.
6359 * math/s_clog10.c: Removed.
6360 * math/s_clog10f.c: Removed.
6361 * math/s_clog10l.c: Removed.
6362 * math/s_cpow.c: Removed.
6363 * math/s_cpowf.c: Removed.
6364 * math/s_cpowl.c: Removed.
6365 * math/s_clog.c: Removed.
6366 * math/s_clogf.c: Removed.
6367 * math/s_clogl.c: Removed.
6368 * math/s_cproj.c: Removed.
6369 * math/s_cprojf.c: Removed.
6370 * math/s_cprojl.c: Removed.
6371 * math/s_csqrt.c: Removed.
6372 * math/s_csqrtf.c: Removed.
6373 * math/s_csqrtl.c: Removed.
6374
6375 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6376 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6377 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6378 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6379 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6380 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6381
6382 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6383 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6384 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6385 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6386 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6387 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6388 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6389 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6390 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6391 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6392 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6393
6394 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6395 version.
6396
6397 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6398 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6399 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6400 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6401
6402 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6403
6404 * s_cexp_template.c: Copy of s_cexp.c.
6405 * s_clog_template.c: Copy of s_clog.c.
6406 * s_clog10_template.c: Copy of s_clog10.c.
6407 * s_cpow_template.c: Copy of s_cpow.c.
6408 * s_cproj_template.c: Copy of s_cproj.c.
6409 * s_csqrt_template.c: Copy of s_csqrt.c.
6410
6411 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6412
6413 [BZ #20517]
6414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6415 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6416 exported.
6417
6418 2016-08-29 Joseph Myers <joseph@codesourcery.com>
6419
6420 * math/fetestexceptflag.c: New file.
6421 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
6422 Stefan Liebler.
6423 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6424 (fetestexceptflag): New function declaration.
6425 * manual/arith.texi (fetestexceptflag): Document function.
6426 * math/Versions (fetestexceptflag): New libm symbol at version
6427 GLIBC_2.25.
6428 * math/Makefile (libm-support): Add fetestexceptflag.
6429 (tests): Add test-fetestexceptflag.
6430 * math/test-fetestexceptflag.c: New file.
6431 * sysdeps/nacl/libm.abilist: Update.
6432 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6433 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6434 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6435 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6436 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6437 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6438 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6439 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6440 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6441 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6442 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6443 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6445 Likewise.
6446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6447 Likewise.
6448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6449 Likewise.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6451 Likewise.
6452 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6453 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6454 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6455 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6456 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6458 Likewise.
6459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6460 Likewise.
6461 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6462 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6463 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6464
6465 2016-08-26 Florian Weimer <fweimer@redhat.com>
6466
6467 [BZ #20432]
6468 Avoid strong references to malloc-internal symbols when linking
6469 statically, to support statically interposed mallocs.
6470 * include/libc-symbols.h (call_function_static_weak): New macro.
6471 * malloc/Makefile (tests): Add tst-interpose-nothread,
6472 tst-interpose-thread, tst-interpose-static-nothread,
6473 tst-interpose-static-thread.
6474 (tests-static): Add tst-interpose-static-nothread,
6475 tst-interpose-static-thread.
6476 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6477 tst-interpose-aux-thread.o.
6478 (test-extras): Add tst-interpose-aux-nothread,
6479 tst-interpose-aux-thread.
6480 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6481 tst-interpose-aux-nothread.o.
6482 (tst-interpose-thread, tst-interpose-static-thread): Link with
6483 tst-interpose-aux-thread.o and libthread.
6484 * malloc/tst-interpose-aux-nothread.c: New file.
6485 * malloc/tst-interpose-aux-thread.c: Likewise.
6486 * malloc/tst-interpose-aux.c: Likewise.
6487 * malloc/tst-interpose-aux.h: Likewise.
6488 * malloc/tst-interpose-nothread.c: Likewise.
6489 * malloc/tst-interpose-skeleton.c: Likewise.
6490 * malloc/tst-interpose-static-nothread.c: Likewise.
6491 * malloc/tst-interpose-static-thread.c: Likewise.
6492 * malloc/tst-interpose-thread.c: Likewise.
6493 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6494 * sysdeps/mach/hurd/fork.c (__fork): Only call
6495 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6496 __malloc_fork_unlock_child if defined.
6497 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6498
6499 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6500
6501 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6502 timespec C99 designated initialization.
6503
6504 2016-08-26 Florian Weimer <fweimer@redhat.com>
6505
6506 [BZ #19946]
6507 Avoid expected SIGALRM signals.
6508 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6509 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6510 (xpthread_create, xpthread_detach, xpthread_join)
6511 (delayed_exit_thread, delayed_exit): New functions.
6512 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6513 (tf): Use xpthread_cond_wait.
6514 (do_test): Likewise. Replace alarm with delayed_exit.
6515 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6516 (do_test): Call delayed_exit. Report failure.
6517 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6518 (do_test): Call delayed_exit.
6519 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6520 (do_test): Call delayed_exit. Use xpthread_join. Report error.
6521 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6522 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
6523 error.
6524 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6525 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
6526 error.
6527 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6528 (do_test): Call delayed_exit.
6529 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6530 (do_test): Call delayed_exit.
6531 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6532 (do_test): Call delayed_exit instead of alarm. Use
6533 xpthread_mutex_lock.
6534 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6535 (do_test): Call delayed_exit instead of alarm. Use
6536 xpthread_mutex_lock.
6537 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6538 (do_test): Call delayed_exit instead of alarm.
6539 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6540 (do_test): Call delayed_exit instead of alarm. Use
6541 xpthread_spin_lock.
6542 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6543 (do_test): Call delayed_exit instead of alarm. Use
6544 xpthread_join.
6545
6546 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
6547
6548 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6549 adjust CFA when allocating register save area on re-aligned
6550 stack.
6551
6552 2016-08-26 Florian Weimer <fweimer@redhat.com>
6553
6554 * string/tst-cmp.c: New test.
6555 * string/Makefile (tests): Add it.
6556
6557 2016-08-25 Mark Wielaard <mark@klomp.org>
6558
6559 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6560 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
6561 (check_tree_recurse): Use newly defined accessors.
6562 (check_tree): Likewise.
6563 (maybe_split_for_insert): Likewise.
6564 (__tfind): Likewise.
6565 (__tdelete): Likewise.
6566 (trecurse): Likewise.
6567 (tdestroy_recurse): Likewise.
6568 (__tsearch): Likewise. And add asserts for malloc alignment.
6569 (__twalk): Cast root to node in case CHECK_TREE is defined.
6570
6571 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
6572
6573 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6574
6575 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6576
6577 * math/Makefile (libm-gen-calls): Add
6578 catan, catanh, ctan, ctanh.
6579 (libm-calls): Remove the above.
6580
6581 * math/s_catan_template.c: Update using type-generic macros.
6582 * math/s_catanh_template.c: Likewise.
6583 * math/s_ctan_template.c: Likewise.
6584 * math/s_ctanh_template.c: Likewise.
6585
6586 * math/s_catanf.c: Removed.
6587 * math/s_catan.c: Removed.
6588 * math/s_catanl.c: Removed.
6589 * math/s_catanhf.c: Removed.
6590 * math/s_catanh.c: Removed.
6591 * math/s_catanhl.c: Removed.
6592 * math/s_ctanf.c: Removed.
6593 * math/s_ctan.c: Removed.
6594 * math/s_ctanl.c: Removed.
6595 * math/s_ctanhf.c: Removed.
6596 * math/s_ctanh.c: Removed.
6597 * math/s_ctanhl.c: Removed.
6598
6599 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6600 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6601 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6602 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6603 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6604 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6605
6606 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6607 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6608 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6609 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6610
6611 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6612
6613 * s_catan_template.c: Copy of s_catan.c.
6614 * s_catanh_template.c: Copy of s_catanh.c.
6615 * s_ctan_template.c: Copy of s_ctan.c.
6616 * s_ctanh_template.c: Copy of s_ctanh.c.
6617
6618 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6619
6620 * math/Makefile (gen-libm-calls): Move
6621 casin, casinh, csin, csinh here.
6622 (libm-calls): Remove the above.
6623
6624 * math/s_casin_template.c: Update using type-generic macros.
6625 * math/s_casinh_template.c: Likewise.
6626 * math/s_csin_template.c: Likewise.
6627 * math/s_csinh_template.c: Likewise.
6628 * math/k_casinh_template.c: Likewise.
6629
6630 * math/s_casinf.c: Removed.
6631 * math/s_casin.c: Removed.
6632 * math/s_casinl.c: Removed.
6633 * math/s_casinh.c: Removed.
6634 * math/s_casinhf.c: Removed.
6635 * math/s_casinhl.c: Removed.
6636 * math/s_csin.c: Removed.
6637 * math/s_csinf.c: Removed.
6638 * math/s_csinl.c: Removed.
6639 * math/s_csinh.c: Removed.
6640 * math/s_csinhf.c: Removed.
6641 * math/s_csinhl.c: Removed.
6642 * math/k_casinh.c: Removed.
6643 * math/k_casinhf.c: Removed.
6644 * math/k_casinhl.c: Removed.
6645
6646 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6647 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6648 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6649 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6650
6651 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6652 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6653 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6654 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6655 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6656 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6657 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6658 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6659
6660 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6661 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6662 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6663 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6664
6665 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6666 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6667 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6668 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6669
6670 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6671
6672 * s_casin_template.c: Copy of s_casin.c.
6673 * s_casinh_template.c: Copy of s_casinh.c.
6674 * s_csin_template.c: Copy of s_csin.c.
6675 * s_csinh_template.c: Copy of s_csinh.c.
6676 * k_casinh_template.c: Copy of k_casinh.c.
6677
6678 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
6679
6680 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6681
6682 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6683
6684 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6685 (mul_split) Remove, rename as mul_splitl, remove
6686 redundant float.h include, and include via mul_splitl.h
6687
6688 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6690 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6691 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6692 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6693
6694 * math/mul_splitl.h: New file.
6695
6696 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6697 Move into mul_split.h, and remove redundant float.h include.
6698
6699 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6700 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6703
6704 * math/mul_split.h: New file.
6705
6706 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6707
6708 * math/Makefile (libm-gen-calls): Move
6709 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6710 (libm-calls): Remove above.
6711
6712 * math/s_cacos_template.c: Update using type-generic macros.
6713 * math/s_cacosh_template.c: Likewise.
6714 * math/s_ccos_template.c: Likewise.
6715 * math/s_ccosh_template.c: Likewise.
6716
6717 * math/s_cacosf.c: Removed.
6718 * math/s_cacos.c: Removed.
6719 * math/s_cacosl.c: Removed.
6720 * math/s_cacoshf.c: Removed.
6721 * math/s_cacosh.c: Removed.
6722 * math/s_cacoshl.c: Removed.
6723 * math/s_ccosf.c: Removed.
6724 * math/s_ccos.c: Removed.
6725 * math/s_ccosl.c: Removed.
6726 * math/s_ccoshf.c: Removed.
6727 * math/s_ccosh.c: Removed.
6728 * math/s_ccoshl.c: Removed.
6729
6730 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6731 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6732 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6733 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6734 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6735 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6736
6737 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6738 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6739 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6740 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6741
6742 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6743 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6744 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6745 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6746
6747 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6748
6749 * s_cacos_template.c: Copy of s_cacos.c.
6750 * s_cacosh_template.c: Copy of s_cacosh.c.
6751 * s_ccos_template.c: Copy of s_ccos.c.
6752 * s_ccosh_template.c: Copy of s_ccosh.c.
6753
6754 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6755
6756 * stdlib/tst-strtod-round-skeleton.c:
6757 Refactored from tst-strtod-round.c.
6758
6759 (L_): New macro to apply literal modifier.
6760 (FNPFX): New macro to select str or wcs prefix.
6761 (CHAR): New macro to choose wchar_t or char.
6762 (STRM): New macro to choose printf for tested character type.
6763
6764 (STRTO): New macro to choose appropriate string -> real function.
6765 (FNPFXS): Stringitized version of FNPFX.
6766 (STR): Support for above macro.
6767 (STRX): Likewise.
6768
6769 (TEST): Update with above macros.
6770 (test): Likewise.
6771 (GEN_ONE_TEST): Likewise.
6772 (test_in_one_mode): Likewise.
6773
6774 * stdlib/tst-strtod-round.c: New file.
6775 * wcsmbs/tst-wcstod-round.c: New file.
6776
6777 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6778 (tst-wcstod-round): Add libm depencency for fesetround.
6779
6780 2016-08-19 Zack Weinberg <zackw@panix.com>
6781
6782 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6783
6784 2016-08-18 Torvald Riegel <triegel@redhat.com>
6785
6786 [BZ #20477]
6787 * resolv/res_hconf.c (do_init): Use atomic access.
6788 * resolv/res_hconf.h: Add comments.
6789 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6790 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6792
6793 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
6794
6795 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6796 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6797 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6798 Likewise.
6799
6800 2016-08-18 Florian Weimer <fweimer@redhat.com>
6801
6802 [BZ #16907]
6803 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6804 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6805 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6806 (__attribute__): Remove definition.
6807
6808 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6809
6810 * sysdeps/ieee754/ldbl-128/e_asinl.c:
6811 Remove unused sqrtl declaration.
6812
6813 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6814
6815 * math/Makefile: (gen-libm-templates.stmp): New rule.
6816 (libm-calls): Move carg conj cimag and cabs into ...
6817 (gen-libm-calls): New variable.
6818 (generated): Inform Make objects from gen-libm-calls
6819 may be generated.
6820
6821 * sysdeps/generic/math-type-macros.h: New file.
6822 * sysdeps/generic/math-type-macros-float.h: Likewise.
6823 * sysdeps/generic/math-type-macros-double.h: Likewise.
6824 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6825 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6826 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6827
6828 * math/cabs.c: Refactor into
6829 * math/cabs_template.c: new file.
6830 * math/cabsf.c: Removed.
6831 * math/cabsl.c: Removed.
6832 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6833 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6834
6835 * math/carg.c: Refactor into
6836 * math/carg_template.c: new file.
6837 * math/cargf.c: Removed.
6838 * math/cargl.c: Removed.
6839 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6840 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6841
6842 * math/conj.c: Refactor into
6843 * math/conj_template.c: new file.
6844 * math/conjf.c: Removed.
6845 * math/conjl.c: Removed.
6846 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6847 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6848
6849 * math/cimag.c: Refactor into
6850 * math/cimag_template.c: new file.
6851 * math/cimagf.c: Removed.
6852 * math/cimagl.c: Removed.
6853 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6854 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6855
6856 * math/cimag.c: Refactor into
6857 * math/cimag_template.c: new file.
6858 * math/cimagf.c: Removed.
6859 * math/cimagl.c: Removed.
6860 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6861 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6862
6863 2016-08-17 Florian Weimer <fweimer@redhat.com>
6864
6865 Reduce time to expected nptl/tst-once5 failure.
6866 * nptl/tst-once5.cc (TIMEOUT): Define.
6867
6868 2016-08-17 Florian Weimer <fweimer@redhat.com>
6869
6870 [BZ #20452]
6871 Avoid additional copies of objects in libc.a in static libraries.
6872 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6873 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6874 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6875 rt-sysdep.
6876 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6877 Add nptl-sysdep.
6878 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6879 Add ptw-sysdep.
6880 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6881 rt-sysdep.
6882 * sysdeps/unix/sysv/linux/alpha/Makefile
6883 (libpthread-shared-only-routines): Add ptw-sysdep,
6884 ptw-sigprocmask, ptw-rt_sigaction.
6885 * sysdeps/unix/sysv/linux/ia64/Makefile
6886 (librt-shared-only-routines): Add rt-sysdep.
6887 * sysdeps/unix/sysv/linux/i386/Makefile
6888 (libpthread-shared-only-routines): Add libc-do-syscall.
6889 * sysdeps/unix/sysv/linux/microblaze/Makefile
6890 (libpthread-shared-only-routines): Add sysdep.
6891 * sysdeps/unix/sysv/linux/powerpc/Makefile
6892 (librt-shared-only-routines): Add rt-sysdep.
6893 (libpthread-shared-only-routines): Add sysdep.
6894 * sysdeps/unix/sysv/linux/s390/Makefile
6895 (librt-shared-only-routines): Add rt-sysdep.
6896 * sysdeps/unix/sysv/linux/sparc/Makefile
6897 (librt-shared-only-routines): Add rt-sysdep.
6898 (libpthread-shared-only-routines): Add sysdep.
6899 * sysdeps/unix/sysv/linux/tile/Makefile
6900 (libpthread-shared-only-routines): Likewise.
6901
6902 2016-08-16 Joseph Myers <joseph@codesourcery.com>
6903
6904 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6905 Mask implicit bit out of unpacked value.
6906 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6907 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6908 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6909
6910 * sysdeps/sparc/fpu/fesetexcept.c: New file.
6911
6912 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
6913
6914 * sysdeps/s390/fpu/fesetexcept.c: New file.
6915
6916 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
6917 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
6918 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
6919
6920 * sysdeps/mips/fpu/fesetexcept.c: New file.
6921
6922 * sysdeps/m68k/fpu/fesetexcept.c: New file.
6923
6924 * sysdeps/ia64/fpu/fesetexcept.c: New file.
6925
6926 * sysdeps/hppa/fpu/fesetexcept.c: New file.
6927
6928 * sysdeps/arm/fesetexcept.c: New file.
6929
6930 * sysdeps/alpha/fpu/fesetexcept.c: New file.
6931
6932 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
6933
6934 * math/fesetexcept.c: New file.
6935 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
6936 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
6937 * math/fenv.h: Define
6938 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6939 <bits/libc-header-start.h> instead of including <features.h>.
6940 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
6941 declaration.
6942 * manual/arith.texi (fesetexcept): Document function.
6943 * math/Versions (fesetexcept): New libm symbol at version
6944 GLIBC_2.25.
6945 * math/Makefile (libm-support): Add fesetexcept.
6946 (tests): Add test-fesetexcept and test-fesetexcept-traps.
6947 * math/test-fesetexcept.c: New file.
6948 * math/test-fesetexcept-traps.c: Likewise.
6949 * sysdeps/nacl/libm.abilist: Update.
6950 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6951 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6952 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6953 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6954 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6955 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6956 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6957 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6958 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6959 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6960 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6961 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6963 Likewise.
6964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6965 Likewise.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6967 Likewise.
6968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6969 Likewise.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6971 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6972 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6973 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6974 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6976 Likewise.
6977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6978 Likewise.
6979 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6980 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6981 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6982
6983 2016-08-16 Florian Weimer <fweimer@redhat.com>
6984
6985 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
6986 New.
6987 (do_test): Apply default_stack_size_in_mb if not set.
6988 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
6989
6990 2016-08-15 Andreas Schwab <schwab@suse.de>
6991
6992 [BZ #20435]
6993 CVE-2016-6323
6994 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
6995 as .cantunwind.
6996
6997 2016-08-12 Joseph Myers <joseph@codesourcery.com>
6998
6999 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7000 comment from fraiseexcpt.c.
7001
7002 * math/test-fexcept.c (feraiseexcept_exact): New function.
7003 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7004 (test_except): Likewise.
7005
7006 2016-08-10 Joseph Myers <joseph@codesourcery.com>
7007
7008 [BZ #20455]
7009 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7010 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7011 to be restored.
7012
7013 * math/test-fexcept-traps.c: New file.
7014 * math/test-fexcept.c: Likewise.
7015 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7016 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7017 macro.
7018 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7019 (EXCEPTION_SET_FORCES_TRAP): Likewise.
7020
7021 2016-08-09 Torvald Riegel <triegel@redhat.com>
7022
7023 * include/atomic.h (atomic_fetch_and_relaxed,
7024 atomic_fetch_and_release, atomic_fetch_or_release,
7025 atomic_fetch_xor_release): New.
7026
7027 2016-08-06 Christian Seiler <christian@iwakd.de>
7028
7029 [BZ #20444]
7030 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7031 MACH_PORT_NULL.
7032
7033 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7034
7035 * math/s_fdim.c: Avoid alias renamed.
7036 * math/s_fdimf.c: Likewise.
7037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7038 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7039 Add s_fdimf-vis3, s_fdim-vis3.
7040 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7041 (CFLAGS-s_fdim-vis3.c): Likewise.
7042 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7043 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7044
7045 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7046
7047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7048 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7049 Remove s_fdimf-vis3, s_fdim-vis3.
7050 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7051 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7058 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7059 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7060
7061 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
7062
7063 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7064 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7065 -Wa,-Av9a -mvis.
7066
7067 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7068
7069 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7070 LIT() to individual constants in simple expressions
7071 after splitting on spaces.
7072 (_apply_lit): Rename replaced version, and use it to
7073 apply to what appears to be a token.
7074
7075 * math/libm-test.inc: Fix many, many issues with
7076 spacing.
7077
7078 2016-08-05 Joseph Myers <joseph@codesourcery.com>
7079
7080 * math/math.h: Move comment about <bits/mathdef.h> definitions
7081 above inclusion of <bits/mathdef.h>. Do not mention
7082 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7083
7084 2016-08-05 Torvald Riegel <triegel@redhat.com>
7085
7086 * include/atomic.h (atomic_exchange_relaxed): New.
7087
7088 2016-08-04 Joseph Myers <joseph@codesourcery.com>
7089
7090 * math/e_scalb.c: Do not include <fenv.h>.
7091 (invalid_fn): Do calculation resulting in NaN instead of raising
7092 FE_INVALID and returning a NaN explicitly.
7093 * math/e_scalbf.c: Do not include <fenv.h>.
7094 (invalid_fn): Do calculation resulting in NaN instead of raising
7095 FE_INVALID and returning a NaN explicitly.
7096 * math/e_scalbl.c: Do not include <fenv.h>.
7097 (invalid_fn): Do calculation resulting in NaN instead of raising
7098 FE_INVALID and returning a NaN explicitly.
7099
7100 2016-08-04 Carlos O'Donell <carlos@redhat.com>
7101
7102 * po/de.po: Updated from Translation Project.
7103 * po/fi.po: Likewise.
7104 * po/sv.po: Likewise.
7105
7106 2016-08-04 Florian Weimer <fweimer@redhat.com>
7107
7108 [BZ #20452]
7109 Use sysdep.o from libc.a in static libraries.
7110 * sysdeps/unix/sysv/linux/i386/Makefile
7111 (libpthread-shared-only-routines): Add sysdep.
7112 (librt-shared-only-routines): Likewise.
7113
7114 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7115
7116 * math/tgmath.h (nextdown): Define if
7117 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7118 (nextup): Likewise.
7119
7120 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7121 macro.
7122 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7123 Document.
7124 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7125 Document macro.
7126 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7127 (exp10f): Likewise.
7128 (exp10l): Likewise.
7129 * math/bits/mathcalls.h (exp10): Declare if
7130 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7131
7132 * manual/arith.texi (nextup): Fix typo in last change.
7133
7134 2016-08-03 Zack Weinberg <zackw@panix.com>
7135
7136 [BZ #19239]
7137 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7138 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7139 define major, minor, and makedev to issue deprecation warnings on use.
7140 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7141 previously-activated deprecation warnings for these macros and prevent
7142 subsequent inclusions of this header from having any effect.
7143 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7144 including <sys/sysmacros.h>, and undefine it again afterward.
7145
7146 2016-08-03 Zack Weinberg <zackw@panix.com>
7147
7148 * sysdeps/generic/sys/sysmacros.h: Delete file.
7149 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7150 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7151 * bits/sysmacros.h: ... here; this encoding is now the generic
7152 encoding. Now defines only the following macros:
7153 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7154 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7155 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7156
7157 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7158 bits/sysmacros.h and the above new macros to generate the
7159 public implementations of major, minor, and makedev.
7160 * misc/tst-makedev.c: New test.
7161 * include/sys/sysmacros.h: New wrapper.
7162
7163 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7164 (routines): Add makedev.
7165 (tests): Add tst-makedev.
7166 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7167 gnu_dev_makedev.
7168 * posix/Makefile (headers): Remove sys/sysmacros.h.
7169 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7170
7171 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7172 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7173 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7174 * sysdeps/unix/sysv/linux/alpha/libc.abilist
7175 * sysdeps/unix/sysv/linux/arm/libc.abilist
7176 * sysdeps/unix/sysv/linux/hppa/libc.abilist
7177 * sysdeps/unix/sysv/linux/i386/libc.abilist
7178 * sysdeps/unix/sysv/linux/ia64/libc.abilist
7179 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7180 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7181 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7182 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7183 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7184 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7185 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7186 * sysdeps/unix/sysv/linux/nios2/libc.abilist
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7191 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7192 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7193 * sysdeps/unix/sysv/linux/sh/libc.abilist
7194 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7195 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7198 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7199 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7200 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7201 Add GLIBC_2.25.
7202
7203 * include/features.h (__glibc_clang_prereq): New macro.
7204 * misc/sys/cdefs.h (__glibc_clang_has_extension)
7205 (__attribute_deprecated_msg__): New macros.
7206
7207 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7208
7209 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7210 macro.
7211 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7212 * manual/arith.texi (issignaling): Document as ISO from TS
7213 18661-1:2014.
7214 (nextup): Likewise.
7215 (nextupf): Likewise.
7216 (nextupl): Likewise.
7217 (nextdown): Likewise.
7218 (nextdownf): Likewise.
7219 (nextdownl): Likewise.
7220 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7221 macro.
7222 * math/math.h: Define
7223 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7224 <bits/libc-header-start.h> instead of including <features.h>.
7225 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7226 [__USE_GNU].
7227 * math/bits/mathcalls.h (nextdown): Declare if
7228 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7229 (nextup): Likewise.
7230 (__issignaling): Likewise.
7231
7232 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7233
7234 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7235 check, and remove __glibc_likely hint
7236 from FP_INFINITE check.
7237 * s_csinhf.c (__csinhf): Likewise.
7238
7239 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7240 hint from FP_INFINITE check.
7241 * s_csinhl.c (__csinhl): Likewise.
7242
7243 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7244
7245 * math/Makefile (libm-calls): Insert F placeholder into
7246 object names. Move w_lgamma_compat* routines into
7247 (libm-compat-calls): New variable.
7248 (libm-compat-calls-ldouble-yes): New variable.
7249 (calls): Insert F placeholder.
7250 (generated): Redefine using new type-foreach macro call.
7251 (routines): Likewise.
7252
7253 (types): New variable to hold a list of symbolic names
7254 for each type supported by the target machine.
7255 (libm-routines): Redefine using new types variable.
7256 (type-foreach): macro to replace fooF with the
7257 appropriately suffixed foo for each types.
7258
7259 (type-ldouble-suffix): New variable.
7260 (type-ldouble-routines): Likewise.
7261 (type-ldouble-yes): Likewise.
7262 (type-double-suffix): Likewise.
7263 (type-double-routines): Likewise.
7264 (type-float-suffix): Likewise.
7265 (type-float-routines): Likewise.
7266
7267 (dbl-only-routines): Remove.
7268 (long-c-yes): Likewise.
7269 (long-m-routines): Likewise.
7270 (long-m-support): Likewise.
7271 (long-m-yes): Likewise.
7272 (test-longdouble-yes): Likewise.
7273
7274 (test-float.o): Simplify by increasing the scope of the
7275 recipe which adds libm-test.stmp to the vector types.
7276 (test-ifloat.o): Likewise.
7277 (test-float-finite.o): Likewise.
7278 (test-double.o): Likewise
7279 (test-idouble.o): Likewise.
7280 (test-double-finite.o): Likewise.
7281 (test-ldouble.o): Likewise
7282 (test-ildoubl.o): Likewise.
7283 (test-ldouble-finite.o): Likewise.
7284
7285 (libm-tests): Redefine type tests using foreach and the
7286 list of types in types.
7287
7288 (CPPFLAGS-test-ildoubl.c): Rename to
7289 (CPPFLAGS-test-ildouble.c): New variable
7290
7291 * math/test-ildoubl.c: Rename to
7292 * math/test-ildouble.c: New file.
7293
7294 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7295
7296 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7297 Use fabsl instead of fabs.
7298 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7299 Likewise.
7300 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7301 Add long double suffix to constant to ensure proper
7302 promotion to long double.
7303
7304 2016-08-03 Tom Tromey <tom@tromey.com>
7305
7306 [BZ #20311]
7307 * nptl_db/Makefile (headers): Add proc_service.h.
7308 * nptl_db/proc_service.h: Add include guard. Use
7309 __BEGIN/__END_DECLS.
7310 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7311 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7312 arguments.
7313
7314
7315 2016-08-03 Florian Weimer <fweimer@redhat.com>
7316
7317 [BZ #17730]
7318 Avoid using memalign for TCB allocations.
7319 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7320 (_dl_allocate_tls_storage): Use malloc and manual alignment.
7321 Avoid alignment gap in the TLS_DTV_AT_TP case.
7322 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7323 determine the pointer to free.
7324 * nptl/tst-tls3-malloc.c: New test.
7325 * nptl/Makefile (tests): Add it.
7326 (tst-tls3-malloc): Link with libdl, libpthread.
7327 (LDFLAGS-tst-tls3-malloc): Set.
7328 (tst-tls3-malloc.out): Depend on DSO used in test.
7329
7330 2016-08-03 Florian Weimer <fweimer@redhat.com>
7331
7332 [BZ #17730]
7333 Avoid using memalign for TLS allocations.
7334 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
7335 is_static member with to_free member.
7336 (union dtv): Use struct dtv_pointer.
7337 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7338 dtv_pointer instead of is_static.
7339 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7340 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7341 instead of val.
7342 (allocate_dtv_entry): New function.
7343 (allocate_and_init): Return struct dtv_pointer. Call
7344 allocate_dtv_entry instead of __libc_memalign.
7345 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7346 instead of val.
7347 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7348 instead of is_static. Adjust call to allocate_and_init.
7349 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7350 struct dtv_pointer instead of val.
7351
7352 2016-08-03 Florian Weimer <fweimer@redhat.com>
7353
7354 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7355 (MALLOC_ALIGN_MASK): Move ...
7356 * malloc/malloc-internal.h: ... to here.
7357 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7358
7359 2016-08-03 Joseph Myers <joseph@codesourcery.com>
7360
7361 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7362 (UDP_ENCAP_GTP1U): Likewise.
7363
7364 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7365 (PF_MAX): Update value.
7366 (AF_QIPCRTR): New macro.
7367
7368 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7369
7370 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7371 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7372 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7374 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7375 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7376 s_truncf-vis3, s_trunc-vis3.
7377 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7378 (CFLAGS-s_ceil-vis3.c): Likewise.
7379 (CFLAGS-s_floorf-vis3.c): Likewise.
7380 (CFLAGS-s_floor-vis3.c): Likewise.
7381 (CFLAGS-s_truncf-vis3.c): Likewise.
7382 (CFLAGS-s_trunc-vis3.c): Likewise.
7383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7387 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7388 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7389 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7390 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7391 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7392 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7393 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7395
7396 2016-08-02 David S. Miller <davem@davemloft.net>
7397
7398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7399 (__nearbyint_vis3): Don't check for sNaN before float register is
7400 loaded with the incoming argument.
7401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7402 (__nearbyintf_vis3): Likewise.
7403 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7404 Likewise.
7405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7406 Likewise.
7407
7408 * string/test-strncmp.c (do_test_limit): Make sure the test data
7409 stream is aligned as required for the type "CHAR".
7410 (do_test): Likewise.
7411
7412 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
7413
7414 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7415 by beq instructions jumping to the end of the function.
7416 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7417 clobber list. Use "i" constraint instead of "X".
7418 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7419 of "X".
7420
7421 2016-08-02 Joseph Myers <joseph@codesourcery.com>
7422
7423 * bits/libc-header-start.h: New file.
7424 * Makefile (headers): Add bits/libc-header-start.h.
7425 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7426 (__GLIBC_USE): New macro.
7427 * libio/stdio.h: Define
7428 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7429 <bits/libc-header-start.h> instead of including <features.h>.
7430 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7431 (open_memstream): Likewise.
7432 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7433 (__asprintf): Likewise.
7434 (asprintf): Likewise.
7435 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7436 (getdelim): Likewise.
7437 (getline): Likewise.
7438 * string/string.h: Define
7439 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7440 <bits/libc-header-start.h> instead of including <features.h>.
7441 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7442 (strndup): Likewise.
7443 * wcsmbs/wchar.h: Define
7444 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7445 <bits/libc-header-start.h> instead of including <features.h>.
7446 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7447 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7448
7449 2016-08-02 Florian Weimer <fweimer@redhat.com>
7450
7451 Support linking against compatibility symbols, for use in tests.
7452 * include/libc-symbols.h (symbol_version_reference): New macro.
7453 (symbol_version): Use it.
7454 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7455 (compat_symbol): Use compat_symbol_reference.
7456 (compat_symbol_1, compat_symbol_2): Remove.
7457 (compat_symbol_reference, compat_symbol_reference_1)
7458 (compat_symbol_reference_2): New macro. Use
7459 symbol_version_reference.
7460
7461 2016-08-02 Florian Weimer <fweimer@redhat.com>
7462
7463 [BZ #19469]
7464 * malloc/Makefile (CPPFLAGS): Compile tests with
7465 -DTEST_NO_MALLOPT.
7466 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7467
7468 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
7469
7470 [BZ #20033]
7471 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7472 finite version.
7473 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7474 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7475 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7476 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7477 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7478 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7479 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7480 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7481 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7482 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7483 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7484 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7485 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7486 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7487 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7488 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7489 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7490 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7491 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7492 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7493 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7494 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7495 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7496 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7497 in zero power.
7498
7499 2016-08-02 Florian Weimer <fweimer@redhat.com>
7500
7501 [BZ #20370]
7502 * malloc/arena.c (get_free_list): Update comment. Assert that
7503 arenas on the free list have no attached threads.
7504 (remove_from_free_list): New function.
7505 (reused_arena): Call it.
7506
7507 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
7508
7509 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7510 when it is a NaN.
7511 [_IEEE_FP_INEXACT] Remove.
7512 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7513 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7514 when it is a NaN.
7515 [_IEEE_FP_INEXACT] Remove.
7516 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7517 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7518 when it is a NaN.
7519 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7520 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7521 when its absolute value is greater than 0x1.0p52.
7522 [_IEEE_FP_INEXACT] Remove.
7523 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7524 when its absolute value is greater than 0x1.0p23.
7525 [_IEEE_FP_INEXACT] Remove.
7526
7527 2016-08-01 Carlos O'Donell <carlos@redhat.com>
7528
7529 * version.h (RELEASE): Set to "development"
7530 (VERSION): Set to 2.24.90.
7531 * NEWS: Add 2.25 section.
7532
7533 * version.h (RELEASE): Set to "stable"
7534 (VERSION): Set to 2.24.
7535 * include/features.h (__GLIBC_MINOR__): Set to 24.
7536
7537 * NEWS: Add 2.24 fixed bugs.
7538 * po/libc.pot: Regenerate.
7539
7540 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
7541
7542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7543 [$(subdir) = math] (libm-sysdep_routines): Remove.
7544 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7545 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7546 s_truncf-vis3, s_trunc-vis3.
7547 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7549 file.
7550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7573 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7580 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7581 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7582 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7583 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7584 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7585 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7586 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7587 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7588 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7589 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7590 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7591 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7592 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7593
7594 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
7595
7596 [BZ #20384]
7597 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7598 test-double-libmvec-sincos-avx-main.o,
7599 test-double-libmvec-sincos-avx2-main.o,
7600 test-double-libmvec-sincos-main.o,
7601 test-float-libmvec-sincosf-avx-main.o,
7602 test-float-libmvec-sincosf-avx2-main.o and
7603 test-float-libmvec-sincosf-main.o.
7604 test-float-libmvec-sincosf-avx512-main.o.
7605 ($(objpfx)test-double-libmvec-sincos): Also link with
7606 $(objpfx)test-double-libmvec-sincos-main.o.
7607 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7608 $(objpfx)test-double-libmvec-sincos-avx-main.o.
7609 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7610 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7611 ($(objpfx)test-float-libmvec-sincosf): Also link with
7612 $(objpfx)test-float-libmvec-sincosf-main.o.
7613 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7614 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7615 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7616 test-double-libmvec-sincos-avx512-main.o and
7617 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7618 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7619 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7620 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7621 (CFLAGS-test-double-libmvec-sincos.c): Removed.
7622 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7623 (CFLAGS-test-double-libmvec-sincos-main.c): New.
7624 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7625 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7626 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7627 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7628 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7629 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7630 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7631 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7632 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7633 -DREQUIRE_AVX2.
7634 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7635 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7636 -DREQUIRE_AVX512F.
7637 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7638 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7639 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7640 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7641 file.
7642 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7643 Likewise.
7644 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7645 Likewise.
7646 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7647 Likewise.
7648 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7649 Likewise.
7650 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7651 Likewise.
7652 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7653 Likewise.
7654 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7655 Likewise.
7656
7657 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
7658
7659 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7660
7661 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
7662
7663 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7664 and typo in a comment about AT_HWCAP entry.
7665
7666 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7667
7668 * sysdeps/aarch64/libm-test-ulps: Updated.
7669
7670 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
7671
7672 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7673 of r13 as it is not restored in mvcle case.
7674
7675 2016-07-19 Mike Frysinger <vapier@gentoo.org>
7676
7677 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7678 Rename "ret" to "__ret".
7679 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7680 inline_syscall5, inline_syscall6): Likewise.
7681
7682 2016-07-19 Will Newton <will.newton@gmail.com>
7683
7684 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7685 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7686 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7687 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7688 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7689
7690 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
7691
7692 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7693 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7694 -mfpmath=387 with $(rtld-CFLAGS).
7695 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7696 $(rtld-CFLAGS).
7697
7698 2016-07-18 Ross Burton <ross.burton@intel.com>
7699 Khem Raj <raj.khem@gmail.com>
7700
7701 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7702 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7703 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7704 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7705 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7706 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7707 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7708 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7709 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7710 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7711 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7712 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7713 R_METAG_TLS_DTPOFF): New.
7714
7715 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
7716 Matt Clay <mclay@lycos.com>
7717
7718 [BZ #20357]
7719 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7720 to call __mpsin/__mpcos and to negate values.
7721 * math/auto-libm-test-in: Add test.
7722 * math/auto-libm-test-out: Regenerate.
7723
7724 2016-07-18 Zack Weinberg <zackw@panix.com>
7725
7726 * grp/Makefile: Don't install the internal header grp-merge.h.
7727
7728 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
7729
7730 * sysdeps/aarch64/libm-test-ulps: Regenerated.
7731
7732 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
7733
7734 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7735
7736 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7737
7738 [BZ #15368]
7739 * sysdeps/unix/sysv/linux/nptl-signals.h
7740 (__nptl_clear_internal_signals): New function.
7741 (__libc_signal_block_all): Likewise.
7742 (__libc_signal_block_app): Likewise.
7743 (__libc_signal_restore_set): Likewise.
7744 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7745 implementation.
7746 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7747 the cached pid/tid value in pthread structure.
7748
7749 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
7750
7751 [BZ #20347]
7752 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7753
7754 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7755
7756 [BZ #20348]
7757 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7758 preadv64, pwrite64 and pwritev64.
7759
7760 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7761
7762 [BZ #20350]
7763 * posix/tst-preadwrite.c: Renamed to ...
7764 * posix/tst-preadwrite-common.c: This.
7765 (PREAD): Removed.
7766 (PWRITE): Likewise.
7767 (STRINGIFY): Likewise.
7768 (STRINGIFY2): Likewise.
7769 (do_prepare): Make it static and remove function arguments.
7770 (do_test): Likewise.
7771 (PREPARE): Updated.
7772 (TEST_FUNCTION): New.
7773 (name): Make it static.
7774 (fd): Likewise.
7775 (do_prepare): Use create_temp_file.
7776 (do_test): Renamed to ...
7777 (do_test_with_offset): This. Make it static and accept offset.
7778 Properly check return value of PWRITE and PREAD. Return bytes
7779 read. Don't close fd nor unlink name.
7780 * posix/tst-preadwrite.c: Rewrite.
7781 * posix/tst-preadwrite64.c: Likewise.
7782
7783 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
7784
7785 [BZ #20309]
7786 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7787 -mtls-dialect=gnu2 works.
7788 * configure: Regenerated.
7789 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7790 (tests): Add tst-gnu2-tls1.
7791 (modules-names): Add tst-gnu2-tls1mod.
7792 ($(objpfx)tst-gnu2-tls1): New.
7793 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7794 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7795 * elf/tst-gnu2-tls1.c: New file.
7796 * elf/tst-gnu2-tls1mod.c: Likewise.
7797 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7798 bytes for push in the PLT entry to align the stack.
7799
7800 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
7801
7802 [BZ #20349]
7803 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7804
7805 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
7806
7807 [BZ #18707]
7808 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7809 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7810
7811 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7812
7813 * sysdeps/unix/sysv/linux/sysdep.h
7814 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7815 guards.
7816 * misc/tst-preadvwritev-common.c: New file.
7817 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7818 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7819 a check for files larger than 2GB.
7820
7821 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7822 (__ASSUME_OFF_DIFF_OFF64): Remove define.
7823 * sysdeps/unix/sysv/linux/pread.c
7824 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7825 __OFF_T_MATCHES_OFF64_T.
7826 * sysdeps/unix/sysv/linux/pread64.c
7827 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7828 * sysdeps/unix/sysv/linux/preadv.c
7829 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7830 * sysdeps/unix/sysv/linux/preadv64.c
7831 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7832 * sysdeps/unix/sysv/linux/pwrite.c
7833 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7834 * sysdeps/unix/sysv/linux/pwrite64.c
7835 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7836 * sysdeps/unix/sysv/linux/pwritev.c
7837 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7838 * sysdeps/unix/sysv/linux/pwritev64.c
7839 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7840
7841 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
7842
7843 * sysdeps/unix/sysv/linux/tile/kernel-features.h
7844 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7845
7846 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7847
7848 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7849
7850 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
7851
7852 [BZ #20240]
7853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7854 (CFLAGS-s_modf-ppc32.c): New variable.
7855 (CFLAGS-s_modff-ppc32.c): Likewise.
7856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7857 (CFLAGS-s_modf-ppc64.c): Likewise.
7858 (CFLAGS-s_modff-ppc64.c): Likewise.
7859
7860 2016-07-07 Andreas Schwab <schwab@suse.de>
7861
7862 [BZ #20263]
7863 * nptl/tst-robust10.c: New test.
7864 * nptl/Makefile (tests): Add tst-robust10.
7865
7866 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
7867
7868 [BZ #20263]
7869 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7870
7871 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7872
7873 * sysdeps/s390/linkmap.h (struct link_map_machine):
7874 Remove member gotplt and add member jmprel.
7875 * sysdeps/s390/s390-32/dl-machine.h
7876 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7877 instead of gotplt with &got[3].
7878 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7879 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7880
7881 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
7882
7883 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7884
7885 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7886
7887 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7888 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7889 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7890 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7891 * libio/vtables.c (_IO_vtable_check)
7892 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7893 * libio/libioP.h (IO_set_accept_foreign_vtables)
7894 [!PTR_MANGLE]: Do not call PTR_MANGLE.
7895
7896 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
7897
7898 [BZ #20314]
7899 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7900 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7901 $(common-objpfx)cmath.
7902 ($(common-objpfx)cstdlib): New target.
7903 ($(common-objpfx)cmath): Likewise.
7904
7905 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
7906
7907 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7908
7909 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7910
7911 [BZ #20327]
7912 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
7913 are not part of the string.
7914
7915 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7916
7917 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
7918 * nptl/tst-cancel4-common.h (fifoname): New variable.
7919 (fifofd): Likewise.
7920 (cl_fifo): New function.
7921 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
7922 SIGINT.
7923 (tf_open): Add early cancel test.
7924
7925 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
7926
7927 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
7928
7929 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
7930
7931 * sysdeps/generic/ldsodefs.h
7932 (dl_symbol_visibility_binds_local_p): New inline function.
7933 * elf/dl-addr.c (determine_info): Treat hidden and internal
7934 symbols as local.
7935 * elf/dl-lookup.c (do_lookup_x): Likewise.
7936 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
7937
7938 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
7939
7940 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
7941 invalid exception for a sNaN input.
7942 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7943 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7944 (__nearbyint_vis3): Likewise
7945 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7946 (__nearbyintf_vis3): Likewise
7947 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
7948 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7949 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
7950 Likewise.
7951 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
7952 Likewise.
7953
7954 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
7955
7956 [BZ #20139]
7957 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
7958 (HAVE_AVX512DQ_ASM_SUPPORT): This.
7959 * sysdeps/x86_64/configure.ac: Require assembler from binutils
7960 2.24 or above.
7961 (HAVE_AVX512_ASM_SUPPORT): Removed.
7962 (HAVE_AVX512DQ_ASM_SUPPORT): New.
7963 * sysdeps/x86_64/configure: Regenerated.
7964 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
7965 check unconditional.
7966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
7967 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7968 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7969 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
7970 Likewise.
7971 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7972 Likewise.
7973 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7974 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7975 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7976 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7977 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7978 Likewise.
7979 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7980 Likewise.
7981 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7982 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7983 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
7984 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
7985 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
7986 Likewise.
7987 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
7988 Likewise.
7989 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
7990 Likewise.
7991 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
7992 Likewise.
7993 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
7994 Likewise.
7995 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
7996 Likewise.
7997 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
7998 Likewise.
7999 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8000 Likewise.
8001 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8002 Likewise.
8003 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8004 Likewise.
8005 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8006 Likewise.
8007
8008 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
8009
8010 [BZ #20024]
8011 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8012 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8013 of this implementation of vector function.
8014 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8015 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8016 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8017 Likewise.
8018 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8019 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8020 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8021 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8022 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8023 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8024 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8025 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8026 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8027 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8028 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8029 for testing vector sincos with fixed ABI.
8030 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8031 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8032 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8033 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8034 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8035 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8036 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8037 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8038 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8039 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8040 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8041 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8042 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8043 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8044 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8045 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8046
8047 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8048
8049 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8050
8051 2016-06-30 Anton Blanchard <anton@samba.org>
8052
8053 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8054 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8055 s_sinf-ppc64.
8056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8057 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8059 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8060
8061 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8062
8063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8064 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8065 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8066 e_expf-ppc64.
8067 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8068 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8069 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8070 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8071
8072 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
8073
8074 [BZ #20277]
8075 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8076 when SHARED is defined.
8077
8078 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
8079
8080 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8081 (index_arch_Prefer_ERMS): Likewise.
8082 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8083 __memcpy_erms for Prefer_ERMS.
8084 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8085 (__memmove_erms): Enabled for libc.a.
8086 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8087 __memmove_erms or Prefer_ERMS.
8088 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8089 __mempcpy_erms for Prefer_ERMS.
8090 * sysdeps/x86_64/multiarch/memset.S (memset): Return
8091 __memset_erms for Prefer_ERMS.
8092
8093 2016-06-30 Andreas Schwab <schwab@suse.de>
8094
8095 [BZ #20262]
8096 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8097 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
8098 of memory.
8099
8100 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
8101
8102 [BZ #18645]
8103 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8104 (test-extras): Add tst-cleanupx4aux.
8105 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
8106 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8107 tst-cleanupx4aux.o.
8108 * nptl/tst-cleanupx4aux.c: New file.
8109
8110 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
8111
8112 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8113
8114 2016-06-29 Andreas Schwab <schwab@suse.de>
8115
8116 [BZ #20260]
8117 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8118 address before the beginning of the string as an integer to avoid
8119 array-bounds warning.
8120
8121 2016-06-28 Richard Henderson <rth@redhat.com>
8122
8123 * elf/elf.h (EM_BPF): New.
8124 (EM_NUM): Update.
8125 (R_BPF_NONE, R_BPF_MAP_FD): New.
8126
8127 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8128 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8129 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8130 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8131 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8132 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8133 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8134 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8135 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8136 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8137 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8138 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8139 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8140 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8141 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8142 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8143 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8144 (EM_NUM): Update.
8145
8146 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
8147
8148 [BZ #18960]
8149 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8150 Set _nl_current_LC_CATEGORY_used to two instead of one.
8151
8152 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
8153
8154 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8155 (do_test): ... this.
8156 (TEST_FUNCTION): New macro.
8157 Include test-skeleton.c.
8158 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8159 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8160
8161 2016-06-27 Joseph Myers <joseph@codesourcery.com>
8162
8163 [BZ #15479]
8164 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8165 floating-point environment rather than just control word.
8166 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8167 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8168 floating-point environment, with "invalid" exceptions merged in,
8169 rather than just control word.
8170 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8171 * math/libm-test.inc (trunc_test_data): Do not allow spurious
8172 "inexact" exceptions.
8173
8174 [BZ #15479]
8175 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8176 floating-point environment rather than just control word.
8177 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8178 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8179 floating-point environment, with "invalid" exceptions merged in,
8180 rather than just control word.
8181 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8182 * math/libm-test.inc (floor_test_data): Do not allow spurious
8183 "inexact" exceptions.
8184
8185 [BZ #15479]
8186 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8187 floating-point environment rather than just control word.
8188 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8189 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8190 floating-point environment, with "invalid" exceptions merged in,
8191 rather than just control word.
8192 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8193 * math/libm-test.inc (ceil_test_data): Do not allow spurious
8194 "inexact" exceptions.
8195
8196 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
8197
8198 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8199 __libc_vfork.
8200 (__vfork) [IS_IN (libc)]: Remove alias.
8201 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8202 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8203 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8204
8205 2016-06-24 Torvald Riegel <triegel@redhat.com>
8206
8207 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8208 of atomic_compare_and_exchange_bool_rel.
8209 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8210 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8211 catomic_compare_and_exchange_bool_rel): Remove.
8212 * sysdeps/aarch64/atomic-machine.h
8213 (atomic_compare_and_exchange_bool_rel): Likewise.
8214 * sysdeps/alpha/atomic-machine.h
8215 (atomic_compare_and_exchange_bool_rel): Likewise.
8216 * sysdeps/arm/atomic-machine.h
8217 (atomic_compare_and_exchange_bool_rel): Likewise.
8218 * sysdeps/mips/atomic-machine.h
8219 (atomic_compare_and_exchange_bool_rel): Likewise.
8220 * sysdeps/microblaze/atomic-machine.h
8221 ( __arch_compare_and_exchange_bool_8_rel,
8222 __arch_compare_and_exchange_bool_16_rel): Likewise.
8223 * sysdeps/powerpc/atomic-machine.h
8224 ( __arch_compare_and_exchange_bool_8_rel,
8225 __arch_compare_and_exchange_bool_16_rel): Likewise.
8226 * sysdeps/powerpc/powerpc32/atomic-machine.h
8227 ( __arch_compare_and_exchange_bool_32_rel,
8228 __arch_compare_and_exchange_bool_64_rel): Likewise.
8229 * sysdeps/powerpc/powerpc64/atomic-machine.h
8230 ( __arch_compare_and_exchange_bool_32_rel,
8231 __arch_compare_and_exchange_bool_64_rel): Likewise.
8232 * sysdeps/tile/atomic-machine.h
8233 (atomic_compare_and_exchange_bool_rel): Likewise.
8234
8235 2016-06-23 Joseph Myers <joseph@codesourcery.com>
8236
8237 [BZ #20296]
8238 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8239 when either argument is a NaN.
8240 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8241 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8242
8243 * math/libm-test.inc (snan_value_ld): New macro.
8244 (isgreater_test_data): Add sNaN tests.
8245 (isgreaterequal_test_data): Likewise.
8246 (isless_test_data): Likewise.
8247 (islessequal_test_data): Likewise.
8248 (islessgreater_test_data): Likewise.
8249 (isunordered_test_data): Likewise.
8250 (nextafter_test_data): Likewise.
8251 (nexttoward_test_data): Likewise.
8252 (remainder_test_data): Likewise.
8253 (remquo_test_data): Likewise.
8254 (significand_test_data): Likewise.
8255 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8256
8257 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
8258
8259 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8260 environment macros are defined.
8261 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8262
8263 2016-06-23 Florian Weimer <fweimer@redhat.com>
8264
8265 [BZ #20191]
8266 Implement vtable verification in libio.
8267 * Makerules (shlib.lds): Place __libc_IO_vtables section.
8268 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8269 * debug/vdprintf_chk.c (__vdprintf_chk): Call
8270 _IO_new_file_init_internal instead of _IO_file_init.
8271 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8272 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8273 * libio/Makefile (routines): Add vtables.
8274 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8275 (_IO_init): Remove, not for internal use.
8276 (_IO_init_internal): Declare, internal replacement for _IO_init.
8277 (_IO_file_init): Remove, not for internal use.
8278 (_IO_new_file_init): Remove, not for internal use.
8279 (_IO_new_file_init_internal): Declare, internal replacement for
8280 _IO_new_file_init.
8281 (_IO_old_file_init): Remove, not for internal use.
8282 (_IO_old_file_init_internal): Declare, internal replacement for
8283 _IO_old_file_init.
8284 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8285 internal use.
8286 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8287 Declare.
8288 (libio_vtable): New macro.
8289 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8290 functions.
8291 * libio/fileops.c (_IO_new_file_init_internal): Rename from
8292 _IO_new_file_init.
8293 (_IO_new_file_init): New externally visible wrapper which disables
8294 vtable verification.
8295 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8296 Define as vtables.
8297 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8298 (_IO_init): New externally visible wrapper which disables
8299 vtable verification.
8300 * libio/iofdopen.c (_IO_new_fdopen): Call
8301 _IO_new_file_init_internal instead of _IO_file_init. Adjust
8302 comment.
8303 * libio/iofopen.c (__fopen_internal): Call
8304 _IO_new_file_init_internal instead of _IO_file_init.
8305 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8306 Define as vtables.
8307 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8308 _IO_new_file_init_internal instead of _IO_file_init.
8309 * libio/iopopen.c (_IO_new_popen): Likewise.
8310 (_IO_proc_jumps): Define as vtable.
8311 * libio/iovdprintf.c (_IO_vdprintf): Call
8312 _IO_new_file_init_internal instead of _IO_file_init.
8313 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8314 (__open_memstream): Call _IO_init_internal instead of _IO_init.
8315 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8316 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8317 _IO_old_file_init.
8318 (_IO_old_file_init): New externally visible wrapper which disables
8319 vtable verification.
8320 (_IO_old_file_jumps): Define as vtable.
8321 * libio/oldiofdopen.c (_IO_old_fdopen): Call
8322 _IO_old_file_init_internal instead of _IO_old_file_init.
8323 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8324 * libio/oldiopopen.c (_IO_old_popen): Likewise.
8325 (_IO_old_proc_jumps): Define as vtable.
8326 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8327 Define as vtables.
8328 * libio/vtables.c: New file.
8329 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8330 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8331 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8332 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8333 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8334 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8335 instead of _IO_init.
8336
8337 2016-06-23 Florian Weimer <fweimer@redhat.com>
8338
8339 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8340
8341 2016-06-23 Florian Weimer <fweimer@redhat.com>
8342
8343 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8344 potentially unused.
8345
8346 2016-06-22 Florian Weimer <fweimer@redhat.com>
8347
8348 * test-skeleton.c (write_message): New function.
8349 * malloc/tst-mallocfork2.c (write_message): Remove.
8350 * debug/tst-longjmp_chk2.c (write_indented): New function.
8351 (write_message): Remove.
8352 (stackoverflow_handler): Call write_indented.
8353
8354 2016-06-22 Joseph Myers <joseph@codesourcery.com>
8355
8356 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8357 "inexact" exceptions after fnstenv.
8358 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8359 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8360 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8361
8362 2015-06-22 Zack Weinberg <zackw@panix.com>
8363
8364 * sysdeps/generic/bits/hwcap.h: Moved to ...
8365 * bits/hwcap.h: Here.
8366
8367 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
8368
8369 * sysdeps/aarch64/memcpy.S (memcpy):
8370 Further tuning for performance.
8371
8372 2016-06-21 Florian Weimer <fweimer@redhat.com>
8373
8374 [BZ #20284]
8375 * malloc/arena.c (reused_arena): Do not return NULL if we start
8376 out with a non-corrupted arena.
8377
8378 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8379
8380 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8381 * misc/tst-preadvwritev.c: New file.
8382 * misc/tst-preadvwritev64.c: Likewise.
8383 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8384 usage.
8385 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8386 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8387 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8388 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8389
8390 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
8391
8392 [BZ #19654]
8393 * sysdeps/x86_64/fpu/Makefile: Added new tests.
8394 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8395 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8396 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8397 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8398 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8399 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8400 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8401 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8402 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8403 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8404 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8405 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8406 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8407 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8408 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8409 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8410 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8411 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8412 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8413 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8414 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8415 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8416 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8417 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8418 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8419
8420 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8421
8422 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8423 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8424
8425 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
8426
8427 * sysdeps/aarch64/memcpy.S (memcpy):
8428 Rewrite of optimized memcpy and memmove.
8429 * sysdeps/aarch64/memmove.S (memmove): Remove
8430 memmove code (merged into memcpy.S).
8431
8432 2016-06-20 Florian Weimer <fweimer@redhat.com>
8433
8434 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8435 * sysdeps/generic/dl-dtv.h: New file.
8436 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8437 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8438 (dtv_t): Remove.
8439 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8440 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8441 (dtv_t): Remove.
8442 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8443 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8444 (dtv_t): Remove.
8445 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8446 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8447 (dtv_t): Remove.
8448 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8449 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8450 (dtv_t): Remove.
8451 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8452 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8453 (dtv_t): Remove.
8454 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8455 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8456 (dtv_t): Remove.
8457 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8458 (dtv_t): Remove.
8459 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8460 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8461 (dtv_t): Remove.
8462 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8463 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8464 (dtv_t): Remove.
8465 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8466 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8467 (dtv_t): Remove.
8468 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8469 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8470 (dtv_t): Remove.
8471 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8472 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8473 (dtv_t): Remove.
8474 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8475 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8476 (dtv_t): Remove.
8477 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8478 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8479 (dtv_t): Remove.
8480 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8481 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8482 (dtv_t): Remove.
8483
8484 2016-06-20 Florian Weimer <fweimer@redhat.com>
8485
8486 Revert symbol poisoning of __malloc_initialize_hook.
8487 * include/stdc-predef.h (__malloc_initialize_hook): Remove
8488 poisoning.
8489 * malloc/Makefile: Remove un-poisoning.
8490 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8491 instead of old__malloc_initialize_hook.
8492 * malloc/malloc-hooks.h: Likewise.
8493 * malloc/malloc.c: Likewise.
8494 * malloc/mcheck-init.c: Likewise.
8495
8496 2016-06-19 Carlos O'Donell <carlos@redhat.com>
8497
8498 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8499
8500 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
8501
8502 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8503 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8504 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8505 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8506
8507 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8508
8509 * NEWS: Mention addition of nextup and nextdown.
8510 * manual/arith.texi: Document nextup and nextdown.
8511 * manual/libm-err-tab.pl: Add nextup and nextdown.
8512 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8513 * math/Versions (libm): Add GLIBC_2.24.
8514 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8515 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8516 Add new test.
8517 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8518 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8519 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8520 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8521 (nextup_test_data): Likewise.
8522 (nextdown_test_data): Likewise.
8523 * math/s_nextdown.c: New file.
8524 * math/s_nextdownf.c: Likewise.
8525 * math/s_nextdownl.c: Likewise.
8526 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8527 F(nextup): New function.
8528 F(nextdown): Likewise.
8529 * math/tgmath.h: Add nextup and nextdown.
8530 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8531 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8536 Add nextup and nextdown.
8537 (CFLAGS-nldbl-nextup.c): New variable.
8538 (CFLAGS-nldbl-nextdown.c): Likewise.
8539 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8540 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8541 * sysdeps/nacl/libm.abilist: Update.
8542 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8543 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8544 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8545 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8546 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8547 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8548 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8549 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8550 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8551 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8552 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8553 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8556 Likewise.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8559 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8560 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8561 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8562 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8563 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8565 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8566 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8567 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8568 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8569 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8570
8571 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8572
8573 * manual/pattern.texi: Fix typos & grammar errors.
8574
8575 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8576
8577 * manual/search.texi: Fix typos & grammar errors.
8578
8579 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8580
8581 * manual/message.texi: Fix typos & grammar errors.
8582
8583 2016-06-16 Mike Frysinger <vapier@gentoo.org>
8584
8585 * manual/contrib.texi: Fix spelling typos.
8586 * manual/crypt.texi: Likewise.
8587 * manual/filesys.texi: Likewise.
8588 * manual/locale.texi: Likewise.
8589 * manual/message.texi: Likewise.
8590 * manual/nss.texi: Likewise.
8591 * manual/string.texi: Likewise.
8592
8593 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8594
8595 * manual/locale.texi: Fix typos & grammar errors.
8596
8597 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8598
8599 * manual/charset.texi: Fix typos & grammar errors.
8600
8601 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8602
8603 * manual/string.texi: Fix typos.
8604
8605 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8606
8607 * manual/ctype.texi: Fix typos.
8608
8609 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
8610
8611 * manual/memory.texi: Fix various typos & grammar errors.
8612
8613 2016-06-14 Joseph Myers <joseph@codesourcery.com>
8614
8615 [BZ #20255]
8616 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
8617 * math/libm-test.inc (fdim_test_data): Add another test.
8618
8619 [BZ #6796]
8620 [BZ #20255]
8621 [BZ #20256]
8622 * math/s_fdim.c: Include <math_private.h>.
8623 (__fdim): Use math_narrow_eval on result.
8624 * math/s_fdimf.c: Include <math_private.h>.
8625 (__fdimf): Use math_narrow_eval on result.
8626 * sysdeps/i386/fpu/s_fdim.S: Remove file.
8627 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8628 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8629 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8630 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8631 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8632 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8633 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8634 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8635 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8636 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8637 * math/libm-test.inc (fdim_test_data): Expect errno setting on
8638 overflow. Add sNaN tests.
8639
8640 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8641 fpclassify.
8642 * math/s_fdimf.c (__fdimf): Likewise.
8643 * math/s_fdiml.c (__fdiml): Likewise.
8644
8645 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8646
8647 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8648 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8650 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8651 ifunc'ed strcasecmp/strncasecmp.
8652 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8653 [EALIGN]: Removed.
8654 [END]: Likewise.
8655 [__strcasecmp]: Define instead of the above to control symbol name.
8656 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8657 for __strcasecmp_power8.
8658 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8659 for __strncasecmp_power8.
8660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8661 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8662 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8663 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8664 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8665 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8666
8667 2016-06-13 Joseph Myers <joseph@codesourcery.com>
8668
8669 [BZ #20252]
8670 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8671 arguments when second argument is a NaN.
8672 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8673 qNaN tests.
8674
8675 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8676 (conj_test_data): Likewise.
8677 (copysign_test_data): Likewise.
8678 (creal_test_data): Likewise.
8679 (fma_test_data): Likewise.
8680 (fmod_test_data): Likewise.
8681
8682 [BZ #20250]
8683 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8684 itself.
8685 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8686 zero input to itself.
8687 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8688 Likewise.
8689 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8690 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8691 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8692 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8693 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8694
8695 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8696
8697 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8698 * nptl/tst-cancel4-common.c: New file.
8699 * nptl/tst-cancel4-common.h: Likewise.
8700 * nptl/tst-cancel4.c: Move common definitions to
8701 tst-cancel4-common.{c,h} file.
8702 * nptl/tst-cancel4_1.c: New test.
8703 * nptl/tst-cancel4_2.c: New test.
8704
8705 2016-06-13 Florian Weimer <fweimer@redhat.com>
8706
8707 [BZ #20248]
8708 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8709 (write_message): New function.
8710 (stackoverflow_handler): Call it instead of printf, to avoid
8711 excessive stack usage by printf.
8712 (do_test): Restore SIGSEGV, SIGBUS default handlers.
8713
8714 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8715
8716 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8717 (prio_inherit_missing): Remove define.
8718 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8719 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8720 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8721 Likewise.
8722 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8723 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8724 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8725 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8726 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8727 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8728
8729 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
8730
8731 [BZ #19670]
8732 [BZ #19672]
8733
8734 * io/test-lfs.c (do_prepare): Use xmalloc.
8735 * io/tst-fcntl.c (do_prepare): Likewise.
8736 * libio/tst-fopenloc.c (do_bz17916): Likewise.
8737 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8738 * login/tst-utmp.c (do_prepare): Likewise.
8739 * posix/tst-exec.c (do_prepare): Likewise.
8740 * posix/tst-pathconf.c (prepare): Likewise.
8741 * posix/tst-spawn.c (do_prepare): Likewise.
8742 * posix/tst-truncate.c (do_prepare): Likewise.
8743 * rt/tst-aio.c (do_prepare): Likewise.
8744 * rt/tst-aio64.c (do_prepare): Likewise.
8745
8746 2016-06-11 Florian Weimer <fweimer@redhat.com>
8747
8748 [BZ #20237]
8749 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8750 (get*ent): Set entidx to NULL during initialization. If entidx is
8751 NULL, start iteration from the beginning.
8752
8753 2016-06-11 Florian Weimer <fweimer@redhat.com>
8754
8755 * malloc/malloc.c (musable): Return correct size for dumped fake
8756 mmapped chunk.
8757
8758 2016-06-11 Florian Weimer <fweimer@redhat.com>
8759
8760 [BZ #20222]
8761 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8762 (_IO_cookie_write): Likewise.
8763 (_IO_cookie_seek): Likewise.
8764 (_IO_cookie_close): Likewise.
8765 (_IO_old_cookie_seek): Likewise.
8766 (set_callbacks): New function.
8767 (_IO_cookie_init): Call set_callbacks to copy callbacks.
8768
8769 2016-06-11 Marko Myllynen <myllynen@redhat.com>
8770
8771 * locale/programs/localedef.c (oldstyle_tables): Remove.
8772 * locale/programs/localedef.h (oldstyle_tables): Likewise.
8773
8774 2016-06-10 Joseph Myers <joseph@codesourcery.com>
8775
8776 [BZ #20240]
8777 * math/Makefile (CFLAGS-s_modf.c): New variable.
8778 (CFLAGS-s_modff.c): Likewise.
8779 (CFLAGS-s_modfl.c): Likewise.
8780 * math/libm-test.inc (modf_test_data): Add sNaN tests.
8781
8782 2016-06-09 Carlos O'Donell <carlos@redhat.com>
8783
8784 [BZ #20215]
8785 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8786 [!__GNUC_PREREQ (3,2)]: Likewise.
8787
8788 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
8789
8790 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8791 (msghdr.msg_controllen): Likewise.
8792 (cmsghdr.cmsg_len): Likewise.
8793 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8794 ptw-oldsendmsg.
8795 (CFLAGS-oldrecvmsg.c): Remove rule.
8796 (CFLAGS-oldsendmsg.c): Likewise.
8797 (CFLAGS-recvmsg.c): Add rule.
8798 (CFLAGS-sendmsg.c): Likewise.
8799 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8800 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8801 (CFLAGS-recvmsg.c): Remove rule.
8802 (CFLAGS-sendmsg.c): Likewise.
8803 (CFLAGS-oldrecvmsg.c): Likewise.
8804 (CFLAGS-oldsendmsg.c): Likewise.
8805 (CFLAGS-recvmmsg.c): Likewise.
8806 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8807 to kernel defined interfaces.
8808 (msghdr.msg_controllen): Likewise.
8809 (cmsghdr.cmsg_len): Likewise.
8810 (msghdr.__glibc_reserved1): Remove member.
8811 (msghdr.__glibc_reserved2): Likewise.
8812 (cmsghdr.__glibc_reserved1): Likewise.
8813 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8814 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8815 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8816 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8817 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8818 version.
8819 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8820 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8821 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8822 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8823 Remove recvmsg and sendmsg.
8824 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8825 Likewise.
8826 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8827 Likewise.
8828 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8829 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8830 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8831 Likewise.
8832 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8833 Likewise.
8834 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8835 [libc] (GLIBC_2.24): Likewise.
8836 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8837 Likewise.
8838 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8839 Likewise.
8840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8841 [libc] (GLIBC_2.24): Likewise.
8842 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8843 Likewise.
8844 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8845 Likewise.
8846 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8847 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8848 Likewise.
8849 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8850 Likewise.
8851 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8852 Likewise.
8853 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8854 Likewise.
8855 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8856 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8857 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8858 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8859 version for {recv,send,recm,sendm}msg.
8860 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8861 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8862 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8863 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8864 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8865 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8866 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8867 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8868 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8869 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8870 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8871 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8873 Likewise.
8874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8875 Likewise.
8876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8878 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8879 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8880 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8881 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8882 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8883 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8886 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8887 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8888 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8889
8890 2016-06-10 Florian Weimer <fweimer@redhat.com>
8891
8892 [BZ #19564]
8893 Remove __malloc_initialize_hook from the API.
8894 * malloc/malloc.h (__malloc_initialize_hook): Remove.
8895 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8896 #pragma GCC poison.
8897 * malloc/malloc-hooks.h: New file.
8898 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8899 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8900 (old__malloc_initialize_hook): Rename from
8901 __malloc_initialize_hook to evade poisoning. Turn into compat
8902 symbol.
8903 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8904 __malloc_initialize_hook.
8905 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8906 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8907 * manual/memory.texi (Hooks for Malloc): Remove
8908 __malloc_initialize_hook. Adjust hook example.
8909
8910 2016-06-09 Joseph Myers <joseph@codesourcery.com>
8911
8912 [BZ #20235]
8913 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
8914 itself.
8915 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8916 * math/libm-test.inc (log2_test_data): Add sNaN tests.
8917
8918 [BZ #20234]
8919 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
8920 infinity or NaN input to itself.
8921
8922 [BZ #20233]
8923 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
8924 to itself.
8925
8926 [BZ #20232]
8927 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
8928 itself.
8929
8930 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
8931
8932 * sysdeps/x86_64/start.S (_start): Always indirect branch to
8933 __libc_start_main via GOT.
8934
8935 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
8936
8937 * sysdeps/x86_64/memcopy.h: New file.
8938 * sysdeps/x86_64/wordcopy.c: Likewise.
8939
8940 2016-06-09 Florian Weimer <fweimer@redhat.com>
8941
8942 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
8943 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
8944 <cstdlib>.
8945 (optimization_barrier): New.
8946 (do_test): Use it. Call quick_exit in the global namespace.
8947 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
8948 instead of <cstdlib>, <thread>.
8949 (optimization_barrier): New.
8950 (non_main_thread): Adjust declaration. Call optimization_barrier.
8951 Call quick_exit in the global namespace.
8952 (do_test): Call optimization_barrier. Use pthread_create,
8953 pthread_join instead of std::thread.
8954
8955 2016-06-09 Andreas Schwab <schwab@suse.de>
8956
8957 [BZ #19755]
8958 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
8959 new entries in auto-propagate mode.
8960 * nscd/grpcache.c (cache_addgr): Likewise.
8961
8962 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
8963
8964 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
8965 New functions.
8966 (add_temp_file): Use them.
8967
8968 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
8969
8970 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
8971
8972 2016-06-08 Joseph Myers <joseph@codesourcery.com>
8973
8974 [BZ #20229]
8975 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
8976 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
8977 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
8978
8979 [BZ #20228]
8980 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
8981 itself.
8982 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8983 * math/libm-test.inc (log10_test_data): Add sNaN tests.
8984
8985 [BZ #20227]
8986 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
8987 itself.
8988 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8989 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8990 * math/libm-test.inc (log_test_data): Add sNaN tests.
8991
8992 [BZ #20226]
8993 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
8994 itself.
8995 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8996 * math/libm-test.inc (exp_test_data): Add sNaN tests.
8997 (exp10_test_data): Likewise.
8998 (expm1_test_data): Likewise.
8999
9000 [BZ #20225]
9001 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9002 itself.
9003 * math/s_ldexpf.c (__ldexpf): Likewise.
9004 * math/s_ldexpl.c (__ldexpl): Likewise.
9005 * math/w_scalbln.c (__w_scalbln): Likewise.
9006 * math/w_scalblnf.c (__w_scalblnf): Likewise.
9007 * math/w_scalblnl.c (__w_scalblnl): Likewise.
9008 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9009 (scalbln_test_data): Likewise.
9010
9011 [BZ #20224]
9012 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9013 argument to itself.
9014 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9015
9016 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9017
9018 [BZ #19776]
9019 * sysdeps/x86_64/memcpy.S: Make it dummy.
9020 * sysdeps/x86_64/mempcpy.S: Likewise.
9021 * sysdeps/x86_64/memmove.S: New file.
9022 * sysdeps/x86_64/memmove_chk.S: Likewise.
9023 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9024 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9025 * sysdeps/x86_64/memmove.c: Removed.
9026 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9027 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9028 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9029 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9030 Likewise.
9031 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9032 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9034 memcpy-sse2-unaligned, memmove-avx-unaligned,
9035 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9037 (__libc_ifunc_impl_list): Replace
9038 __memmove_chk_avx512_unaligned_2 with
9039 __memmove_chk_avx512_unaligned. Remove
9040 __memmove_chk_avx_unaligned_2. Replace
9041 __memmove_chk_sse2_unaligned_2 with
9042 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
9043 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
9044 with __memmove_avx512_unaligned. Replace
9045 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9046 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
9047 with __memcpy_chk_avx512_unaligned. Remove
9048 __memcpy_chk_avx_unaligned_2. Replace
9049 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9050 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
9051 Replace __memcpy_avx512_unaligned_2 with
9052 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
9053 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
9054 with __mempcpy_chk_avx512_unaligned. Remove
9055 __mempcpy_chk_avx_unaligned_2. Replace
9056 __mempcpy_chk_sse2_unaligned_2 with
9057 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
9058 Replace __mempcpy_avx512_unaligned_2 with
9059 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
9060 Replace __mempcpy_sse2_unaligned_2 with
9061 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
9062 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9063 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9064 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9065 if processor has ERMS. Default to __memcpy_sse2_unaligned.
9066 (ENTRY): Removed.
9067 (END): Likewise.
9068 (ENTRY_CHK): Likewise.
9069 (libc_hidden_builtin_def): Likewise.
9070 Don't include ../memcpy.S.
9071 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9072 __memcpy_chk_avx512_unaligned_erms and
9073 __memcpy_chk_avx512_unaligned. Use
9074 __memcpy_chk_avx_unaligned_erms and
9075 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9076 Default to __memcpy_chk_sse2_unaligned.
9077 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9078 Change function suffix from unaligned_2 to unaligned.
9079 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9080 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9081 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9082 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
9083 (ENTRY): Removed.
9084 (END): Likewise.
9085 (ENTRY_CHK): Likewise.
9086 (libc_hidden_builtin_def): Likewise.
9087 Don't include ../mempcpy.S.
9088 (mempcpy): New. Add a weak alias.
9089 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9090 __mempcpy_chk_avx512_unaligned_erms and
9091 __mempcpy_chk_avx512_unaligned. Use
9092 __mempcpy_chk_avx_unaligned_erms and
9093 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9094 Default to __mempcpy_chk_sse2_unaligned.
9095
9096 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
9097
9098 [BZ #19881]
9099 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9100 into ...
9101 * sysdeps/x86_64/memset.S: This.
9102 (__bzero): Removed.
9103 (__memset_tail): Likewise.
9104 (__memset_chk): Likewise.
9105 (memset): Likewise.
9106 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9107 defined.
9108 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9109 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9110 (__memset_zero_constant_len_parameter): Check SHARED instead of
9111 PIC.
9112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9113 memset-avx2 and memset-sse2-unaligned-erms.
9114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9115 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9116 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9117 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9118 (__bzero): Enabled.
9119 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9120 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9121 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
9122 or __memset_avx2_unaligned_erms if processor has ERMS. Support
9123 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9124 (memset): Removed.
9125 (__memset_chk): Likewise.
9126 (MEMSET_SYMBOL): New.
9127 (libc_hidden_builtin_def): Replace __memset_sse2 with
9128 __memset_sse2_unaligned.
9129 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9130 __memset_chk_sse2 and __memset_chk_avx2 with
9131 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9132 Use __memset_chk_sse2_unaligned_erms or
9133 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
9134 __memset_chk_avx512_unaligned_erms and
9135 __memset_chk_avx512_unaligned.
9136
9137 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9138
9139 * math/gen-auto-libm-test.c (fp_format_desc): remove
9140 suffix member.
9141 (output_generic_value): Remove usage of suffix member,
9142 and the resulting unuse of the fp_format argument.
9143 (output_for_one_input_case): Remove unused fp_format
9144 parameter.
9145
9146 * math/auto-libm-test-out: Regenerate.
9147
9148 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9149 usage with TEST_COND_ibm128.
9150 (TEST_COND_flt_32): Remove.
9151 (TEST_COND_dbl_64): Remove.
9152 (TEST_COND_ldbl_96_intel): Remove.
9153 (TEST_COND_ldbl_96_m68k): Remove.
9154 (TEST_COND_ldbl_128): Remove.
9155
9156 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9157
9158 * auto-libm-test-in:
9159 Replace flt-32 usage with binary32.
9160 Replace dbl-64 usage with binary64.
9161 Replace ldbl-intel-96 usage with intel96.
9162 Replace ldbl-m68k-96 usage with m68k96.
9163 Replace ldbl-128ibm usage with ibm128.
9164 Replace ldbl-128 usage with binary128.
9165
9166 * auto-libm-test-out: Regenerate.
9167
9168 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9169
9170 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9171 (parse_ulps): Dynamically generate type name matching
9172 string from all_floats.
9173 (get_ulps): Generate the ulps as an array instead.
9174 (output_ulps): Dynamically compose the type based
9175 on the number of supported formats, and print
9176 the indices as type specific helper macros.
9177
9178 * math/libm-test.inc: Remove comment about CHOOSE.
9179 (ulp_data): Generate the type in libm-test-ulps.h.
9180 (ULP_IDX): New macro.
9181 (find_ulps): Update usage of max_ulp.
9182
9183 * math/test-double-vlen2.h (CHOOSE): Remove.
9184 * math/test-double-vlen4.h (CHOOSE): Likewise.
9185 * math/test-double-vlen8.h (CHOOSE): Likewise.
9186 * math/test-float.c (CHOOSE): Likewise.
9187 * math/test-float-finite.c (CHOOSE): Likewise.
9188 * math/test-double.c (CHOOSE): Likewise.
9189 * math/test-double-finite.c (CHOOSE): Likewise.
9190 * math/test-idouble.c (CHOOSE): Likewise.
9191 * math/test-ifloat.c (CHOOSE): Likewise.
9192 * math/test-ildoubl.c (CHOOSE): Likewise.
9193 * math/test-ldouble-finite.c (CHOOSE): Likewise.
9194 * math/test-ldouble.c (CHOOSE): Likewise.
9195
9196 * math/test-float.h (TEST_FLOAT): Remove.
9197 * math/test-double.h (TEST_DOUBLE): Likewise.
9198 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9199
9200 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9201
9202 * math/gen-libm-test.pl: (apply_lit): New subroutine.
9203 (parse_args): Strip C suffix from floating point literals
9204 typed with 'f' and wrap them with LIT().
9205
9206 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9207 (test_ff_f_data_nexttoward): Rename to
9208 (test_fj_f_data): New struct.
9209 (nexttoward_test_data): Relabel tests as
9210 TEST_fj_f instead of TEST_ff_f.
9211
9212 2016-06-08 Florian Weimer <fweimer@redhat.com>
9213
9214 Emacs bug 23726.
9215 * malloc/malloc.c (dumped_main_arena_start): Update comment.
9216 (__libc_realloc): Correct size computation for dumped fake mmapped
9217 chunks.
9218
9219 2016-06-07 Joseph Myers <joseph@codesourcery.com>
9220
9221 [BZ #20219]
9222 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9223 to itself.
9224 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9225
9226 [BZ #20218]
9227 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9228 to itself.
9229 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9230
9231 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
9232
9233 [BZ #20195]
9234 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9235 check to ...
9236 (init_cpu_features): Here.
9237
9238 2016-06-07 Carlos O'Donell <carlos@redhat.com>
9239
9240 [BZ #20214]
9241 * sysdeps/unix/sysv/linux/bits/in.h
9242 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9243 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9244 Define to 1.
9245 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9246 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9247 Define to 0.
9248 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9249 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9250
9251 2016-06-06 Carlos O'Donell <carlos@redhat.com>
9252
9253 [BZ #20198]
9254 * stdlib/Makefile (tests): Add tst-quick_exit, and
9255 tst-thread-quick_exit.
9256 [ifeq ($(have-cxx-thread_local),yes)]
9257 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9258 (CFLAGS-tst-thread-quick_exit.o): Likewise.
9259 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9260 (LDLIBS-tst-thread-quick_exit): Likewise.
9261 [ifneq ($(have-cxx-thread_local),yes)]
9262 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9263 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9264 If run_dtors is true call __call_tls_dtors.
9265 (exit): Call __run_exit_handlers with run_dtors set to true.
9266 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9267 definition.
9268 * stdlib/quick_exit.c (quick_exit): Remove function.
9269 (__new_quick_exit): New function.
9270 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9271 function.
9272 * stdlib/tst-quick_exit.cc: New file.
9273 * stdlib/tst-thread-quick_exit.cc: New file.
9274 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9275 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9276 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9277 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9278 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9279 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9280 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9281 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9282 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9283 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9284 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9285 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9286 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9287 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9288 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9289 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9294 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9295 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9296 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9297 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9298 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9301 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9302 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9303 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9304
9305 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
9306
9307 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9308 a typo in comments.
9309
9310 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9311
9312 [BZ #20213]
9313 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9314 argument to itself.
9315 * math/libm-test.inc (asin_test_data): Add sNaN tests.
9316
9317 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9318
9319 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9320 required flags.
9321 (CFLAGS-pwritev64.c): Likewise.
9322 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9323 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9324 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9325 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9326 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9327 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9328 syscall from auto-generation.
9329 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9330 [WORDSIZE == 64] (pwritev64): Remove macro.
9331 [!PWRITEV] (PWRITEV): Likewise.
9332 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9333 [!PWRITEV] (PWRITE): Likewise.
9334 [!PWRITEV] (OFF_T): Likewise.
9335 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9336 (LO_HI_LONG): Remove macro.
9337 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9338 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9339 (PWRITEV): Remove macro.
9340 (PWRITEV_REPLACEMENTE): Likewise.
9341 (PWRITE): Likewise.
9342 (OFF_T): Likewise.
9343 (pwritev64): New function.
9344 * nptl/tst-cancel4.c (tf_writev): Add test.
9345
9346 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9347 required flags.
9348 (CFLAGS-preadv64.c): Likewise.
9349 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9350 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9351 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9352 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9353 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9354 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9355 syscall from auto-generation.
9356 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9357 [WORDSIZE == 64] (preadv64): Remove macro.
9358 [!PREADV] (PREADV): Likewise.
9359 [!PREADV] (PREADV_REPLACEMENT): Likewise.
9360 [!PREADV] (PREAD): Likewise.
9361 [!PREADV] (OFF_T): Likewise.
9362 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9363 (LO_HI_LONG): Remove macro.
9364 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9365 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9366 (PREADV): Remove macro.
9367 (PREADV_REPLACEMENTE): Likewise.
9368 (PREAD): Likewise.
9369 (OFF_T): Likewise.
9370 (preadv64): New function.
9371 * nptl/tst-cancel4.c (tf_preadv): Add test.
9372
9373 2016-06-06 Joseph Myers <joseph@codesourcery.com>
9374
9375 [BZ #20212]
9376 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9377 argument to itself.
9378 * math/libm-test.inc (acos_test_data): Add sNaN tests.
9379
9380 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9381
9382 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9383 New symbol defined as libc_hidden_def.
9384 (strcasestr): Became a weak alias to __strcasestr.
9385 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9386 according to multi-arch support. Move __stpncpy hidden
9387 definition from here to...
9388 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
9389 symbol stpncpy.
9390 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9391 libc_hidden_builtin_def.
9392 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9393 memset symbol to use when multi-arch support is available.
9394
9395 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9396
9397 * dlfcn/tst-rec-dlopen.c: Include string.h.
9398
9399 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9400
9401 * manual/install.texi: Remove mention of --without-tls
9402 * INSTALL: Regenerate.
9403
9404 2016-06-05 Florian Weimer <fweimer@redhat.com>
9405
9406 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9407 Remove.
9408 (call_function, interposed_malloc_called): New variables.
9409 (malloc): New function.
9410 (do_test): Do not change malloc hooks. Initialize malloc. Set
9411 and clear call_function as needed.
9412
9413 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
9414
9415 * include/wchar.h (__wmemset): Use __typeof.
9416
9417 2016-06-03 Carlos O'Donell <carlos@redhat.com>
9418
9419 * include/wchar.h (__wmemset): Declare function without typeof.
9420
9421 2016-06-03 Joseph Myers <joseph@codesourcery.com>
9422
9423 [BZ #20205]
9424 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9425 exponent when incrementing negative subnormal with low mantissa
9426 word zero.
9427 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9428 Add another test.
9429
9430 2016-06-03 Florian Weimer <fweimer@redhat.com>
9431
9432 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9433 __wmemset instead of wmemset.
9434
9435 2016-06-02 Carlos O'Donell <carlos@redhat.com>
9436
9437 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9438 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9439 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9440 __USE_KERNEL_IPV6_DEFS to 0.
9441 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9442 Update comment.
9443
9444 2016-06-01 Florian Weimer <fweimer@redhat.com>
9445
9446 [BZ #19861]
9447 Do not use IFUNC resolver with potentially unrelocated symbol.
9448 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9449 (DEFINE_FORK): Remove macro and inline definition.
9450 (fork_alias): Renamed from fork_ifunc.
9451 (__fork_alias): Renamed from __fork_ifunc.
9452
9453 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
9454
9455 [BZ 19653]
9456 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9457 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9458
9459 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9460
9461 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9462 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9463 i386-linux-gnu).
9464 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9465 Set to no.
9466 * sysdeps/mach/hurd/configure: Refresh.
9467
9468 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9469
9470 [BZ #20178]
9471 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9472 on failure instead of exit.
9473
9474 2016-05-30 Roland McGrath <roland@hack.frob.com>
9475
9476 [BZ #3629]
9477 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9478 of POSIX.1-2008.
9479
9480 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9481
9482 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9483 Use PLT entry for calling _hurd_self_sigstate.
9484
9485 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
9486
9487 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9488 available logical processors with SMT level type sharing L2
9489 cache for Intel processors.
9490
9491 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9492
9493 [BZ #20160]
9494 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9495 argument to itself before returning the result.
9496 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9497 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9498 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9500 Likewise.
9501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9502 Likewise.
9503 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9504 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9505 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9506 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9507 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9508 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9509
9510 [BZ #20160]
9511 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9512 argument to itself before returning the result.
9513 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9514 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9515 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9516 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9517 Likewise.
9518 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9519 Likewise.
9520 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9521 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9522 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9523 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9524 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9525 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9526
9527 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9528
9529 * libm-test.inc: Replace usage of M_El with
9530 (lit_e): New macro.
9531
9532 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9533
9534 * libm-test.inc: Replace usage of M_PI_4l with
9535 (lit_pi_4_d): New macro.
9536
9537 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9538
9539 * libm-test.inc: Replace usage of M_PIl with
9540 (lit_pi): New macro.
9541
9542 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9543
9544 * libm-test.inc: Replace usage of M_PI2l with
9545 (lit_pi_2_d): New macro.
9546
9547 * math/test-double.h (LITM): New macro.
9548 * math/test-float.h (LITM): Likewise.
9549 * math/test-ldouble.h (LITM): Likewise.
9550
9551 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9552
9553 * libm-test.inc (M_PI_34l): Rename to
9554 (lit_pi_3_m_4_d): New Macro.
9555 (M_PI_34_LOG10El): Rename to
9556 (lit_pi_3_m_4_ln10_m_d): New Macro.
9557 (M_PI2_LOG10El): Rename to
9558 (lit_pi_2_ln10_m_d): New Macro.
9559 (M_PI4_LOG10El): Rename to
9560 (lit_pi_4_ln10_m_d): New Macro.
9561 (M_PI_LOG10El): Rename to
9562 (lit_pi_ln10_d): New Macro.
9563
9564 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9565
9566 [BZ #20157]
9567 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9568 determine whether to negate low half if [_ARCH_PPCGR], and integer
9569 comparison otherwise.
9570 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9571 determine whether to negate low half.
9572
9573 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9574 (NO_TEST_INLINE_DOUBLE): Likewise.
9575 (TEST_COND_x86_64): Likewise.
9576 (TEST_COND_x86): Likewise.
9577 (M_PI_6l): Likewise.
9578
9579 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9580
9581 * math/libm-test.inc:
9582 (TEST_FLOAT): Change usage to TEST_COND_binary32.
9583 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9584 (TEST_LDOUBLE): Update usage to evaluate as true if
9585 the guarded tests match the property being tested.
9586 (LDBL_MAX_EXP): Change to MAX_EXP.
9587 (LDBL_MIN_EXP): Change to MIN_EXP.
9588 (LDBL_MANT_DIG): Change to MANT_DIG, except for
9589 nexttoward tests.
9590
9591 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9592
9593 * math/libm-test.inc:
9594 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9595 (TYPE_MIN): Likewise.
9596 (TYPE_TRUE_MIN): Likewise.
9597 (TYPE_MAX): Likewise.
9598 (MIN_EXP): Likewise.
9599 (MAX_EXP): Likewise.
9600 (MANT_DIG): Likewise.
9601
9602 (FSTR_MAX): New macro.
9603 (__CONCATX): Likewise.
9604 (QTYPE_STR): Likewise.
9605 (TEST_COND_binary32): Likewise.
9606 (TEST_COND_binary64): Likewise.
9607 (TEST_COND_binary128): Likewise.
9608 (TEST_COND_ibm128): Likewise.
9609 (TEST_COND_intel96): Likewise.
9610 (TEST_COND_m68k96): Likewise.
9611
9612 (TEST_COND_flt_32): Redefine as equivalent format test macro.
9613 (TEST_COND_dbl_64): Likewise.
9614 (TEST_COND_ldbl_96_intel): Likewise.
9615 (TEST_COND_ldbl_96_m68k): Likewise.
9616 (TEST_COND_ldbl_128): Likewise.
9617 (TEST_COND_ldbl_128ibm): Likewise.
9618
9619 (plus_zero): Redefine using LIT macro.
9620 (minus_zero): Likewise.
9621 (plus_infty): Redefine as (INF).
9622 (minux_infty): Redefine as (-INF).
9623 (max_value): Redefine as TYPE_MAX.
9624 (min_value): Redefine as TYPE_MIN.
9625 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9626
9627 (print_float): Refactor to use snprintf to convert FLOAT values
9628 to string. This brings it closer to dropin replacement of strtof
9629 for the TS 18661 defined types.
9630 (update_stats): Likewise.
9631 (print_complex_function_ulps): Likewise.
9632 (print_max_error): Likewise.
9633 (print_complex_max_error): Likewise.
9634 (check_float_internal): Likewise.
9635
9636 * math/test-float.h (PREFIX): New macro.
9637 (LIT): Likewise.
9638 (TYPE_STR): Likewise.
9639 (FTOSTR): Likewise.
9640
9641 * math/test-double.h (PREFIX): New macro.
9642 (LIT): Likewise.
9643 (TYPE_STR): Likewise.
9644 (FTOSTR): Likewise.
9645
9646 * math/test-ldouble.h (PREFIX): New macro.
9647 (LIT): Likewise.
9648 (TYPE_STR): Likewise.
9649 (FTOSTR): Likewise.
9650
9651 2016-05-27 Joseph Myers <joseph@codesourcery.com>
9652
9653 [BZ #20156]
9654 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9655 to itself when zero or not finite.
9656 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9657 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9658 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9659 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9660
9661 2016-05-26 Joseph Myers <joseph@codesourcery.com>
9662
9663 [BZ #20153]
9664 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9665 x * x + x for infinities and NaNs.
9666
9667 [BZ #20151]
9668 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9669 argument to itself before returning result.
9670 (__ieee754_y0l): Likewise.
9671 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9672 (__ieee754_y1l).
9673
9674 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9675 (atan_test_data): Likewise.
9676 (ceil_test_data): Likewise.
9677 (cos_test_data): Likewise.
9678 (cosh_test_data): Likewise.
9679 (erf_test_data): Likewise.
9680 (exp2_test_data): Likewise.
9681 (fabs_test_data): Likewise.
9682 (floor_test_data): Likewise.
9683 (ilogb_test_data): Likewise.
9684 (j0_test_data): Likewise.
9685 (j1_test_data): Likewise.
9686 (jn_test_data): Likewise.
9687 (lgamma_test_data): Likewise.
9688 (lrint_test_data): Likewise.
9689 (llrint_test_data): Likewise.
9690 (logb_test_data): Likewise.
9691 (lround_test_data): Likewise.
9692 (llround_test_data): Likewise.
9693 (nearbyint_test_data): Likewise.
9694 (rint_test_data): Likewise.
9695 (round_test_data): Likewise.
9696 (sin_test_data): Likewise.
9697 (sincos_test_data): Likewise.
9698 (sinh_test_data): Likewise.
9699 (sqrt_test_data): Likewise.
9700 (tan_test_data): Likewise.
9701 (tanh_test_data): Likewise.
9702 (tgamma_test_data): Likewise.
9703 (trunc_test_data): Likewise.
9704 (y0_test_data): Likewise.
9705 (y1_test_data): Likewise.
9706 (yn_test_data): Likewise.
9707
9708 * math/libm-test.inc: Update comment about NaN testing.
9709 (TEST_SNAN): New macro.
9710 (snan_value): Likewise.
9711 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9712 (fpclassify_test_data): Add sNaN tests.
9713 (isfinite_test_data): Likewise.
9714 (isinf_test_data): Likewise.
9715 (isnan_test_data): Likewise.
9716 (isnormal_test_data): Likewise.
9717 (issignaling_test_data): Likewise.
9718 (signbit_test_data): Likewise.
9719 * math/gen-libm-test.pl (%beautify): Add snan_value.
9720 (show_exceptions): Add argument $test_snan.
9721 (parse_args): Handle snan_value as non-finite. Update call to
9722 show_exceptions.
9723 * math/Makefile (libm-test-no-inline-cflags): Add
9724 -fsignaling-nans.
9725
9726 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9727
9728 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9729 (CFLAGS-oldsendmsg.c): Add rule.
9730 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9731 Correct recvmsg symbol name.
9732 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9733 Likewise.
9734
9735 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9736
9737 * sysdeps/unix/sysv/linux/Makefile
9738 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9739 oldsendmmsg.
9740 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9741 sendmmsg.
9742 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9743 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9744 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9745 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9748 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9749 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9750 Likewise.
9751 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9752 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9753 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9754 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9755 iovlen and controllen fields to adjust to POSIX specification.
9756 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9757
9758 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9759 and change to correct expected type.
9760 (msghdr.msg_controllen): Likewise.
9761 (cmsghdr.cmsg_len): Likewise.
9762 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9763 expected POSIX assumption about the size.
9764 (msghdr.msg_controllen): Likewise.
9765 (msghdr.__glibc_reserved1): Likewise.
9766 (msghdr.__glibc_reserved2): Likewise.
9767 (cmsghdr.cmsg_len): Likewise.
9768 (cmsghdr.__glibc_reserved1): Likewise.
9769 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9770 Add ptw-oldrecvmsg and ptw-oldsendmsg.
9771 (CFLAGS-sendmsg.c): Remove rule.
9772 (CFLAGS-recvmsg.c): Likewise.
9773 (CFLAGS-oldsendmsg.c): Add rule.
9774 (CFLAGS-oldrecvmsg.c): Likewise.
9775 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9776 recvmsg and sendmsg.
9777 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9778 Likewise.
9779 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9780 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9781 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9782 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9783 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9784 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9785 Likewise.
9786 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9787 Likewise.
9788 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9789 Likewise.
9790 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9791 Likewise.
9792 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9793 Likewise.
9794 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9795 Likewise.
9796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9797 (GLIBC_2.24): Likewise.
9798 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9799 Likewise.
9800 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9801 Likewise.
9802 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9803 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9804 Likewise.
9805 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9806 Likewise.
9807 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9808 Likewise.
9809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9810 (GLIBC_2.24): Likewise.
9811 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9812 Likewise.
9813 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9814 Likewise.
9815 * sysdeps/unix/sysv/linux/Makefile
9816 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9817 (CFLAGS-sendmsg.c): Add rule.
9818 (CFLAGS-recvmsg.c): Likewise.
9819 (CFLAGS-oldsendmsg.c): Likewise.
9820 (CFLAGS-oldrecvmsg.c): Likewise.
9821 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9822 initialization.
9823 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9824 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9825 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9826 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9827 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9828 iovlen and controllen fields to adjust to POSIX specification.
9829 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9830 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9831 added recvmsg and sendmsg.
9832 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9833 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9834 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9835 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9836 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9837 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9838 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9839 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9840 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9841 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9842 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9843 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9845 Likewise.
9846 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9848 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9849 Likewise.
9850 Likewise.
9851 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9852 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9853 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9854 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9855 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9856 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9858 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9860 Likewise.
9861 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9862 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9863
9864 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9865 from auto-generation.
9866 (sendmsg): Likewise.
9867 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9868 (sendmsg): Likewise.
9869 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9870 (sendmsg): Likewise.
9871 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9872 (sendmsg): Likewise.
9873 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9874 (sendmsg): Likewise.
9875 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9876 (sendmsg): Likewise.
9877 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9878 Likewise.
9879 (sendmsg): Likewise.
9880 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9881 (sendmsg): Likewise.
9882 * sysdeps/unix/sysv/linux/i386/kernel-features.h
9883 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9884 Remove.
9885 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9886 Likewise.
9887 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9888 Undefine.
9889 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9890 Likewise.
9891 * sysdeps/unix/sysv/linux/kernel-features.h
9892 (__ASSUME_SENDMSG_SYSCALL): Define.
9893 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9894 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9895 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9896 Remove.
9897 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9898 Likewise.
9899 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9900 Undefine.
9901 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9902 Likewise.
9903 * sysdeps/unix/sysv/linux/s390/kernel-features.h
9904 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9905 Remove.
9906 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9907 Likewise.
9908 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9909 Undefine.
9910 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9911 Likewise.
9912 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9913 (__ASSUME_SENDMSG_SYSCALL): Undefine.
9914 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9915 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9916 (__ASSUME_SENDMSG_SYSCALL): Likewise.
9917 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9918 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9919 (__ASSUME_SENDMSG_SYSCALL): Likewise.
9920 (__ASSUME_RECVMSG_SYSCALL): Likewise.
9921
9922 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
9923
9924 * stdlib/gen-tst-strtod-round.c: Add backslash to
9925 compile command in comment.
9926 (printfp): Remove the literal suffix, and define an infinite
9927 value as INF to avoid expansion clash with INFINITY.
9928 (round_str): Remove the literal suffix.
9929 (round_for_all): Likewise, remove the now duplicate ldbl-64
9930 entry, and remove some magic constants.
9931
9932 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
9933 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
9934 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
9935 (_CONCAT): New macro.
9936 (CONCAT): Likewise.
9937 (CHOOSE_ld): Likewise.
9938 (CHOOSE_f): Likewise.
9939 (CHOOSE_d): Likewise.
9940 (FTYPE_MEMBER): Likewise.
9941 (BOOL_MEMBER): Likewise.
9942 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
9943 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
9944 (_XNTRY): Likewise.
9945 (XNTRY): Likewise.
9946 (_ENTRY): Likewise.
9947 (ENTRY): Likewise.
9948 (test_exactness): Generate members via macro.
9949 (test_results): Likewise.
9950 (test): Update members.
9951 (TEST): Redefine using new macros.
9952 (INF): New macro.
9953 (fetestmodes): New structure.
9954 (do_test): Refactor to be type generic.
9955 (test_in_one_mode): Refactor duplicate code into
9956 (GEN_ONE_TEST): New macro.
9957
9958 * stdlib/tst-strtod-round-data.h: Regenerate.
9959
9960 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
9961 Extend to pass additional arbitrary parameters to
9962 generators.
9963
9964 2016-05-25 Joseph Myers <joseph@codesourcery.com>
9965
9966 [BZ #15479]
9967 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
9968 floating-point state after first floating-point operation on
9969 input. Restore full floating-point state instead of just rounding
9970 mode.
9971 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9972 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9973 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9974 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9975 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9976
9977 [BZ #15479]
9978 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
9979 floating-point state after first floating-point operation on
9980 input. Restore full floating-point state instead of just rounding
9981 mode.
9982 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9983 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9984 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9985 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9986 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9987
9988 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
9989
9990 [BZ #19727]
9991 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
9992 valid high surrogate.
9993 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
9994 of an utf16 surrogate.
9995 * iconv/gconv_simple.c (BODY): Likewise.
9996 * iconvdata/bug-iconv12.c: New file.
9997 * iconvdata/Makefile (tests): Add bug-iconv12.
9998
9999 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10000
10001 [BZ #19726]
10002 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10003 outptrp in case of an illegal input.
10004 * iconv/tst-iconv6.c: New file.
10005 * iconv/Makefile (tests): Add tst-iconv6.
10006
10007 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10008
10009 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10010 an error in case of a value in range of an utf16 low surrogate.
10011
10012 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10013
10014 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10015 an error in case of a value in range of an utf16 low surrogate.
10016
10017 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10018
10019 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10020 Move to ...
10021 * sysdeps/s390/Makefile: ... here.
10022 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10023 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10024 (BRANCH_ON_COUNT): New define.
10025 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10026 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10027 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10028 run on s390-32, too.
10029 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10030 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10031 run on s390-32, too.
10032 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10033 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10034 run on s390-32, too.
10035
10036 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10037
10038 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10039 etf3eh or new vector loop-variant.
10040
10041 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10042
10043 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10044 etf3eh or new vector loop-variant.
10045
10046 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10047
10048 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10049 or new vector loop-variant.
10050
10051 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10052
10053 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10054 Rename to TR_LOOP and usage of tr instead of troo instruction.
10055
10056 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10057
10058 * sysdeps/s390/multiarch/gconv_simple.c: New File.
10059 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10060
10061 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10062
10063 * sysdeps/s390/multiarch/8bit-generic.c: New File.
10064 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10065 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10066 New override define.
10067 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10068
10069 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10070
10071 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10072 * sysdeps/s390/configure.ac: Add test for S390 vector register
10073 support in gcc.
10074 * sysdeps/s390/configure: Regenerated.
10075
10076 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10077
10078 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10079 Install file from $(objpfx)gconv-modules.
10080 ($(objpfx)gconv-modules): Concatenate architecture specific file
10081 in variable sysdeps-gconv-modules and gconv-modules in src dir.
10082 * sysdeps/s390/gconv-modules: New file.
10083 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10084 Deleted.
10085 ($(objpfx)gconv-modules-s390): Deleted.
10086 (sysdeps-gconv-modules): New variable.
10087
10088 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10089
10090 [BZ #15479]
10091 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10092 of immediate operand to rounding instruction.
10093 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10094 Likewise.
10095 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10096 Likewise.
10097 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10098 Likewise.
10099
10100 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10101
10102 * math/libm-test.inc (MIN_EXP): Directly define as
10103 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10104
10105 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10106
10107 * math/libm-test.inc (MANT_DIG): Directly define as
10108 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10109
10110 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10111
10112 * stdlib/gen-tst-strtod-round.c (main):
10113 Change usage to more closely match the generated
10114 output. Add usage and compilation instructions.
10115 (string_to_fp): Add and use FILE* parameter as
10116 output target.
10117 (print_fp): Likewise.
10118 (round_str): Likewise.
10119 (round_for_all): Likewise.
10120 * stdlib/tst-strtod-round.c (tests): Move into
10121 * stdlib/tst-strtod-round-data.h: New file.
10122
10123 2016-05-24 Joseph Myers <joseph@codesourcery.com>
10124
10125 [BZ #15479]
10126 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10127 (__round): Do not force "inexact" exception.
10128 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10129 variable.
10130 (__round): Do not force "inexact" exception.
10131 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10132 (__roundf): Do not force "inexact" exception.
10133 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10134 (__roundl): Do not force "inexact" exception.
10135 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10136 (__roundl): Do not force "inexact" exception.
10137 * math/libm-test.inc (round_test_data): Do not allow spurious
10138 "inexact" exceptions.
10139
10140 [BZ #15479]
10141 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10142 exception in comment.
10143 (huge): Remove variable.
10144 (__floor): Do not force "inexact" exception.
10145 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10146 "inexact" exception in comment.
10147 (huge): Remove variable.
10148 (__floor): Do not force "inexact" exception.
10149 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10150 exception in comment.
10151 (huge): Remove variable.
10152 (__floorf): Do not force "inexact" exception.
10153 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10154 exception in comment.
10155 (huge): Remove variable.
10156 (__floorl): Do not force "inexact" exception.
10157
10158 [BZ #15479]
10159 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10160 exception in comment.
10161 (huge): Remove variable.
10162 (__ceil): Do not force "inexact" exception.
10163 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10164 "inexact" exception in comment.
10165 (huge): Remove variable.
10166 (__ceil): Do not force "inexact" exception.
10167 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10168 (__ceilf): Do not force "inexact" exception.
10169 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10170 exception in comment.
10171 (huge): Remove variable.
10172 (__ceill): Do not force "inexact" exception.
10173
10174 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
10175
10176 * config.h.in (BIND_NOW): New.
10177 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
10178 * configure: Regenerated.
10179 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10180 indirect branch via the GOT slot.
10181
10182 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10183
10184 [BZ #19765]
10185 * sysdeps/s390/mempcpy.S: New File.
10186 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10187 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10188 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10189 Add mempcpy variants.
10190 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10191 (memcpy): Adjust to be usable from mempcpy entry point.
10192 (__memcpy_mvcle): Likewise.
10193 * sysdeps/s390/s390-64/memcpy.S: Likewise.
10194 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10195 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10196 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10197 (__memcpy_z10): Likewise.
10198 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10199
10200 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10201
10202 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10203 Remove __GI_ symbol.
10204 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10205 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10206 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10207 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10208 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10209 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10210
10211 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10212
10213 * sysdeps/s390/s390-64/memcpy.S (memcpy):
10214 Use cghi instead of chi to compare 64bit value.
10215
10216 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10217
10218 * sysdeps/s390/s390-32/memcpy.S (memcpy):
10219 Jump to 1MB check before executing mvc-loop.
10220
10221 2016-05-24 Florian Weimer <fweimer@redhat.com>
10222
10223 [BZ #6527]
10224 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10225 unconditionally.
10226 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10227
10228 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10229
10230 * stdlib/tst-strtod6.c (do_test): Use new type generic
10231 invocation of the test function.
10232 (test): Refactor into ...
10233 (TEST_STRTOD): New macro base function.
10234
10235 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10236
10237 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10238 (TEST_STRTOD): New macro.
10239 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10240
10241 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10242
10243 * stdlib/tst-strtod6.c (do_test): Use new type generic
10244 invocation of the test function.
10245 (test): Refactor into ...
10246 (TEST_STRTOD): New macro base function.
10247
10248 2016-05-23 Florian Weimer <fweimer@redhat.com>
10249
10250 CVE-2016-4429
10251 [BZ #20112]
10252 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10253 payload.
10254
10255 2016-05-23 Florian Weimer <fweimer@redhat.com>
10256
10257 [BZ #20111]
10258 * bits/sockaddr.h (_SS_SIZE): Define.
10259 * bits/socket.h (_SS_SIZE): Remove.
10260 (_SS_PADSIZE): Adjust to account for all padding.
10261 (struct sockaddr_storage): Update comment. Avoid implicit
10262 padding.
10263 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10264 (_SS_PADSIZE): Adjust to account for all padding.
10265 (struct sockaddr_storage): Update comment. Avoid implicit
10266 padding.
10267 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10268 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10269 (_SS_PADSIZE): Adjust to account for all padding.
10270 (struct sockaddr_storage): Update comment. Avoid implicit
10271 padding.
10272 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10273 __SS_SIZE is 126 in this version.
10274 * inet/tst-sockaddr.c: New file.
10275 * inet/Makefile (tests): Add tst-sockaddr.c
10276 (tst-sockaddr.c): Compile with non-strict aliasing.
10277
10278 2016-05-23 Joseph Myers <joseph@codesourcery.com>
10279
10280 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10281 [XPG3 || XPG4].
10282 (NL_ARGMAX): Also expect for [XPG3].
10283 (NL_LANGMAX): Likewise.
10284 (NL_MSGMAX): Likewise.
10285 (NL_NMAX): Likewise.
10286 (NL_SETMAX): Likewise.
10287 (NL_TEXTMAX): Likewise.
10288 (NZERO): Likewise.
10289 (TMP_MAX): Likewise.
10290 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10291 variable.
10292
10293 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10294 (PF_MAX): Update value.
10295 (AF_KCM): New macro.
10296 (SOL_NETBEUI): Likewise.
10297 (SOL_LLC): Likewise.
10298 (SOL_DCCP): Likewise.
10299 (SOL_NETLINK): Likewise.
10300 (SOL_TIPC): Likewise.
10301 (SOL_RXRPC): Likewise.
10302 (SOL_PPPOL2TP): Likewise.
10303 (SOL_BLUETOOTH): Likewise.
10304 (SOL_PNPIPE): Likewise.
10305 (SOL_RDS): Likewise.
10306 (SOL_IUCV): Likewise.
10307 (SOL_CAIF): Likewise.
10308 (SOL_ALG): Likewise.
10309 (SOL_NFC): Likewise.
10310 (SOL_KCM): Likewise.
10311 (MSG_BATCH): New enum value and macro.
10312
10313 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
10314
10315 [BZ #18185]
10316 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10317 sharing L2 cache to 2 for Knights Landing.
10318
10319 2016-05-20 Joseph Myers <joseph@codesourcery.com>
10320
10321 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10322 (FTW_DP): Do not expect for [XPG3 || XPG4].
10323 (FTW_SL): Do not expect for [XPG3].
10324 (FTW_SLN): Likewise.
10325 (FTW_PHYS): Likewise.
10326 (FTW_MOUNT): Likewise.
10327 (FTW_DEPTH): Likewise.
10328 (FTW_CHDIR): Likewise.
10329 (nftw): Likewise.
10330 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10331 variable.
10332
10333 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10334
10335 * manual/errno.texi: Fix various typos & grammar errors.
10336
10337 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
10338
10339 * manual/intro.texi: Fix duplicated typo.
10340
10341 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10342
10343 [BZ #13304]
10344 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10345 <float.h>, <math_private.h> and <stdlib.h>.
10346 (add_split): New function.
10347 (mul_split): Likewise.
10348 (ext_val): New typedef.
10349 (store_ext_val): New function.
10350 (mul_ext_val): New function.
10351 (compare): New function.
10352 (add_split_ext): New function.
10353 (__fmal): After checking for Inf, NaN and zero, compute result as
10354 an exact sum of scaled double values in round-to-nearest before
10355 adding those up and adjusting for other rounding modes.
10356 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10357 tests of fma.
10358 * math/auto-libm-test-out: Regenerated.
10359
10360 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10361
10362 [BZ #20119]
10363 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10364 processor level type mask for CPUID with EAX == 11.
10365
10366 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10367
10368 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10369 logical threads if the HTT bit is 0.
10370 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10371 (index_cpu_HTT): Likewise.
10372 (reg_HTT): Likewise.
10373
10374 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
10375
10376 [BZ #20115]
10377 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10378 Remove alignments on jump targets.
10379
10380 2016-05-19 Joseph Myers <joseph@codesourcery.com>
10381
10382 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10383 (getpwent): Likewise.
10384 (setpwent): Likewise.
10385 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10386 variable.
10387
10388 * conform/data/search.h-data (insque): Do not expect for [XPG3].
10389 (remque): Likewise.
10390 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10391 variable.
10392
10393 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10394
10395 * math/libm-test.inc: Update comment not to refer to signs of NaNs
10396 not being tested.
10397
10398 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10399
10400 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10401 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
10402 call.
10403 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10404 (__condvar_cleanup1): Likewise.
10405
10406 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10407
10408 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10409 New
10410 (__pthread_unwind): Renamed to ...
10411 (PTHREAD_UNWIND): This.
10412 (__pthread_enable_asynccancel): Replace
10413 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10414
10415 2016-05-18 Joseph Myers <joseph@codesourcery.com>
10416
10417 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10418 (CLONE_NEWCGROUP): New macro.
10419
10420 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10421 (Q_GETNEXTQUOTA): New macro.
10422
10423 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
10424
10425 [BZ #19907]
10426 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10427 buffer updated by the previous run.
10428 * string/test-memcpy.c (do_one_test): Likewise.
10429 * benchtests/bench-memmove.c (do_one_test): Add a comment.
10430 * string/test-memmove.c (do_one_test): Likewise.
10431
10432 2016-05-17 Joseph Myers <joseph@codesourcery.com>
10433
10434 [BZ #20094]
10435 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10436 not [__USE_XOPEN].
10437 (unlockpt): Likewise.
10438 (ptsname): Likewise.
10439 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10440 variable.
10441
10442 [BZ #20076]
10443 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10444 instead of [__USE_UNIX98].
10445 (S_ISSOCK): Likewise.
10446 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10447 variable.
10448
10449 [BZ #20074]
10450 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10451 [__USE_POSIX].
10452 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10453 variable.
10454
10455 [BZ #20051]
10456 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10457 (ttyslot): Do not declare.
10458 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10459 (ttyslot): New prototype.
10460 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10461 variable.
10462 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10463
10464 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10465
10466 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10467
10468 2016-05-13 Florian Weimer <fweimer@redhat.com>
10469
10470 Fix race condition in tst-mallocfork2, use fewer resources.
10471 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10472 to current process group.
10473 (signal_sender): Yield in the non-sleeping case.
10474
10475 2016-05-13 Joseph Myers <joseph@codesourcery.com>
10476
10477 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10478 (ecvt): Likewise.
10479 (fcvt): Likewise.
10480 (gcvt): Likewise.
10481 (getsubopt): Likewise.
10482 (grantpt): Likewise.
10483 (initstate): Likewise.
10484 (l64a): Likewise.
10485 (mktemp): Likewise.
10486 (mkstemp): Likewise.
10487 (ptsname): Likewise.
10488 (random): Likewise.
10489 (realpath): Likewise.
10490 (setstate): Likewise.
10491 (srandom): Likewise.
10492 (ttyslot): Likewise.
10493 (unlockpt): Likewise.
10494 (valloc): Likewise.
10495
10496 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10497 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10498 variable.
10499
10500 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10501
10502 [BZ #20072]
10503 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10504 init_cpu_features only if SHARED is defined.
10505 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10506
10507 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
10508
10509 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10510 non-inclusive caches on Intel processors.
10511
10512 2016-05-13 Florian Weimer <fweimer@redhat.com>
10513
10514 * malloc/malloc.c (dumped_main_arena_start)
10515 (dumped_main_arena_end): New variables.
10516 (DUMPED_MAIN_ARENA_CHUNK): New macro.
10517 (do_check_chunk): Skip dumped fake mmapped chunks.
10518 (munmap_chunk): Likewise.
10519 (__libc_free): Do not adjust statistics for fake mmapped chunks.
10520 (__libc_realloc): Adjust hardening check. Always copy dumped fake
10521 mmapped chunks.
10522 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10523 Mark dumped chunks as using mmap. Update dumped_main_arena_start
10524 and dumped_main_arena_end to cover the dumped heap.
10525
10526 2016-05-12 Joseph Myers <joseph@codesourcery.com>
10527
10528 * conform/data/time.h-data (getdate_err): Do not expect for
10529 [XPG3].
10530 (getdate): Likewise.
10531 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10532 variable.
10533
10534 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10535 (F_ULOCK): Likewise.
10536 (F_TEST): Likewise.
10537 (F_TLOCK): Likewise.
10538 (useconds_t): Likewise.
10539 (intptr_t): Do not expect for [XPG3] or [XPG4].
10540 (brk): Do not expect for [XPG3]
10541 (fchown): Likewise.
10542 (fchdir): Likewise.
10543 (ftruncate): Likewise.
10544 (getdtablesize): Likewise.
10545 (gethostid): Likewise.
10546 (getpagesize): Likewise.
10547 (getpgid): Likewise.
10548 (getsid): Likewise.
10549 (getwd): Likewise.
10550 (lchown): Likewise.
10551 (lockf): Likewise.
10552 (readlink): Likewise.
10553 (sbrk): Likewise.
10554 (setpgrp): Likewise.
10555 (setregid): Likewise.
10556 (setreuid): Likewise.
10557 (symlink): Likewise.
10558 (sync): Likewise.
10559 (truncate): Likewise.
10560 (ualarm): Likewise.
10561 (usleep): Likewise.
10562 (vfork): Likewise.
10563 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10564 variable.
10565
10566 [BZ #20054]
10567 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10568 not [__USE_UNIX98].
10569 * conform/data/unistd.h-data (gethostname): Do not expect for
10570 [XPG3].
10571
10572 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10573 [!POSIX] (S_IFBLK): Likewise.
10574 [!POSIX] (S_IFCHR): Likewise.
10575 [!POSIX] (S_IFIFO): Likewise.
10576 [!POSIX] (S_IFREG): Likewise.
10577 [!POSIX] (S_IFDIR): Likewise.
10578 [!POSIX] (S_IFLNK): Likewise.
10579 [!POSIX] (S_IFSOCK): Likewise.
10580 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10581 variable.
10582 (test-xfail-XPG4/fcntl.h/conform): Likewise.
10583
10584 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
10585
10586 * sysdeps/aarch64/memset.S (__memset):
10587 Rewrite of optimized memset.
10588
10589 2016-05-12 Florian Weimer <fweimer@redhat.com>
10590
10591 [BZ #19703]
10592 Partially async-signal-safe fork for single-threaded processes.
10593 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10594 variable. Do not acquire and reset/release malloc and libio locks
10595 in single-threaded processes.
10596 * malloc/tst-mallocfork2.c: New file.
10597 * malloc/Makefile (tests): Add it.
10598
10599 2016-05-12 Florian Weimer <fweimer@redhat.com>
10600
10601 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10602 argument. Use scratch buffer instead of extend_alloca.
10603 (gethosts): Use scratch buffer instead of extend_alloca.
10604 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
10605 extend_alloca.
10606 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10607
10608 2016-05-11 Joseph Myers <joseph@codesourcery.com>
10609
10610 [BZ #20055]
10611 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10612 instead of [__USE_UNIX98].
10613 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10614 [__USE_UNIX98].
10615 * conform/data/termios.h-data (tcgetsid): Do not expect for
10616 [XPG3].
10617 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10618 variable.
10619 (test-xfail-XPG4/termios.h/conform): Likewise.
10620
10621 2016-05-11 Florian Weimer <fweimer@redhat.com>
10622
10623 Do not use mcheck in localedef.
10624 * locale/programs/localedef.c (turn_on_mcheck)
10625 (__malloc_initialize_hook): Remove.
10626
10627 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10628
10629 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10630 * sysdeps/s390/s390-64/Makefile: Likewise.
10631
10632 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
10633
10634 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10635 Remove ifunc-defines.sym.
10636 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10637 Likewise.
10638 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10639 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10640 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10641 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10642 rtld-global-offsets.sym.
10643 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10644 * sysdeps/x86/cpu-features-offsets.sym: This.
10645 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10646 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10647
10648 2016-05-10 Joseph Myers <joseph@codesourcery.com>
10649
10650 [BZ #20073]
10651 * io/sys/stat.h (fchmod): Declare for
10652 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10653 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10654 variable.
10655
10656 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10657 [XPG3] (S_IFSOCK): Likewise.
10658 [XPG3] (S_ISVTX): Likewise.
10659 [XPG3] (S_ISLNK): Likewise.
10660 [XPG3] (S_ISSOCK): Likewise.
10661 [XPG3] (fchmod): Likewise.
10662 [XPG3] (lstat): Likewise.
10663 [XPG3] (mknod): Likewise.
10664
10665 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10666 [XPG3]. Expect type long and XFAIL for [XPG4].
10667 (st_blocks): Likewise.
10668
10669 [BZ #20044]
10670 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10671 (pthread_atfork): New prototype.
10672 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10673 variable.
10674
10675 [BZ #20043]
10676 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10677 prototype.
10678
10679 2016-05-10 Florian Weimer <fweimer@redhat.com>
10680
10681 [BZ #20017]
10682 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10683 gmtime.
10684
10685 2016-05-10 Florian Weimer <fweimer@redhat.com>
10686
10687 [BZ #19994]
10688 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10689 flag in _res.options.
10690
10691 2016-05-09 Joseph Myers <joseph@codesourcery.com>
10692
10693 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10694 [XPG3 || XPG4].
10695 (blksize_t): Likewise.
10696 (clockid_t): Likewise.
10697 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10698 variable.
10699 (test-xfail-XPG4/sys/types.h/conform): Likewise.
10700
10701 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
10702
10703 * sysdeps/unix/sysv/linux/s390/init-first.c:
10704 Add VDSO_SYMBOL(getcpu).
10705 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10706 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10707 Add VDSO_SYMBOL(getcpu).
10708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10709 New define HAVE_GETCPU_VSYSCALL.
10710 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10711
10712 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
10713
10714 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10715 instead of <sysdeps/x86_64/cacheinfo.c>.
10716 * sysdeps/x86_64/cacheinfo.c: Moved to ...
10717 * sysdeps/x86/cacheinfo.c: Here.
10718
10719 2016-05-04 Florian Weimer <fweimer@redhat.com>
10720
10721 * malloc/malloc-internal.h: Adjust header file guard.
10722
10723 2016-05-04 Florian Weimer <fweimer@redhat.com>
10724
10725 [BZ #19787]
10726 * inet/getnameinfo.c (check_sprintf_result): New function.
10727 (CHECKED_SNPRINTF): New macro.
10728 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10729 to the host buffer.
10730 (gni_host_local): Use checked_copy to copy the host name.
10731 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10732 (gni_serv_local): Use checked_copy to copy the service name.
10733 (getnameinfo): Remove unnecessary truncation of result buffers.
10734
10735 2016-05-04 Florian Weimer <fweimer@redhat.com>
10736
10737 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10738 in case of inet_ntop failure.
10739
10740 2016-05-04 Florian Weimer <fweimer@redhat.com>
10741
10742 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10743 avoid long lines.
10744 (gni_host_inet_numeric): Likewise. Reduce scope of local
10745 variables.
10746 (gni_host_inet, gni_host_local): Add comment.
10747 (gni_host): Add comment. Use temporary to avoid long lines.
10748
10749 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10750
10751 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10752 registers specifiers where general purpose registers specifiers should
10753 have been used.
10754
10755 2016-05-04 Florian Weimer <fweimer@redhat.com>
10756
10757 [BZ #19779]
10758 CVE-2016-1234
10759 Avoid copying names of directory entries.
10760 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10761 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10762 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10763 (struct readdir_result): New type.
10764 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10765 (GL_READDIR): New macros.
10766 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10767 (convert_dirent, convert_dirent64): New functions.
10768 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
10769 convert_dirent64. Adjust references to the readdir result.
10770 * sysdeps/unix/sysv/linux/i386/glob64.c:
10771 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10772 * posix/bug-glob2.c (LONG_NAME): Define.
10773 (filesystem): Add LONG_NAME.
10774 (my_DIR): Increase the size of room_for_dirent.
10775
10776 2016-05-03 Joseph Myers <joseph@codesourcery.com>
10777
10778 [BZ #20041]
10779 * misc/sys/select.h (__need_timespec): Only define if
10780 [__USE_XOPEN2K].
10781 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10782 variable.
10783 (test-xfail-XPG4/utmpx.h/conform): Likewise.
10784 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10785 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10786
10787 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10788 Segher Boessenkool <segher@gcc.gnu.org>
10789
10790 [BZ #20004]
10791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10792 (__novec_swapcontext): Add missing load.
10793
10794 2016-05-02 Joseph Myers <joseph@codesourcery.com>
10795
10796 [BZ #20023]
10797 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10798 <time.h>.
10799 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10800 variable.
10801 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10802
10803 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10804
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10806 flags CLONE_VM compare.
10807
10808 2016-05-02 Florian Weimer <fweimer@redhat.com>
10809
10810 [BZ #20031]
10811 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10812 completely empty.
10813
10814 2016-05-02 Florian Weimer <fweimer@redhat.com>
10815
10816 [BZ #19573]
10817 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10818 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10819 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10820 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10821 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10822 (hesiod_free_list): Mark as hidden.
10823 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10824 res_set, res_get.
10825 * hesiod/hesiod.c: Remove unnecessary forward declarations.
10826 (init, __hesiod_res_get, __hesiod_res_set): Remove.
10827 (hesiod_init): Remove obsolete res_ninit call.
10828 (hesiod_end): Do not free resolver state. Do not invoke callback.
10829 (hesiod_bind): Do not call init.
10830 (get_txt_records): Use res_mkquery, res_send instead of
10831 res_nmkquery, res_nsend.
10832 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10833 instead of _nss_hesiod_init.
10834 (_nss_hesiod_initgroups_dyn): Likewise.
10835 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10836 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10837 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10838
10839 2016-05-02 Florian Weimer <fweimer@redhat.com>
10840
10841 * hesiod/hesiod_p.h (DEF_RHS): Remove.
10842 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10843
10844 2016-05-02 Florian Weimer <fweimer@redhat.com>
10845
10846 * hesiod/hesiod.h: Remove RCS keyword.
10847 * hesiod/hesiod_p.h: Likewise.
10848
10849 * hesiod/hesiod.c: Likewise.
10850
10851 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
10852
10853 [BZ #12450]
10854 * locale/iso-639.def: Add Samogitian/sgs.
10855
10856 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
10857
10858 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10859
10860 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10861
10862 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
10863 Carlos O'Donell <carlos@redhat.com>
10864
10865 [BZ #19072]
10866 * grp/Makefile (headers): Add grp-merge.h
10867 (routines): Add grp-merge.
10868 * grp/getgrgid_r.c: Include grp-merge.h.
10869 (DEEPCOPY_FN): Define.
10870 (MERGE_FN): Define.
10871 * grp/getgrname_r.c: Include grp-merge.h.
10872 (DEEPCOPY_FN): Define.
10873 (MERGE_FN): Define.
10874 * grp/grp-merge.c: New file.
10875 * grp/grp-merge.h: New file.
10876 * include/grp-merge.h: New file.
10877 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10878 __copy_grp@GLIBC_PRIVATE.
10879 * manual/nss.texi (Actions in the NSS configuration): Describe
10880 return, continue, and merge.
10881 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10882 (DEEPCOPY_FN): Define.
10883 (MERGE_FN): Define.
10884 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10885 (DEEPCOPY_FN): Define.
10886 (MERGE_FN): Define.
10887 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10888 [!MERGE_FN]: Define __merge_einval.
10889 (CHECK_MERGE): Define.
10890 (REENTRANT_NAME): Process merge if do_merge is true.
10891 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10892 (__nss_getent_r): Likewise.
10893 * nss/nsswitch.c (nss_parse_service_list): Likewise.
10894 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10895
10896 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10897
10898 [BZ #20012]
10899 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10900 length to calculate the buffer to read.
10901 (fmemopen_write): Set the buffer position based on bytes written.
10902 (fmemopen_seek): Return EINVAL for invalid whence modes.
10903
10904 [BZ #19957]
10905 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10906 tst-getpid2.
10907 (test): Add tst-clone2.
10908 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10909 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10910 pid/tid fields for CLONE_VM.
10911 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10912 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10913 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10914 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
10915 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10916 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10917 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10918 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10920 Likewise.
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10922 Likewise.
10923 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10924 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10925 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10926 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10927 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10928 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10929 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10930 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
10931
10932 2016-04-29 Florian Weimer <fweimer@redhat.com>
10933
10934 [BZ #19642]
10935 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
10936 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
10937 (gni_serv_local, gni_serv): New functions extracted from
10938 getnameinfo.
10939 (getnameinfo): Call gni_host and gni_serv to perform the
10940 processing. Always free scratch buffer.
10941
10942 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
10943
10944 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
10945 remaining bytes in the dest string, with zeros.
10946
10947 2016-04-29 Florian Weimer <fweimer@redhat.com>
10948
10949 [BZ #20010]
10950 CVE-2016-3706
10951 * sysdeps/posix/getaddrinfo.c
10952 (convert_hostent_to_gaih_addrtuple): New function.
10953 (gethosts): Call convert_hostent_to_gaih_addrtuple.
10954 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
10955 AF_INET data.
10956
10957 2016-04-29 Florian Weimer <fweimer@redhat.com>
10958
10959 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
10960 callback function gl_readdir.
10961 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
10962 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
10963 (glob_in_dir): Remove len. Use strdup instead of malloc and
10964 memcpy to copy the name.
10965 * manual/pattern.texi (Calling Glob): Document requirements for
10966 implementations of the gl_readdir callback function.
10967 * manual/examples/mkdirent.c: New example.
10968 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
10969 per the manual guidance.
10970 * posix/tst-gnuglob.c (my_readdir): Likewise.
10971
10972 2016-04-28 Joseph Myers <joseph@codesourcery.com>
10973
10974 [BZ #20014]
10975 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
10976 not [__USE_POSIX].
10977 (getchar_unlocked): Likewise.
10978 (putc_unlocked): Likewise.
10979 (putchar_unlocked): Likewise.
10980 (flockfile): Likewise.
10981 (ftrylockfile): Likewise.
10982 (funlockfile): Likewise.
10983 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
10984 variable.
10985 (test-xfail-XPG4/stdio.h/conform): Likewise.
10986
10987 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
10988 Expect constant.
10989 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
10990 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
10991 variable.
10992 (test-xfail-XPG4/langinfo.h/conform): Likewise.
10993 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
10994
10995 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
10996 [__USE_LARGEFILE64] (off64_t): Likewise.
10997 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
10998 variable.
10999
11000 2016-04-28 Florian Weimer <fweimer@redhat.com>
11001
11002 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11003
11004 2016-04-28 Florian Weimer <fweimer@redhat.com>
11005
11006 * resolv/inet_addr.c: Reindent preprocessor conditionals.
11007 * resolv/res_init.c: Likewise.
11008 * resolv/res_mkquery.c: Likewise.
11009
11010 2016-04-28 Florian Weimer <fweimer@redhat.com>
11011
11012 * resolv/res_init.c (isascii): Do not define. Use definition in
11013 <ctype.h>.
11014 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11015 (LOG_AUTH): Remove.
11016 (SPRINTF): Remove, adjust caller.
11017 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11018
11019 2016-04-28 Florian Weimer <fweimer@redhat.com>
11020
11021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11022 SUNSECURITY conditional.
11023 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11024
11025 2016-04-28 Florian Weimer <fweimer@redhat.com>
11026
11027 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11028 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11029 Remove BSD-related preprocessor conditionals.
11030 * conf/portability.h: Remove.
11031
11032 2016-04-28 Florian Weimer <fweimer@redhat.com>
11033
11034 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11035 * resolv/res_data.c: Likewise.
11036
11037 2016-04-28 Florian Weimer <fweimer@redhat.com>
11038
11039 * resolv/res_comp.c: Remove code conditional on __ultrix__.
11040 * resolv/res_data.c: Remove code conditional on ultrix.
11041
11042 2016-04-28 Florian Weimer <fweimer@redhat.com>
11043
11044 * resolv/res_init.c (RFC1535): Do not define. Remove
11045 RFC1535 preprocessor conditionals.
11046 * resolv/README: Update. Do not claim strict RFC 1535 compliance
11047 because there configuration options which make the resolver
11048 behavior different.
11049
11050 2016-04-28 Florian Weimer <fweimer@redhat.com>
11051
11052 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
11053 RESOLVSORT preprocessor conditionals.
11054 * resolv/nss_dns/dns-host.c: Likewise.
11055 * resolv/res_init.c: Likewise.
11056
11057 2016-04-28 Florian Weimer <fweimer@redhat.com>
11058
11059 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
11060 is never defined.
11061
11062 2016-04-28 Florian Weimer <fweimer@redhat.com>
11063
11064 * inet/inet_lnaof.c: Remove SCSS keyword.
11065 * inet/inet_mkadr.c: Likewise.
11066 * inet/inet_net.c: Likewise.
11067 * inet/inet_netof.c: Likewise.
11068 * inet/rcmd.c: Likewise.
11069 * inet/rexec.c: Likewise.
11070 * inet/ruserpass.c: Likewise.
11071
11072 2016-04-28 Florian Weimer <fweimer@redhat.com>
11073
11074 * resolv/inet_addr.c: Remove _LIBC conditionals.
11075 * resolv/res_data.c: Likewise.
11076 * resolv/res_init.c: Likewise.
11077 * resolv/res_mkquery.c: Likewise.
11078 * resolv/res_libc.c: Update comment.
11079 * resolv/README: Update.
11080
11081 2016-04-28 Florian Weimer <fweimer@redhat.com>
11082
11083 * resolv/gethnamaddr.c: Remove SCSS keyword.
11084 * resolv/herror.c: Likewise.
11085 * resolv/inet_addr.c: Likewise.
11086 * resolv/inet_net_ntop.c: Likewise.
11087 * resolv/inet_net_pton.c: Likewise.
11088 * resolv/inet_neta.c: Likewise.
11089 * resolv/inet_ntop.c: Likewise.
11090 * resolv/inet_pton.c: Likewise.
11091 * resolv/ns_date.c: Remove RCS keyword.
11092 * resolv/ns_name.c: Likewise.
11093 * resolv/ns_netint.c: Likewise.
11094 * resolv/ns_parse.c: Likewise.
11095 * resolv/ns_print.c: Likewise.
11096 * resolv/ns_samedomain.c: Likewise.
11097 * resolv/ns_ttl.c: Likewise.
11098 * resolv/nsap_addr.c: Likewise.
11099 * resolv/res_comp.c: Remove SCSS and RCS keyword.
11100 * resolv/res_data.c: Remove RCS keyword.
11101 * resolv/res_debug.c: Remove SCSS and RCS keyword.
11102 * resolv/res_init.c: Likewise.
11103 * resolv/res_mkquery.c: Likewise.
11104 * resolv/res_query.c: Likewise.
11105 * resolv/res_send.c: Likewise.
11106
11107 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11108
11109 * conform/data/stdio.h-data (fdopen): Expect also for
11110 [XPG3 || XPG4].
11111
11112 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11113 (fseeko): Likewise.
11114 (ftello): Likewise.
11115 (ftrylockfile): Likewise.
11116 (funlockfile): Likewise.
11117 (getc_unlocked): Likewise.
11118 (getchar_unlocked): Likewise.
11119 (putc_unlocked): Likewise.
11120 (putchar_unlocked): Likewise.
11121
11122 2016-04-27 Florian Weimer <fweimer@redhat.com>
11123
11124 [BZ #19868]
11125 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11126 DNS packet syntax checks (which were not needed before). Skip
11127 over non-PTR records.
11128
11129 2016-04-27 Florian Weimer <fweimer@redhat.com>
11130
11131 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11132 definition. Include <stddef.h> instead.
11133
11134 2016-04-27 Florian Weimer <fweimer@redhat.com>
11135
11136 [BZ #19831]
11137 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11138 function.
11139 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11140 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11141
11142 2016-04-27 Florian Weimer <fweimer@redhat.com>
11143
11144 [BZ #19862]
11145 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11146 (getanswer_r): Do not call syslog.
11147 (gaih_getanswer_slice): Likewise.
11148 * resolv/gethnamaddr.c (AskedForGot): Remove.
11149 (getanswer): Do not call syslog.
11150 (gethostbyaddr): Likewise.
11151
11152 2016-04-27 Joseph Myers <joseph@codesourcery.com>
11153
11154 * conform/data/signal.h-data (union sigval): Expect also if
11155 [XOPEN2K].
11156 (struct sigevent): Likewise.
11157 (SIGEV_NONE): Likewise.
11158 (SIGEV_SIGNAL): Likewise.
11159 (SIGEV_THREAD): Likewise.
11160 (SIGRTMIN): Likewise.
11161 (SIGRTMAX): Likewise.
11162 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11163 variable.
11164 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11165
11166 2016-04-27 Florian Weimer <fweimer@redhat.com>
11167
11168 [BZ #19830]
11169 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11170 (gaih_getanswer_slice): Likewise.
11171 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11172 Also check for availability of RR metadata.
11173
11174 2016-04-27 Florian Weimer <fweimer@redhat.com>
11175
11176 [BZ #19825]
11177 * resolv/res_send.c (send_vc): Remove early *resplen2
11178 initialization. Set *resplen2 on socket error. Call
11179 close_and_return_error for other errors.
11180
11181 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
11182
11183 * sysdeps/unix/sysv/linux/netiucv/iucv.h
11184 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11185 (SCM_IUCV_TRGCLS): New define.
11186
11187 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11188
11189 [BZ #20005]
11190 * libio/fmemopen.c (fmemopen_write): Update internal position after
11191 write.
11192 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11193 * stdio-common/tst-fmemopen4.c: New file..
11194
11195 2016-04-26 Joseph Myers <joseph@codesourcery.com>
11196
11197 [BZ #19996]
11198 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11199 not [__USE_XOPEN2K].
11200 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11201 variable.
11202
11203 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11204 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11205 variable.
11206
11207 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11208 [__USE_XOPEN2K8].
11209 [__USE_LARGEFILE64] (off64_t): Likewise.
11210 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11211 variable.
11212
11213 2016-04-25 Joseph Myers <joseph@codesourcery.com>
11214
11215 [BZ #19989]
11216 * libio/stdio.h (cuserid): Do not declare if
11217 [__USE_XOPEN2K && !__USE_GNU].
11218 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11219 variable.
11220
11221 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11222
11223 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11224 (sysdep_routines): Add P8 and PPC64 strcspn targets.
11225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11226 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11227 ifunc'ed strcspn.
11228 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11229 [EALIGN]: Removed.
11230 [END]: Likewise
11231 [STRSPN]: Define instead of the above to control symbol name.
11232 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11233 New file.
11234 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11235 Likewise.
11236 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11237 Likewise.
11238 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11239 Likewise.
11240 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11241 [INITIAL_MASK]: New macro.
11242 [STRCSPN]: Likewise.
11243 [UPDATE_MASK]: Likewise.
11244 [USE_AS_STRCSPN]: Likewise.
11245
11246 2016-04-25 Florian Weimer <fweimer@redhat.com>
11247
11248 [BZ #19931]
11249 * stdio-common/tst-vfprintf-width-prec.c: New file.
11250 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11251 (tests-special): Add tst-vfprintf-width-prec-mem.out.
11252 (generated): Add mtrace-related files.
11253 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11254 (tst-%-mem.out): New pattern rule, replaces
11255 tst-printf-bz18872-mem.out.
11256 * stdio-common/vfprintf.c (vfprintf): When handling a precision
11257 specifier, deallocate any previously allocated work buffer.
11258
11259 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11260
11261 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11262 Add nop before __startcontext, add explaining comments.
11263
11264 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
11265
11266 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11267 any more. Notably since IPV6_PKTINFO has been reintroduced with a
11268 completely different API.
11269
11270 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11271 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11272 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11273 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11274 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11275 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11276 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11277 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11278 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11279 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11280
11281 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
11282
11283 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11284
11285 2016-04-23 Mike Frysinger <vapier@gentoo.org>
11286
11287 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11288 when it is the default of 0.
11289
11290 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11291
11292 * sysdeps/powerpc/locale-defines.sym: Add new macros.
11293 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11294 (sysdep_routines): Add new strcasestr targets.
11295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11296 (__libc_ifunc_impl_list): Likewise.
11297 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11298 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11299 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11300 * sysdeps/powerpc/powerpc64/power8/Makefile:
11301 New file to add strcasestr-ppc64 to sysdep_routines.
11302 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11303 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11304
11305 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
11306
11307 * benchtests/Makefile (wcsmbs-benchset): Include only for
11308 native builds and runs.
11309 (LOCALES): Likewise.
11310 (bench-build): Build timing-type here instead of the bench
11311 target. Generate locale only for native builds.
11312 * benchtests/README: Add note for cross-building.
11313
11314 * benchtests/Makefile (bench-clean): Clean up extra-objs.
11315
11316 * benchtests/README: Update README to include instructions on
11317 using bench-build.
11318
11319 * Makefile.in (bench-build): New target.
11320 * Rules (PHONY): Add bench-build target.
11321 * benchtests/Makefile (bench): Depend on bench-build.
11322 (bench-build): New target.
11323
11324 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
11325
11326 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11327 profil_reply_port.
11328 (profile_waiter): Do not initialize profil_reply_port.
11329 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11330 frequency instead of tick length in us.
11331
11332 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
11333
11334 [BZ #18712]
11335 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11336 (__old_mempcpy_small): Likewise.
11337 (__old_strcpy_small): Likewise.
11338 (__old_stpcpy_small): Likewise.
11339 (__old_strpbrk_c2): Fix compat symbol name.
11340 (__old_strpbrk_c3): Likewise.
11341 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11342 (__mempcpy_small): Remove.
11343 (__strcpy_small): Remove.
11344 (__stpcpy_small): Remove.
11345
11346 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
11347
11348 [BZ #19400]
11349 * locale/iso-639.def: Add the Talossan/tzl language.
11350
11351 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11352
11353 [BZ #16983]
11354 * locale/programs/ld-address.c (address_finish): Update postal_fmt
11355 comment. Add "ln" to strchr check on postal_fmt.
11356
11357 2016-04-16 Mike Frysinger <vapier@gentoo.org>
11358
11359 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11360 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
11361 tel_dom_fmt.
11362
11363 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
11364
11365 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11366 (sysdep_routines): Added __strlen_power8.
11367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11368 __strlen_power8 entry.
11369 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11370 Implementation for POWER8.
11371 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11372 for __strlen_power8.
11373 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11374 Implementation for POWER8.
11375
11376 2016-04-15 Mike Frysinger <vapier@gentoo.org>
11377
11378 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11379
11380 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
11381
11382 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11383 Goldmont and Airmont processors.
11384
11385 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
11386
11387 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11388 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11389 (__STRING2_SMALL_GET32): Remove.
11390 (memset): Remove.
11391 (__memset_1): Remove.
11392 (__memset_gc): Remove.
11393 (__mempcpy): Remove.
11394 (mempcpy): Remove.
11395 (__mempcpy_args): Remove.
11396 (strchr): Remove.
11397 (strcpy): Remove.
11398 (strcpy_args): Remove.
11399 (__stpcpy_args): Remove.
11400 (__strcmp_cc): Remove.
11401 (__strcmp_gc): Remove.
11402 (strstr): Remove.
11403
11404 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
11405
11406 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11407 * nis/nis_call.c (nis_server_cache_add): Likewise.
11408
11409 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11410
11411 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11412
11413 2016-04-14 Florian Weimer <fweimer@redhat.com>
11414
11415 * malloc/arena.c (__malloc_fork_lock_parent)
11416 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11417 internal_function attribute.
11418
11419 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
11420
11421 * stdio-common/printf_fp.c (__printf_fp_l):
11422 Rename ___printf_fp_l to __printf_fp_l and
11423 remove strong alias. Use libc_hidden_def instead
11424 of ldbl_hidden_def macro.
11425
11426 2016-04-14 Florian Weimer <fweimer@redhat.com>
11427
11428 Remove malloc hooks from fork handler. They are no longer needed
11429 because malloc runs right before fork, and no malloc calls from
11430 other fork handlers are not possible anymore.
11431 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11432 declarations.
11433 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11434 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11435 (atfork_recursive_cntr): Remove.
11436 (__malloc_fork_lock_parent): Do not override malloc hooks and
11437 thread_arena.
11438 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11439 thread_arena.
11440 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
11441 thread_arena instead of save_arena.
11442
11443 2016-04-14 Florian Weimer <fweimer@redhat.com>
11444
11445 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11446 (thread_atfork, thread_atfork_static): Remove.
11447 * sysdeps/mach/hurd/malloc-machine.h:
11448 (thread_atfork, thread_atfork_static): Remove.
11449
11450 2016-04-14 Florian Weimer <fweimer@redhat.com>
11451
11452 [BZ #19431]
11453 Run the malloc fork handler as late as possible to avoid deadlocks.
11454 * malloc/malloc-internal.h: New file.
11455 * malloc/malloc.c: Include it.
11456 * malloc/arena.c (ATFORK_MEM): Remove.
11457 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11458 Update comment.
11459 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11460 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11461 Remove outdated comment.
11462 (ptmalloc_init): Do not call thread_atfork. Remove
11463 thread_atfork_static.
11464 * malloc/tst-malloc-fork-deadlock.c: New file.
11465 * Makefile (tests): Add tst-malloc-fork-deadlock.
11466 (tst-malloc-fork-deadlock): Link against libpthread.
11467 * manual/memory.texi (Aligned Memory Blocks): Update safety
11468 annotation comments.
11469 * sysdeps/nptl/fork.c (__libc_fork): Call
11470 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11471 __malloc_fork_unlock_child.
11472 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11473
11474 2016-04-14 Florian Weimer <fweimer@redhat.com>
11475
11476 [BZ #19613]
11477 Remove union wait.
11478 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11479 (w_stopsig, w_stopval): Remove.
11480 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11481 stat_loc argument.
11482 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11483 (__WAIT_STATUS_DEFN): Remove.
11484 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11485 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11486 (wait, wait3, wait4): Use int * for the stat_loc argument.
11487 * posix/wait.c (__wait): Likewise.
11488 * posix/wait3.c (__wait3): Likewise.
11489 * posix/wait4.c (__wait4): Likewise.
11490 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11491 (__WAIT_STATUS_DEFN): Remove.
11492 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11493 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11494 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11495 argument.
11496 * sysdeps/posix/wait.c (__libc_wait): Likewise.
11497 * sysdeps/posix/wait3.c (__wait3): Likewise.
11498 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11499 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11500 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11501 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11502 stat_loc argument.
11503 * manual/process.texi (BSD Wait Functions): Remove union wait.
11504
11505 2016-04-13 Andreas Schwab <schwab@suse.de>
11506
11507 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11508 (test-extras): Add tst-tlsalign-vars.
11509 * math/Makefile: Wrap long lines.
11510 (libm-vec-test-wrappers): Define.
11511 (test-extras): Add $(libm-vec-test-wrappers).
11512 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11513 * nss/Makefile (extra-test-objs): Add nss_test1.os.
11514 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11515 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11516 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11517 (extra-test-objs): Add corresponding objects.
11518
11519 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
11520
11521 [BZ #19928]
11522 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11523 New.
11524 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11525 times of shared cache size.
11526 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11527 (VMOVNT): New.
11528 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11529 (VMOVNT): Likewise.
11530 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11531 (VMOVNT): Likewise.
11532 (VMOVU): Changed to movups for smaller code sizes.
11533 (VMOVA): Changed to movaps for smaller code sizes.
11534 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11535 comments.
11536 (PREFETCH): New.
11537 (PREFETCH_SIZE): Likewise.
11538 (PREFETCHED_LOAD_SIZE): Likewise.
11539 (PREFETCH_ONE_SET): Likewise.
11540 Rewrite to use forward and backward loops, which move 4 vector
11541 registers at a time, to support overlapping addresses and use
11542 non temporal store if size is above the threshold and there is
11543 no overlap between destination and source.
11544
11545 2016-04-12 Alex Smith <alex.smith@imgtec.com>
11546
11547 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11548 Include dl-vdso.
11549 * sysdeps/unix/sysv/linux/mips/Versions: Add
11550 __vdso_clock_gettime.
11551 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11552 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11553 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11554 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11555 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11556 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11557 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11558 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11559 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11560
11561 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11562
11563 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11564 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11565 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11566 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11567 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11568 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11571 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11572 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11573 syscalls generation.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11575 [__NR_pwrite64] (__NR_write): Remove define.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11577 [__NR_pwrite64] (__NR_write): Remove define.
11578 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11579 Remove define.
11580 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11581 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11582 Remove define.
11583 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11584 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11585 Linux implementation as base.
11586 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11587
11588 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11589 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11590 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11591 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11594 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11595 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11596 syscall generation.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11598 [__NR_pread64] (__NR_pread): Remove define.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11600 [__NR_pread64] (__NR_pread): Likewise.
11601 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11602 define.
11603 (__libc_pread): Use SYSCALL_LL macro on offset argument.
11604 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11605 Remove define.
11606 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11607 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11608 Linux implementation as base.
11609 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11610 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11611 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11612
11613 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11614 definition.
11615 (__ALIGNMENT_COUNT): Likewise.
11616 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11617 (__ALIGNMENT_COUNT): Likewise.
11618 (SYSCALL_LL): New define.
11619 (SYSCALL_LL64): Likewise.
11620 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11621 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11622 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11623 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11624
11625 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11626 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11627 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11628 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11629 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11630 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11631
11632 2016-04-11 Florian Weimer <fweimer@redhat.com>
11633
11634 [BZ #19865]
11635 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11636 original buffer before retry.
11637
11638 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
11639
11640 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11641 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11642 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11643 GLRO(dl_auxv) list.
11644 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11645 including <ldsodefs.h>.
11646 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11647
11648 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
11649
11650 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11651 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11652 $(CPPFLAGS).
11653
11654 2016-04-09 Khem Raj <raj.khem@gmail.com>
11655
11656 [BZ #17950]
11657 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11658 Add -mfpmath=387.
11659
11660 2016-04-09 Mike Frysinger <vapier@gentoo.org>
11661
11662 * sysdeps/i386/configure.ac: Change == to = when calling test.
11663 * sysdeps/x86_64/configure.ac: Likewise.
11664 * sysdeps/i386/configure: Regenerated.
11665 * sysdeps/x86_64/configure: Likewise.
11666
11667 2016-04-08 Mike Frysinger <vapier@gentoo.org>
11668
11669 [BZ #16137]
11670 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11671 * benchtests/bench-strcoll.c (input_files): Likewise.
11672 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11673 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11674 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11675
11676 2016-04-08 Joseph Myers <joseph@codesourcery.com>
11677
11678 [BZ #19929]
11679 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11680 [__USE_XOPEN2K8 && !__USE_GNU].
11681 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11682 variable.
11683
11684 [BZ #19925]
11685 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11686 define if [!__USE_MISC && __USE_XOPEN2K].
11687 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11688 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11689 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11690 Likewise.
11691 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11692 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11693 variable.
11694 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11695
11696 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11697
11698 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11699 (sysdep_routines): Add new strspn targets.
11700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11701 (__libc_ifunc_impl_list): Add strspn.
11702 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11703 New file.
11704 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11705 Likewise.
11706 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11707 Likewise.
11708 * sysdeps/powerpc/powerpc64/power8/strspn.S:
11709 Likewise.
11710
11711 2016-04-07 Florian Weimer <fweimer@redhat.com>
11712
11713 * misc/hsearch_r.c: Include <limits.h>.
11714
11715 2016-04-07 Florian Weimer <fweimer@redhat.com>
11716
11717 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11718
11719 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11720
11721 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11722 (MEMCPY_SYMBOL): New.
11723 (MEMPCPY_SYMBOL): Likewise.
11724 (MEMMOVE_CHK_SYMBOL): Likewise.
11725 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11726 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11727 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
11728 Provide alias for memcpy in libc.a and ld.so.
11729
11730 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11731
11732 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11733 (MEMSET_CHK_SYMBOL): New. Define if not defined.
11734 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11735 Disabled fro now.
11736 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11737 symbols. Properly check USE_MULTIARCH on __memset symbols.
11738
11739 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
11740
11741 * benchtests/Makefile (string-benchset): Add memcpy-large,
11742 memmove-large and memset-large.
11743 * benchtests/bench-memcpy-large.c: New file.
11744 * benchtests/bench-memmove-large.c: Likewise.
11745 * benchtests/bench-memmove-large.c: Likewise.
11746 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11747
11748 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11749
11750 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11751 32-bit displacement to avoid long nop between instructions.
11752
11753 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
11754
11755 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11756 a comment on VMOVU and VMOVA.
11757
11758 2016-04-04 Florian Weimer <fweimer@redhat.com>
11759
11760 [BZ #19633]
11761 Use specified locale for number formatting in strfmon_l.
11762 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11763 (__nl_lookup_word): New inline functions.
11764 * include/printf.h (__print_fp_l): Declare.
11765 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11766 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
11767 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11768 (___printf_fp): New function.
11769 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11770 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11771 * stdlib/tst-strfmon_l.c (do_test): New test.
11772 * stdlib/Makefile (tests): Add kt.
11773 (LOCALES): Build additional locales.
11774 (tst-strfmon_l.out): Require locales.
11775
11776 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11777
11778 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11779 if not in libc.
11780 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11781 Likewise.
11782 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11783 Likewise.
11784 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11785 Likewise.
11786
11787 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
11788
11789 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11790 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11791 with unaligned_erms.
11792 (__memmove_erms): Skip if source == destination.
11793 (__memmove_unaligned_erms): Don't check source == destination
11794 first.
11795
11796 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11797
11798 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11799 bit_arch_Fast_Copy_Backward for Intel Core proessors.
11800
11801 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11802
11803 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11804 * string/strspn.c (strspn): Likewise.
11805
11806 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11807
11808 * benchtests/bench-memset.c (do_test): Support 64-byte
11809 alignment.
11810 (test_main): Test 64-byte alignment.
11811
11812 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11813
11814 * benchtests/bench-memmove.c (test_main): Test 64-byte
11815 alignment.
11816
11817 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
11818
11819 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11820
11821 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11822
11823 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11824 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11825 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11826
11827 * string/strpbrk.c (strpbrk): Rewrite function.
11828 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11829 (__strpbrk_c2): Likewise.
11830 (__strpbrk_c3): Likewise.
11831 * string/string-inlines.c
11832 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11833 Likewise.
11834 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11835 Likewise.
11836
11837 * string/strspn.c (strcspn): Rewrite function.
11838 * string/bits/string2.h (strspn): Use __builtin_strcspn.
11839 (__strspn_c1): Remove inline function.
11840 (__strspn_c2): Likewise.
11841 (__strspn_c3): Likewise.
11842 * string/string-inlines.c
11843 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11844 compatibility symbol.
11845 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11846 Likewise.
11847 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11848 Likewise.
11849 * string/string-inlines.c: Include generic version.
11850
11851 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
11852 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11853
11854 * string/Version (libc): Add GLIBC_2.24.
11855 * string/strcspn.c (strcspn): Rewrite function.
11856 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11857 (__strcspn_c1): Remove inline function.
11858 (__strcspn_c2): Likewise.
11859 (__strcspn_c3): Likewise.
11860 * string/string-inline.c
11861 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11862 compatibility symbol.
11863 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11864 Likewise.
11865 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11866 Likewise.
11867 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11868
11869 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11870
11871 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11872 Use ahi instead of aghi to adjust stack pointer.
11873
11874 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11875
11876 [BZ #19853]
11877 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11878 TEST to take significant digits as second parameter.
11879 [TEST]: Redefine in terms of TEST_N taking 30
11880 significant digits.
11881 (do_test): Add test case to demonstrate precision
11882 failure in the ldbl-128ibm printf.
11883 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11884 (__mpn_extract_long_double): Carry 7 extra intermediate
11885 bits of precision to aide computing difference when
11886 signs differ.
11887
11888 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11889
11890 [BZ #19881]
11891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11892 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11893 memset-avx512-unaligned-erms.
11894 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11895 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11896 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11897 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11898 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11899 __memset_sse2_unaligned_erms, __memset_erms,
11900 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11901 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11902 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11903 file.
11904 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11905 Likewise.
11906 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11907 Likewise.
11908 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11909 Likewise.
11910
11911 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
11912
11913 [BZ #19776]
11914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11915 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
11916 memmove-avx512-unaligned-erms.
11917 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11918 (__libc_ifunc_impl_list): Test
11919 __memmove_chk_avx512_unaligned_2,
11920 __memmove_chk_avx512_unaligned_erms,
11921 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
11922 __memmove_chk_sse2_unaligned_2,
11923 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
11924 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
11925 __memmove_avx512_unaligned_erms, __memmove_erms,
11926 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
11927 __memcpy_chk_avx512_unaligned_2,
11928 __memcpy_chk_avx512_unaligned_erms,
11929 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
11930 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
11931 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
11932 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
11933 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
11934 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
11935 __mempcpy_chk_avx512_unaligned_erms,
11936 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
11937 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
11938 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
11939 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
11940 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
11941 __mempcpy_erms.
11942 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
11943 file.
11944 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11945 Likewise.
11946 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11947 Likewise.
11948 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11949 Likewise.
11950
11951 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11952
11953 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
11954 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
11955 (La_s390_64_regs): Likewise.
11956 (La_s390_32_retval): Append vector register lrv_v24.
11957 (La_s390_64_retval): Likeweise.
11958 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
11959 Handle extended structs La_s390_32_regs and La_s390_32_retval.
11960 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
11961 Handle extended structs La_s390_64_regs and La_s390_64_retval.
11962
11963 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
11964
11965 [BZ #19916]
11966 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
11967 to create a non-vector/vector version for _dl_runtime_resolve and
11968 _dl_runtime_profile. Move implementation to ...
11969 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
11970 (_dl_runtime_resolve) Save and restore fpr/vrs.
11971 (_dl_runtime_profile) Save and restore vrs and fix some issues
11972 if _dl_call_pltexit is called.
11973 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
11974 Choose the correct resolver function if running on a machine with vx.
11975 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
11976 to create a non-vector/vector version for _dl_runtime_resolve and
11977 _dl_runtime_profile. Move implementation to ...
11978 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
11979 (_dl_runtime_resolve) Save and restore fpr/vrs.
11980 (_dl_runtime_profile) Save and restore vrs and fix some issues
11981 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
11982 Choose the correct resolver function if running on a machine with vx.
11983
11984 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11985
11986 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
11987
11988 2016-03-31 Florian Weimer <fweimer@redhat.com>
11989
11990 [BZ #19509]
11991 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
11992 skip_map != NULL.
11993 * elf/tst-dlsym-error.c: New file.
11994 * elf/Makefile (tests): Add tst-dlsym-error.
11995 (tst-dlsym-error): Link against libdl.
11996
11997 2016-03-29 Joseph Myers <joseph@codesourcery.com>
11998
11999 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12000 (__ASSUME_FUTIMESAT): Remove macro.
12001 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12002
12003 2016-03-29 Florian Weimer <fweimer@redhat.com>
12004
12005 [BZ #19879]
12006 CVE-2016-3075
12007 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12008 copy name.
12009
12010 2016-03-29 Florian Weimer <fweimer@redhat.com>
12011
12012 [BZ #19837]
12013 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12014 error if parse_line fails.
12015
12016 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12017
12018 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12019 (index_cpu_ERMS): Likewise.
12020 (reg_ERMS): Likewise.
12021
12022 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
12023
12024 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12025 PER_LINUX_FDPIC): Add.
12026
12027 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12028
12029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12030 memcpy-avx512-no-vzeroupper.
12031 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12032 to ...
12033 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12034 (MEMCPY): Don't define.
12035 (MEMCPY_CHK): Likewise.
12036 (MEMPCPY): Likewise.
12037 (MEMPCPY_CHK): Likewise.
12038 (MEMPCPY_CHK): Renamed to ...
12039 (__mempcpy_chk_avx512_no_vzeroupper): This.
12040 (MEMPCPY_CHK): Renamed to ...
12041 (__mempcpy_chk_avx512_no_vzeroupper): This.
12042 (MEMCPY_CHK): Renamed to ...
12043 (__memmove_chk_avx512_no_vzeroupper): This.
12044 (MEMCPY): Renamed to ...
12045 (__memmove_avx512_no_vzeroupper): This.
12046 (__memcpy_avx512_no_vzeroupper): New alias.
12047 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12048
12049 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12050
12051 [BZ #18858]
12052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12053 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12054 and mempcpy-avx512-no-vzeroupper.
12055 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12056 New.
12057 (MEMPCPY): Likewise.
12058 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12059 (MEMPCPY_CHK): New.
12060 (MEMPCPY): Likewise.
12061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12062 (MEMPCPY): Likewise.
12063 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12064 (MEMPCPY): Likewise.
12065 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12066 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12067 Likewise.
12068 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12069 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12070
12071 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
12072 Amit Pawar <Amit.Pawar@amd.com>
12073
12074 [BZ #19583]
12075 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12076 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12077 processors. Set Fast_Copy_Backward for AMD Excavator
12078 processors.
12079 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12080 New.
12081 (index_arch_Fast_Unaligned_Copy): Likewise.
12082 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12083 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12084
12085 2016-03-25 Florian Weimer <fweimer@redhat.com>
12086
12087 [BZ #19791]
12088 * resolv/res_send.c (close_and_return_error): New function.
12089 (send_dg): Initialize *resplen2 after reopen failure. Call
12090 close_and_return_error for error returns. On error paths without
12091 __res_iclose, initialze *resplen2 explicitly. Update comment for
12092 successful return.
12093
12094 2016-03-25 Florian Weimer <fweimer@redhat.com>
12095
12096 [BZ# 19860]
12097 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12098 zero if the compiler does not provide the AVX512F bit.
12099
12100 2016-03-24 Joseph Myers <joseph@codesourcery.com>
12101
12102 [BZ #19848]
12103 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12104 from 8 to 4.
12105 (__ieee754_powl): Compare integer exponent against 4 not 8.
12106 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12107 from 8 to 4.
12108 (__ieee754_powl): Compare integer exponent against 4 not 8.
12109 * math/auto-libm-test-in: Add more tests of pow.
12110 * math/auto-libm-test-out: Regenerated.
12111 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12113
12114 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12115
12116 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12117 Make code unconditional.
12118 [!__NR_utimensat]: Remove conditional code.
12119 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12120 Make code unconditional.
12121 [!__NR_utimensat]: Remove conditional code.
12122 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12123 Make code unconditional.
12124 [!__NR_utimensat]: Remove conditional code.
12125
12126 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
12127
12128 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12129 Make code unconditional.
12130
12131 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
12132
12133 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12134 call-clobbered %eax on retry path.
12135 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12136
12137 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12138
12139 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12140 Don't set %rcx twice before "rep movsb".
12141
12142 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
12143
12144 [BZ #19583]
12145 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12146 inline. Check family before setting family, model and
12147 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
12148 bits here.
12149 (init_cpu_features): Replace HAS_CPU_FEATURE and
12150 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12151 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
12152 for Intel processors with usable AVX2. Call get_common_indeces
12153 for other processors with family == NULL.
12154 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12155 (CPU_FEATURES_ARCH_P): Likewise.
12156 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12157 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12158
12159 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12160
12161 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12162 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12163 $(shared-thread-library) instead of hardcoding the path to libpthread.
12164
12165 2016-03-22 Joseph Myers <joseph@codesourcery.com>
12166
12167 * sysdeps/unix/sysv/linux/kernel-features.h
12168 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12169 * sysdeps/unix/sysv/linux/getdents.c
12170 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12171 [!have_no_getdents64_defined]: Likewise.
12172 (__GETDENTS): Remove __have_no_getdents64 conditional.
12173
12174 2016-03-21 Joseph Myers <joseph@codesourcery.com>
12175
12176 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12177 Remove macro.
12178 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12179 <kernel-features.h>.
12180 (signalfd) [__NR_signalfd4]: Make code unconditional.
12181 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12182
12183 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12184
12185 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12186 style.
12187
12188 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
12189
12190 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12191 (__pthread_enable_asynccancel): Use JUMPTARGET to call
12192 __pthread_unwind.
12193 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12194 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12195 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12196 (__condvar_cleanup1): Likewise.
12197
12198 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
12199
12200 [BZ #19822]
12201 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12202 move it to the final $@ location.
12203
12204 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12205
12206 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12207 access where posix_spawn success and pid argument is null.
12208 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12209 success case.
12210
12211 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
12212
12213 * sysdeps/mach/hurd/i386/c++-types.data: New file.
12214
12215 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12216
12217 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12218 and __fcntl.
12219 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12220 __fcntl only.
12221 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12222 adding attribute_hidden to __open and __fcntl.
12223
12224 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12225 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12226 depend on libc-modules.h,
12227 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12228
12229 2016-03-17 Joseph Myers <joseph@codesourcery.com>
12230
12231 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12232 Remove macro.
12233 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12234 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12235 entry.
12236
12237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12238 Remove macro.
12239 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12240 include <kernel-features.h>.
12241 [!__ASSUME_FALLOCATE]: Remove conditional code.
12242 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12243
12244 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
12245
12246 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12247 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12248 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12249 (_ZGVdN4v_cos_avx2): Likewise.
12250 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12251 (_ZGVdN4v_cos): Likewise.
12252 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12253 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12254 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12255 (_ZGVdN4v_exp_avx2): Likewise.
12256 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12257 (_ZGVdN4v_exp): Likewise.
12258 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12259 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12260 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12261 (_ZGVdN4v_log_avx2): Likewise.
12262 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12263 (_ZGVdN4v_log): Likewise.
12264 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12265 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12266 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12267 (_ZGVdN4vv_pow_avx2): Likewise.
12268 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12269 (_ZGVdN4vv_pow): Likewise.
12270 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12271 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12272 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12273 (_ZGVdN4v_sin_avx2): Likewise.
12274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12275 (_ZGVdN4v_sin): Likewise.
12276 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12277 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12279 (_ZGVdN4vvv_sincos_avx2): Likewise.
12280 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12281 (_ZGVdN4vvv_sincos): Likewise.
12282 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12283 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12284 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12285 (_ZGVbN4v_cosf_sse4): Likewise.
12286 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12287 (_ZGVdN8v_cosf_avx2): Likewise.
12288 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12289 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12290 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12291 (_ZGVbN4v_expf_sse4): Likewise.
12292 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12293 (_ZGVdN8v_expf_avx2): Likewise.
12294 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12295 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12296 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12297 (_ZGVbN4v_logf_sse4): Likewise.
12298 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12299 (_ZGVdN8v_logf_avx2): Likewise.
12300 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12301 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12302 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12303 (_ZGVbN4vv_powf_sse4): Likewise.
12304 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12305 (_ZGVdN8vv_powf_avx2): Likewise.
12306 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12307 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12308 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12309 (_ZGVbN4vvv_sincosf_sse4): Likewise.
12310 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12311 (_ZGVdN8vvv_sincosf_avx2): Likewise.
12312 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12313 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12314 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12315 (_ZGVbN4v_sinf_sse4): Likewise.
12316 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12317 (_ZGVdN8v_sinf_avx2): Likewise.
12318 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12319 Use JUMPTARGET to call callee.
12320 (WRAPPER_IMPL_SSE2_ff): Likewise.
12321 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12322 (WRAPPER_IMPL_AVX): Likewise.
12323 (WRAPPER_IMPL_AVX_ff): Likewise.
12324 (WRAPPER_IMPL_AVX_fFF): Likewise.
12325 (WRAPPER_IMPL_AVX512): Likewise.
12326 (WRAPPER_IMPL_AVX512_ff): Likewise.
12327 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12328 Likewise.
12329 (WRAPPER_IMPL_SSE2_ff): Likewise.
12330 (WRAPPER_IMPL_SSE2_fFF): Likewise.
12331 (WRAPPER_IMPL_AVX): Likewise.
12332 (WRAPPER_IMPL_AVX_ff): Likewise.
12333 (WRAPPER_IMPL_AVX_fFF): Likewise.
12334 (WRAPPER_IMPL_AVX512): Likewise.
12335 (WRAPPER_IMPL_AVX512_ff): Likewise.
12336 (WRAPPER_IMPL_AVX512_fFF): Likewise.
12337
12338 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12339
12340 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12341 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12342 qualifier.
12343 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12344 internal_function qualifiers.
12345
12346 2016-03-15 Carlos O'Donell <carlos@redhat.com>
12347
12348 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12349 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12350 * math/atest-exp.c (exp_mpn): Mark chk unused.
12351 * math/atest-exp2.c (exp_mpn): Likewise.
12352 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12353 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12354
12355 2016-03-15 Joseph Myers <joseph@codesourcery.com>
12356
12357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12358 Remove macro.
12359 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12360 <kernel-features.h>.
12361 [__NR_ppoll]: Make code unconditional.
12362 [!__ASSUME_PPOLL]: Remove conditional code.
12363
12364 * sysdeps/unix/sysv/linux/kernel-features.h
12365 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12366 (__ASSUME_ACCEPT4): Likewise.
12367 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12368 Define.
12369 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12370 Likewise.
12371 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12372 Likewise.
12373 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12374 Likewise.
12375 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12376 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12377 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12378 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12379 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12380 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12381 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12382 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12383 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12384 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12385 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12386 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12387 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12388 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12389 * sysdeps/unix/sysv/linux/i386/kernel-features.h
12390 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12391 Likewise.
12392 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12393 Likewise.
12394 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12395 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12396 0x040300].
12397 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12398 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12399 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12400 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12401 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12402 0x030300].
12403 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12404 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12405 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12406 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12407 0x040300].
12408 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12409 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12411 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12412 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12413 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12414 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12415 0x030300].
12416 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12417 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12418 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12419 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12420 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12421 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12422 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12423 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12424 * sysdeps/unix/sysv/linux/s390/kernel-features.h
12425 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12426 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12427 0x040300].
12428 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12429 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12430 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12431 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12432 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12433 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12434 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12435 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12436 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12437 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12438 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12439 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12440 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12441 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12442 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12443 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12444 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12445 Likewise.
12446 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12447 Likewise.
12448
12449 2016-03-15 Andreas Schwab <schwab@suse.de>
12450
12451 [BZ #19257]
12452 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12453 statp->_u._ext.nscount as loop count.
12454
12455 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
12456
12457 * math/test-signgam-finite-c99.c: Also #undef
12458 __LIBC_INTERNAL_MATH_INLINES.
12459 * math/test-signgam-main.c: Likewise.
12460
12461 2016-03-14 Joseph Myers <joseph@codesourcery.com>
12462
12463 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12464 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12465 (MADV_FREE): Likewise.
12466 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12467 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12468 EPOLLEXCLUSIVE.
12469
12470 2016-03-14 Carlos O'Donell <carlos@redhat.com>
12471
12472 * timezone/README: Remove mention of checktab.awk. Mention wiki
12473 SharedSourceFiles.
12474
12475 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
12476
12477 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12478 WUNTRACED.
12479
12480 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12481
12482 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12483 order to match the type of p when calling atomic_exchange_acq().
12484
12485 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12486
12487 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12488 cfi_offset calls.
12489 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12490 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12491 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12492 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12493 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12494
12495 2016-03-10 Carlos O'Donell <carlos@redhat.com>
12496
12497 * timezone/checktab.awk: Removed.
12498
12499 2016-03-10 Joseph Myers <joseph@codesourcery.com>
12500
12501 * manual/math.texi (Errors in Math Functions): Document relaxed
12502 accuracy goals for IBM long double.
12503 * math/libm-test.inc (test_exceptions): Always allow spurious
12504 "underflow" and "inexact" exceptions for IBM long double.
12505
12506 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
12507
12508 [BZ #19762]
12509 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12510 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12511 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12512 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12513 (bit_arch_*): This for feature array.
12514 (bit_*): Renamed to ...
12515 (bit_cpu_*): This for cpu array.
12516 (index_*): Renamed to ...
12517 (index_arch_*): This for feature array.
12518 (index_*): Renamed to ...
12519 (index_cpu_*): This for cpu array.
12520 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12521 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12522 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12523 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12524 bit_##name with index_cpu_##name and bit_cpu_##name.
12525 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12526 bit_##name with index_arch_##name and bit_arch_##name.
12527
12528 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
12529
12530 [BZ #19792]
12531 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12532 Terminate FDE before return label.
12533
12534 2016-03-09 Joseph Myers <joseph@codesourcery.com>
12535
12536 [BZ #19790]
12537 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12538 (rintl): Define as macro.
12539 [USE_AS_NEARBYINTL] (__rintl): Likewise.
12540 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12541 of fesetround. Ensure results are evaluated before end of scope.
12542 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12543 USE_AS_NEARBYINTL and include s_rintl.c.
12544 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12545 Disable exception traps in new environment.
12546 (libc_feholdsetround_ppc_ctx): Likewise.
12547
12548 2016-03-08 Roland McGrath <roland@hack.frob.com>
12549
12550 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12551 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12552 (tst_audit10_aux) [__AVX512F__]: ... here.
12553
12554 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
12555
12556 * include/sys/auxv.h: New file.
12557
12558 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12559
12560 [BZ #19759]
12561 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12562
12563 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12564
12565 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12566 operand modifier.
12567 (feclearexcept): Likewise.
12568
12569 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12570
12571 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12572 to reflect the entire 32-bit HWCAP.
12573 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12574 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
12575
12576 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
12577
12578 [BZ #19783]
12579 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12580 $(test-via-rtld-prefix).
12581 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12582
12583 2016-03-08 Florian Weimer <fweimer@redhat.com>
12584
12585 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12586 union wait. Report any non-zero exit status as error.
12587
12588 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12589
12590 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12591 configured with --enable-hardcoded-path-in-tests.
12592
12593 2016-03-08 Joseph Myers <joseph@codesourcery.com>
12594
12595 [BZ #19677]
12596 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12597 (__ieee754_remainderl): Put zero low parts in canonical form.
12598 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12599 file. Based on
12600 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12601 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12602 with wrapper round test-fmodrem-ldbl-128ibm.c.
12603 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12604 file.
12605 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12606 Likewise.
12607 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12608 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12609
12610 2016-03-07 Florian Weimer <fweimer@redhat.com>
12611
12612 [BZ #19610]
12613 * elf/ldconfig.c (opt_link): Update comment.
12614 (options): Update help string for option -X.
12615 (search_dir): Unlink stale symbolic link only if updating symbolic
12616 links.
12617 * elf/tst-ldconfig-X.sh: New file.
12618 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12619 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12620
12621 2016-03-07 Andreas Schwab <schwab@suse.de>
12622
12623 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12624 needed arguments.
12625
12626 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
12627
12628 [BZ #15333]
12629 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12630 to lstat64.
12631
12632 2016-03-07 Florian Weimer <fweimer@redhat.com>
12633
12634 * libio/filedoalloc.c (isatty): Remove.
12635 (local_isatty): Add comment. Call __isatty directly.
12636 (_IO_file_doallocate): Update comment. Assume _LIBC.
12637 * libio/wfiledoalloc.c (isatty): Remove.
12638 (_IO_wfile_doallocate): Update comment.
12639
12640 2016-03-07 Florian Weimer <fweimer@redhat.com>
12641
12642 [BZ #19269]
12643 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12644 tst-audit4-aux.o.
12645 (tst-audit10): Depend on tst-audit10-aux.o.
12646 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12647 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12648 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12649 instead of inline AVX code.
12650 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12651 instead of inline AVX512 code.
12652 * sysdeps/x86_64/tst-audit4-aux.c: New file
12653 * sysdeps/x86_64/tst-audit10-aux.c: New file
12654
12655 [BZ #19648]
12656 * test-skeleton.c (main): Do not set RLIMIT_DATA.
12657
12658 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12659
12660 [BZ #14750]
12661 [BZ #10354]
12662 [BZ #18433]
12663 * include/sched.h (__clone): Add hidden prototype.
12664 (__clone2): Likewise.
12665 * include/unistd.h (__dup): Likewise.
12666 * posix/Makefile (tests): Add tst-spawn2.
12667 * posix/tst-spawn2.c: New file.
12668 * sysdeps/posix/dup.c (__dup): Add hidden definition.
12669 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12670 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12671 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12672 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12673 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12674 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12675 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12676 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12677 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12678 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12680 Likewise.
12681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12682 Likewise.
12683 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12684 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12685 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12686 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12687 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12688 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12689 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12690 * sysdeps/unix/sysv/linux/nptl-signals.h
12691 (____nptl_is_internal_signal): New function.
12692 * sysdeps/unix/sysv/linux/spawni.c: New file.
12693
12694 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12695 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12696 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12697 * posix/tst-execvp2.c (do_test): Likewise.
12698 * posix/tst-execvp3.c (do_test): Likewise.
12699 * posix/tst-execvp4.c (do_test): Likewise.
12700 * posix/tst-execvpe1.c: New file.
12701 * posix/tst-execvpe2.c: Likewise.
12702 * posix/tst-execvpe3.c: Likewise.
12703 * posix/tst-execvpe4.c: Likewise.
12704 * posix/tst-execvpe5.c: Likewise.
12705 * posix/tst-execvpe6.c: Likewise.
12706
12707 [BZ #19534]
12708 * posix/execl.c (execl): Remove dynamic memory allocation.
12709 * posix/execle.c (execle): Likewise.
12710 * posix/execlp.c (execlp): Likewise.
12711
12712 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12713
12714 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12715 Replace .text with .text.avx512.
12716 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12717 Likewise.
12718
12719 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
12720
12721 * sysdeps/generic/libnsl.abilist: New file.
12722 * sysdeps/generic/libutil.abilist: New file.
12723
12724 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
12725
12726 [BZ #19762]
12727 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12728 HAS_ARCH_FEATURE with Fast_Rep_String.
12729 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12730 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12731 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12732 Likewise.
12733 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12734 Likewise.
12735 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12736 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12737 Likewise.
12738 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12739 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12740 Likewise.
12741
12742 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12743
12744 [BZ #19745]
12745 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12746 with *%rax in call.
12747
12748 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12749
12750 [BZ #19745]
12751 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12752 with *__libc_start_main@GOTPCREL(%rip) in call.
12753
12754 2016-03-04 Roland McGrath <roland@hack.frob.com>
12755
12756 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12757 inside conditional for nonempty $(CXX).
12758
12759 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12760 nonempty.
12761
12762 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12763 to test for empty $(CXX) rather than $(CXX) of "no".
12764
12765 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
12766
12767 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12768
12769 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
12770 H.J. Lu <hongjiu.lu@intel.com>
12771
12772 [BZ #18880]
12773 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12774 instead of Slow_BSF, and also check for Fast_Copy_Backward to
12775 enable __memcpy_ssse3_back.
12776
12777 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12778
12779 [BZ #19758]
12780 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12781 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12782
12783 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
12784
12785 [BZ #19490]
12786 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12787 (__fentry__): Likewise.
12788
12789 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
12790
12791 * gmon/Makefile (noprof): Add $(sysdep_noprof).
12792 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12793
12794 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12795
12796 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12797 __mcount_internal directly.
12798 (C_LABEL(__fentry__)): Likewise.
12799 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12800 directly.
12801
12802 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
12803
12804 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12805 (__start_context): Call __setcontext directly.
12806
12807 2016-02-26 Joseph Myers <joseph@codesourcery.com>
12808
12809 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12810 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12811 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12812 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12813 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12814 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12815 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12816 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12817 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12818 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12819 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12820 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12821 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12822 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12823 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12824 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12825 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12826 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12827 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12828 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12829 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12830 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12831 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12832 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12833 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12834 Remove conditional code.
12835 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12836 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12837 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12838 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12839 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12840 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12841 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12842 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12843 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12844 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12845 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12846 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12847
12848 2016-02-24 Marko Myllynen <myllynen@redhat.com>
12849
12850 * NEWS (2.23): Fix typo in bug 19048 text.
12851
12852 2016-02-24 Carlos O'Donell <carlos@redhat.com>
12853
12854 [BZ #14259]
12855 * Makeconfig: Rename msgcatdir to localedir.
12856 Rename inst_msgcatdir to inst_localedir.
12857 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12858 * config.make.in: Add localedir.
12859 * elf/Makefile ($(objpfx)sotruss): Use localedir.
12860 (ldd-rewrite): Likewise.
12861 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12862 (install-others): Use inst_localedir.
12863 (CPPFLAGS): Use localedir.
12864 * locale/Makefile (locale-CPPFLAGS): Likewise.
12865 * po/Makefile (mo-installed): Use inst_localedir.
12866
12867 [BZ #19575]
12868 * localedata/charmaps/GB18030: Update comments regarding PAU to
12869 non-PUA mappings.
12870
12871 2016-02-24 Joseph Myers <joseph@codesourcery.com>
12872
12873 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12874 test for header.
12875 * sysdeps/unix/sysv/linux/configure: Regenerated.
12876 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12877 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12878 Remove conditional code.
12879 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12880
12881 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12882 Define to 3.2.0.
12883 (arch_minimum_kernel): Likewise.
12884 * sysdeps/unix/sysv/linux/configure: Regenerated.
12885 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12886 Define to 2.6.32.
12887 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12888 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12889 (arch_minimum_kernel): Define to 2.6.32.
12890 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12891 * README: Document Linux 3.2 requirement.
12892 * manual/install.texi (Linux): Document Linux 3.2 headers
12893 requirement.
12894 * INSTALL: Regenerated.
12895
12896 2016-02-24 Andreas Schwab <schwab@suse.de>
12897
12898 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12899 if !NO_LONG_DOUBLE.
12900
12901 2016-02-22 Roland McGrath <roland@hack.frob.com>
12902
12903 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12904 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12905
12906 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
12907
12908 [BZ #19512]
12909 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12910
12911 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
12912
12913 * posix/tst-dir.c: Include libc-internal.h.
12914
12915 2016-02-20 Florian Weimer <fweimer@redhat.com>
12916
12917 [BZ #19056]
12918 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
12919 * manual/filesys.texi (Reading/Closing Directory): Mention
12920 deprecaion.
12921 * posix/tst-dir.c (main): Disable deprecation warning in test.
12922
12923 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
12924
12925 [BZ #19679]
12926 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
12927 Renamed to ...
12928 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
12929 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12930 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
12931 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12932 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12933 * sysdeps/x86_64/dl-trampoline.h
12934 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12935 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12936
12937 2016-02-19 Mark Wielaard <mjw@redhat.com>
12938
12939 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
12940
12941 2016-02-19 Mark Wielaard <mjw@redhat.com>
12942
12943 * elf/elf.h (R_386_GOT32X): New.
12944 (R_386_NUM): Update.
12945 (R_X86_64_GOTPCRELX: New.
12946 (R_X86_64_REX_GOTPCRELX): New.
12947 (R_X86_64_NUM): Update.
12948
12949 2016-02-19 Mike Frysinger <vapier@gentoo.org>
12950
12951 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
12952
12953 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
12954
12955 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
12956 assign attr->stackaddr to it, and adjust it down when
12957 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
12958 [_STACK_GROWS_UP]: Delete assert.
12959 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
12960 Implement stack grows up logic.
12961 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
12962 stack grows up logic.
12963
12964 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12965
12966 * NEWS: Update with 2.24 template.
12967
12968 2016-02-19 Joseph Myers <joseph@codesourcery.com>
12969
12970 [BZ #19678]
12971 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12972 Ensure +0.0 is returned when taking the next value below the least
12973 positive value.
12974
12975 2016-02-19 Florian Weimer <fweimer@redhat.com>
12976
12977 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
12978 available. Do not define NO_THREADS.
12979 * malloc/malloc.c: Do not check NO_THREADS.
12980 * malloc/arena.c: Likewise.
12981
12982 2016-02-19 Florian Weimer <fweimer@redhat.com>
12983
12984 * malloc/malloc.c (__libc_mallinfo): Update comment.
12985 (struct malloc_par): Remove max_total_mem member, it was always 0.
12986 (int_mallinfo): Store 0 into usmblks (no functional change).
12987 * malloc/hooks.c (struct malloc_state): Document that
12988 max_total_mem is always 0.
12989 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
12990 always 0.
12991 * manual/memory.texi (Statistics of Malloc): Likewise.
12992
12993 2016-02-19 Florian Weimer <fweimer@redhat.com>
12994
12995 * malloc/malloc.c (sysmalloc): Do not update arena_max.
12996 * malloc/arena.c (arena_max): Remove.
12997 (heap_trim, _int_new_arena): Do not update arena_max.
12998
12999 2016-02-19 Florian Weimer <fweimer@redhat.com>
13000
13001 * resolv/res_init.c (res_ninit): Update comment.
13002
13003 2016-02-19 Florian Weimer <fweimer@redhat.com>
13004
13005 [BZ #19505]
13006 * posix/spawn_int.h: Add headers and include guard.
13007 (__spawn_valid_fd): New function.
13008 * posix/spawn_faction_addopen.c
13009 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13010 * posix/spawn_faction_addclose.c
13011 (posix_spawn_file_actions_addclose): Likewise.
13012 * posix/spawn_faction_adddup2.c
13013 (posix_spawn_file_actions_adddup2): Likewise. Add check for
13014 second file descriptor.
13015 * posix/spawn_valid_fd.c: New file.
13016 * posix/tst-posix_spawn-fd.c: New file.
13017 * posix/Makefile (routines): Add spawn_valid_fd.
13018 (tests): Add tst-posix_spawn-fd.
13019
13020 2016-02-19 Florian Weimer <fweimer@redhat.com>
13021
13022 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13023 (do_test): Limit the number of arenas, so that we can use fewer
13024 outer threads. Limit timeout to 3 seconds, in preparation for a
13025 larger TIMEOUT value.
13026
13027 2016-02-19 Joseph Myers <joseph@codesourcery.com>
13028
13029 [BZ #19674]
13030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13031 sign in overflowing and underflowing results when overflow or
13032 underflow is detected early. Include sign in result before rather
13033 than after scaling.
13034
13035 [BZ #19603]
13036 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13037 (__ieee754_remainderl): Adjust sign of integer version of low part
13038 when taking absolute value of high part.
13039 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13040 * math/libm-test.inc (remainder_test_data): Add another test.
13041 (remquo_test_data): Likewise.
13042
13043 2016-02-18 Joseph Myers <joseph@codesourcery.com>
13044
13045 [BZ #19602]
13046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13047 equal high parts and both low parts zero specially.
13048 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13049 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13050 Add test-fmodl-ldbl-128ibm.
13051
13052 [BZ #19595]
13053 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13054 common logic for all cases of shifting subnormal results. Do not
13055 insert sign bit in shifted mantissa. Always pass -1023 as biased
13056 exponent to ldbl_insert_mantissa in subnormal case.
13057
13058 [BZ #19594]
13059 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13060 on high and low parts then adjust result and use
13061 ldbl_canonicalize_int if needed.
13062
13063 [BZ #19593]
13064 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13065 on high part and __floor or __ceil on low part then use
13066 ldbl_canonicalize_int if needed.
13067
13068 [BZ #19592]
13069 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13070 high and low parts then use ldbl_canonicalize_int if needed.
13071
13072 [BZ #17899]
13073 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13074 New function.
13075 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13076 on high and low parts then use ldbl_canonicalize_int if needed.
13077
13078 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13079
13080 * configure: Regenerated.
13081
13082 * po/libc.pot: Regenerated.
13083
13084 * po/be.po: Updated translation.
13085 * po/bg.po: Likewise.
13086 * po/ca.po: Likewise.
13087 * po/cs.po: Likewise.
13088 * po/da.po: Likewise.
13089 * po/el.po: Likewise.
13090 * po/eo.po: Likewise.
13091 * po/es.po: Likewise.
13092 * po/fi.po: Likewise.
13093 * po/fr.po: Likewise.
13094 * po/gl.po: Likewise.
13095 * po/hr.po: Likewise.
13096 * po/hu.po: Likewise.
13097 * po/ia.po: Likewise.
13098 * po/id.po: Likewise.
13099 * po/it.po: Likewise.
13100 * po/ja.po: Likewise.
13101 * po/lt.po: Likewise.
13102 * po/nb.po: Likewise.
13103 * po/nl.po: Likewise.
13104 * po/pt_BR.po: Likewise.
13105 * po/rw.po: Likewise.
13106 * po/sk.po: Likewise.
13107 * po/sl.po: Likewise.
13108 * po/sv.po: Likewise.
13109 * po/tr.po: Likewise.
13110 * po/zh_CN.po: Likewise.
13111 * po/zh_TW.po: Likewise.
13112
13113 * version.h (RELEAES): Set to "development".
13114 (VERSION): Set to 2.23.90.
13115
13116 * version.h (RELEASE): Set to "stable".
13117 (VERSION): Set to 2.23.
13118 * include/feature.h (__GLIBC_MINOR__): Set to 23.
13119
13120 * NEWS: Updated fixed bugs.
13121
13122 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
13123 Wilco Dijkstra <wdijkstr@arm.com>
13124
13125 [BZ #19462]
13126 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13127 (_STRING_INLINE_unaligned): This.
13128 * include/string.h: Include <string_private.h>.
13129 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13130 _STRING_INLINE_unaligned.
13131 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13132 (_STRING_INLINE_unaligned): New.
13133 * sysdeps/aarch64/string_private.h: New file.
13134 * sysdeps/generic/string_private.h: Likewise.
13135 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13136 * sysdeps/s390/string_private.h: Likewise.
13137 * sysdeps/x86/string_private.h: Likewise.
13138 * sysdeps/m68k/m680x0/m68020/bits/string.h
13139 (_STRING_ARCH_unaligned): Renamed to ...
13140 (_STRING_INLINE_unaligned): This.
13141 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13142 to ...
13143 (_STRING_INLINE_unaligned): This.
13144 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13145 to ...
13146 (_STRING_INLINE_unaligned): This.
13147 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13148 to ...
13149 (_STRING_INLINE_unaligned): This.
13150
13151 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
13152 H.J. Lu <hongjiu.lu@intel.com>
13153
13154 [BZ #19590]
13155 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13156 relocation.
13157
13158 2016-02-15 Carlos O'Donell <carlos@redhat.com>
13159
13160 [BZ #18665]
13161 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13162 *herrno_p.
13163 (gaih_getanswer): Document functional behviour. Return tryagain
13164 if any result is tryagain.
13165 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13166 when freed.
13167 * resolv/res_send.c: Add copyright text.
13168 (__libc_res_nsend): Document that MAXPACKET is expected.
13169 (send_vc): Document. Remove buffer reuse.
13170 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13171 size of the buffer. Add Dprint for truncated UDP buffer.
13172
13173 2016-02-14 Carlos O'Donell <carlos@redhat.com>
13174
13175 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13176 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13177 * INSTALL: Regenerate.
13178
13179 2016-02-14 Jakub Jelinek <jakub@redhat.com>
13180 Jonathan Wakely <jwakely@redhat.com>
13181 Carlos O'Donell <carlos@redhat.com>
13182
13183 [BZ 19439]
13184 * math/Makefile (tests): Add test-math-isinff.
13185 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13186 * math/bits/mathcalls.h [__USE_MISC]: Use
13187 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13188 functions not in C++11 and which don't conflict e.g. isinff,
13189 isinfl etc.
13190 * math/test-math-isinff.cc: New file.
13191
13192 2016-02-12 Florian Weimer <fweimer@redhat.com>
13193
13194 * misc/bug18240.c (do_test): Set RLIMIT_AS.
13195
13196 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
13197
13198 [BZ #19529]
13199 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13200
13201 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13202
13203 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13204
13205 2016-02-01 Joseph Myers <joseph@codesourcery.com>
13206
13207 [BZ #19550]
13208 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13209 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13210 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13211 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13212 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13213 New syscall entry.
13214 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13215 New syscall entry.
13216 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13217 syscall entry.
13218
13219 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
13220
13221 [BZ #18240]
13222 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13223 unsigned int wraparound.
13224
13225 2016-01-27 Florian Weimer <fweimer@redhat.com>
13226
13227 [BZ #18240]
13228 * misc/bug18240.c: New test.
13229 * misc/Makefile (tests): Add it.
13230
13231 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
13232 Joseph Myers <joseph@codesourcery.com>
13233
13234 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13235 load in branch delay slot when less than a word of input left.
13236
13237 2016-01-27 Andreas Schwab <schwab@suse.de>
13238
13239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13240 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13241 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13242 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13243
13244 2016-01-26 David S. Miller <davem@davemloft.net>
13245
13246 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13247
13248 2016-01-25 David S. Miller <davem@davemloft.net>
13249
13250 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13251 __sqrtl_finite.
13252 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13253 instead using versioned_symbol.
13254 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13255 of entries.
13256
13257 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13258 __sqrtl_finite to GLIBC_2.23
13259
13260 2016-01-25 Ricchard Henderson <rth@redhat.com>
13261
13262 * sysdeps/alpha/fpu/libm-test-ulps: Update.
13263
13264 2016-01-25 Andreas Schwab <schwab@suse.de>
13265
13266 [BZ #17514]
13267 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13268 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13269 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13270 * nptl/tst-mutex-errorcheck.c: New file.
13271
13272 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13273
13274 [BZ #18560]
13275 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13276 (IPCOP_semop): Likewise.
13277 (IPCOP_semget): Likewise.
13278 (IPCOP_semctl): Likewise.
13279 (IPCOP_msgsnd): Likewise.
13280 (IPCOP_msgrcv): Likewise.
13281 (IPCOP_msgget): Likewise.
13282 (IPCOP_msgctl): Likewise.
13283 (IPCOP_shmat): Likewise.
13284 (IPCOP_shmdt): Likewise.
13285 (IPCOP_shmget): Likewise.
13286 (IPCOP_shmctl): Likewise.
13287
13288 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
13289
13290 * string/tst-endian.c: Include <libc-internal.h>.
13291 (do_test): Ignore tautological-compare warnings around
13292 "htobeXX (beXXtoh (i)) != i" and
13293 "htoleXX (leXXtoh (i)) != i" if-statements.
13294
13295 2016-01-24 David S. Miller <davem@davemloft.net>
13296
13297 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13298 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13299 alias.
13300 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13301 __sqrtl_finite.
13302
13303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13304
13305 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
13306
13307 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13308 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13309 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13310
13311 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13312
13313 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13314 (thread_func): Use new function to simplify barrier check.
13315 (do_test): Use new function to simplify checking barrier exit
13316 code, and actually join the child thread.
13317
13318 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13319
13320 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13321 semicolon.
13322 (__libc_tend): Likewise.
13323 (__libc_tabort): Likewise.
13324
13325 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
13326
13327 * sysdeps/nios2/libm-test-ulps: Update.
13328 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13329 (__gtsf2): Likewise.
13330 (__unorddf2): Likewise.
13331 (__unordsf2): Likewise.
13332 (__ledf2): Likewise.
13333
13334 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
13335
13336 * nis/nis_table.c (__follow_path): Disable diagnostic for
13337 uninitialized variable that is a false positive for gcc 4.7.
13338 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13339
13340 2016-01-20 Roland McGrath <roland@hack.frob.com>
13341
13342 * sysdeps/nacl/lowlevellock-futex.h
13343 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13344 Always evaluate PRIVATE argument.
13345
13346 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
13347
13348 [BZ #19490]
13349 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13350 (pthread_cond_broadcast): Use ENTRY/END
13351 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13352 (pthread_cond_signal): Likewise.
13353 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13354 Likewise.
13355 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13356 Likewise.
13357 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13358 Likewise.
13359
13360 2016-01-20 Joseph Myers <joseph@codesourcery.com>
13361
13362 * sysdeps/ieee754/dbl-64/s_finite.c
13363 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13364 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13365 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13366 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13367 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13368
13369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13370 (__gtsf2): Add as optional for libc.so.
13371 (__unordsf2): Likewise.
13372 (__signbit): Remove for libc.so.
13373 (__signbitl): Likewise.
13374
13375 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
13376
13377 * iconvdata/bug-iconv11.c (test_ibm93x):
13378 Use %zu printf format specifier for size_t argument.
13379
13380 2016-01-19 Joseph Myers <joseph@codesourcery.com>
13381
13382 * math/gen-libm-test.pl (parse_ulps): Do not reduce
13383 already-recorded ulps.
13384 * sysdeps/arm/libm-test-ulps: Regenerated.
13385 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13386 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13387 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13388
13389 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
13390 Paul Pluzhnikov <ppluzhnikov@google.com>
13391
13392 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13393 assembler not supporting AVX-512.
13394
13395 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
13396
13397 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13398
13399 2016-01-18 Joseph Myers <joseph@codesourcery.com>
13400
13401 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13402 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13403
13404 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13405
13406 * sysdeps/arm/libm-test-ulps: Regenerated.
13407
13408 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13409
13410 [BZ #19451]
13411 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13412
13413 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
13414
13415 [BZ #19486]
13416 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13417 * sysdeps/generic/fix-fp-int-convert-overflow.h
13418 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13419 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13420 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13421 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13422 Likewise.
13423 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13424 Avoid conversions to long int where inexact exceptions
13425 could be raised.
13426 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13427 Likewise.
13428 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13429 Avoid conversions to long long int where inexact exceptions
13430 could be raised.
13431 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13432 Likewise.
13433
13434 2016-01-17 Mike Frysinger <vapier@gentoo.org>
13435
13436 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13437 * configure: Regenerated.
13438
13439 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13440
13441 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13442
13443 2016-01-16 Mike Frysinger <vapier@gentoo.org>
13444
13445 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13446 outside of comment.
13447
13448 2016-01-15 Torvald Riegel <triegel@redhat.com>
13449
13450 * nptl/tst-barrier1.c: Add description on first line.
13451 * nptl/tst-barrier2.c: Likewise.
13452 * nptl/tst-barrier3.c: Likewise.
13453 * nptl/tst-barrier4.c: Likewise.
13454 * nptl/tst-barrier5.c: Likewise.
13455
13456 2016-01-15 Torvald Riegel <triegel@redhat.com>
13457
13458 [BZ #18868]
13459 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13460
13461 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
13462
13463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13465 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13466 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13467 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13468 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13469 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13470 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13471 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13472 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13473 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13474
13475 2016-01-15 Torvald Riegel <triegel@redhat.com>
13476
13477 [BZ #13065]
13478 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13479 new implementation.
13480 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13481 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13482 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13483 (BARRIER_IN_THRESHOLD): New macro.
13484 * nptl/pthread_barrierattr_setpshared.c
13485 (pthread_barrierattr_setpshared): Clean up.
13486 * nptl/tst-barrier4.c: Correct comment.
13487 * nptl/tst-barrier5.c: New file.
13488 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13489 (gen-as-const-headers): Remove lowlevelbarrier.sym.
13490 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13491 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13492 * nptl/lowlevelbarrier.sym: Remove.
13493 * nptl/DESIGN-barrier.txt: Remove.
13494 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13495 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13496 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13497 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13498 error.
13499 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13500 implementation.
13501
13502 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13503
13504 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13505 (do_child): Mask SIGRTMIN while thr is running.
13506
13507 2016-01-15 Martin Sebor <msebor@redhat.com>
13508
13509 [BZ #19432]
13510 * iconvdata/Makefile: Add bug-iconv11.
13511 * iconvdata/bug-iconv11.c: New test.
13512 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13513 * iconvdata/ibm933.c: Same.
13514 * iconvdata/ibm935.c: Same.
13515 * iconvdata/ibm937.c: Same.
13516 * iconvdata/ibm939.c: Same.
13517
13518 2016-01-15 Martin Sebor <msebor@redhat.com>
13519
13520 [BZ #19443]
13521 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13522 [DEBUG] (_ufc_set_bits): Declare used.
13523 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13524 [DEBUG] (print_all): Declare used.
13525 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13526 operands of the ternary ?: expression to target type.
13527 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13528 calling the undeclared abort.
13529 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13530
13531 2016-01-15 Martin Sebor <msebor@redhat.com>
13532
13533 [BZ #18755]
13534 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13535 warnings.
13536 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13537 (__gai_create_helper_thread): Same.
13538 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13539 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13540 to suppress -Wmaybe-uninitialized warnings.
13541
13542 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
13543
13544 [BZ #19465]
13545 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13546 inside if.
13547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13548 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13550
13551 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
13552
13553 [BZ #19466]
13554 * time/tst-mktime2.c (time_t_max): Removed.
13555 (time_t_min): Likewise.
13556 (TYPE_SIGNED): New.
13557 (TYPE_MINIMUM): Likewise.
13558 (TYPE_MAXIMUM): Likewise.
13559 (TIME_T_MIN): Likewise.
13560 (TIME_T_MAX): Likewise.
13561 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13562 and TIME_T_MIN.
13563 (do_test): Likewise.
13564
13565 2016-01-14 Amit Pawar <amit.pawar@amd.com>
13566
13567 [BZ #19467]
13568 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13569 index_Fast_Unaligned_Load flag for Excavator family CPUs.
13570
13571 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
13572
13573 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13574
13575 2016-01-13 Carlos O'Donell <carlos@redhat.com>
13576
13577 * benchtests/Makefile (PYTHON): Define.
13578 (bench-func): Use $(PYTHON) to run python scripts.
13579 ($(objpfx)bench-%.c): Likewise.
13580
13581 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
13582
13583 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13584 leading slash when `file_name' is "/".
13585
13586 2016-01-12 Joseph Myers <joseph@codesourcery.com>
13587
13588 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13589 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13590 Likewise.
13591 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13592 Likewise.
13593 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13594 Likewise.
13595 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13596 enum constant and macro.
13597 (PTRACE_SETSIGMASK): Likewise.
13598 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13599 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13600 (PTRACE_GETSIGMASK): Likewise.
13601 (PTRACE_SETSIGMASK): Likewise.
13602 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13603 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13604 Likewise.
13605 (PTRACE_SETSIGMASK): Likewise.
13606 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13607 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13608 (PTRACE_GETSIGMASK): Likewise.
13609 (PTRACE_SETSIGMASK): Likewise.
13610 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13611 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13612 Likewise.
13613 (PTRACE_SETSIGMASK): Likewise.
13614 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13615 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13616 Likewise.
13617 (PTRACE_SETSIGMASK): Likewise.
13618 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13619 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13620 Likewise.
13621 (PTRACE_SETSIGMASK): Likewise.
13622 (PTRACE_SECCOMP_GET_FILTER): Likewise.
13623
13624 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
13625 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13626
13627 [BZ #19439]
13628 * math/bits/mathcalls.h
13629 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13630 prototype.
13631 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13632
13633 2016-01-11 Andreas Schwab <schwab@suse.de>
13634
13635 [BZ #19253]
13636 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13637 cache when TZDEFRULES was used.
13638 * time/tst-tzname.c: New file.
13639 * time/Makefile (test): Add tst-tzname.
13640 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13641 * timezone/Makefile (test-zones): Add $(posixrules-file).
13642 ($(testdata)/$(posixrules-file)): New rule.
13643
13644 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
13645
13646 Fix doc quoting problems with Texinfo 5
13647 Without this change, in the info file output, Texinfo 5 quotes code
13648 in text with undirected single quotes 'like this' and generates
13649 code examples that with many PDF readers cannot be cut out of PDFs
13650 and pasted into code.
13651 * manual/libc.texinfo: Configure the libc manual like the GNU
13652 Emacs manual, by using @documentencoding and setting
13653 txicodequoteundirected and txicodequotebacktick. This way,
13654 Texinfo 5 quotes code in text with directed single quotes ‘like
13655 this’ and produces examples that can be cut out of PDFs. This
13656 change causes Texinfo 5 to generate info files that contain UTF-8
13657 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13658 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13659
13660 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13661
13662 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13663 __libc_tabort, __libc_tend): New wrappers that enforce compiler
13664 barriers to their respective compiler built-ins.
13665 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13666 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13667 * sysdeps/powerpc/sysdep.h: Likewise.
13668 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13669 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13670 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13671
13672 2016-01-08 Marko Myllynen <myllynen@redhat.com>
13673
13674 * scripts/config.guess: Revert previous shebang change.
13675 * scripts/config.sub: Likewise.
13676 * scripts/mkinstalldirs: Likewise.
13677
13678 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13679
13680 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13681 PPC_FEATURE2_HAS_IEEE128.
13682 * sysdeps/powerpc/dl-procinfo.c:
13683 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13684
13685 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
13686
13687 [BZ #19415]
13688 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13689 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
13690 (_dl_lookup_address): Rewrite using function resolver trampoline.
13691 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13692 two bits in address.
13693
13694 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13695
13696 * longlong.h: Change !__SHMEDIA__ to
13697 (!defined (__SHMEDIA__) || !__SHMEDIA__).
13698 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13699
13700 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
13701 Joseph Myers <joseph@codesourcery.com>
13702 Mark Shinwell <shinwell@codesourcery.com>
13703 Andrew Stubbs <ams@codesourcery.com>
13704 Rich Felker <dalias@libc.org>
13705
13706 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13707
13708 2016-01-07 Richard Henderson <rth@redhat.com>
13709
13710 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13711
13712 2016-01-07 Mike Frysinger <vapier@gentoo.org>
13713
13714 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13715 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13716 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13717 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13718 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13719
13720 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
13721 Joseph Myers <joseph@codesourcery.com>
13722
13723 * timezone/private.h: Update from tzcode 2015g.
13724 * timezone/tzfile.h: Likewise.
13725 * timezone/tzselect.ksh: Likewise.
13726 * timezone/zdump.c: Likewise.
13727 * timezone/zic.c: Likewise.
13728 * timezone/ialloc.c: Remove file.
13729 * timezone/scheck.c: Likewise.
13730 * timezone/Makefile (extra-objs): Remove variable.
13731 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13732 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13733 -Wno-maybe-uninitialized.
13734 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13735 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13736 (CFLAGS-ialloc.c): Remove variable.
13737 (CFLAGS-scheck.c): Likewise.
13738 * timezone/README: Update list of files from tzcode.
13739
13740 2016-01-07 Khem Raj <raj.khem@gmail.com>
13741
13742 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13743 instead of __fxprintf when _LIBC is undefined.
13744
13745 2016-01-07 Marko Myllynen <myllynen@redhat.com>
13746
13747 * catgets/test-gencat.sh: Remove space after shebang.
13748 * conform/GlibcConform.pm: Likewise.
13749 * conform/check-header-lists.sh: Likewise.
13750 * conform/conformtest.pl: Likewise.
13751 * conform/linknamespace.pl: Likewise.
13752 * conform/list-header-symbols.pl: Likewise.
13753 * debug/catchsegv.sh: Likewise.
13754 * elf/genrtldtbl.awk: Likewise.
13755 * elf/tst-pathopt.sh: Likewise.
13756 * elf/tst-rtld-load-self.sh: Likewise.
13757 * grp/tst_fgetgrent.sh: Likewise.
13758 * iconvdata/gen-8bit-gap-1.sh: Likewise.
13759 * iconvdata/gen-8bit-gap.sh: Likewise.
13760 * iconvdata/gen-8bit.sh: Likewise.
13761 * iconvdata/run-iconv-test.sh: Likewise.
13762 * intl/tst-gettext.sh: Likewise.
13763 * intl/tst-gettext2.sh: Likewise.
13764 * intl/tst-gettext4.sh: Likewise.
13765 * intl/tst-gettext6.sh: Likewise.
13766 * intl/tst-translit.sh: Likewise.
13767 * io/ftwtest-sh: Likewise.
13768 * libio/test-freopen.sh: Likewise.
13769 * locale/gen-translit.pl: Likewise.
13770 * malloc/tst-mtrace.sh: Likewise.
13771 * manual/check-safety.sh: Likewise.
13772 * manual/libc-texinfo.sh: Likewise.
13773 * manual/tsort.awk: Likewise.
13774 * manual/xtract-typefun.awk: Likewise.
13775 * nptl/tst-cancel-wrappers.sh: Likewise.
13776 * nptl/tst-tls6.sh: Likewise.
13777 * posix/globtest.sh: Likewise.
13778 * posix/tst-getconf.sh: Likewise.
13779 * posix/wordexp-tst.sh: Likewise.
13780 * scripts/check-c++-types.sh: Likewise.
13781 * scripts/check-local-headers.sh: Likewise.
13782 * scripts/config.guess: Likewise.
13783 * scripts/config.sub: Likewise.
13784 * scripts/cpp: Likewise.
13785 * scripts/cross-test-ssh.sh: Likewise.
13786 * scripts/documented.sh: Likewise.
13787 * scripts/evaluate-test.sh: Likewise.
13788 * scripts/gen-libc-abis: Likewise.
13789 * scripts/gen-sorted.awk: Likewise.
13790 * scripts/list-fixed-bugs.py: Likewise.
13791 * scripts/merge-test-results.sh: Likewise.
13792 * scripts/mkinstalldirs: Likewise.
13793 * scripts/rellns-sh: Likewise.
13794 * scripts/test-installation.pl: Likewise.
13795 * scripts/update-copyrights: Likewise.
13796 * stdio-common/tst-printf.sh: Likewise.
13797 * stdio-common/tst-unbputc.sh: Likewise.
13798 * stdlib/tst-fmtmsg.sh: Likewise.
13799 * stdlib/tst-setcontext3.sh: Likewise.
13800 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13801 * sysdeps/unix/make-syscalls.sh: Likewise.
13802
13803 2016-01-06 John David Anglin <dave.anglin@bell.net>
13804
13805 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13806 asm stw with atomic_exchange_rel. Add explanatory comment.
13807 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13808 Likewise.
13809
13810 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13811
13812 [BZ #19122]
13813 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13814 * sysdeps/generic/dl-unistd.h: New file.
13815 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13816
13817 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
13818
13819 [BZ #19122]
13820 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13821 * sysdeps/generic/dl-mman.h: New file.
13822 * sysdeps/mach/hurd/dl-mman.h: Likewise.
13823
13824 2016-01-05 Joseph Myers <joseph@codesourcery.com>
13825
13826 * manual/texinfo.tex: Update to version 2016-01-04.21 with
13827 trailing whitespace removed.
13828 * scripts/config.guess: Update to version 2016-01-01.
13829 * scripts/config.sub: Update to version 2016-01-01.
13830 * scripts/move-if-change: Update from gnulib.
13831
13832 2016-01-04 Anton Blanchard <anton@samba.org>
13833
13834 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13835 for array indices.
13836 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13837
13838 2016-01-04 Joseph Myers <joseph@codesourcery.com>
13839
13840 * NEWS: Update copyright dates.
13841 * catgets/gencat.c (print_version): Likewise.
13842 * csu/version.c (banner): Likewise.
13843 * debug/catchsegv.sh: Likewise.
13844 * debug/pcprofiledump.c (print_version): Likewise.
13845 * debug/xtrace.sh (do_version): Likewise.
13846 * elf/ldconfig.c (print_version): Likewise.
13847 * elf/ldd.bash.in: Likewise.
13848 * elf/pldd.c (print_version): Likewise.
13849 * elf/sotruss.sh: Likewise.
13850 * elf/sprof.c (print_version): Likewise.
13851 * iconv/iconv_prog.c (print_version): Likewise.
13852 * iconv/iconvconfig.c (print_version): Likewise.
13853 * locale/programs/locale.c (print_version): Likewise.
13854 * locale/programs/localedef.c (print_version): Likewise.
13855 * login/programs/pt_chown.c (print_version): Likewise.
13856 * malloc/memusage.sh (do_version): Likewise.
13857 * malloc/memusagestat.c (print_version): Likewise.
13858 * malloc/mtrace.pl: Likewise.
13859 * manual/libc.texinfo: Likewise.
13860 * nptl/version.c (banner): Likewise.
13861 * nscd/nscd.c (print_version): Likewise.
13862 * nss/getent.c (print_version): Likewise.
13863 * nss/makedb.c (print_version): Likewise.
13864 * posix/getconf.c (main): Likewise.
13865 * scripts/test-installation.pl: Likewise.
13866 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13867
13868 * All files with FSF copyright notices: Update copyright dates
13869 using scripts/update-copyrights.
13870 * intl/plural.c: Regenerated.
13871 * locale/programs/charmap-kw.h: Likewise.
13872 * locale/programs/locfile-kw.h: Likewise.
13873
13874 2016-01-02 Helge Deller <deller@gmx.de>
13875
13876 [BZ #19285]
13877 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13878 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13879 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13880 (MADV_xxK_PAGES): Remove.
13881
13882 2016-01-01 Mike Frysinger <vapier@gentoo.org>
13883
13884 [BZ #15421]
13885 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13886 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
13887 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13888 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13889
13890 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
13891
13892 [BZ #19408]
13893 * sysdeps/unix/sysv/linux/personality.c: New file.
13894 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13895 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13896 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13897 (sysdep_routines): Add personality.
13898 (tests): Add tst-personality.
13899 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13900 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13901 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13902 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13903 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13904 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13905 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13906 Likewise.
13907 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13908 Likewise.
13909 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13910 Likewise.
13911 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13912 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
13913 Likewise.
13914
13915 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
13916
13917 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
13918 (PATH_ARM_SYSTYPE): Remove.
13919 (PATH_CPUINFO): Likewise.
13920 (IO_BASE_FOOTBRIDGE): Likewise.
13921 (IO_SHIFT_FOOTBRIDGE): Likewise.
13922 (struct platform): Likewise.
13923 (init_iosys): Remove compatibility code for 2.4 kernels.
13924 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
13925
13926 2015-12-29 Florian Weimer <fweimer@redhat.com>
13927
13928 * malloc/tst-malloc-thread-fail.c: New file.
13929 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
13930 (tst-malloc-thread-fail): Link against libpthread.
13931
13932 2015-12-29 Mike Frysinger <vapier@gentoo.org>
13933
13934 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
13935 (get_parser): New function.
13936 (main): New function.
13937
13938 2015-12-29 Rob Wu <rob@robwu.nl>
13939
13940 [BZ #19369]
13941 * resolv/res_init.c (__res_vinit): Reset defdname before use.
13942
13943 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
13944
13945 [BZ #19270]
13946 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13947
13948 2015-12-28 Mike Frysinger <vapier@gentoo.org>
13949
13950 [BZ #15421]
13951 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
13952
13953 2015-12-23 Torvald Riegel <triegel@redhat.com>
13954
13955 [BZ #13690]
13956 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
13957 after releasing it.
13958 (__lll_robust_unlock): Likewise.
13959 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13960 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
13961 (lll_robust_unlock): Likewise.
13962 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
13963 Prevent warnings in callers.
13964
13965 2015-12-23 Florian Weimer <fweimer@redhat.com>
13966
13967 * malloc/arena.c (list_lock): Update comment.
13968
13969 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13970
13971 * sysdeps/powerpc/hwcapinfo.c: Export symbol
13972 __parse_hwcap_and_convert_at_platform to libc.a.
13973
13974 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13975
13976 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
13977 platform and feature support for POWER9.
13978 * sysdeps/powerpc/dl-procinfo.h: Likewise.
13979 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
13980 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
13981 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
13982 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
13983 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
13984 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
13985 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
13986
13987 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13988
13989 Harmonize generic stdio-lock support with nptl
13990
13991 This fixes build when _IO_funlockfile is a macro, fixes build where
13992 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
13993 stack unwind.
13994
13995 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
13996 _IO_release_lock ): Use cleanup attribute on new
13997 _IO_acquire_lock_file variable instead of assuming that
13998 _IO_release_lock will be called.
13999 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14000 _IO_acquire_lock_needs_exceptions_enabled.
14001 (_IO_acquire_lock_clear_flags2): New macro.
14002
14003 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14004
14005 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14006
14007 2015-12-21 Florian Weimer <fweimer@redhat.com>
14008
14009 [BZ #19182]
14010 * malloc/arena.c (list_lock): Document lock ordering requirements.
14011 (free_list_lock): New lock.
14012 (ptmalloc_lock_all): Comment on free_list_lock.
14013 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14014 (detach_arena): Update comment. free_list_lock is now needed.
14015 (_int_new_arena): Use free_list_lock around detach_arena call.
14016 Acquire arena lock after list_lock. Add comment, including FIXME
14017 about incorrect synchronization.
14018 (get_free_list): Switch to free_list_lock.
14019 (reused_arena): Acquire free_list_lock around detach_arena call
14020 and attached threads counter update. Add two FIXMEs about
14021 incorrect synchronization.
14022 (arena_thread_freeres): Switch to free_list_lock.
14023 * malloc/malloc.c (struct malloc_state): Update comments to
14024 mention free_list_lock.
14025
14026 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
14027
14028 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14029 Remove functions.
14030 (sloww, sloww1): Accept argument to offset quadrant.
14031 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14032 quadrant.
14033 (__sin, __cos): Consolidate common code into new functions.
14034 (reduce_sincos_1, do_sincos_1): New functions.
14035 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14036
14037 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14038 code to new functions.
14039 (reduce_sincos_2, do_sincos_2): New functions.
14040 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14041
14042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14043 common code for sincos.
14044 (__cos) [!IN_SINCOS]: Likewise.
14045 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14046 New function.
14047 (__sincos): Use it.
14048
14049 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
14050
14051 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14052 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14053 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14054
14055 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
14056
14057 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14059 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14060 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14061 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14062 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14063 index_Prefer_No_VZEROUPPER): New feature.
14064 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14065 Prefer_No_VZEROUPPER for Knights Landing.
14066
14067 015-12-18 Torvald Riegel <triegel@redhat.com>
14068
14069 * math/atest-exp2.c (mp_exp_m1): Remove.
14070
14071 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14072
14073 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14074 syscalls.
14075 (__SYSCALL0): New macro.
14076 (__SYSCALL1): Likewise.
14077 (__SYSCALL2): Likewise.
14078 (__SYSCALL3): Likewise.
14079 (__SYSCALL4): Likewise.
14080 (__SYSCALL5): Likewise.
14081 (__SYSCALL6): Likewise.
14082 (__SYSCALL_CONCAT_X): Likewise.
14083 (__SYSCALL_CONCAT): Likewise.
14084 (__SYSCALL_DIST): Likewise.
14085 (__SYSCALL_CALL): Likewise.
14086
14087 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
14088
14089 [BZ #19363]
14090 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14091
14092 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14093
14094 [BZ #19375]
14095 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14096 negative subnormals.
14097
14098 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
14099
14100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14101 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14102 (INTERNAL_SYSCALL_NCS): Use it.
14103 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14104
14105 2015-12-16 Florian Weimer <fweimer@redhat.com>
14106
14107 [BZ #19243]
14108 * malloc/arena.c (get_free_list): Remove assert and adjust
14109 reference count handling. Add comment about reused_arena
14110 interaction.
14111 (reused_arena): Add comments abount get_free_list interaction.
14112 * malloc/tst-malloc-thread-exit.c: New file.
14113 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14114 (tst-malloc-thread-exit): Link against libpthread.
14115
14116 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14117
14118 [BZ #19367]
14119 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14120 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14121 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14122 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14123 (index_Prefer_MAP_32BIT_EXEC): Likewise.
14124
14125 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
14126
14127 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14128 Silvermont optimizations for Knights Landing.
14129
14130 2015-12-15 Andreas Schwab <schwab@suse.de>
14131
14132 [BZ #17197]
14133 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14134 immediately after emitting SI.
14135 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14136 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14137 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14138 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14139 * iconvdata/bug-iconv10.c: New file.
14140 * iconvdata/Makefile (tests): Add bug-iconv10.
14141 ($(objpfx)bug-iconv10.out): New rule.
14142
14143 2015-12-15 Florian Weimer <fweimer@redhat.com>
14144
14145 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14146 aliasing violation.
14147
14148 2015-12-14 Joseph Myers <joseph@codesourcery.com>
14149
14150 [BZ #18472]
14151 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14152 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14153 conditionals for them.
14154 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14155 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14157 sys/kdaemon.h.
14158 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14159 compat-only syscall, obsoleted in glibc 2.23.
14160 (create_module): Likewise.
14161 (get_kernel_syms): Likewise.
14162 (query_module): Likewise.
14163 (uselib): Likewise.
14164 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14165
14166 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
14167
14168 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14169 <linux/version.h>.
14170 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14171 conditional code.
14172 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14173 and ioshift_name initialization.
14174
14175 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14176
14177 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14178 Fix indentation.
14179
14180 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14181
14182 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14183
14184 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
14185
14186 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14187
14188 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
14189 Jakub Wilk <jwilk@debian.org>
14190
14191 [BZ #19347]
14192 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14193 to change the group of the device to the tty group.
14194
14195 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
14196
14197 Split large string section; add truncation advice
14198 * manual/examples/strncat.c: Remove.
14199 This example was misleading, as the code would have undefined
14200 behavior if "hello" was longer than SIZE. Anyway, the manual
14201 shouldn't encourage strncpy+strncat for this sort of thing.
14202 * manual/string.texi (Copying Strings and Arrays): Split into
14203 three sections Copying Strings and Arrays, Concatenating Strings,
14204 and Truncating Strings, as this section was way too long. All
14205 cross-referenced changed. Add advice about string-truncation
14206 functions. Remove misleading strncat example.
14207
14208 2015-12-10 Carlos O'Donell <carlos@redhat.com>
14209
14210 * manual/nss.texi (NSS Modules Interface): Document
14211 NSS_STATUS_NOTFOUND and SUCCESS.
14212
14213 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14214
14215 [BZ 18568]
14216 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14217 201505L, for Unicode 8.
14218
14219 2015-12-09 Carlos O'Donell <carlos@redhat.com>
14220
14221 * locale/C-translit.h: Regenerate.
14222
14223 2015-12-09 Mike FABIAN <mfabian@redhat.com>
14224
14225 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14226 and U+0153.
14227
14228 2015-12-09 Joseph Myers <joseph@codesourcery.com>
14229
14230 [BZ #19351]
14231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14232 expanding log(1+z), compare z rather than its square with epsilon
14233 to determine when to avoid evaluating the expansion.
14234
14235 [BZ #19350]
14236 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14237 Increase overflow threshold.
14238
14239 [BZ #19349]
14240 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14241 when small.
14242
14243 * sysdeps/unix/sysv/linux/i386/kernel-features.h
14244 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14245 New macro.
14246 [__LINUX_KERNEL_VERSION >= 0x040300]
14247 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14248 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14249 Likewise.
14250 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14251 Likewise.
14252 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14253 Likewise.
14254 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14255 Likewise.
14256 [__LINUX_KERNEL_VERSION >= 0x040300]
14257 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14258 [__LINUX_KERNEL_VERSION >= 0x040300]
14259 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14260 [__LINUX_KERNEL_VERSION >= 0x040300]
14261 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14262 [__LINUX_KERNEL_VERSION >= 0x040300]
14263 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14264 [__LINUX_KERNEL_VERSION >= 0x040300]
14265 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14266 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14267 Likewise.
14268 [__LINUX_KERNEL_VERSION >= 0x040300]
14269 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14270 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14271 Likewise.
14272 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14273 Likewise.
14274 [__LINUX_KERNEL_VERSION >= 0x040300]
14275 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14276 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14277 Likewise.
14278 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14279 Likewise.
14280 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14281 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14282 Likewise.
14283 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14284 Likewise.
14285 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14286 Likewise.
14287 [__LINUX_KERNEL_VERSION >= 0x040300]
14288 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14289 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14290 Likewise.
14291 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14292 Likewise.
14293 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14294 Likewise.
14295 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14296 Likewise.
14297 [__LINUX_KERNEL_VERSION >= 0x040300]
14298 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14299 [__LINUX_KERNEL_VERSION >= 0x040300]
14300 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14301 [__LINUX_KERNEL_VERSION >= 0x040300]
14302 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14303 [__LINUX_KERNEL_VERSION >= 0x040300]
14304 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14305 [__LINUX_KERNEL_VERSION >= 0x040300]
14306 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14307 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14308 Likewise.
14309 [__LINUX_KERNEL_VERSION >= 0x040300]
14310 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14311 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14312 Likewise.
14313 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14314 Likewise.
14315 [__LINUX_KERNEL_VERSION >= 0x040300]
14316 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14317 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14318 Likewise.
14319 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14320 Likewise.
14321 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14322 (__ASSUME_SOCKET_SYSCALL): Likewise.
14323 (__ASSUME_BIND_SYSCALL): Likewise.
14324 (__ASSUME_CONNECT_SYSCALL): Likewise.
14325 (__ASSUME_LISTEN_SYSCALL): Likewise.
14326 (__ASSUME_ACCEPT_SYSCALL): Likewise.
14327 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14328 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14329 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14330 (__ASSUME_SEND_SYSCALL): Likewise.
14331 (__ASSUME_SENDTO_SYSCALL): Likewise.
14332 (__ASSUME_RECV_SYSCALL): Likewise.
14333 (__ASSUME_RECVFROM_SYSCALL): Likewise.
14334 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14335 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14336 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14337 (__ASSUME_SENDMSG_SYSCALL): Likewise.
14338 (__ASSUME_RECVMSG_SYSCALL): Likewise.
14339 * sysdeps/unix/sysv/linux/sh/kernel-features.h
14340 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14341 Likewise.
14342 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14343 Likewise.
14344 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14345 Likewise.
14346 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14347 Likewise.
14348 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14349 Likewise.
14350 [__LINUX_KERNEL_VERSION >= 0x020625]
14351 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14352 [__LINUX_KERNEL_VERSION >= 0x020625]
14353 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14354 [__LINUX_KERNEL_VERSION >= 0x020625]
14355 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14356 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14357 Likewise.
14358 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14359 Likewise.
14360 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14361 Likewise.
14362 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14363 Likewise.
14364 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14365 Likewise.
14366 [__LINUX_KERNEL_VERSION >= 0x020625]
14367 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14368 [__LINUX_KERNEL_VERSION >= 0x020625]
14369 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14370 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14371 Likewise.
14372 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14373 Likewise.
14374
14375 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14376
14377 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14378 record the current if the current ABI and CPU support the FP64
14379 extension.
14380 (has-modd-spreg): Define to record the current if the current ABI and
14381 CPU support 32-bit floating point values in odd FPU registers.
14382 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14383 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14384 $(has-modd-spreg) equals yes.
14385 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14386 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14387 $(has-modd-spreg) equal yes.
14388
14389 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
14390
14391 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14392 basename.
14393
14394 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
14395
14396 * benchtests/Makefile (bench-math): Move ffs and ffsll...
14397 (bench-string): ... here.
14398 (bench): Add bench-string.
14399 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14400 to *-benchset to reflect what they are.
14401 (benchset): Adjust.
14402
14403 * benchtests/sincos-inputs: Add inputs from sin-inputs and
14404 cos-inputs.
14405
14406 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
14407
14408 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14409 __attribute__ ((__simd__)) for vector math function declarations.
14410
14411 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14412
14413 Fix typo in strncat, wcsncat manual entries
14414 * manual/string.texi (Copying and Concatenation): Fix typos in
14415 sample implementations of strncat and wcsncat, by having them use
14416 the old value of the destination length, not the new one.
14417
14418 2015-12-04 Joseph Myers <joseph@codesourcery.com>
14419
14420 [BZ #16961]
14421 [BZ #16962]
14422 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14423 string on the stack for strtod.
14424 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14425 a string on the stack for strtof.
14426 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14427 constructing a string on the stack for strtold.
14428 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14429 __strtold_nan to GLIBC_PRIVATE.
14430 * math/test-nan-overflow.c: New file.
14431 * math/test-nan-payload.c: Likewise.
14432 * math/Makefile (tests): Add test-nan-overflow and
14433 test-nan-payload.
14434
14435 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
14436
14437 Consistency about byte vs character in string.texi
14438 * manual/string.texi (String and Array Utilities):
14439 Distinguish more carefully among bytes, multibyte characters,
14440 and wide characters. Use "byte" when talking about C 'char',
14441 to distinguish it more clearly from multibyte characters.
14442 Say "wide character" or "multibyte character" instead of
14443 "character", when a wide or multibyte character is intended.
14444 Similarly for "multibyte string" versus "string".
14445 Define these terms more carefully.
14446
14447 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
14448
14449 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14450 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14451 Likewise.
14452 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14453 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14454 * sysdeps/sh/math_private.h: New file.
14455 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14456 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14457 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14458 long double function name.
14459 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14460 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14461 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14462 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14463 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14465 Remove __finitel, __isinfl, and __isnanl.
14466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14467 Likewise.
14468 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14470 Remove __finitel.
14471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14472 Likewise.
14473 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14474
14475 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
14476
14477 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14478 installed libmvec_nonshared.a.
14479
14480 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14481
14482 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14483 (sysdep_routines): Likewise.
14484 (sysdep-rtld-routines): Likewise.
14485 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14486 [$(subdir) = nptl](tests-static): test-get_hwcap-static
14487 * sysdeps/powerpc/Versions: Added new
14488 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14489 * sysdeps/powerpc/hwcapinfo.c: New file.
14490 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14491 and parse hwcap, hwcap2 and platform number information.
14492 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
14493 to store HWCAP+HWCAP2 and platform number.
14494 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14495 for HWCAP+HWCAP2 and platform number in the TCB.
14496 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
14497 the HWCAP, HWCAP2 and platform number in the TCB.
14498 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14499 (TLS_INIT_TP): Included calls to add the hwcap and
14500 at_platform values in the TCB in TP initialization.
14501 (TLS_DEFINE_INIT_TP): Likewise.
14502 (THREAD_GET_HWCAP): New macro.
14503 (THREAD_SET_HWCAP): Likewise.
14504 (THREAD_GET_AT_PLATFORM): Likewise.
14505 (THREAD_SET_AT_PLATFORM): Likewise.
14506 * sysdeps/powerpc/powerpc32/dl-machine.h:
14507 (dl_platform_init): New function that calls
14508 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14509 powerpc32.
14510 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14511 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
14512 this functionality, static linking case.
14513 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
14514 linking case.
14515 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14516 __parse_hwcap_and_convert_at_platform for the static linking case.
14517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14518 Included the new __parse_hwcap_and_convert_at_platform symbol in the
14519 ABI list for GLIBC 2.23.
14520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14521 Likewise.
14522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14523 Likewise.
14524
14525 2015-12-02 Ludovic Courtès <ludo@gnu.org>
14526
14527 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14528 * configure: Regenerate.
14529 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14530 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
14531
14532 2015-12-02 Carlos O'Donell <carlos@redhat.com>
14533
14534 * iconvdata/ibm930.c: Add comment explaining encoding uses.
14535 * iconvdata/ibm933.c: Likewise.
14536 * iconvdata/ibm935.c: Likewise.
14537 * iconvdata/ibm937.c: Likewise.
14538 * iconvdata/ibm939.c: Likewise.
14539
14540 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14541
14542 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14543 pthread_join.
14544 * nptl/tst-cancel21.c (tf): Likewise.
14545
14546 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
14547
14548 [BZ #19313]
14549 * bits/typesizes.h (__CPU_MASK_TYPE): New.
14550 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14551 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14552 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14553 Likewise.
14554 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14555 Likewise.
14556 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14557 Likewise.
14558 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14559 Likewise.
14560 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14561 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14562 unsigned long int with __CPU_MASK_TYPE.
14563
14564 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
14565
14566 * sysdeps/aarch64/libm-test-ulps: Regenerated.
14567
14568 2015-12-01 Joseph Myers <joseph@codesourcery.com>
14569
14570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14571 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14572 t512.x.
14573 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14574
14575 2015-11-30 Amit Pawar <amit.pawar@amd.com>
14576
14577 [BZ #19214]
14578 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14579 argument to return extended model. Update family and model
14580 with extended family and model when family == 0x0f.
14581 (init_cpu_features): Updated.
14582
14583 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
14584
14585 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14586 signed off_t, so 32bit bigger than 2GiB values are fine actually.
14587
14588 * sysdeps/mach/hurd/mmap64.c: New file.
14589
14590 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
14591
14592 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14593 rights for its main user thread in NEWTASK.
14594
14595 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
14596
14597 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14598 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14599
14600 2015-11-27 Carlos O'Donell <carlos@redhat.com>
14601
14602 [BZ #14259]
14603 * Makeconfig: Rename localedir to complocaledir.
14604 Rename inst_localedir to inst_complocaledir.
14605 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14606 * config.make.in: Use complocaledir and libc_cv_complocaledir.
14607 * configure.ac: Use libc_cv_complocaledir.
14608 * configure: Regenerate.
14609 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14610 -DCOMPLOCALEDIR.
14611 * locale/findlocale.c: Use COMPLOCALEDIR.
14612 * locale/loadarchive.c: Likewise.
14613 * locale/programs/locale.c: Likewise.
14614 * locale/programs/localedef.c: Likewise.
14615 * locale/programs/locarchive.c: Likewise.
14616 * localedata/Makefile: Use inst_complocaledir.
14617 * sysdeps/gnu/configure: Regenerate.
14618 * sysdeps/hppa/configure: Regenerate.
14619 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14620 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14622 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14623 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14624 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14625 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14626
14627 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
14628
14629 [BZ #19058]
14630 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14631 AS_NEEDED.
14632 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14633 workaround.
14634 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14635 libmvec-static-only-routines): Added new file.
14636 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14637
14638 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
14639
14640 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14641 of interrupted RPC instead of restoring it.
14642
14643 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14644 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14645 libc_hidden_def.
14646 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14647 into initialized data instead of common. Define rtld_hidden_data_def.
14648 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14649 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14650 libc_hidden_def.
14651 (if_freenameindex): Add libc_hidden_weak.
14652 (if_nameindex): Add libc_hidden_weak.
14653 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14654 __open64.
14655 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14656 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14657 * sysdeps/mach/nanosleep.c: Include <time.h>
14658 (__nanosleep): Rename to __libc_nanosleep.
14659 (__nanosleep): Add weak_alias.
14660 (nanosleep): Update alias.
14661
14662 2015-11-24 Joseph Myers <joseph@codesourcery.com>
14663
14664 * stdlib/strtod_nan.c: New file.
14665 * stdlib/strtod_nan_double.h: Likewise.
14666 * stdlib/strtod_nan_float.h: Likewise.
14667 * stdlib/strtod_nan_main.c: Likewise.
14668 * stdlib/strtod_nan_narrow.h: Likewise.
14669 * stdlib/strtod_nan_wide.h: Likewise.
14670 * stdlib/strtof_nan.c: Likewise.
14671 * stdlib/strtold_nan.c: Likewise.
14672 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14673 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14674 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14675 * wcsmbs/wcstod_nan.c: Likewise.
14676 * wcsmbs/wcstof_nan.c: Likewise.
14677 * wcsmbs/wcstold_nan.c: Likewise.
14678 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14679 strtold_nan.
14680 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14681 wcstof_nan.
14682 * include/stdlib.h (__strtof_nan): Declare and use
14683 libc_hidden_proto.
14684 (__strtod_nan): Likewise.
14685 (__strtold_nan): Likewise.
14686 (__wcstof_nan): Likewise.
14687 (__wcstod_nan): Likewise.
14688 (__wcstold_nan): Likewise.
14689 * include/wchar.h (____wcstoull_l_internal): Declare.
14690 * stdlib/strtod_l.c: Do not include <ieee754.h>.
14691 (____strtoull_l_internal): Remove declaration.
14692 (STRTOF_NAN): Define macro.
14693 (SET_MANTISSA): Remove macro.
14694 (STRTOULL): Likewise.
14695 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14696 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14697 (STRTOF_NAN): Define macro.
14698 (SET_MANTISSA): Remove macro.
14699 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14700 (SET_MANTISSA): Remove macro.
14701 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14702 macro.
14703 (SET_MANTISSA): Remove macro.
14704 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14705 macro.
14706 (SET_MANTISSA): Remove macro.
14707 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14708 (SET_MANTISSA): Remove macro.
14709 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14710 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14711 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14712
14713 [BZ #19266]
14714 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14715 upper case and lower case letters inside NAN(), not using TOLOWER.
14716 * stdlib/tst-strtod-nan-locale-main.c: New file.
14717 * stdlib/tst-strtod-nan-locale.c: Likewise.
14718 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14719 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14720 Depend on $(gen-locales).
14721 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14722 * wcsmbs/tst-wcstod-nan-locale.c: New file.
14723 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14724 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14725 Depend on $(gen-locales).
14726 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14727
14728 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
14729
14730 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14731
14732 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14733 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14734 __finitel, __isinfl, and __isnanl.
14735 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14736 Likewise.
14737 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14739 __finitel.
14740 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14741 Likewise.
14742 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14743
14744 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
14745
14746 * malloc/memusage.c (me): Remove redundant getenv call.
14747
14748 2015-10-24 Florian Weimer <fweimer@redhat.com>
14749
14750 [BZ #19143]
14751 [BZ #19164]
14752 * nptl/check-cpuset.h: Remove.
14753 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14754 Remove CPU set size check.
14755 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14756 Likewise.
14757 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14758 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14759 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14760 (__pthread_setaffinity_new): Remove CPU set size check.
14761 * sysdeps/unix/sysv/linux/sched_setaffinity.c
14762 (__kernel_cpumask_size): Remove.
14763 (__sched_setaffinity_new): Remove CPU set size check.
14764 * manual/threads.texi (Default Thread Attributes): Remove stale
14765 reference to check_cpuset_attr, determine_cpumask_size in comment.
14766 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14767 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
14768 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14769 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14770 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14771 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14772 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14773 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14774 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14775 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14776 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14777 skeleton test file.
14778 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
14779 tst-affinity-pid.
14780
14781 2015-11-24 Florian Weimer <fweimer@redhat.com>
14782
14783 * scripts/update-abilist.sh: New file.
14784 * Makefile (+subdir_targets): Add subdir_update-all-abi.
14785 * Makerules (update-all-abi-%, update-all-abi)
14786 (subdir_update-all-abi): New targets.
14787 * elf/Makefile (update-all-abi): New target.
14788
14789 2015-11-24 Florian Weimer <fweimer@redhat.com>
14790
14791 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14792 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14793 (__libc_lock_define_initialized): Use it.
14794 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14795 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14796 * malloc/malloc.c (main_arena): Likewise.
14797 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14798 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14799
14800 2015-11-23 Joseph Myers <joseph@codesourcery.com>
14801
14802 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14803 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14804 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14805 (PTRACE_O_MASK): Update value.
14806 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14807 New value in enum __ptrace_setoptions.
14808 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14809 (PTRACE_O_MASK): Update value.
14810 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14811 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14812 (PTRACE_O_MASK): Update value.
14813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14814 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14815 (PTRACE_O_MASK): Update value.
14816 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14817 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14818 (PTRACE_O_MASK): Update value.
14819 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14820 New value in enum __ptrace_setoptions.
14821 (PTRACE_O_MASK): Update value.
14822 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14823 New value in enum __ptrace_setoptions.
14824 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14825 (PTRACE_O_MASK): Update value.
14826
14827 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14828 New macro.
14829 (PACKET_AUXDATA): Likewise.
14830 (PACKET_ORIGDEV): Likewise.
14831 (PACKET_VERSION): Likewise.
14832 (PACKET_HDRLEN): Likewise.
14833 (PACKET_RESERVE): Likewise.
14834 (PACKET_TX_RING): Likewise.
14835 (PACKET_LOSS): Likewise.
14836 (PACKET_VNET_HDR): Likewise.
14837 (PACKET_TX_TIMESTAMP): Likewise.
14838 (PACKET_TIMESTAMP): Likewise.
14839 (PACKET_FANOUT): Likewise.
14840 (PACKET_TX_HAS_OFF): Likewise.
14841 (PACKET_QDISC_BYPASS): Likewise.
14842 (PACKET_ROLLOVER_STATS): Likewise.
14843 (PACKET_FANOUT_DATA): Likewise.
14844 (PACKET_MR_UNICAST): Likewise.
14845
14846 [BZ #19242]
14847 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14848 (TOUPPER): Likewise.
14849 * stdlib/tst-strtol-locale-main.c: New file.
14850 * stdlib/tst-strtol-locale.c: Likewise.
14851 * stdlib/Makefile (tests): Add tst-strtol-locale.
14852 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14853 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14854 Depend on $(gen-locales).
14855 * wcsmbs/tst-wcstol-locale.c: New file.
14856 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14857 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14858 tr_TR.ISO-8859-9.
14859 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14860 Depend on $(gen-locales).
14861
14862 2015-11-20 Roland McGrath <roland@hack.frob.com>
14863
14864 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14865 __glibc_likely instead of __builtin_expect. After falling back to
14866 dyncode_create in a non-ET_DYN case, use the allocate_code_data
14867 system interface to register the code pages as occupied.
14868
14869 2015-11-20 Joseph Myers <joseph@codesourcery.com>
14870
14871 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14872 [!ARM_MATH_PRIVATE_H].
14873 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14874 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14875 [!HPPA_MATH_PRIVATE_H].
14876 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14877 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14878 to [!I386_MATH_PRIVATE_H].
14879 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14880 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14881 Change guard to [!M68K_MATH_PRIVATE_H].
14882 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14883 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14884 guard to [!MICROBLAZE_MATH_PRIVATE_H].
14885 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14886 macro.
14887 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14888 [!MIPS_MATH_PRIVATE_H].
14889 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14890 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14891 [!NIO2_MATH_PRIVATE_H].
14892 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14893 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14894 [!TILE_MATH_PRIVATE_H].
14895 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14896
14897 [BZ #15421]
14898 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14899 initialize with 0 and define as weak alias of __signgam.
14900 * include/math.h [!_ISOMAC] (__signgam): Declare.
14901 * math/Makefile (libm-calls): Add w_lgamma_compat.
14902 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14903 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14904 test-signgam-ullong-init.
14905 (tests-static): Add test-signgam-uchar-static,
14906 test-signgam-uchar-init-static, test-signgam-uint-static,
14907 test-signgam-uint-init-static, test-signgam-ullong-static and
14908 test-signgam-ullong-init-static.
14909 (CFLAGS-test-signgam-uchar.c): New variable.
14910 (CFLAGS-test-signgam-uchar-init.c): Likewise.
14911 (CFLAGS-test-signgam-uchar-static.c): Likewise.
14912 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14913 (CFLAGS-test-signgam-uint.c): Likewise.
14914 (CFLAGS-test-signgam-uint-init.c): Likewise.
14915 (CFLAGS-test-signgam-uint-static.c): Likewise.
14916 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14917 (CFLAGS-test-signgam-ullong.c): Likewise.
14918 (CFLAGS-test-signgam-ullong-init.c): Likewise.
14919 (CFLAGS-test-signgam-ullong-static.c): Likewise.
14920 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14921 * math/Versions (libm): Add GLIBC_2.23.
14922 * math/lgamma-compat.h: New file.
14923 * math/test-signgam-main.c: Likewise.
14924 * math/test-signgam-uchar-init-static.c: Likewise.
14925 * math/test-signgam-uchar-init.c: Likewise.
14926 * math/test-signgam-uchar-static.c: Likewise.
14927 * math/test-signgam-uchar.c: Likewise.
14928 * math/test-signgam-uint-init-static.c: Likewise.
14929 * math/test-signgam-uint-init.c: Likewise.
14930 * math/test-signgam-uint-static.c: Likewise.
14931 * math/test-signgam-uint.c: Likewise.
14932 * math/test-signgam-ullong-init-static.c: Likewise.
14933 * math/test-signgam-ullong-init.c: Likewise.
14934 * math/test-signgam-ullong-static.c: Likewise.
14935 * math/test-signgam-ullong.c: Likewise.
14936 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
14937 wrapper of w_lgamma_main.c.
14938 * math/w_lgamma_compat.c: New file.
14939 * math/w_lgamma_compatf.c: Likewise.
14940 * math/w_lgamma_compatl.c: Likewise.
14941 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
14942 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
14943 defining compatibility symbols.
14944 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
14945 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
14946 wrapper of w_lgammaf_main.c.
14947 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
14948 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
14949 defining compatibility symbols.
14950 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
14951 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
14952 wrapper of w_lgammal_main.c.
14953 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
14954 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
14955 defining compatibility symbols.
14956 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
14957 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
14958 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
14959 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
14960 <lgamma-compat.h>.
14961 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
14962 (__ieee754_gamma): Define as alias.
14963 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
14964 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
14965 <lgamma-compat.h>.
14966 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
14967 (__ieee754_gammaf): Define as alias.
14968 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
14969 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
14970 <lgamma-compat.h>.
14971 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
14972 (__ieee754_gammal): Define as alias.
14973 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
14974 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
14975 <math/w_lgamma_compat.c>.
14976 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
14977 Define as alias of __lgamma_compat and use in defining lgammal.
14978 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
14979 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
14980 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
14981 (USE_AS_COMPAT): New macro.
14982 (LGAMMA_OLD_VER): Undefine and redefine.
14983 (lgammal): Do not define here.
14984 (gammal): Only define here if [GAMMA_ALIAS].
14985 * conform/linknamespace.pl (@whitelist): Remove signgam.
14986 * sysdeps/nacl/libm.abilist: Update.
14987 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14996 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14997 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15000 Likewise.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15002 Likewise.
15003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15004 Likewise.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15006 Likewise.
15007 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15013 Likewise.
15014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15015 Likewise.
15016 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15019
15020 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15021
15022 [BZ #16364]
15023 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15024 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15025
15026 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
15027
15028 * sysdeps/s390/fpu/bits/mathinline.h:
15029 Use __asm__ [__volatile__] instead of asm [volatile].
15030 * sysdeps/s390/abort-instr.h: Likewise.
15031 * sysdeps/s390/atomic-machine.h: Likewise.
15032 * sysdeps/s390/bits/string.h: Likewise.
15033 * sysdeps/s390/dl-tls.h: Likewise.
15034 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15035 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15036 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15037 * sysdeps/s390/fpu/fesetround.c: Likewise.
15038 * sysdeps/s390/fpu/fpu_control.h: Likewise.
15039 * sysdeps/s390/fpu/s_fma.c: Likewise.
15040 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15041 * sysdeps/s390/memusage.h: Likewise.
15042 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15043 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15044 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15045 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15046 * sysdeps/s390/nptl/tls.h: Likewise.
15047 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15048 * sysdeps/s390/s390-32/backtrace.c: Likewise.
15049 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15050 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15051 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15052 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15053 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15054 * sysdeps/s390/s390-64/backtrace.c: Likewise.
15055 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15056 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15057 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15058 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15059 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15060 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15061 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15062 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15063 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15064 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15065 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15066 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15067 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15068 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15069 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15070
15071 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15072 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15073
15074 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15075 Add lwarx hint, and use macro for acquire instruction.
15076 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15077 Likewise.
15078 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15079 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15080 update to use new atomic macros.
15081
15082 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15083
15084 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15085 (__lll_trylock_elision): Fix setting of adapt_count.
15086 * sysdeps/unix/sysv/linux/powerpc/htm.h
15087 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15088 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15089 (_ABORT_SYSCALL): Renumber, and clarify definition.
15090 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15091
15092 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15093
15094 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15095 after system headers to prevent MIN/MAX redefinition. Define
15096 HAVE_ALLOCA to preserve builtin alloca usage.
15097
15098 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15099
15100 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15101 static and don't set or restore rounding.
15102 (__cos)[IN_SINCOS]: Likewise.
15103 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15104 (__sincos): Set and restore rounding mode. Remove check for infinite
15105 or NaN input.
15106
15107 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15108
15109 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15110 as used.
15111
15112 2015-11-16 Florian Weimer <fweimer@redhat.com>
15113
15114 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15115
15116 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
15117
15118 * config.make.in (have-glob-dat-reloc): New.
15119 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
15120 target supports GLOB_DAT relocaton. AC_SUBST.
15121 * configure: Regenerated.
15122 * elf/Makefile (tests): Add tst-prelink.
15123 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15124 (tst-prelink-ENV): New.
15125 ($(objpfx)tst-prelink-conflict.out): Likewise.
15126 ($(objpfx)tst-prelink-cmp.out): Likewise.
15127 * sysdeps/x86/tst-prelink.c: Moved to ...
15128 * elf/tst-prelink.c: Here.
15129 * sysdeps/x86/tst-prelink.exp: Moved to ...
15130 * elf/tst-prelink.exp: Here.
15131 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15132 (tst-prelink-ENV): Removed.
15133 ($(objpfx)tst-prelink-conflict.out): Likewise.
15134 ($(objpfx)tst-prelink-cmp.out): Likewise.
15135 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15136
15137 2015-11-13 Joseph Myers <joseph@codesourcery.com>
15138
15139 [BZ #14551]
15140 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15141 (__mpn_construct_long_double): If high part overflows to infinity,
15142 set errno and recompute overflowed result of the correct sign.
15143 * sysdeps/ieee754/ldbl-128ibm/Makefile
15144 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15145 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15146 $(libm).
15147 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15148
15149 2015-11-12 Joseph Myers <joseph@codesourcery.com>
15150
15151 [BZ #15479]
15152 [BZ #19238]
15153 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15154 floating-point state after first operation on input. Restore full
15155 state rather than just rounding mode.
15156 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15157 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15158 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15159
15160 [BZ #19235]
15161 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15162 add 0.5 to integer arguments.
15163 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15164 Likewise.
15165 (.LC2): New object.
15166
15167 2015-11-11 Mike Frysinger <vapier@gentoo.org>
15168
15169 * scripts/pylintrc (reports): Set to no.
15170
15171 2015-11-10 Roland McGrath <roland@hack.frob.com>
15172
15173 * elf/dl-load.c (open_verify): Take new argument FD.
15174 Skip __open call if passed FD is not -1.
15175 (_dl_map_object, open_path): Update callers.
15176 * elf/dl-sysdep-open.h: New file.
15177 * elf/dl-load.c: Include it.
15178 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15179 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15180 * sysdeps/nacl/dl-sysdep-open.h: New file.
15181 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15182 from libc to rtld.
15183
15184 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15185
15186 [BZ #19228]
15187 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15188 and restore full floating-point state.
15189 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15190 Likewise.
15191 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15192 Likewise.
15193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15194 Likewise.
15195 * math/test-nearbyint-except-2.c: New file.
15196 * math/Makefile (tests): Add test-nearbyint-except-2.
15197
15198 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
15199
15200 [BZ #19178]
15201 * sysdeps/x86/Makefile (tests): Add tst-prelink.
15202 (tst-prelink-ENV): New.
15203 ($(objpfx)tst-prelink-conflict.out): Likewise.
15204 ($(objpfx)tst-prelink-cmp.out): Likewise.
15205 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15206 * sysdeps/x86/tst-prelink.c: New file.
15207 * sysdeps/x86/tst-prelink.exp: Likewise.
15208
15209 2015-11-10 Joseph Myers <joseph@codesourcery.com>
15210
15211 * math/auto-libm-test-in: Add another test of pow.
15212 * math/auto-libm-test-out: Regenerated.
15213 * math/libm-test.inc (pow_test_data): Add another test.
15214
15215 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15216
15217 [BZ #19219]
15218 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15219 weak_alias to nearbyintl.
15220
15221 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15222
15223 * sysdeps/aarch64/bits/string.h: New file.
15224 (_STRING_ARCH_unaligned): Define.
15225
15226 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
15227
15228 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15229 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15230 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15231 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15233
15234 2015-11-09 Ulrich Drepper <drepper@gmail.com>
15235
15236 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15237 for original name of the DSO. Add it to the name list of the DSO
15238 if it is actually given.
15239 (_dl_map_object): Keep track of whether an audit module rewrote
15240 the file name. If yes, pass the original name to
15241 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
15242 debugging is enabled, log the change of the file name.
15243 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15244 _dl_map_object_from_fd.
15245 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15246 * elf/tst-audit11.c: New file
15247 * elf/tst-auditmod11.c: New file.
15248 * elf/tst-audit11mod1.c: New file.
15249 * elf/tst-audit11mod2.c: New file.
15250 * elf/tst-audit11mod2.map: New file.
15251 * elf/tst-audit12.c: New file
15252 * elf/tst-auditmod12.c: New file.
15253 * elf/tst-audit12mod1.c: New file.
15254 * elf/tst-audit12mod2.c: New file.
15255 * elf/tst-audit12mod2.map: New file.
15256 * elf/tst-audit12mod3.c: New file.
15257
15258 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15259
15260 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15261 Don't create weak aliases,
15262 because versioned symbols are created later.
15263 * sysdeps/s390/s390-32/setjmp.S
15264 (setjmp, _setjmp): Remove weak and rename to an unique name
15265 in SHARED case due to existing versioned symbols.
15266 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15267 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15268 (getcontext): Create weak alias only in non SHARED case.
15269 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15270
15271 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
15272
15273 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15274 (__ASSUME_*_SYSCALL) Define new macros.
15275 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15276 Remove socketcall syscalls.
15277 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15278 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15279 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15280 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15281 * sysdeps/unix/sysv/linux/send.c (__libc_send):
15282 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15283
15284 2015-11-09 Florian Weimer <fweimer@redhat.com>
15285
15286 [BZ #12926]
15287 Terminate process on invalid netlink response.
15288 * sysdeps/unix/sysv/linux/netlinkaccess.h
15289 (__netlink_assert_response): Declare.
15290 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15291 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15292 (sysdep_routines): Add netlink_assert_response.
15293 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15294 __netlink_assert_response.
15295 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15296 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15297 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15298 __netlink_assert_response.
15299
15300 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
15301
15302 [BZ #19178]
15303 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15304 (RTYPE_CLASS_PLT): Likewise.
15305 (RTYPE_CLASS_COPY): Likewise.
15306 (RTYPE_CLASS_TLS): Likewise.
15307 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15308 to set relocation type class for DL_DEBUG_PRELINK. Keep only
15309 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15310 DL_DEBUG_PRELINK.
15311
15312 2015-11-06 Joseph Myers <joseph@codesourcery.com>
15313
15314 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15315 calls with argument -0.5.
15316 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15317
15318 * configure.ac (libc_cv_z_nodelete): Remove configure test.
15319 (libc_cv_z_nodlopen): Likewise.
15320 (libc_cv_z_initfirst): Likewise.
15321 * configure: Regenerated.
15322
15323 2015-11-06 Florian Weimer <fweimer@redhat.com>
15324
15325 Simplify abilist format to be line-based.
15326 * scripts/abilist.awk: Collect descriptors in the descs variable.
15327 (emit): Write descs variable and sort it
15328 externally, with sort.
15329 * sysdeps/**/*.abilist: Convert to new format.
15330
15331 2015-11-06 Mark Wielaard <mjw@redhat.com>
15332
15333 [BZ #11460]
15334 * io/Makefile (routines): Add fts64.
15335 (tests): Add tst-fts and tst-fts-lfs.
15336 (CFLAGS-fts64.c): New.
15337 * io/Versions (GLIBC_2.23): New.
15338 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15339 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15340 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15341 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15342 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15343 (FTSENT64): Likewise.
15344 (fts64_children): Likewise.
15345 (fts64_close): Likewise.
15346 (fts64_open): Likewise.
15347 (fts64_read): Likewise.
15348 (fts64_set): Likewise.
15349 * io/fts64.c: New file.
15350 * io/tst-fts.c: New test.
15351 * io/tst-fts-lfs.c: Likewise.
15352 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15353 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15354 fts64_set.
15355 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15356 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15357 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15358 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15359 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15360 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15361 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15362 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15363 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15364 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15365 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15366 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15367 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15369 Likewise.
15370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15371 Likewise.
15372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15374 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15375 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15376 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15377 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15378 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15381 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15382 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15383 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15384 * sysdeps/wordsize-64/fts.c: New file.
15385 * sysdeps/wordsize-64/fts64.c: Likewise.
15386 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15387 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15388 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15389 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15390
15391 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15392
15393 * math/libm-test.inc (NON_FINITE): New macro.
15394 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15395 * math/gen-libm-test.pl (show_exceptions): Add argument
15396 $non_finite.
15397 (parse_args): Update call to show_exceptions.
15398 * math/test-math-finite.h: New file.
15399 * math/test-math-no-finite.h: Likewise.
15400 * math/test-double-finite.c: Likewise.
15401 * math/test-float-finite.c: Likewise.
15402 * math/test-ldouble-finite.c: Likewise.
15403 * math/test-double.c: Include "test-math-no-finite.h".
15404 * math/test-float.c: Include "test-math-no-finite.h".
15405 * math/test-ldouble.c: Include "test-math-no-finite.h".
15406 * math/test-math-inline.h (TEST_FINITE): New macro.
15407 * math/test-math-vector.h (TEST_FINITE): Likewise.
15408 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15409 (libm-tests): Add test-float-finite and test-double-finite.
15410 ($(objpfx)test-float-finite.o): New dependency on
15411 $(objpfx)libm-test.stmp.
15412 ($(objpfx)test-double-finite.o): Likewise.
15413 ($(objpfx)test-ldouble-finite.o): Likewise.
15414 (libm-test-no-inline-cflags): New variable.
15415 (libm-test-finite-cflags): Likewise.
15416 (CFLAGS-test-float-finite.c): Likewise.
15417 (CFLAGS-test-double-finite.c): Likewise.
15418 (CFLAGS-test-ldouble-finite.c): Likewise.
15419 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15420 (CFLAGS-test-double.c): Likewise.
15421 (CFLAGS-test-ldouble.c): Likewise.
15422
15423 2015-11-05 Roland McGrath <roland@hack.frob.com>
15424
15425 * io/fcntl.c (__fcntl): Add ... to prototype.
15426 * misc/ioctl.c (__ioctl): Likewise.
15427 * misc/syscall.c (syscall): Likewise.
15428
15429 2015-11-05 Joseph Myers <joseph@codesourcery.com>
15430
15431 * scripts/list-fixed-bugs.py: New file.
15432
15433 [BZ #19213]
15434 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15435 returned for argument 1.
15436 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15437 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15438 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15439 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15440 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15441 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15442
15443 [BZ #19211]
15444 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15445 __USE_XOPEN], not if [!__USE_ISOC99].
15446 (lgammaf): Likewise.
15447 (lgammal): Likewise.
15448 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15449 (gammaf): Likewise.
15450 (gammal): Likewise.
15451 * math/test-signgam-finite-c11.c: New file.
15452 * math/test-signgam-finite-c99.c: Likewise.
15453 * math/test-signgam-finite.c: Likewise.
15454 * math/Makefile (tests): Add test-signgam-finite,
15455 test-signgam-finite-c99 and test-signgam-finite-c11.
15456 (CFLAGS-test-signgam-finite.c): New variable.
15457 (CFLAGS-test-signgam-finite-c99.c): Likewise.
15458 (CFLAGS-test-signgam-finite-c11.c): Likewise.
15459
15460 [BZ #19212]
15461 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15462 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15463 500].
15464 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15465 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15466 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15467 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15468 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15469 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15470 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15471 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15472 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15473 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15474
15475 [BZ #19209]
15476 * math/bits/math-finite.h (ldexp): Remove declaration.
15477 (ldexpf): Likewise.
15478 (ldexpl): Likewise.
15479
15480 [BZ #19205]
15481 * math/bits/math-finite.h (acosf): Condition declaration on
15482 [__USE_ISOC99].
15483 (acosl): Likewise.
15484 (acoshf): Likewise.
15485 (acoshl): Likewise.
15486 (asinf): Likewise.
15487 (asinl): Likewise.
15488 (atan2f): Likewise.
15489 (atan2l): Likewise.
15490 (atanhf): Likewise.
15491 (atanhl): Likewise.
15492 (coshf): Likewise.
15493 (coshl): Likewise.
15494 (expf): Likewise.
15495 (expl): Likewise.
15496 (fmodf): Likewise.
15497 (fmodl): Likewise.
15498 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15499 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15500 (j0l): Likewise.
15501 (y0f): Likewise.
15502 (y0l): Likewise.
15503 (j1f): Likewise.
15504 (j1l): Likewise.
15505 (y1f): Likewise.
15506 (y1l): Likewise.
15507 (jnf): Likewise.
15508 (jnl): Likewise.
15509 (ynf): Likewise.
15510 (ynl): Likewise.
15511 (lgammaf_r): Condition declaration on [__USE_ISOC99].
15512 (lgammal_r): Likewise.
15513 (__lgamma_r_finite): New declaration.
15514 (__lgammaf_r_finite): Likewise.
15515 (__lgammal_r_finite): Likewise.
15516 (lgamma): Use __lgamma_r_finite.
15517 (lgammaf): Condition definition on [__USE_ISOC99]. Use
15518 __lgammaf_r_finite.
15519 (lgammal): Condition definition on [__USE_ISOC99]. Use
15520 __lgammal_r_finite.
15521 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
15522 __lgamma_r_finite.
15523 (gammaf): Condition definition on [__USE_ISOC99]. Use
15524 __lgammaf_r_finite.
15525 (gammal): Condition definition on [__USE_ISOC99]. Use
15526 __lgammal_r_finite.
15527 (logf): Condition declaration on [__USE_ISOC99].
15528 (logl): Likewise.
15529 (log10f): Likewise.
15530 (log10l): Likewise.
15531 (ldexpf): Likewise.
15532 (ldexpl): Likewise.
15533 (powf): Likewise.
15534 (powl): Likewise.
15535 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15536 __USE_ISOC99].
15537 (remainderf): Condition declaration on [__USE_ISOC99].
15538 (remainderl): Likewise.
15539 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15540 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15541 (scalbl): Likewise.
15542 (sinhf): Condition declaration on [__USE_ISOC99].
15543 (sinhl): Likewise.
15544 (sqrtf): Likewise.
15545 (sqrtl): Likewise.
15546
15547 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15548
15549 * sysdeps/arm/atomic-machine.h
15550 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15551 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15552 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15553 Remove conditional code.
15554 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15555 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15556 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15557 Change conditional to [__ASSEMBLER__].
15558 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15559 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15560 [!__ASSEMBLER__].
15561 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15562 code.
15563 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15564 conditional macro definitions.
15565 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15566 (__arch_compare_and_exchange_val_16_acq): Likewise.
15567 (__arch_compare_and_exchange_val_32_acq): Likewise.
15568 (atomic_exchange_and_add): Likewise.
15569 (atomic_add): Likewise.
15570 (atomic_add_negative): Likewise.
15571 (atomic_add_zero): Likewise.
15572 (atomic_bit_set): Likewise.
15573 (atomic_bit_test_set): Likewise.
15574 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15575 code unconditional.
15576 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15577
15578 * math/test-math-errno.h: New file.
15579 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15580 empty.
15581 (TEST_ERRNO): New macro.
15582 (TEST_EXCEPTIONS): Likewise.
15583 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15584 (TEST_EXCEPTIONS): Likewise.
15585 * math/test-math-vector.h (TEST_ERRNO): Likewise.
15586 * math/test-double.c: Include "test-math-errno.h".
15587 * math/test-float.c: Likewise.
15588 * math/test-ldouble.c: Likewise.
15589 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15590 code unconditional.
15591 (test_exceptions): Only run code if TEST_EXCEPTIONS.
15592 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15593 unconditional.
15594 (test_errno): Only run code if TEST_ERRNO.
15595 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15596
15597 2015-11-04 Florian Weimer <fweimer@redhat.com>
15598
15599 * nptl/tst-once5.cc: Remove attribution.
15600
15601 2015-11-04 Joseph Myers <joseph@codesourcery.com>
15602
15603 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15604 sqrt, tan, tanh, y0, y1 and yn.
15605 * math/auto-libm-test-out: Regenerated.
15606 * math/libm-test.inc (scalb_test_data): Add more tests.
15607 (scalbn_test_data): Likewise.
15608 (scalbln_test_data): Likewise.
15609 (signbit_test_data): Likewise.
15610 (sin_test_data): Likewise.
15611 (sincos_test_data): Likewise.
15612 (sinh_test_data): Likewise.
15613 (sqrt_test_data): Likewise.
15614 (tan_test_data): Likewise.
15615 (tanh_test_data): Likewise.
15616 (tgamma_test_data): Likewise.
15617 (y0_test_data): Likewise.
15618 (y1_test_data): Likewise.
15619 (yn_test_data): Likewise.
15620 (significand_test_data): Likewise.
15621 * sysdeps/i386/fpu/libm-test-ulps: Update.
15622
15623 2015-11-03 David Kastrup <dak@gnu.org>
15624
15625 [BZ #18604]
15626 * assert/assert.h (assert): Don't macro-expand failed assertion
15627 expression in error message.
15628 * malloc/malloc.c (assert): Likewise.
15629
15630 2015-11-03 Joseph Myers <joseph@codesourcery.com>
15631
15632 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15633 test.
15634 * configure: Regenerated.
15635
15636 2015-11-02 Joseph Myers <joseph@codesourcery.com>
15637
15638 * math/libm-test.inc (modf_test_data): Add more tests.
15639 (nearbyint_test_data): Likewise.
15640 (nextafter_test_data): Likewise.
15641 (nexttoward_test_data): Likewise.
15642 (pow_test_data): Likewise.
15643 (remainder_test_data): Likewise.
15644 (remquo_test_data): Likewise.
15645 (rint_test_data): Likewise.
15646
15647 [BZ #19201]
15648 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15649 Check for zero remainder in case of large exponents and ensure
15650 correct sign of result in that case.
15651 * math/libm-test.inc (remainder_test_data): Add more tests.
15652
15653 [BZ #6799]
15654 * math/s_nextafter.c: Include <errno.h>.
15655 (__nextafter): Set errno on overflow and underflow.
15656 * math/s_nexttowardf.c: Include <errno.h>.
15657 (__nexttowardf): Set errno on overflow and underflow.
15658 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15659 (__nextafterl): Set errno on overflow and underflow.
15660 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15661 (__nexttoward): Set errno on overflow and underflow.
15662 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15663 (__nexttowardf): Set errno on overflow and underflow.
15664 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15665 (__nextafterf): Set errno on overflow and underflow.
15666 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15667 (__nextafterl): Set errno on overflow and underflow.
15668 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15669 (__nexttoward): Set errno on overflow and underflow.
15670 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15671 (__nexttowardf): Set errno on overflow and underflow.
15672 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15673 (__nextafterl): Set errno on overflow and underflow.
15674 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15675 (__nexttoward): Set errno on overflow and underflow.
15676 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15677 (__nexttowardf): Set errno on overflow and underflow.
15678 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15679 (__nexttoward): Set errno on overflow and underflow.
15680 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15681 (__nexttowardf): Set errno on overflow and underflow.
15682 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15683 (__nldbl_nexttowardf): Set errno on overflow and underflow.
15684 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15685 (__nextafterl): Set errno on overflow and underflow.
15686 * math/libm-test.inc (nextafter_test_data): Do not allow errno
15687 setting to be missing on overflow. Add more tests.
15688 (nexttoward_test_data): Likewise.
15689
15690 * configure.ac (libc_cv_initfini_array): Remove configure test.
15691 * configure: Regenerated.
15692
15693 2015-10-29 Joseph Myers <joseph@codesourcery.com>
15694
15695 [BZ #19189]
15696 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15697 non-finite argument handle arguments with negative sign.
15698
15699 * math/libm-test.inc (j0_test_data): Do not test sign of zero
15700 result from infinite argument.
15701 (j1_test_data): Likewise.
15702 (jn_test_data): Likewise.
15703 (y0_test_data): Likewise.
15704 (y1_test_data): Likewise.
15705 (yn_test_data): Likewise.
15706
15707 [BZ #16171]
15708 * math/w_remainder.c (drem): Define as weak alias of __remainder.
15709 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15710 * math/w_remainderf.c (dremf): Define as weak alias of
15711 __remainderf.
15712 * math/w_remainderl.c (dreml): Define as weak alias of
15713 __remainderl.
15714 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15715 __remainder.
15716 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15717 __remainderf.
15718 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15719 __remainderl.
15720 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15721 weak alias of remainderl.
15722 * sysdeps/ieee754/ldbl-opt/w_remainder.c
15723 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15724 alias of __remainder.
15725 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15726 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15727 strong alias of __remainderl.
15728 (dreml): Use long_double_symbol.
15729 * math/Makefile (libm-calls): Remove w_drem.
15730 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15731 (CFLAGS-nldbl-drem.c): Remove variable.
15732 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15733 * math/w_drem.c: Remove file.
15734 * math/w_dremf.c: Likewise.
15735 * math/w_dreml.c: Likewise.
15736 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15737 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15738 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15739
15740 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15741 * sysdeps/i386/configure: Regenerated.
15742 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15743 * sysdeps/x86_64/configure: Regenerated.
15744
15745 * configure.ac (libc_cv_asm_protected_directive): Remove configure
15746 test.
15747 (libc_cv_visibility_attribute): Likewise.
15748 (libc_cv_protected_data): Test unconditionally.
15749 (libc_cv_broken_visibility_attribute): Remove configure test.
15750 (libc_cv_have_sdata_section): Test unconditionally.
15751 * configure: Regenerated.
15752
15753 * include/libc-internal.h (libc_max_align_t): Remove typedef.
15754 * include/scratch_buffer.h: Include <stddef.h> instead of
15755 <libc-internal.h>.
15756 (struct scratch_buffer): Use max_align_t instead of
15757 libc_max_align_t.
15758
15759 2015-10-29 Florian Weimer <fweimer@redhat.com>
15760
15761 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15762 instead of extend_alloca. Change control flow to avoid a goto.
15763 Remove assert which is trivially always true.
15764
15765 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15766
15767 [BZ #16068]
15768 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15769 (FE_ALL_EXCEPT_X86): New macro.
15770 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15771 FE_ALL_EXCEPT. Ensure precision control is included in
15772 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15773 handle "denormal operand exception" and clear FZ and DAZ bits.
15774 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15775 (FE_ALL_EXCEPT_X86): New macro.
15776 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15777 FE_ALL_EXCEPT. Ensure precision control is included in
15778 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15779 handle "denormal operand exception" and clear FZ and DAZ bits.
15780 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15781 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15782 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15783 test-fenv-x87 and test-fenv-sse-2.
15784 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15785
15786 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15787 * math/test-double.h (BUILD_COMPLEX): New macro.
15788 * math/test-float.h (BUILD_COMPLEX): Likewise.
15789 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15790
15791 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15792 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15793 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15794 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15795 instead of DBL_DENORM_MIN in comment.
15796 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15797 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15798 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15799 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15801 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15802
15803 2015-10-28 Florian Weimer <fweimer@redhat.com>
15804
15805 [BZ# 19048]
15806 * malloc/malloc.c (struct malloc_state): Update comment. Add
15807 attached_threads member.
15808 (main_arena): Initialize attached_threads.
15809 * malloc/arena.c (list_lock): Update comment.
15810 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15811 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15812 (deattach_arena): New function.
15813 (_int_new_arena): Initialize arena reference count and deattach
15814 replaced arena.
15815 (get_free_list, reused_arena): Update reference count and deattach
15816 replaced arena.
15817 (arena_thread_freeres): Update arena reference count and only put
15818 unreferenced arenas on the free list.
15819
15820 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15821
15822 [BZ #19181]
15823 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15824 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15825 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15826 * math/test-fenv-clear-main.c: New file.
15827 * math/test-fenv-clear.c: Likewise.
15828 * math/Makefile (tests): Add test-fenv-clear.
15829 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15830 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15831 test-fenv-clear-sse.
15832 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15833
15834 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15835 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15836 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15837
15838 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15839
15840 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15841 static libc.
15842
15843 2015-10-28 Joseph Myers <joseph@codesourcery.com>
15844
15845 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15846 test.
15847 * sysdeps/i386/configure: Regenerated.
15848 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15849 test.
15850 * sysdeps/x86_64/configure: Regenerated.
15851 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15853 memset-avx2 unconditionally instead of conditionally on
15854 [$(config-cflags-avx2) = yes].
15855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15856 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15857 unconditional.
15858 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15859 * sysdeps/x86_64/multiarch/memset_chk.S
15860 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15861 to [IS_IN (libc) && SHARED].
15862
15863 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15864
15865 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15866 configure test.
15867 * sysdeps/arm/configure: Regenerated.
15868 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15869 Define variable if not already defined.
15870
15871 [BZ #17404]
15872 * sysdeps/mips/atomic-machine.h
15873 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15874 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15875 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15876
15877 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15878 unconditional.
15879 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15880 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15881 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15882 unconditional.
15883 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15884 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15885 unconditional.
15886 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15887 * stdlib/setenv.c
15888 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15889 code unconditional.
15890 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15891 Remove conditional code.
15892 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15893 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15894 unconditional.
15895 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15896 code.
15897 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15898 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15899 unconditional.
15900 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15901 code.
15902 * sysdeps/ieee754/ldbl-128/k_tanl.c
15903 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15904 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15905 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15906 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15907 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15908 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15909 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15910 unconditional.
15911 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15912 code.
15913 * sysdeps/ieee754/ldbl-96/k_tanl.c
15914 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15915 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15916
15917 * nptl/tst-initializers1-c11.c: New file.
15918 * nptl/tst-initializers1-gnu11.c: Likewise.
15919 * nptl/Makefile (tests): Add these new tests.
15920 (CFLAGS-tst-initializers1-c11.c): New variable.
15921 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15922
15923 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
15924 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
15925 instead of -std=gnu99.
15926 * configure.ac (systemtap): Test with -std=gnu11 instead of
15927 -std=gnu99.
15928 * configure: Regenerated.
15929 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
15930 in compilation command in comment.
15931
15932 * sysdeps/nptl/configure.ac: Remove file.
15933 * sysdeps/nptl/configure: Remove generated file.
15934 * configure.ac (libc_cv_forced_unwind): Do not substitute.
15935 * configure: Regenerated.
15936 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
15937 * config.make.in (have-forced-unwind): Remove variable.
15938 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15939 unconditional.
15940 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
15941 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
15942 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
15943 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
15944 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15945 unconditional.
15946
15947 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
15948
15949 [BZ #19174]
15950 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
15951 .skip_lock_out_of_tbegin_retries.
15952 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15953 (__lll_lock_elision): Likewise, and respect a value of
15954 try_tbegin <= 0.
15955
15956 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15957
15958 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
15959 statement.
15960
15961 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15962
15963 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
15964 variable.
15965 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15966 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15967
15968 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
15969 of -std=c1x -D_ISOC11_SOURCE.
15970
15971 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
15972 * configure: Regenerated.
15973 * manual/install.texi (Tools for Compilation): Document
15974 requirement for GCC 4.7 or later.
15975 * INSTALL: Regenerated.
15976
15977 2015-10-27 Ludovic Courtès <ludo@gnu.org>
15978
15979 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
15980 on CNT to a conditional jump to 'puntdata'.
15981
15982 2015-10-27 Joseph Myers <joseph@codesourcery.com>
15983
15984 * configure.ac (libc_cv_gcc___thread): Remove configure test.
15985 (libc_cv_gcc_tls_model_attr): Likewise.
15986 * configure: Regenerated.
15987
15988 * configure.ac (libc_cv_need_minus_P): Remove configure test.
15989 * configure: Regenerated.
15990 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
15991
15992 2015-10-26 Joseph Myers <joseph@codesourcery.com>
15993
15994 * configure.ac (old_glibc_headers): Remove configure test.
15995 * configure: Regenerated.
15996 * config.make.in (old-glibc-headers): Remove variable.
15997 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
15998 (install): Remove dependency on remove-old-headers.
15999 (headers2_0): Remove variable.
16000 (remove-old-headers): Remove rule.
16001
16002 * configure.ac (libc_cv_dot_text): Remove configure test.
16003 (libc_cv_asm_set_directive): Use .text instead of
16004 ${libc_cv_dot_text} in configure test.
16005 * configure: Regenerated.
16006
16007 2015-10-26 Florian Weimer <fweimer@redhat.com>
16008
16009 [BZ #19168]
16010 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16011
16012 2015-10-26 Florian Weimer <fweimer@redhat.com>
16013
16014 * configure.ac (CXX): Clear the variable if the C++ toolchain does
16015 not support static linking.
16016 * configure: Regenerate.
16017
16018 2015-10-23 Joseph Myers <joseph@codesourcery.com>
16019
16020 * math/libm-test.inc (check_float_internal): Do not special-case
16021 errors up to 0.5 ulp.
16022
16023 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16024 log2.
16025 * math/auto-libm-test-out: Regenerated.
16026 * math/libm-test.inc (MAX_EXP): New macro.
16027 (ilogb_test_data): Add more tests.
16028 (isfinite_test_data): Likewise.
16029 (isgreater_test_data): Likewise.
16030 (isgreaterequal_test_data): Likewise.
16031 (isinf_test_data): Likewise.
16032 (isless_test_data): Likewise.
16033 (islessequal_test_data): Likewise.
16034 (islessgreater_test_data): Likewise.
16035 (isnan_test_data): Likewise.
16036 (isnormal_test_data): Likewise.
16037 (issignaling_test_data): Likewise.
16038 (isunordered_test_data): Likewise.
16039 (j0_test_data): Likewise.
16040 (j1_test_data): Likewise.
16041 (jn_test_data): Likewise.
16042 (lgamma_test_data): Likewise.
16043 (log_test_data): Likewise.
16044 (log10_test_data): Likewise.
16045 (log1p_test_data): Likewise.
16046 (log2_test_data): Likewise.
16047 (logb_test_data): Likewise.
16048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16049
16050 [BZ #18611]
16051 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16052 avoid excess range and precision on underflow.
16053 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16054 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16055 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16056 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16057 underflow.
16058 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16059 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16060 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16061 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16062 * math/auto-libm-test-in: Do not allow missing errno setting for
16063 tests of j1 and jn.
16064 * math/auto-libm-test-out: Regenerated.
16065
16066 2015-10-22 Joseph Myers <joseph@codesourcery.com>
16067
16068 [BZ #15491]
16069 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16070 floating-point environment instead of clearing all exceptions.
16071 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16072 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16073 merging in "invalid" exceptions from frndint.
16074 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16075 * math/test-nearbyint-except.c: New file.
16076 * math/Makefile (tests): Add test-nearbyint-except.
16077
16078 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
16079
16080 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16081
16082 * sysdeps/tile/libm-test-ulps: Regenerated.
16083
16084 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16085
16086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16087 (__NR_sync_file_range2): Assume it is always defined.
16088 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16089 (__NR_sync_file_range): Assume it is always defined.
16090
16091 2015-10-22 Andreas Schwab <schwab@suse.de>
16092
16093 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16094 INTERNAL_SYSCALL_ERRNO.
16095 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16096 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16097 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16098 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16099 Likewise.
16100 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16101
16102 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16103
16104 * io/tst-fcntl.c (fd): New static variable.
16105 (do_prepare): Open temporary file here....
16106 (do_test): ...not here.
16107
16108 * io/ftwtest-sh: Also trap on exit to remove temporary files.
16109
16110 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16111
16112 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16113 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16114 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16115 Moved before "#ifdef __ASSEMBLER__".
16116
16117 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16118
16119 [BZ #19156]
16120 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16121 arguments very close to 0.
16122
16123 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
16124
16125 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16126 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16127
16128 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
16129
16130 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16131 New. Defined for GCC 5 and above when not compiling for
16132 profiling.
16133 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16134
16135 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16136 Renamed to ...
16137 (CFLAGS-epoll_pwait.o): This.
16138 (CFLAGS-mmap.c): Renamed to ...
16139 (CFLAGS-mmap.o): This.
16140 (CFLAGS-mmap64.c): Renamed to ...
16141 (CFLAGS-mmap64.o): This.
16142 (CFLAGS-epoll_pwait.os): New.
16143 (CFLAGS-mmap.os): Likewise.
16144 (CFLAGS-mmap64.os): Likewise.
16145 (CFLAGS-semtimedop.os): Likewise.
16146 (CFLAGS-semtimedop.c): Renamed to ...
16147 (CFLAGS-semtimedop.o): This.
16148
16149 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16150
16151 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16152 warning message.
16153
16154 2015-10-21 Joseph Myers <joseph@codesourcery.com>
16155
16156 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16157 * Makefile ($(objpfx)c++-types-check.out): Filter out
16158 $(+gccwarn-c) instead of -Wstrict-prototypes.
16159
16160 * io/fts.c (fts_open): Convert to prototype-style function
16161 definition.
16162 * malloc/mcheck.c (mcheck): Likewise.
16163 (mcheck_pedantic): Likewise.
16164 * posix/regexec.c (re_search_2_stub): Likewise. Use
16165 internal_function.
16166 (re_search_internal): Likewise.
16167 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16168 prototype-style function definition.
16169 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16170 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16171 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16172 (xdr_utmpptr): Likewise.
16173 (xdr_utmparr): Likewise.
16174 (xdr_utmpidle): Likewise.
16175 (xdr_utmpidleptr): Likewise.
16176 (xdr_utmpidlearr): Likewise.
16177
16178 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16179 log, log10 and log2.
16180 * math/auto-libm-test-out: Regenerated.
16181 * math/libm-test.inc (fmod_test_data): Add more tests.
16182 (fpclassify_test_data): Likewise.
16183 (frexp_test_data): Likewise.
16184 (hypot_test_data): Likewise.
16185 (ilogb_test_data): Likewise.
16186
16187 2015-10-20 Joseph Myers <joseph@codesourcery.com>
16188
16189 * debug/fortify_fail.c (__fortify_fail): Convert to
16190 prototype-style function definition. Use internal_function.
16191 * libio/genops.c (save_for_backup): Convert to prototype-style
16192 function definition.
16193 * libio/wgenops.c (save_for_wbackup): Likewise.
16194 * login/grantpt.c (grantpt): Likewise.
16195 * login/ptsname.c (ptsname): Likewise.
16196 (__ptsname_r): Likewise.
16197 * login/unlockpt.c (unlockpt): Likewise.
16198 * mach/msgserver.c (__mach_msg_server): Likewise.
16199 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16200 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16201 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16202 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16203 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16204 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16205 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16206 Likewise.
16207 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
16208 internal_function.
16209 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16210 prototype-style function definition.
16211 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16212 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16213 (__pthread_create_2_0): Likewise.
16214 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16215 * nptl/register-atfork.c (__register_atfork): Likewise.
16216 * posix/glob.c (glob): Likewise.
16217 * posix/regcomp.c (re_comp): Likewise.
16218 * posix/regexec.c (re_exec): Likewise.
16219 * stdlib/add_n.c [__STDC__]: Make code unconditional.
16220 [!__STDC__]: Remove conditional code.
16221 * stdlib/cmp.c [__STDC__]: Make code unconditional.
16222 [!__STDC__]: Remove conditional code.
16223 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16224 [!__STDC__]: Remove conditional code.
16225 * stdlib/divrem.c [__STDC__]: Make code unconditional.
16226 [!__STDC__]: Remove conditional code.
16227 * stdlib/lshift.c [__STDC__]: Make code unconditional.
16228 [!__STDC__]: Remove conditional code.
16229 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16230 [!__STDC__]: Remove conditional code.
16231 * stdlib/mul.c [__STDC__]: Make code unconditional.
16232 [!__STDC__]: Remove conditional code.
16233 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16234 [!__STDC__]: Remove conditional code.
16235 * stdlib/rshift.c [__STDC__]: Make code unconditional.
16236 [!__STDC__]: Remove conditional code.
16237 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16238 function definition.
16239 (STRTOF): Likewise.
16240 * stdlib/strtod_l.c (__STRTOF): Likewise.
16241 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16242 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16243 (__strtol_l): Likewise.
16244 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16245 [!__STDC__]: Remove conditional code.
16246 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16247 definition.
16248 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16249 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16250 type.
16251 (__strcasecmp): Convert to prototype-style function definition.
16252 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16253 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16254 type.
16255 (__strncasecmp): Convert to prototype-style function definition.
16256 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16257 * sunrpc/xdr.c (xdr_union): Likewise.
16258 * sunrpc/xdr_array.c (xdr_array): Likewise.
16259 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16260 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16261 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16262 Likewise.
16263 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16264 Likewise.
16265 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16266 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16267 Likewise.
16268 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16269 (LOCALE_PARAM_PROTO): Likewise.
16270 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16271 argument type.
16272 (ut_argument_spec): Remove macro.
16273 (ut_argument_spec_iso): Rename to ut_argument_spec.
16274 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
16275 prototype-style function definition.
16276 (memcpy_uppcase): Likewise.
16277 (__strftime_internal): Likewise.
16278 (my_strftime): Likewise.
16279 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16280 (LOCALE_PARAM_DECL): Likewise.
16281 [_LIBC] (LOCALE_PARAM): Include argument type.
16282 (__strptime_internal): Convert to prototype-style function
16283 definition.
16284 (strptime): Likewise.
16285 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16286 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16287 type.
16288 (__wcscasecmp): Convert to prototype-style function definition.
16289 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16290 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16291 type.
16292 (__wcsncasecmp): Convert to prototype-style function definition.
16293
16294 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16295 function definition.
16296 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16297 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16298 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16299 * elf/dl-minimal.c (_itoa): Likewise.
16300 * hurd/hurdmalloc.c (malloc): Likewise.
16301 (free): Likewise.
16302 (realloc): Likewise.
16303 * inet/inet6_option.c (inet6_option_space): Likewise.
16304 (inet6_option_init): Likewise.
16305 (inet6_option_append): Likewise.
16306 (inet6_option_alloc): Likewise.
16307 (inet6_option_next): Likewise.
16308 (inet6_option_find): Likewise.
16309 * io/ftw.c (FTW_NAME): Likewise.
16310 (NFTW_NAME): Likewise.
16311 (NFTW_NEW_NAME): Likewise.
16312 (NFTW_OLD_NAME): Likewise.
16313 * libio/iofwide.c (_IO_fwide): Likewise.
16314 * libio/strops.c (_IO_str_init_static_internal): Likewise.
16315 (_IO_str_init_static): Likewise.
16316 (_IO_str_init_readonly): Likewise.
16317 (_IO_str_overflow): Likewise.
16318 (_IO_str_underflow): Likewise.
16319 (_IO_str_count): Likewise.
16320 (_IO_str_seekoff): Likewise.
16321 (_IO_str_pbackfail): Likewise.
16322 (_IO_str_finish): Likewise.
16323 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16324 (_IO_wstr_overflow): Likewise.
16325 (_IO_wstr_underflow): Likewise.
16326 (_IO_wstr_count): Likewise.
16327 (_IO_wstr_seekoff): Likewise.
16328 (_IO_wstr_pbackfail): Likewise.
16329 (_IO_wstr_finish): Likewise.
16330 * locale/programs/localedef.c (normalize_codeset): Likewise.
16331 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16332 (add_locales_to_archive): Likewise.
16333 (delete_locales_from_archive): Likewise.
16334 * malloc/malloc.c (__libc_mallinfo): Likewise.
16335 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16336 * misc/tsearch.c (__tfind): Likewise.
16337 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16338 * nptl/pthread_attr_getdetachstate.c
16339 (__pthread_attr_getdetachstate): Likewise.
16340 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16341 Likewise.
16342 * nptl/pthread_attr_getinheritsched.c
16343 (__pthread_attr_getinheritsched): Likewise.
16344 * nptl/pthread_attr_getschedparam.c
16345 (__pthread_attr_getschedparam): Likewise.
16346 * nptl/pthread_attr_getschedpolicy.c
16347 (__pthread_attr_getschedpolicy): Likewise.
16348 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16349 Likewise.
16350 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16351 Likewise.
16352 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16353 Likewise.
16354 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16355 Likewise.
16356 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16357 (__pthread_attr_init_2_0): Likewise.
16358 * nptl/pthread_attr_setdetachstate.c
16359 (__pthread_attr_setdetachstate): Likewise.
16360 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16361 Likewise.
16362 * nptl/pthread_attr_setinheritsched.c
16363 (__pthread_attr_setinheritsched): Likewise.
16364 * nptl/pthread_attr_setschedparam.c
16365 (__pthread_attr_setschedparam): Likewise.
16366 * nptl/pthread_attr_setschedpolicy.c
16367 (__pthread_attr_setschedpolicy): Likewise.
16368 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16369 Likewise.
16370 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16371 Likewise.
16372 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16373 Likewise.
16374 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16375 Likewise.
16376 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16377 Likewise.
16378 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16379 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16380 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16381 use internal_function.
16382 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16383 prototype-style function definition.
16384 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16385 (__pthread_mutex_cond_lock_adjust): Likewise. Use
16386 internal_function.
16387 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16388 Convert to prototype-style function definition.
16389 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16390 Likewise.
16391 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16392 Likewise.
16393 (__pthread_mutex_unlock): Likewise.
16394 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16395 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16396 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16397 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16398 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16399 * nss/makedb.c (process_input): Likewise.
16400 * posix/fnmatch.c (__strchrnul): Likewise.
16401 (__wcschrnul): Likewise.
16402 (fnmatch): Likewise.
16403 * posix/fnmatch_loop.c (FCT): Likewise.
16404 * posix/glob.c (globfree): Likewise.
16405 (__glob_pattern_type): Likewise.
16406 (__glob_pattern_p): Likewise.
16407 * posix/regcomp.c (re_compile_pattern): Likewise.
16408 (re_set_syntax): Likewise.
16409 (re_compile_fastmap): Likewise.
16410 (regcomp): Likewise.
16411 (regerror): Likewise.
16412 (regfree): Likewise.
16413 * posix/regexec.c (regexec): Likewise.
16414 (re_match): Likewise.
16415 (re_search): Likewise.
16416 (re_match_2): Likewise.
16417 (re_search_2): Likewise.
16418 (re_search_stub): Likewise. Use internal_function
16419 (re_copy_regs): Likewise.
16420 (re_set_registers): Convert to prototype-style function
16421 definition.
16422 (prune_impossible_nodes): Likewise. Use internal_function.
16423 * resolv/inet_net_pton.c (inet_net_pton): Convert to
16424 prototype-style function definition.
16425 (inet_net_pton_ipv4): Likewise.
16426 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16427 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16428 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16429 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16430 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16431 Make variadic.
16432 * time/strptime_l.c (localtime_r): Convert to prototype-style
16433 function definition.
16434 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16435 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16436 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16437 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16438
16439 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16440 definition.
16441 (_ufc_doit_r): Likewise.
16442 * crypt/crypt_util.c (_ufc_copymem): Likewise.
16443 (_ufc_output_conversion_r): Likewise.
16444 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16445 * inet/rcmd.c (rcmd_af): Likewise.
16446 (rcmd): Likewise.
16447 (ruserok_af): Likewise.
16448 (ruserok): Likewise.
16449 (ruserok2_sa): Likewise.
16450 (ruserok_sa): Likewise.
16451 (iruserok_af): Likewise.
16452 (iruserok): Likewise.
16453 (__ivaliduser): Likewise.
16454 (__validuser2_sa): Likewise.
16455 * inet/rexec.c (rexec_af): Likewise.
16456 (rexec): Likewise.
16457 * inet/ruserpass.c (ruserpass): Likewise.
16458 * locale/programs/xmalloc.c (xcalloc): Likewise.
16459 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16460 * math/w_drem.c (__drem): Likewise.
16461 * math/w_dremf.c (__dremf): Likewise.
16462 * math/w_dreml.c (__dreml): Likewise.
16463 * misc/daemon.c (daemon): Likewise.
16464 * resolv/res_debug.c (p_fqnname): Likewise.
16465 * stdlib/div.c (div): Likewise.
16466 * string/memcmp.c (memcmp_bytes): Likewise.
16467 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16468 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16469
16470 * crypt/cert.c (main): Convert to prototype-style function
16471 definition.
16472 * io/pipe.c (__pipe): Likewise.
16473 * io/pipe2.c (__pipe2): Likewise.
16474 * misc/futimesat.c (futimesat): Likewise.
16475 * misc/utimes.c (__utimes): Likewise.
16476 * posix/execve.c (__execve): Likewise.
16477 * posix/execvp.c (execvp): Likewise.
16478 * posix/execvpe.c (__execvpe): Likewise.
16479 * posix/fexecve.c (fexecve): Likewise.
16480 * socket/socketpair.c (socketpair): Likewise.
16481 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16482 * stdlib/erand48.c (erand48): Likewise.
16483 * stdlib/erand48_r.c (__erand48_r): Likewise.
16484 * stdlib/jrand48.c (jrand48): Likewise.
16485 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16486 * stdlib/lcong48.c (lcong48): Likewise.
16487 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16488 * stdlib/nrand48.c (nrand48): Likewise.
16489 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16490 * stdlib/seed48.c (seed48): Likewise.
16491 * stdlib/seed48_r.c (__seed48_r): Likewise.
16492 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16493 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16494 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16495
16496 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16497
16498 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16499 * configure: Regenerated.
16500 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16501 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16502 unconditional.
16503 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16504 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16505 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16506 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16507 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16508 unconditional.
16509 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16510
16511 * posix/Makefile (CFLAGS-regex.c): Remove variable.
16512 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16513
16514 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16515 function definition.
16516 * crypt/crypt_util.c (__encrypt_r): Likewise.
16517 * libio/genops.c (_IO_no_init): Likewise.
16518 * libio/iofopncook.c (_IO_fopencookie): Likewise.
16519 (_IO_old_fopencookie): Likewise.
16520 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16521 * libio/iogetline.c (_IO_getline): Likewise.
16522 (_IO_getline_info): Likewise.
16523 * libio/iogetwline.c (_IO_getwline): Likewise.
16524 (_IO_getwline_info): Likewise.
16525 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16526 * libio/vswprintf.c (_IO_vswprintf): Likewise.
16527 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16528 (find_entry): Likewise.
16529 (iterate_table): Likewise.
16530 (lookup): Likewise.
16531 * login/forkpty.c (forkpty): Likewise.
16532 * misc/hsearch_r.c (__hsearch_r): Likewise.
16533 * misc/select.c (__select): Likewise.
16534 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16535 Likewise.
16536 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16537 Likewise.
16538 * nptl/old_pthread_cond_timedwait.c
16539 (__pthread_cond_timedwait_2_0): Likewise.
16540 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16541 * nptl/pthread_barrierattr_getpshared.c
16542 (pthread_barrierattr_getpshared): Likewise.
16543 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16544 Likewise.
16545 * nptl/pthread_mutex_setprioceiling.c
16546 (pthread_mutex_setprioceiling): Likewise.
16547 * nptl/pthread_mutexattr_getprioceiling.c
16548 (pthread_mutexattr_getprioceiling): Likewise.
16549 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16550 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16551 Likewise.
16552 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16553 Likewise.
16554 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16555 Likewise.
16556 * socket/recvfrom.c (__recvfrom): Likewise.
16557 * socket/sendto.c (__sendto): Likewise.
16558 * socket/setsockopt.c (__setsockopt): Likewise.
16559 * stdio-common/_itoa.c (_itoa): Likewise.
16560 * stdio-common/_itowa.c (_itowa): Likewise.
16561 * stdio-common/reg-printf.c (__register_printf_specifier):
16562 Likewise.
16563 (__register_printf_function): Likewise.
16564 * stdio-common/tempname.c (__path_search): Likewise.
16565 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16566 * stdlib/mul_1.c (mpn_mul_1): Likewise.
16567 * stdlib/random_r.c (__initstate_r): Likewise.
16568 * stdlib/setenv.c (__add_to_environ): Likewise.
16569 * stdlib/submul_1.c (mpn_submul_1): Likewise.
16570 * streams/getpmsg.c (getpmsg): Likewise.
16571 * streams/putmsg.c (putmsg): Likewise.
16572 * streams/putpmsg.c (putpmsg): Likewise.
16573 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16574 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16575 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16576 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16577 * sunrpc/pm_getport.c (pmap_getport): Likewise.
16578 * sunrpc/svc_udp.c (cache_get): Likewise.
16579 * sunrpc/xdr_array.c (xdr_vector): Likewise.
16580 * sysdeps/mach/hurd/getcwd.c
16581 (__canonicalize_directory_name_internal): Likewise.
16582 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16583 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16584 * sysdeps/mach/hurd/select.c (__select): Likewise.
16585 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16586 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16587 * sysdeps/sparc/nptl/pthread_barrier_init.c
16588 (__pthread_barrier_init): Likewise.
16589 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16590 (__pthread_cond_timedwait): Likewise.
16591 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16592 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16593 Likewise.
16594 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16595 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16596 Likewise.
16597 * sysvipc/semtimedop.c (semtimedop): Likewise.
16598 * time/setitimer.c (__setitimer): Likewise.
16599 * time/strftime_l.c (emacs_strftime): Likewise.
16600
16601 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16602
16603 * config.make.in (have-ssp): Delete.
16604 (stack-protector): New variable.
16605 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
16606 cache test for -fstack-protector-strong. Export stack_protector to
16607 the best ssp flag.
16608 * configure: Regenerated.
16609 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16610 * nscd/Makefile (CFLAGS-nscd): Likewise.
16611 * resolv/Makefile (CFLAGS-libresolv): Likewise.
16612
16613 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
16614
16615 [BZ #19122]
16616 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16617 attribute_hidden.
16618
16619 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16620
16621 [BZ #18743]
16622 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16623 code to...
16624 (ELIDE_LOCK): ...here.
16625 (__get_new_count): New function with part of the code from
16626 __elide_lock that updates the value of adapt_count after a
16627 transaction abort.
16628 (__elided_trylock): Moved this code to...
16629 (ELIDE_TRYLOCK): ...here.
16630
16631 2015-10-19 Mike Frysinger <vapier@gentoo.org>
16632
16633 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16634 * configure: Regenerate.
16635 * INSTALL: Regenerate.
16636 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16637 and tweak grammar.
16638
16639 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
16640
16641 * login/programs/pt_chown.c: Include signal.h
16642 (main): Clear any signal mask from the parent process.
16643
16644 2015-10-19 Joseph Myers <joseph@codesourcery.com>
16645
16646 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16647 * configure: Regenerated.
16648 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16649 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16650 $(gnu89-inline-CFLAGS).
16651
16652 * configure.ac (libc_cv_asm_weak_directive): Remove configure
16653 test.
16654 (libc_cv_asm_weakext_directive): Likewise.
16655 * configure: Regenerated.
16656 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16657 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16658 * include/libc-symbols.h
16659 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16660 #error.
16661 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16662 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16663
16664 * sysdeps/arm/backtrace.c (__backtrace): Convert to
16665 prototype-style function definition.
16666 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16667 * sysdeps/i386/ffs.c (__ffs): Likewise.
16668 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16669 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16670 Likewise.
16671 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16672 Likewise.
16673 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16675 Likewise.
16676 * sysdeps/m68k/ffs.c (__ffs): Likewise.
16677 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16678 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16679 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16680 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16681 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16682 * sysdeps/mach/hurd/access.c (__access): Likewise.
16683 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16684 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16685 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16686 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16687 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16688 (cthread_getspecific): Likewise.
16689 (cthread_setspecific): Likewise.
16690 (__libc_getspecific): Likewise.
16691 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16692 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16693 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16694 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16695 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16696 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16697 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16698 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16699 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16700 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16701 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16702 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16703 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16704 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16705 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16706 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16707 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16708 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16709 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16710 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16711 * sysdeps/mach/hurd/link.c (__link): Likewise.
16712 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16713 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16714 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16715 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16716 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16717 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16718 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16719 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16720 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16721 * sysdeps/mach/hurd/rename.c (rename): Likewise.
16722 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16723 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16724 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16725 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16726 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16727 * sysdeps/mach/hurd/send.c (__send): Likewise.
16728 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16729 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16730 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16731 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16732 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16733 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16734 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16735 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16736 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16737 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16738 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16739 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16740 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16741 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16742 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16743 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16744 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16745 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16746 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16747 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16748 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16749 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16750 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16751 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16752 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16753 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16754 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16755 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16756 * sysdeps/posix/alarm.c (alarm): Likewise.
16757 * sysdeps/posix/cuserid.c (cuserid): Likewise.
16758 * sysdeps/posix/dirfd.c (dirfd): Likewise.
16759 * sysdeps/posix/dup.c (__dup): Likewise.
16760 * sysdeps/posix/dup2.c (__dup2): Likewise.
16761 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16762 (main): Likewise.
16763 * sysdeps/posix/flock.c (__flock): Likewise.
16764 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16765 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16766 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16767 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16768 * sysdeps/posix/isatty.c (__isatty): Likewise.
16769 * sysdeps/posix/killpg.c (killpg): Likewise.
16770 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16771 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16772 * sysdeps/posix/raise.c (raise): Likewise.
16773 * sysdeps/posix/remove.c (remove): Likewise.
16774 * sysdeps/posix/rename.c (rename): Likewise.
16775 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16776 * sysdeps/posix/seekdir.c (seekdir): Likewise.
16777 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16778 * sysdeps/posix/sigignore.c (sigignore): Likewise.
16779 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16780 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16781 * sysdeps/posix/sigset.c (sigset): Likewise.
16782 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16783 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16784 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16785 * sysdeps/posix/time.c (time): Likewise.
16786 * sysdeps/posix/ttyname.c (getttyname): Likewise.
16787 (ttyname): Likewise.
16788 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16789 * sysdeps/posix/utime.c (utime): Likewise.
16790 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16791 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16792 Likewise.
16793 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16794 (pthread_spin_trylock): Likewise.
16795 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16796 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16797 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16798 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16799 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16800 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16801 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16802 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16803 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16804 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16805 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16806 * sysdeps/s390/ffs.c (__ffs): Likewise.
16807 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16808 Likewise.
16809 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16810 Likewise.
16811 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16812 Likewise.
16813 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16814 (pthread_barrier_destroy): Likewise.
16815 * sysdeps/sparc/nptl/pthread_barrier_wait.c
16816 (__pthread_barrier_wait): Likewise.
16817 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16818 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16819 (__pthread_barrier_wait): Likewise.
16820 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16821 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16822 (memcmp_not_common_alignment): Likewise.
16823 (MEMCMP): Likewise.
16824 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16825 (_wordcopy_fwd_dest_aligned): Likewise.
16826 (_wordcopy_bwd_aligned): Likewise.
16827 (_wordcopy_bwd_dest_aligned): Likewise.
16828 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16829 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16830 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16831 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16832 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16833 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16834 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16835 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16836 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16837 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16838 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16839 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16840 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16841 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16842 * sysdeps/unix/stime.c (stime): Likewise.
16843 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16844 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16845 Likewise. Use internal_function.
16846 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16847 Convert to prototype-style function definition.
16848 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16849 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16850 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16851 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16852 Likewise. Use internal_function.
16853 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16854 prototype-style function definition
16855 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16856 Likewise.
16857 (__getlogin_r): Likewise.
16858 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16859 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16860 (__pthread_cond_broadcast): Likewise.
16861 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16862 (__pthread_cond_destroy): Likewise.
16863 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16864 (__pthread_cond_init): Likewise.
16865 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16866 (__pthread_cond_signal): Likewise.
16867 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16868 (__pthread_cond_wait): Likewise.
16869 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16870 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16871 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16872 Likewise.
16873 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16874 Likewise.
16875 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16876 Likewise.
16877 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16878 Likewise.
16879 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16881 (__ftruncate64): Likewise.
16882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16883 (truncate64): Likewise.
16884 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16885 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16886 (pthread_getcpuclockid): Likewise.
16887 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16888 Likewise.
16889 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16890 Likewise.
16891 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16892 Likewise.
16893 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16894 Likewise.
16895 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16896 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16897 (__libc_sigaction): Likewise.
16898 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16899 Likewise.
16900 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16901 (__sigprocmask): Likewise.
16902 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16903 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16904 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16906 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16907 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16908 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16909 Likewise.
16910 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16911 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16912 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16913 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
16914 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
16915 Likewise.
16916 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16917 (__sigprocmask): Likewise.
16918 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
16919 (cfgetispeed): Likewise.
16920 (cfsetospeed): Likewise.
16921 (cfsetispeed): Likewise.
16922 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
16923 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
16924 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16925 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16926 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
16927 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
16928 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
16929 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
16930 Likewise.
16931 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
16932 Likewise.
16933 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
16934 Likewise.
16935 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
16936 Likewise.
16937 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16938
16939 2015-10-17 Florian Weimer <fweimer@redhat.com>
16940
16941 sunrpc: Rewrite with explicit TLS access using __thread.
16942 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
16943 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
16944 directly.
16945 (__rpc_thread_variables): Access thread_rpc_vars directly.
16946 Eliminate redundant assignment of the tvp variable.
16947
16948 2015-10-17 Florian Weimer <fweimer@redhat.com>
16949
16950 malloc: Rewrite with explicit TLS access using __thread.
16951 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
16952 (tsd_setspecific, tsd_getspecific): Remove.
16953 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
16954 (tsd_setspecific, tsd_getspecific): Likewise.
16955 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
16956 (tsd_setspecific, tsd_getspecific): Likewise.
16957 * malloc/arena.c (thread_arena): New TLS variable.
16958 (arena_key): Remove variable.
16959 (arena_get): Use thread_arena.
16960 (arena_lookup): Remove macro.
16961 (malloc_atfork, free_atfork, ptmalloc_lock_all)
16962 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
16963 (_int_new_arena, get_free_list, reused_arena)
16964 (arena_thread_freeres): Use thread_arena.
16965 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
16966 tsd_getspecific, tsd_setspecific from safety annotations.
16967 (Allocating Cleared Space): Remove arena_lookup from safety
16968 annotations.
16969
16970 2015-10-17 Florian Weimer <fweimer@redhat.com>
16971
16972 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
16973 struct scratch_buffer instead of extend_alloca.
16974
16975 2015-10-17 Florian Weimer <fweimer@redhat.com>
16976
16977 * sysdeps/unix/sysv/linux/kernel-features.h
16978 (__ASSUME_SOCK_CLOEXEC): Remove.
16979 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
16980 (__have_paccept): Remove unused macro.
16981 * include/unistd.h (__have_sock_cloexec): Remove declaration.
16982 * misc/syslog.c (openlog_internal): Remove fallback code for
16983 !__ASSUME_SOCK_CLOEXEC.
16984 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
16985 missing SOCK_CLOEXEC.
16986 * nscd/connections.c (have_sock_cloexec): Remove definition.
16987 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16988 * nscd/nscd_helper.c (open_socket): Remove fallback code for
16989 !__ASSUME_SOCK_CLOEXEC.
16990 * resolv/res_send.c (__have_o_nonblock): Remove definition.
16991 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
16992 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
16993 definition.
16994 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
16995 code for !__ASSUME_SOCK_CLOEXEC.
16996
16997 2015-10-17 Florian Weimer <fweimer@redhat.com>
16998
16999 [BZ #18982]
17000 * manual/stdio.texi (Variable Arguments Output): Add portability
17001 note, explaining that vfprintf clobbers the va_list pointer.
17002
17003 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17004
17005 * math/libm-test.inc (fabs_test_data): Add more tests.
17006 (fdim_test_data): Likewise.
17007 (fma_test_data): Likewise.
17008 (fmax_test_data): Likewise.
17009 (fmin_test_data): Likewise.
17010 (fmod_test_data): Likewise.
17011
17012 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
17013
17014 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
17015 data.
17016
17017 2015-10-16 Joseph Myers <joseph@codesourcery.com>
17018
17019 * math/libm-test.inc (ceil_test_data): Add more tests and more
17020 expectations for "inexact".
17021 (floor_test_data): Add more tests.
17022 (round_test_data): Likewise.
17023 (trunc_test_data): Likewise.
17024
17025 * crypt/cert.c (good_bye): Convert to prototype-style function
17026 definition.
17027 (get8): Likewise.
17028 (put8): Likewise.
17029 * crypt/crypt-entry.c (crypt): Likewise.
17030 (__fcrypt): Likewise.
17031 * crypt/crypt_util.c (_ufc_prbits): Likewise.
17032 (_ufc_set_bits): Likewise.
17033 (_ufc_clearmem): Likewise.
17034 (__init_des_r): Likewise.
17035 (shuffle_sb): Likewise.
17036 (shuffle_sb): Likewise.
17037 (_ufc_setup_salt_r): Likewise.
17038 (_ufc_mk_keytab_r): Likewise.
17039 (_ufc_dofinalperm_r): Likewise.
17040 (encrypt): Likewise.
17041 (__setkey_r): Likewise.
17042 (setkey): Likewise.
17043 * crypt/md5.c (md5_init_ctx): Likewise.
17044 (md5_read_ctx): Likewise.
17045 (md5_finish_ctx): Likewise.
17046 (md5_stream): Likewise.
17047 (md5_buffer): Likewise.
17048 (md5_process_bytes): Likewise.
17049 * crypt/sha256.c (__sha256_init_ctx): Likewise.
17050 (__sha256_finish_ctx): Likewise.
17051 (__sha256_process_bytes): Likewise.
17052 * crypt/sha512.c (__sha512_init_ctx): Likewise.
17053 (__sha512_finish_ctx): Likewise.
17054 (__sha512_process_bytes): Likewise.
17055 * ctype/isctype.c (__isctype): Likewise.
17056 * debug/backtrace.c (__backtrace): Likewise.
17057 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17058 * debug/fgets_chk.c (__fgets_chk): Likewise.
17059 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17060 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17061 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17062 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17063 * debug/memset_chk.c (__memset_chk): Likewise.
17064 * debug/strcat_chk.c (__strcat_chk): Likewise.
17065 * debug/strncat_chk.c (__strncat_chk): Likewise.
17066 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17067 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17068 * dirent/dirfd.c (dirfd): Likewise.
17069 * dirent/getdents.c (__getdirentries): Likewise.
17070 * dirent/getdents64.c (getdirentries64): Likewise.
17071 * dirent/rewinddir.c (__rewinddir): Likewise.
17072 * dirent/seekdir.c (seekdir): Likewise.
17073 * dirent/telldir.c (telldir): Likewise.
17074 * elf/sln.c (makesymlinks): Likewise.
17075 (makesymlink): Likewise.
17076 * gmon/gmon.c (__moncontrol): Likewise.
17077 (__monstartup): Likewise.
17078 (write_hist): Likewise.
17079 (write_call_graph): Likewise.
17080 (write_bb_counts): Likewise.
17081 * grp/setgroups.c (setgroups): Likewise.
17082 * inet/inet_lnaof.c (inet_lnaof): Likewise.
17083 * inet/inet_net.c (inet_network): Likewise.
17084 * inet/inet_netof.c (inet_netof): Likewise.
17085 * inet/rcmd.c (rresvport_af): Likewise.
17086 (rresvport): Likewise.
17087 * io/access.c (__access): Likewise.
17088 * io/chdir.c (__chdir): Likewise.
17089 * io/chmod.c (__chmod): Likewise.
17090 * io/chown.c (__chown): Likewise.
17091 * io/close.c (__close): Likewise.
17092 * io/creat.c (creat): Likewise.
17093 * io/creat64.c (creat64): Likewise.
17094 * io/dup.c (__dup): Likewise.
17095 * io/dup2.c (__dup2): Likewise.
17096 * io/dup3.c (__dup3): Likewise.
17097 * io/euidaccess.c (__euidaccess): Likewise.
17098 * io/faccessat.c (faccessat): Likewise.
17099 * io/fchmod.c (__fchmod): Likewise.
17100 * io/fchmodat.c (fchmodat): Likewise.
17101 * io/fchown.c (__fchown): Likewise.
17102 * io/fchownat.c (fchownat): Likewise.
17103 * io/fcntl.c (__fcntl): Likewise.
17104 * io/flock.c (__flock): Likewise.
17105 * io/fts.c (fts_load): Likewise.
17106 (fts_close): Likewise.
17107 (fts_read): Likewise.
17108 (fts_set): Likewise.
17109 (fts_children): Likewise.
17110 (fts_build): Likewise.
17111 (fts_stat): Likewise.
17112 (fts_sort): Likewise.
17113 (fts_alloc): Likewise.
17114 (fts_lfree): Likewise.
17115 (fts_palloc): Likewise.
17116 (fts_padjust): Likewise.
17117 (fts_maxarglen): Likewise.
17118 (fts_safe_changedir): Likewise.
17119 * io/getwd.c (getwd): Likewise.
17120 * io/isatty.c (__isatty): Likewise.
17121 * io/lchown.c (__lchown): Likewise.
17122 * io/link.c (__link): Likewise.
17123 * io/linkat.c (linkat): Likewise.
17124 * io/lseek.c (__libc_lseek): Likewise.
17125 * io/mkdir.c (__mkdir): Likewise.
17126 * io/mkdirat.c (mkdirat): Likewise.
17127 * io/mkfifo.c (mkfifo): Likewise.
17128 * io/mkfifoat.c (mkfifoat): Likewise.
17129 * io/open.c (__libc_open): Likewise.
17130 * io/open64.c (__libc_open64): Likewise.
17131 * io/readlink.c (__readlink): Likewise.
17132 * io/readlinkat.c (readlinkat): Likewise.
17133 * io/rmdir.c (__rmdir): Likewise.
17134 * io/symlink.c (__symlink): Likewise.
17135 * io/symlinkat.c (symlinkat): Likewise.
17136 * io/ttyname.c (ttyname): Likewise.
17137 * io/ttyname_r.c (__ttyname_r): Likewise.
17138 * io/umask.c (__umask): Likewise.
17139 * io/unlink.c (__unlink): Likewise.
17140 * io/unlinkat.c (unlinkat): Likewise.
17141 * io/utime.c (utime): Likewise.
17142 * libio/clearerr.c (clearerr): Likewise.
17143 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17144 * libio/feof.c (_IO_feof): Likewise.
17145 * libio/feof_u.c (feof_unlocked): Likewise.
17146 * libio/ferror.c (_IO_ferror): Likewise.
17147 * libio/ferror_u.c (ferror_unlocked): Likewise.
17148 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17149 * libio/fileno.c (__fileno): Likewise.
17150 * libio/fputc.c (fputc): Likewise.
17151 * libio/fputc_u.c (fputc_unlocked): Likewise.
17152 * libio/fputwc.c (fputwc): Likewise.
17153 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17154 * libio/freopen.c (freopen): Likewise.
17155 * libio/freopen64.c (freopen64): Likewise.
17156 * libio/fseek.c (fseek): Likewise.
17157 * libio/fseeko.c (fseeko): Likewise.
17158 * libio/fseeko64.c (fseeko64): Likewise.
17159 * libio/ftello.c (__ftello): Likewise.
17160 * libio/ftello64.c (ftello64): Likewise.
17161 * libio/fwide.c (fwide): Likewise.
17162 * libio/genops.c (_IO_un_link): Likewise.
17163 (_IO_link_in): Likewise.
17164 (_IO_least_marker): Likewise.
17165 (_IO_switch_to_main_get_area): Likewise.
17166 (_IO_switch_to_backup_area): Likewise.
17167 (_IO_switch_to_get_mode): Likewise.
17168 (_IO_free_backup_area): Likewise.
17169 (_IO_switch_to_put_mode): Likewise.
17170 (__overflow): Likewise.
17171 (__underflow): Likewise.
17172 (__uflow): Likewise.
17173 (_IO_setb): Likewise.
17174 (_IO_doallocbuf): Likewise.
17175 (_IO_default_underflow): Likewise.
17176 (_IO_default_uflow): Likewise.
17177 (_IO_default_xsputn): Likewise.
17178 (_IO_sgetn): Likewise.
17179 (_IO_default_xsgetn): Likewise.
17180 (_IO_sync): Likewise.
17181 (_IO_default_setbuf): Likewise.
17182 (_IO_default_seekpos): Likewise.
17183 (_IO_default_doallocate): Likewise.
17184 (_IO_init): Likewise.
17185 (_IO_old_init): Likewise.
17186 (_IO_default_sync): Likewise.
17187 (_IO_default_finish): Likewise.
17188 (_IO_default_seekoff): Likewise.
17189 (_IO_sputbackc): Likewise.
17190 (_IO_sungetc): Likewise.
17191 (_IO_set_column): Likewise.
17192 (_IO_set_column): Likewise.
17193 (_IO_adjust_column): Likewise.
17194 (_IO_get_column): Likewise.
17195 (_IO_init_marker): Likewise.
17196 (_IO_remove_marker): Likewise.
17197 (_IO_marker_difference): Likewise.
17198 (_IO_marker_delta): Likewise.
17199 (_IO_seekmark): Likewise.
17200 (_IO_unsave_markers): Likewise.
17201 (_IO_nobackup_pbackfail): Likewise.
17202 (_IO_default_pbackfail): Likewise.
17203 (_IO_default_seek): Likewise.
17204 (_IO_default_stat): Likewise.
17205 (_IO_default_read): Likewise.
17206 (_IO_default_write): Likewise.
17207 (_IO_default_showmanyc): Likewise.
17208 (_IO_default_imbue): Likewise.
17209 (_IO_iter_next): Likewise.
17210 (_IO_iter_file): Likewise.
17211 * libio/getc.c (_IO_getc): Likewise.
17212 * libio/getwc.c (_IO_getwc): Likewise.
17213 * libio/iofclose.c (_IO_new_fclose): Likewise.
17214 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17215 * libio/iofflush.c (_IO_fflush): Likewise.
17216 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17217 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17218 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17219 * libio/iofgets.c (_IO_fgets): Likewise.
17220 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17221 * libio/iofgetws.c (fgetws): Likewise.
17222 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17223 * libio/iofopen64.c (_IO_fopen64): Likewise.
17224 * libio/iofopncook.c (_IO_cookie_read): Likewise.
17225 (_IO_cookie_write): Likewise.
17226 (_IO_cookie_seek): Likewise.
17227 (_IO_cookie_close): Likewise.
17228 (_IO_cookie_seekoff): Likewise.
17229 (_IO_old_cookie_seek): Likewise.
17230 * libio/iofputs.c (_IO_fputs): Likewise.
17231 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17232 * libio/iofputws.c (fputws): Likewise.
17233 * libio/iofputws_u.c (fputws_unlocked): Likewise.
17234 * libio/iofread.c (_IO_fread): Likewise.
17235 * libio/iofread_u.c (__fread_unlocked): Likewise.
17236 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17237 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17238 * libio/ioftell.c (_IO_ftell): Likewise.
17239 * libio/iofwrite.c (_IO_fwrite): Likewise.
17240 * libio/iogetdelim.c (_IO_getdelim): Likewise.
17241 * libio/iogets.c (_IO_gets): Likewise.
17242 * libio/iopadn.c (_IO_padn): Likewise.
17243 * libio/iopopen.c (_IO_new_proc_open): Likewise.
17244 (_IO_new_popen): Likewise.
17245 (_IO_new_proc_close): Likewise.
17246 * libio/ioputs.c (_IO_puts): Likewise.
17247 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17248 (_IO_seekoff): Likewise.
17249 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17250 (_IO_seekpos): Likewise.
17251 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17252 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17253 * libio/ioungetc.c (_IO_ungetc): Likewise.
17254 * libio/ioungetwc.c (ungetwc): Likewise.
17255 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17256 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17257 * libio/iowpadn.c (_IO_wpadn): Likewise.
17258 * libio/libc_fatal.c (__libc_fatal): Likewise.
17259 * libio/memstream.c (__open_memstream): Likewise.
17260 (_IO_mem_sync): Likewise.
17261 (_IO_mem_finish): Likewise.
17262 * libio/oldfileops.c (_IO_old_file_init): Likewise.
17263 (_IO_old_file_close_it): Likewise.
17264 (_IO_old_file_finish): Likewise.
17265 (_IO_old_file_fopen): Likewise.
17266 (_IO_old_file_attach): Likewise.
17267 (_IO_old_file_setbuf): Likewise.
17268 (_IO_old_do_write): Likewise.
17269 (old_do_write): Likewise.
17270 (_IO_old_file_underflow): Likewise.
17271 (_IO_old_file_overflow): Likewise.
17272 (_IO_old_file_sync): Likewise.
17273 (_IO_old_file_seekoff): Likewise.
17274 (_IO_old_file_write): Likewise.
17275 (_IO_old_file_xsputn): Likewise.
17276 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17277 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17278 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17279 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17280 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17281 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17282 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17283 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17284 (_IO_old_popen): Likewise.
17285 (_IO_old_proc_close): Likewise.
17286 * libio/oldpclose.c (__old_pclose): Likewise.
17287 * libio/pclose.c (__new_pclose): Likewise.
17288 * libio/peekc.c (_IO_peekc_locked): Likewise.
17289 * libio/putc.c (_IO_putc): Likewise.
17290 * libio/putc_u.c (putc_unlocked): Likewise.
17291 * libio/putchar.c (putchar): Likewise.
17292 * libio/putchar_u.c (putchar_unlocked): Likewise.
17293 * libio/putwc.c (putwc): Likewise.
17294 * libio/putwc_u.c (putwc_unlocked): Likewise.
17295 * libio/putwchar.c (putwchar): Likewise.
17296 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17297 * libio/rewind.c (rewind): Likewise.
17298 * libio/setbuf.c (setbuf): Likewise.
17299 * libio/setlinebuf.c (setlinebuf): Likewise.
17300 * libio/vasprintf.c (_IO_vasprintf): Likewise.
17301 * libio/vscanf.c (_IO_vscanf): Likewise.
17302 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17303 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17304 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17305 * libio/wgenops.c (_IO_least_wmarker): Likewise.
17306 (_IO_switch_to_main_wget_area): Likewise.
17307 (_IO_switch_to_wbackup_area): Likewise.
17308 (_IO_wsetb): Likewise.
17309 (_IO_wdefault_pbackfail): Likewise.
17310 (_IO_wdefault_finish): Likewise.
17311 (_IO_wdefault_uflow): Likewise.
17312 (__woverflow): Likewise.
17313 (__wuflow): Likewise.
17314 (__wunderflow): Likewise.
17315 (_IO_wdefault_xsputn): Likewise.
17316 (_IO_wdefault_xsgetn): Likewise.
17317 (_IO_wdoallocbuf): Likewise.
17318 (_IO_wdefault_doallocate): Likewise.
17319 (_IO_switch_to_wget_mode): Likewise.
17320 (_IO_free_wbackup_area): Likewise.
17321 (_IO_switch_to_wput_mode): Likewise.
17322 (_IO_sputbackwc): Likewise.
17323 (_IO_sungetwc): Likewise.
17324 (_IO_adjust_wcolumn): Likewise.
17325 (_IO_init_wmarker): Likewise.
17326 (_IO_wmarker_delta): Likewise.
17327 (_IO_seekwmark): Likewise.
17328 (_IO_unsave_wmarkers): Likewise.
17329 * libio/wmemstream.c (open_wmemstream): Likewise.
17330 (_IO_wmem_sync): Likewise.
17331 (_IO_wmem_finish): Likewise.
17332 * locale/nl_langinfo.c (nl_langinfo): Likewise.
17333 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17334 * locale/programs/simple-hash.c (init_hash): Likewise.
17335 (delete_hash): Likewise.
17336 (insert_entry): Likewise.
17337 (set_entry): Likewise.
17338 (next_prime): Likewise.
17339 (is_prime): Likewise.
17340 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17341 (xmalloc): Likewise.
17342 (xrealloc): Likewise.
17343 * locale/programs/xstrdup.c (xstrdup): Likewise.
17344 * localedata/collate-test.c (xstrcoll): Likewise.
17345 * localedata/xfrm-test.c (xstrcmp): Likewise.
17346 * login/getlogin_r.c (__getlogin_r): Likewise.
17347 * login/getpt.c (__posix_openpt): Likewise.
17348 * login/login_tty.c (login_tty): Likewise.
17349 * login/setlogin.c (setlogin): Likewise.
17350 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17351 (mach_msg_destroy_port): Likewise.
17352 (mach_msg_destroy_memory): Likewise.
17353 * malloc/mcheck.c (flood): Likewise.
17354 * misc/acct.c (acct): Likewise.
17355 * misc/brk.c (__brk): Likewise.
17356 * misc/chflags.c (chflags): Likewise.
17357 * misc/chroot.c (chroot): Likewise.
17358 * misc/fchflags.c (fchflags): Likewise.
17359 * misc/fstab.c (getfsspec): Likewise.
17360 (getfsfile): Likewise.
17361 * misc/fsync.c (fsync): Likewise.
17362 * misc/ftruncate.c (__ftruncate): Likewise.
17363 * misc/ftruncate64.c (__ftruncate64): Likewise.
17364 * misc/getdomain.c (getdomainname): Likewise.
17365 (getdomainname): Likewise.
17366 * misc/gethostname.c (__gethostname): Likewise.
17367 * misc/getpass.c (getpass): Likewise.
17368 * misc/getttyent.c (skip): Likewise.
17369 (value): Likewise.
17370 * misc/gtty.c (gtty): Likewise.
17371 * misc/hsearch.c (hsearch): Likewise.
17372 (hcreate): Likewise.
17373 * misc/hsearch_r.c (__hcreate_r): Likewise.
17374 (__hdestroy_r): Likewise.
17375 * misc/ioctl.c (__ioctl): Likewise.
17376 * misc/mkdtemp.c (mkdtemp): Likewise.
17377 * misc/mkostemp.c (mkostemp): Likewise.
17378 * misc/mkostemp64.c (mkostemp64): Likewise.
17379 * misc/mkostemps.c (mkostemps): Likewise.
17380 * misc/mkostemps64.c (mkostemps64): Likewise.
17381 * misc/mkstemp.c (mkstemp): Likewise.
17382 * misc/mkstemp64.c (mkstemp64): Likewise.
17383 * misc/mkstemps.c (mkstemps): Likewise.
17384 * misc/mkstemps64.c (mkstemps64): Likewise.
17385 * misc/mktemp.c (__mktemp): Likewise.
17386 * misc/preadv.c (preadv): Likewise.
17387 * misc/preadv64.c (preadv64): Likewise.
17388 * misc/pwritev.c (pwritev): Likewise.
17389 * misc/pwritev64.c (pwritev64): Likewise.
17390 * misc/readv.c (__readv): Likewise.
17391 * misc/revoke.c (revoke): Likewise.
17392 * misc/setdomain.c (setdomainname): Likewise.
17393 * misc/setegid.c (setegid): Likewise.
17394 * misc/seteuid.c (seteuid): Likewise.
17395 * misc/sethostid.c (sethostid): Likewise.
17396 * misc/sethostname.c (sethostname): Likewise.
17397 * misc/setregid.c (__setregid): Likewise.
17398 * misc/setreuid.c (__setreuid): Likewise.
17399 * misc/sstk.c (sstk): Likewise.
17400 * misc/stty.c (stty): Likewise.
17401 * misc/syscall.c (syscall): Likewise.
17402 * misc/syslog.c (setlogmask): Likewise.
17403 * misc/truncate.c (__truncate): Likewise.
17404 * misc/truncate64.c (truncate64): Likewise.
17405 * misc/ualarm.c (ualarm): Likewise.
17406 * misc/usleep.c (usleep): Likewise.
17407 * misc/ustat.c (ustat): Likewise.
17408 * misc/writev.c (__writev): Likewise.
17409 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17410 * nptl/old_pthread_cond_broadcast.c
17411 (__pthread_cond_broadcast_2_0): Likewise.
17412 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17413 Likewise.
17414 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17415 Likewise.
17416 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17417 Likewise.
17418 * nptl/pt-raise.c (raise): Likewise.
17419 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17420 Likewise.
17421 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17422 * nptl/pthread_barrierattr_destroy.c
17423 (pthread_barrierattr_destroy): Likewise.
17424 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17425 Likewise.
17426 * nptl/pthread_barrierattr_setpshared.c
17427 (pthread_barrierattr_setpshared): Likewise.
17428 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17429 Likewise.
17430 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17431 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17432 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17433 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17434 Likewise.
17435 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17436 Likewise.
17437 * nptl/pthread_condattr_getpshared.c
17438 (pthread_condattr_getpshared): Likewise.
17439 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17440 Likewise.
17441 * nptl/pthread_condattr_setpshared.c
17442 (pthread_condattr_setpshared): Likewise.
17443 * nptl/pthread_detach.c (pthread_detach): Likewise.
17444 * nptl/pthread_equal.c (__pthread_equal): Likewise.
17445 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17446 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17447 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17448 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17449 Likewise.
17450 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17451 Likewise.
17452 * nptl/pthread_mutex_getprioceiling.c
17453 (pthread_mutex_getprioceiling): Likewise.
17454 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17455 Likewise.
17456 * nptl/pthread_mutexattr_getprotocol.c
17457 (pthread_mutexattr_getprotocol): Likewise.
17458 * nptl/pthread_mutexattr_getpshared.c
17459 (pthread_mutexattr_getpshared): Likewise.
17460 * nptl/pthread_mutexattr_getrobust.c
17461 (pthread_mutexattr_getrobust): Likewise.
17462 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17463 Likewise.
17464 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17465 Likewise.
17466 * nptl/pthread_mutexattr_setprioceiling.c
17467 (pthread_mutexattr_setprioceiling): Likewise.
17468 * nptl/pthread_mutexattr_setprotocol.c
17469 (pthread_mutexattr_setprotocol): Likewise.
17470 * nptl/pthread_mutexattr_setpshared.c
17471 (pthread_mutexattr_setpshared): Likewise.
17472 * nptl/pthread_mutexattr_setrobust.c
17473 (pthread_mutexattr_setrobust): Likewise.
17474 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17475 Likewise.
17476 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17477 Likewise.
17478 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17479 Likewise.
17480 * nptl/pthread_rwlockattr_getkind_np.c
17481 (pthread_rwlockattr_getkind_np): Likewise.
17482 * nptl/pthread_rwlockattr_getpshared.c
17483 (pthread_rwlockattr_getpshared): Likewise.
17484 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17485 Likewise.
17486 * nptl/pthread_rwlockattr_setkind_np.c
17487 (pthread_rwlockattr_setkind_np): Likewise.
17488 * nptl/pthread_rwlockattr_setpshared.c
17489 (pthread_rwlockattr_setpshared): Likewise.
17490 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17491 Likewise.
17492 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17493 Likewise.
17494 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17495 Likewise.
17496 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17497 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17498 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17499 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17500 * nptl/sem_close.c (sem_close): Likewise.
17501 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17502 * nptl/sem_init.c (__old_sem_init): Likewise.
17503 * nptl/sigaction.c (__sigaction): Likewise.
17504 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17505 * posix/_exit.c (_exit): Likewise.
17506 * posix/alarm.c (alarm): Likewise.
17507 * posix/confstr.c (confstr): Likewise.
17508 * posix/fpathconf.c (__fpathconf): Likewise.
17509 * posix/getgroups.c (__getgroups): Likewise.
17510 * posix/getpgid.c (__getpgid): Likewise.
17511 * posix/group_member.c (__group_member): Likewise.
17512 * posix/pathconf.c (__pathconf): Likewise.
17513 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17514 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17515 * posix/setgid.c (__setgid): Likewise.
17516 * posix/setpgid.c (__setpgid): Likewise.
17517 * posix/setuid.c (__setuid): Likewise.
17518 * posix/sleep.c (__sleep): Likewise.
17519 * posix/sysconf.c (__sysconf): Likewise.
17520 * posix/times.c (__times): Likewise.
17521 * posix/uname.c (__uname): Likewise.
17522 * posix/waitid.c (__waitid): Likewise.
17523 * pwd/getpw.c (__getpw): Likewise.
17524 * resolv/base64.c (b64_pton): Likewise.
17525 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17526 * resolv/gethnamaddr.c (Dprintf): Likewise.
17527 (gethostbyname): Likewise.
17528 (gethostbyname2): Likewise.
17529 (gethostbyaddr): Likewise.
17530 (_sethtent): Likewise.
17531 (_gethtbyname): Likewise.
17532 (_gethtbyname2): Likewise.
17533 (_gethtbyaddr): Likewise.
17534 (map_v4v6_address): Likewise.
17535 (map_v4v6_hostent): Likewise.
17536 (addrsort): Likewise.
17537 (ht_sethostent): Likewise.
17538 (ht_gethostbyname): Likewise.
17539 (ht_gethostbyaddr): Likewise.
17540 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17541 (inet_net_ntop_ipv4): Likewise.
17542 * resolv/inet_neta.c (inet_neta): Likewise.
17543 * resolv/inet_ntop.c (inet_ntop): Likewise.
17544 (inet_ntop4): Likewise.
17545 (inet_ntop6): Likewise.
17546 * resolv/inet_pton.c (__inet_pton): Likewise.
17547 (inet_pton4): Likewise.
17548 (inet_pton6): Likewise.
17549 * resolv/res_debug.c (loc_aton): Likewise.
17550 (loc_ntoa): Likewise.
17551 * resource/getpriority.c (__getpriority): Likewise.
17552 * resource/getrusage.c (__getrusage): Likewise.
17553 * resource/nice.c (nice): Likewise.
17554 * resource/setpriority.c (__setpriority): Likewise.
17555 * resource/setrlimit64.c (setrlimit64): Likewise.
17556 * resource/vlimit.c (vlimit): Likewise.
17557 * resource/vtimes.c (vtimes): Likewise.
17558 * rt/aio_error.c (aio_error): Likewise.
17559 * rt/aio_return.c (aio_return): Likewise.
17560 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17561 * signal/kill.c (__kill): Likewise.
17562 * signal/killpg.c (killpg): Likewise.
17563 * signal/raise.c (raise): Likewise.
17564 * signal/sigaction.c (__sigaction): Likewise.
17565 * signal/sigaddset.c (sigaddset): Likewise.
17566 * signal/sigaltstack.c (sigaltstack): Likewise.
17567 * signal/sigandset.c (sigandset): Likewise.
17568 * signal/sigblock.c (__sigblock): Likewise.
17569 * signal/sigdelset.c (sigdelset): Likewise.
17570 * signal/sigempty.c (sigemptyset): Likewise.
17571 * signal/sigfillset.c (sigfillset): Likewise.
17572 * signal/sighold.c (sighold): Likewise.
17573 * signal/sigignore.c (sigignore): Likewise.
17574 * signal/sigintr.c (siginterrupt): Likewise.
17575 * signal/sigisempty.c (sigisemptyset): Likewise.
17576 * signal/sigismem.c (sigismember): Likewise.
17577 * signal/signal.c (signal): Likewise.
17578 * signal/sigorset.c (sigorset): Likewise.
17579 * signal/sigpause.c (__sigpause): Likewise.
17580 * signal/sigpending.c (sigpending): Likewise.
17581 * signal/sigprocmask.c (__sigprocmask): Likewise.
17582 * signal/sigrelse.c (sigrelse): Likewise.
17583 * signal/sigreturn.c (__sigreturn): Likewise.
17584 * signal/sigset.c (sigset): Likewise.
17585 * signal/sigsetmask.c (__sigsetmask): Likewise.
17586 * signal/sigstack.c (sigstack): Likewise.
17587 * signal/sigsuspend.c (__sigsuspend): Likewise.
17588 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17589 * signal/sysv_signal.c (__sysv_signal): Likewise.
17590 * socket/accept.c (accept): Likewise.
17591 * socket/accept4.c (__libc_accept4): Likewise.
17592 * socket/bind.c (__bind): Likewise.
17593 * socket/connect.c (__connect): Likewise.
17594 * socket/getpeername.c (getpeername): Likewise.
17595 * socket/getsockname.c (__getsockname): Likewise.
17596 * socket/getsockopt.c (getsockopt): Likewise.
17597 * socket/listen.c (__listen): Likewise.
17598 * socket/recv.c (__recv): Likewise.
17599 * socket/recvmsg.c (__recvmsg): Likewise.
17600 * socket/send.c (__send): Likewise.
17601 * socket/sendmsg.c (__sendmsg): Likewise.
17602 * socket/shutdown.c (shutdown): Likewise.
17603 * socket/sockatmark.c (sockatmark): Likewise.
17604 * socket/socket.c (__socket): Likewise.
17605 * stdio-common/ctermid.c (ctermid): Likewise.
17606 * stdio-common/cuserid.c (cuserid): Likewise.
17607 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17608 * stdio-common/remove.c (remove): Likewise.
17609 * stdio-common/rename.c (rename): Likewise.
17610 * stdio-common/renameat.c (renameat): Likewise.
17611 * stdio-common/tempname.c (__gen_tempname): Likewise.
17612 * stdio-common/xbug.c (InitBuffer): Likewise.
17613 (AppendToBuffer): Likewise.
17614 (ReadFile): Likewise.
17615 * stdlib/a64l.c (a64l): Likewise.
17616 * stdlib/drand48_r.c (drand48_r): Likewise.
17617 * stdlib/getcontext.c (getcontext): Likewise.
17618 * stdlib/getenv.c (getenv): Likewise.
17619 * stdlib/l64a.c (l64a): Likewise.
17620 * stdlib/llabs.c (llabs): Likewise.
17621 * stdlib/lldiv.c (lldiv): Likewise.
17622 * stdlib/lrand48_r.c (lrand48_r): Likewise.
17623 * stdlib/mrand48_r.c (mrand48_r): Likewise.
17624 * stdlib/putenv.c (putenv): Likewise.
17625 * stdlib/random.c (__srandom): Likewise.
17626 (__initstate): Likewise.
17627 (__setstate): Likewise.
17628 * stdlib/random_r.c (__srandom_r): Likewise.
17629 (__setstate_r): Likewise.
17630 (__random_r): Likewise.
17631 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17632 * stdlib/setcontext.c (setcontext): Likewise.
17633 * stdlib/setenv.c (setenv): Likewise.
17634 (unsetenv): Likewise.
17635 * stdlib/srand48.c (srand48): Likewise.
17636 * stdlib/srand48_r.c (__srand48_r): Likewise.
17637 * stdlib/swapcontext.c (swapcontext): Likewise.
17638 * stdlib/system.c (__libc_system): Likewise.
17639 * stdlib/tst-strtod.c (expand): Likewise.
17640 * stdlib/tst-strtol.c (expand): Likewise.
17641 * stdlib/tst-strtoll.c (expand): Likewise.
17642 * streams/fattach.c (fattach): Likewise.
17643 * streams/fdetach.c (fdetach): Likewise.
17644 * streams/getmsg.c (getmsg): Likewise.
17645 * streams/isastream.c (isastream): Likewise.
17646 * string/ffs.c (__ffs): Likewise.
17647 * string/ffsll.c (ffsll): Likewise.
17648 * string/memcmp.c (memcmp_common_alignment): Likewise.
17649 (memcmp_not_common_alignment): Likewise.
17650 (MEMCMP): Likewise.
17651 * string/memcpy.c (memcpy): Likewise.
17652 * string/memmove.c (MEMMOVE): Likewise.
17653 * string/memset.c (memset): Likewise.
17654 * string/rawmemchr.c (RAWMEMCHR): Likewise.
17655 * string/strchrnul.c (STRCHRNUL): Likewise.
17656 * string/strerror.c (strerror): Likewise.
17657 * string/strndup.c (__strndup): Likewise.
17658 * string/strverscmp.c (__strverscmp): Likewise.
17659 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17660 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17661 (clnttcp_freeres): Likewise.
17662 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17663 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17664 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17665 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17666 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17667 (xdr_callhdr): Likewise.
17668 * sunrpc/rpcinfo.c (udpping): Likewise.
17669 (tcpping): Likewise.
17670 (pstatus): Likewise.
17671 (pmapdump): Likewise.
17672 (brdcst): Likewise.
17673 (deletereg): Likewise.
17674 (getprognum): Likewise.
17675 (getvers): Likewise.
17676 (get_inet_address): Likewise.
17677 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17678 * sunrpc/svc_udp.c (svcudp_create): Likewise.
17679 (svcudp_stat): Likewise.
17680 (svcudp_recv): Likewise.
17681 (svcudp_reply): Likewise.
17682 (svcudp_getargs): Likewise.
17683 (svcudp_freeargs): Likewise.
17684 (svcudp_destroy): Likewise.
17685 * sunrpc/xdr.c (xdr_bytes): Likewise.
17686 (xdr_netobj): Likewise.
17687 (xdr_string): Likewise.
17688 (xdr_wrapstring): Likewise.
17689 * sunrpc/xdr_float.c (xdr_float): Likewise.
17690 (xdr_double): Likewise.
17691 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17692 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17693 * sysvipc/ftok.c (ftok): Likewise.
17694 * sysvipc/msgctl.c (msgctl): Likewise.
17695 * sysvipc/msgget.c (msgget): Likewise.
17696 * sysvipc/msgrcv.c (msgrcv): Likewise.
17697 * sysvipc/msgsnd.c (msgsnd): Likewise.
17698 * sysvipc/semget.c (semget): Likewise.
17699 * sysvipc/semop.c (semop): Likewise.
17700 * sysvipc/shmat.c (shmat): Likewise.
17701 * sysvipc/shmctl.c (shmctl): Likewise.
17702 * sysvipc/shmdt.c (shmdt): Likewise.
17703 * sysvipc/shmget.c (shmget): Likewise.
17704 * termios/cfmakeraw.c (cfmakeraw): Likewise.
17705 * termios/speed.c (cfgetospeed): Likewise.
17706 (cfgetispeed): Likewise.
17707 (cfsetospeed): Likewise.
17708 (cfsetispeed): Likewise.
17709 * termios/tcflow.c (tcflow): Likewise.
17710 * termios/tcflush.c (tcflush): Likewise.
17711 * termios/tcgetattr.c (__tcgetattr): Likewise.
17712 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17713 * termios/tcgetsid.c (tcgetsid): Likewise.
17714 * termios/tcsendbrk.c (tcsendbreak): Likewise.
17715 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17716 * time/adjtime.c (__adjtime): Likewise.
17717 * time/dysize.c (dysize): Likewise.
17718 * time/ftime.c (ftime): Likewise.
17719 * time/getitimer.c (__getitimer): Likewise.
17720 * time/gettimeofday.c (__gettimeofday): Likewise.
17721 * time/gmtime.c (__gmtime_r): Likewise.
17722 (gmtime): Likewise.
17723 * time/localtime.c (__localtime_r): Likewise.
17724 (localtime): Likewise.
17725 * time/offtime.c (__offtime): Likewise.
17726 * time/settimeofday.c (__settimeofday): Likewise.
17727 * time/stime.c (stime): Likewise.
17728 * time/strftime_l.c (tm_diff): Likewise.
17729 (iso_week_days): Likewise.
17730 * time/strptime.c (strptime): Likewise.
17731 * time/time.c (time): Likewise.
17732 * time/timespec_get.c (timespec_get): Likewise.
17733 * time/tzset.c (tzset_internal): Likewise.
17734 (compute_change): Likewise.
17735 (__tz_compute): Likewise.
17736 * wcsmbs/btowc.c (__btowc): Likewise.
17737 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17738 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17739 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17740 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17741 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17742 * wcsmbs/wcscat.c (__wcscat): Likewise.
17743 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17744 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17745 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17746 * wcsmbs/wcscspn.c (wcscspn): Likewise.
17747 * wcsmbs/wcsdup.c (wcsdup): Likewise.
17748 * wcsmbs/wcslen.c (__wcslen): Likewise.
17749 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17750 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17751 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17752 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17753 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17754 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17755 * wcsmbs/wcsspn.c (wcsspn): Likewise.
17756 * wcsmbs/wcsstr.c (wcsstr): Likewise.
17757 * wcsmbs/wcstok.c (wcstok): Likewise.
17758 * wcsmbs/wctob.c (wctob): Likewise.
17759 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17760 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17761 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17762 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17763 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17764 * wcsmbs/wmemset.c (__wmemset): Likewise.
17765 * wctype/wcfuncs.c (__towlower): Likewise.
17766 (__towupper): Likewise.
17767
17768 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17769 (lll_unlock_elision): Add adapt_count parameter.
17770
17771 2015-10-15 Joseph Myers <joseph@codesourcery.com>
17772
17773 * sysdeps/nptl/configure.ac: Do not give errors based on the
17774 results of top-level configure tests.
17775 * sysdeps/nptl/configure: Regenerated.
17776
17777 * configure.ac (libc_cv_Bgroup): Remove configure test.
17778 * configure: Regenerated.
17779 * config.make.in (have-Bgroup): Remove variable.
17780
17781 * configure.ac (sizeof_long_double): Remove configure test.
17782 * configure: Regenerated.
17783 * config.make.in (sizeof-long-double): Remove variable.
17784
17785 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17786 * configure: Regenerated.
17787 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17788 variable.
17789 (exceptions): Likewise.
17790 * sysdeps/arm/configure: Regenerated.
17791 * config.make.in (exceptions): Remove variable.
17792 * Makeconfig (uses-callbacks): Use -fexceptions instead of
17793 $(exceptions).
17794 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17795 (CFLAGS-vdprintf_chk.c): Likewise.
17796 (CFLAGS-printf_chk.c): Likewise.
17797 (CFLAGS-fprintf_chk.c): Likewise.
17798 (CFLAGS-vprintf_chk.c): Likewise.
17799 (CFLAGS-vfprintf_chk.c): Likewise.
17800 (CFLAGS-gets_chk.c): Likewise.
17801 (CFLAGS-fgets_chk.c): Likewise.
17802 (CFLAGS-fgets_u_chk.c): Likewise.
17803 (CFLAGS-fread_chk.c): Likewise.
17804 (CFLAGS-fread_u_chk.c): Likewise.
17805 (CFLAGS-wprintf_chk.c): Likewise.
17806 (CFLAGS-fwprintf_chk.c): Likewise.
17807 (CFLAGS-vwprintf_chk.c): Likewise.
17808 (CFLAGS-vfwprintf_chk.c): Likewise.
17809 (CFLAGS-fgetws_chk.c): Likewise.
17810 (CFLAGS-fgetws_u_chk.c): Likewise.
17811 * libio/Makefile (CFLAGS-fileops.c): Likewise.
17812 (CFLAGS-fputc.c): Likewise.
17813 (CFLAGS-fputwc.c): Likewise.
17814 (CFLAGS-freopen64.c): Likewise.
17815 (CFLAGS-freopen.c): Likewise.
17816 (CFLAGS-fseek.c): Likewise.
17817 (CFLAGS-fseeko64.c): Likewise.
17818 (CFLAGS-fseeko.c): Likewise.
17819 (CFLAGS-ftello64.c): Likewise.
17820 (CFLAGS-ftello.c): Likewise.
17821 (CFLAGS-fwide.c): Likewise.
17822 (CFLAGS-genops.c): Likewise.
17823 (CFLAGS-getc.c): Likewise.
17824 (CFLAGS-getchar.c): Likewise.
17825 (CFLAGS-getwc.c): Likewise.
17826 (CFLAGS-getwchar.c): Likewise.
17827 (CFLAGS-iofclose.c): Likewise.
17828 (CFLAGS-iofflush.c): Likewise.
17829 (CFLAGS-iofgetpos64.c): Likewise.
17830 (CFLAGS-iofgetpos.c): Likewise.
17831 (CFLAGS-iofgets.c): Likewise.
17832 (CFLAGS-iofgetws.c): Likewise.
17833 (CFLAGS-iofputs.c): Likewise.
17834 (CFLAGS-iofputws.c): Likewise.
17835 (CFLAGS-iofread.c): Likewise.
17836 (CFLAGS-iofsetpos64.c): Likewise.
17837 (CFLAGS-iofsetpos.c): Likewise.
17838 (CFLAGS-ioftell.c): Likewise.
17839 (CFLAGS-iofwrite.c): Likewise.
17840 (CFLAGS-iogetdelim.c): Likewise.
17841 (CFLAGS-iogetline.c): Likewise.
17842 (CFLAGS-iogets.c): Likewise.
17843 (CFLAGS-iogetwline.c): Likewise.
17844 (CFLAGS-ioputs.c): Likewise.
17845 (CFLAGS-ioseekoff.c): Likewise.
17846 (CFLAGS-ioseekpos.c): Likewise.
17847 (CFLAGS-iosetbuffer.c): Likewise.
17848 (CFLAGS-iosetvbuf.c): Likewise.
17849 (CFLAGS-ioungetc.c): Likewise.
17850 (CFLAGS-ioungetwc.c): Likewise.
17851 (CFLAGS-oldfileops.c): Likewise.
17852 (CFLAGS-oldiofclose.c): Likewise.
17853 (CFLAGS-oldiofgetpos64.c): Likewise.
17854 (CFLAGS-oldiofgetpos.c): Likewise.
17855 (CFLAGS-oldiofsetpos64.c): Likewise.
17856 (CFLAGS-oldiofsetpos.c): Likewise.
17857 (CFLAGS-peekc.c): Likewise.
17858 (CFLAGS-putc.c): Likewise.
17859 (CFLAGS-putchar.c): Likewise.
17860 (CFLAGS-putwc.c): Likewise.
17861 (CFLAGS-putwchar.c): Likewise.
17862 (CFLAGS-rewind.c): Likewise.
17863 (CFLAGS-wfileops.c): Likewise.
17864 (CFLAGS-wgenops.c): Likewise.
17865 (CFLAGS-oldiofopen.c): Likewise.
17866 (CFLAGS-iofopen.c): Likewise.
17867 (CFLAGS-iofopen64.c): Likewise.
17868 (CFLAGS-oldtmpfile.c): Likewise.
17869 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17870 (CFLAGS-fprintf.c): Likewise.
17871 (CFLAGS-printf.c): Likewise.
17872 (CFLAGS-vfwprintf.c): Likewise.
17873 (CFLAGS-vfscanf.c): Likewise.
17874 (CFLAGS-vfwscanf.c): Likewise.
17875 (CFLAGS-fscanf.c): Likewise.
17876 (CFLAGS-scanf.c): Likewise.
17877 (CFLAGS-isoc99_vfscanf.c): Likewise.
17878 (CFLAGS-isoc99_vscanf.c): Likewise.
17879 (CFLAGS-isoc99_fscanf.c): Likewise.
17880 (CFLAGS-isoc99_scanf.c): Likewise.
17881 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17882 (CFLAGS-isoc99_fwscanf.c): Likewise.
17883 (CFLAGS-isoc99_vwscanf.c): Likewise.
17884 (CFLAGS-isoc99_vfwscanf.c): Likewise.
17885
17886 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17887 after mkstemp64.
17888 * login/tst-utmp.c (do_prepare): Likewise.
17889 * rt/tst-aio.c (do_prepare): Likewise.
17890 * rt/tst-aio64.c (do_prepare): Likewise.
17891
17892 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17893
17894 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17895 (__lll_lock_elision): Remove adapt_count decrement...
17896 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17897 (__lll_trylock_elision): Likewise.
17898 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17899 (__lll_unlock_elision): ... to here. And utilize
17900 new adapt_count parameter.
17901 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17902 (__lll_unlock_elision): Update to include adapt_count
17903 parameter.
17904 (lll_unlock_elision): Pass pointer to adapt_count
17905 variable.
17906
17907 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17908
17909 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17910 Add elision adapt_count parameter to list of arguments.
17911 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17912 (lll_unlock_elision): Update with new parameter list
17913 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
17914 (lll_unlock_elision): Likewise.
17915 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
17916 (lll_unlock_elision): Likewise.
17917
17918 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
17919
17920 [BZ #19122]
17921 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
17922 attribute_hidden.
17923
17924 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
17925 attribute_hidden.
17926 [IS_IN (rtld)] (__strdup): Likewise.
17927 [IS_IN (rtld)] (__strerror_r): Likewise.
17928 [IS_IN (rtld)] (__strsep_g): Likewise.
17929 [IS_IN (rtld)] (memchr): Likewise.
17930 [IS_IN (rtld)] (memcmp): Likewise.
17931 [IS_IN (rtld)] (memcpy): Likewise.
17932 [IS_IN (rtld)] (memmove): Likewise.
17933 [IS_IN (rtld)] (memset): Likewise.
17934 [IS_IN (rtld)] (rawmemchr): Likewise.
17935 [IS_IN (rtld)] (stpcpy): Likewise.
17936 [IS_IN (rtld)] (strchr): Likewise.
17937 [IS_IN (rtld)] (strcmp): Likewise.
17938 [IS_IN (rtld)] (strlen): Likewise.
17939 [IS_IN (rtld)] (strnlen): Likewise.
17940 [IS_IN (rtld)] (strsep): Likewise.
17941
17942 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
17943 attribute_hidden.
17944 [IS_IN (rtld)] (__strtoul_internal): Likewise.
17945
17946 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
17947 attribute_hidden.
17948 [IS_IN (rtld)] (__libc_sigaction): Likewise.
17949
17950 * include/setjmp.h (__longjmp): Add attribute_hidden.
17951 [IS_IN (rtld)] (__sigsetjmp): Likewise.
17952
17953 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
17954 Add attribute_hidden.
17955
17956 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
17957 [IS_IN (rtld)] (__open): Likewise.
17958 [IS_IN (rtld)] (__fcntl): Likewise.
17959
17960 * include/dirent.h (__opendirat): Add attribute_hidden.
17961 (__getdents): Likewise.
17962 (__getdents64): Likewise.
17963 (__alloc_dir): Likewise.
17964 [IS_IN (rtld)] (__closedir): Likewise.
17965 [IS_IN (rtld)] (__fdopendir): Likewise.
17966 [IS_IN (rtld)] (__readdir): Likewise.
17967 [IS_IN (rtld)] (__readdir64): Likewise.
17968 [IS_IN (rtld)] (__rewinddir): Likewise.
17969
17970 * include/dlfcn.h (_dl_catch_error): Moved to ...
17971 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
17972 attribute_hidden.
17973
17974 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
17975 (_itoa_word): Likewise.
17976
17977 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
17978 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
17979 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
17980 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
17981 (_dl_higher_prime_number): Likewise.
17982 (_dl_debug_printf_c): Likewise.
17983 (_dl_signal_cerror): Likewise.
17984 (_dl_receive_error): Likewise.
17985 (_dl_reloc_bad_type): Likewise.
17986 (_dl_resolve_conflicts): Likewise.
17987 (_dl_check_all_versions): Likewise.
17988 (_dl_check_map_versions): Likewise.
17989 (_dl_sort_fini): Likewise.
17990 (_dl_debug_initialize): Likewise.
17991 (_dl_init_paths): Likewise.
17992 (_dl_show_auxv): Likewise.
17993 (_dl_next_ld_env_entry): Likewise.
17994 (_dl_important_hwcaps): Likewise.
17995 (_dl_load_cache_lookup): Likewise.
17996 (_dl_update_slotinfo): Likewise.
17997 (_dl_show_scope): Likewise.
17998
17999 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18000 attribute_hidden.
18001 (_wordcopy_fwd_dest_aligned): Likewise.
18002 (_wordcopy_bwd_aligned): Likewise.
18003 (_wordcopy_bwd_dest_aligned): Likewise.
18004
18005 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18006 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18007 Likewise.
18008 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18009 Likewise.
18010 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18011
18012 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18013
18014 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18015 GCC 5 requirement.
18016
18017 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18018
18019 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18020 test.
18021 * sysdeps/i386/configure: Regenerated.
18022 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18023 code unconditional.
18024
18025 * configure.ac (libc_cv_asm_previous_directive): Remove configure
18026 test.
18027 (libc_cv_asm_popsection_directive): Likewise.
18028 * configure: Regenerated.
18029 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18030 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18031 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18032 (__make_section_unallocated): Make definition unconditional.
18033 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18034 Remove conditional definition.
18035 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18036 (__make_section_unallocated): Likewise.
18037
18038 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18039 * configure: Regenerated.
18040 * config.make.in (static-libgcc): Remove variable.
18041 * Makerules (build-shlib-helper): Use -static-libgcc instead of
18042 $(static-libgcc).
18043 (build-module-helper): Likewise.
18044
18045 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18046 * configure: Regenerated.
18047
18048 2015-10-15 Florian Weimer <fweimer@redhat.com>
18049
18050 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18051 (struct char_buffer): New type.
18052 (char_buffer_start, char_buffer_size, char_buffer_error)
18053 (char_buffer_rewind, char_buffer_add): New functions.
18054 (ADDW): Remove macro, replaced by the char_buffer_add function.
18055 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18056 of extend_alloca. Make control flow more explicit.
18057
18058 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18059
18060 [BZ #19137]
18061 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18062 Add -fomit-frame-pointer.
18063 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18064
18065 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18066
18067 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18068 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18069 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18070 only if !__GNUC_PREREQ (5,0).
18071 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18072 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18073 (INTERNAL_SYSCALL_NCS): Likewise.
18074 (LOADREGS_0): New macro for GCC 5.
18075 (ASMARGS_0): Likewise.
18076 (LOADREGS_1): Likewise.
18077 (ASMARGS_1): Likewise.
18078 (LOADREGS_2): Likewise.
18079 (ASMARGS_2): Likewise.
18080 (LOADREGS_3): Likewise.
18081 (ASMARGS_3): Likewise.
18082 (LOADREGS_4): Likewise.
18083 (ASMARGS_4): Likewise.
18084 (LOADREGS_5): Likewise.
18085 (ASMARGS_5): Likewise.
18086 (LOADREGS_6): Likewise.
18087 (ASMARGS_6): Likewise.
18088
18089 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
18090
18091 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18092 -fomit-frame-pointer.
18093 (CFLAGS-mmap64.c): Likewise.
18094 (CFLAGS-semtimedop.c): Likewise.
18095 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18096 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18097 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18098 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18099
18100 2015-10-15 Florian Weimer <fweimer@redhat.com>
18101
18102 [BZ #18928]
18103 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18104 _dl_pointer_guard member.
18105 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18106 initializer.
18107 (security_init): Always set up pointer guard.
18108 (process_envvars): Do not process LD_POINTER_GUARD.
18109
18110 2015-10-14 Joseph Myers <joseph@codesourcery.com>
18111
18112 [BZ #19134]
18113 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18114 (.LC2): Likewise.
18115 (.LC3): Likewise.
18116 (__lround): Do not add 0.5 to integer or out-of-range arguments.
18117
18118 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
18119
18120 [BZ #19129]
18121 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18122 r0 and r1.
18123
18124 2015-10-14 Namhyung Kim <namhyung@gmail.com>
18125
18126 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18127
18128 2015-10-14 Carlos O'Donell <carlos@redhat.com>
18129
18130 * include/stap-probe.h: Fix macro definition formatting.
18131
18132 2015-10-14 Florian Weimer <fweimer@redhat.com>
18133
18134 [BZ #19074]
18135 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18136 load and store num_ifs.
18137
18138 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18139
18140 [BZ #18822]
18141 * sysdeps/unix/sysv/linux/sched_getaffinity.c
18142 (__sched_getaffinity_new): Add libc_hidden_proto and
18143 libc_hidden_def.
18144
18145 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18146
18147 [BZ #19007]
18148 * scripts/localplt.awk: Also allow GOT references.
18149 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18150 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18151 with "+ REL R_386_GLOB_DAT".
18152 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18153 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18154
18155 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
18156
18157 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18158 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18159 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18160 Likewise.
18161 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18162 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18163 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18164 INTERNAL_SYSCALLINTERNAL_SYSCALL and
18165 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18166 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18167 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18168 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18169 Likewise.
18170 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18171
18172 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18173
18174 [BZ #19125]
18175 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18176 <math_private.h> and <stdint.h>.
18177 (__llround): Avoid conversions to and from long long int, and
18178 subtractions, where those might raise spurious exceptions.
18179 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18180 <math_private.h> and <stdint.h>.
18181 (__llroundf): Avoid conversions to and from long long int, and
18182 subtractions, where those might raise spurious exceptions.
18183
18184 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18185
18186 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18187 INLINE_SYSCALL_ERROR_RETURN_VALUE.
18188 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18189 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18190 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18191 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18192 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18193 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18194 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18195 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18196 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18197 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18198 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18199 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18200 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18201 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18202 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18203 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18204 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18205 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18206 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18207 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18208 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18209 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18210 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18211 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18212 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18213 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18214 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18215 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18216 (__xstat64_conv): Likewise.
18217 (__xstat32_conv): Likewise.
18218
18219 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18220
18221 * sysdeps/unix/sysv/linux/sysdep.h: New file.
18222 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18223 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18224 <sysdeps/unix/sysv/linux/sysdep.h>.
18225 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18226 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18227 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18228 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18229 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18230 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18231 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18232 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18233 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18236 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18237 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18238 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18239 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18240 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18241 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18242 (sysdep-dl-routines): Add sysdep.
18243 [$(subdir) == nptl] (libpthread-routines): Likewise.
18244 [$(subdir) == rt] (librt-routines): Likewise.
18245 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18246 PIC when branching to SYSCALL_ERROR_LABEL.
18247 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18248 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18249 <sysdeps/unix/sysv/linux/sysdep.h>.
18250 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18251 (SYSCALL_ERROR_ERRNO): Removed.
18252 (SYSCALL_ERROR_HANDLER): Changed to empty.
18253 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18254 (__syscall_error): New prototype.
18255 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18256 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18257
18258 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
18259
18260 [BZ #19124]
18261 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18262 (_dl_runtime_resolve_avx512): Make it a hidden alias of
18263 _dl_runtime_resolve_avx.
18264 (_dl_runtime_profile_avx512): Make it a hidden alias of
18265 _dl_runtime_profile_avx.
18266
18267 2015-10-13 Joseph Myers <joseph@codesourcery.com>
18268
18269 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18270 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18271 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18272 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18273
18274 [BZ #16422]
18275 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18276 New configure test.
18277 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18278 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18279 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18280 <math_private.h> and <stdint.h>.
18281 (__llrint): Avoid conversions to long long int where those might
18282 raise spurious exceptions.
18283 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18284 <math_private.h> and <stdint.h>.
18285 (__llrintf): Avoid conversions to long long int where those might
18286 raise spurious exceptions.
18287
18288 2015-10-12 Andreas Schwab <schwab@suse.de>
18289
18290 [BZ #18969]
18291 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
18292 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18293 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
18294 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18295 $(gen-locales).
18296 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
18297 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18298 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18299 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18300 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18301 $(gen-locales).
18302 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
18303 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18304 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18305 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18306 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18307 ($(objpfx)tst-ftell-active-handler.out)
18308 ($(objpfx)tst-ftell-append.out)
18309 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18310 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18311 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18312 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18313 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
18314 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18315 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18316 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18317 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18318 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18319 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18320 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18321 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18322 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18323 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18324 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18325 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18326 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18327 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
18328 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18329 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18330 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18331 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18332 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
18333 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18334 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18335 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18336 $(gen-locales).
18337 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
18338 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18339 $(gen-locales).
18340 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
18341 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18342 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18343 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18344 $(gen-locales).
18345 * libio/tst_wprintf2.c (main): Use explicit locale.
18346 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18347
18348 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18349
18350 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18351 __msg_sig_post.
18352 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18353
18354 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18355
18356 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18357 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18358
18359 * sysdeps/arm/libm-test-ulps: Regenerated.
18360
18361 [BZ #15470]
18362 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18363
18364 [BZ #16399]
18365 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18366 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18367 and <fix-fp-int-convert-overflow.h>.
18368 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18369 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18370 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18371 and <fix-fp-int-convert-overflow.h>.
18372 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18373 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18374 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18375 <fix-fp-int-convert-overflow.h>.
18376 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18377 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18378 * sysdeps/ieee754/dbl-64/s_lround.c: Include
18379 <fix-fp-int-convert-overflow.h>.
18380 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18381 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18382 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18383 and <fix-fp-int-convert-overflow.h>.
18384 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18385 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18386 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18387 <limits.h> and <fix-fp-int-convert-overflow.h>.
18388 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18389 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18390 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18391 and <fix-fp-int-convert-overflow.h>.
18392 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18393 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18394 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18395 and <fix-fp-int-convert-overflow.h>.
18396 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18397 FIX_DBL_LLONG_CONVERT_OVERFLOW.
18398 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18399
18400 2015-10-09 Carlos O'Donell <carlos@redhat.com>
18401
18402 [BZ #18589]
18403 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18404 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18405 $(gen-locales).
18406
18407 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18408 Phil Blundell <pb@pbcl.net>
18409
18410 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18411 * nptl/tst-cancel26.c: New file.
18412 * nptl/tst-cancel27.c: Likewise.
18413
18414 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
18415
18416 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18417 __ILP32__ isn't defined.
18418 (lrint): Likewise.
18419 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18420 (lrintf): Likewise.
18421 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18422 (lrintl): Likewise.
18423 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18424 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18425 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18426
18427 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18428
18429 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18430 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18431
18432 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18433 file.
18434 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18435 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18436
18437 2015-10-09 Joseph Myers <joseph@codesourcery.com>
18438
18439 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18440 configure test.
18441 * sysdeps/i386/configure: Regenerated.
18442 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18443 configure test.
18444 * sysdeps/x86_64/configure: Regenerated.
18445 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18446 Make code unconditional.
18447
18448 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18449 test.
18450 * sysdeps/i386/configure: Regenerated.
18451 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18452 test.
18453 * sysdeps/x86_64/configure: Regenerated.
18454 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18455 Make code unconditional.
18456 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18457 Likewise.
18458 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18459 Likewise.
18460 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18461 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18462 code unconditional.
18463 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18464 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18465 code unconditional.
18466 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18467 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18468 code unconditional.
18469 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18470 code unconditional.
18471 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18472 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18473 code unconditional.
18474 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18475 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18476 code unconditional.
18477 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18478 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18479 code unconditional.
18480 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18481 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18482 code unconditional.
18483 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18484 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18485
18486 [BZ #19095]
18487 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18488 mantissa to long int before shifting left.
18489
18490 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18491
18492 [BZ #19094]
18493 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18494 <limits.h>.
18495 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18496 when result overflows but exception would not result from cast.
18497 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18498 <limits.h>.
18499 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18500 when result overflows but exception would not result from cast.
18501 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18502 <limits.h>.
18503 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18504 when result overflows but exception would not result from cast.
18505 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18506 <limits.h>.
18507 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18508 when result overflows but exception would not result from cast.
18509 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18510 <limits.h>.
18511 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18512 when result overflows but exception would not result from cast.
18513 * math/libm-test.inc (lrint_test_data): Add more tests.
18514 (llrint_test_data): Likewise.
18515
18516 2015-10-08 Roland McGrath <roland@hack.frob.com>
18517
18518 [BZ #18872]
18519 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18520 Move out from under [$(run-built-tests) = yes] conditional.
18521 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18522 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18523
18524 2015-10-08 Carlos O'Donell <carlos@redhat.com>
18525
18526 [BZ #18589]
18527 * string/Makefile (tests): Add bug-strcoll2.
18528 (LOCALES): Add cs_CZ.UTF-8.
18529 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18530
18531 [BZ #18589]
18532 * string/bug-strcoll2.c: New file.
18533 * locale/categories.def: Revert commit
18534 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18535 * locale/langinfo.h: Likewise.
18536 * locale/localeinfo.h: Likewise.
18537 * locale/C-collate.c: Likewise.
18538 * locale/programs/ld-collate.c (collate_output): Likewise.
18539 * string/strcoll_l.c (STRDIFF): Likewise.
18540 (STRCOLL): Likewise.
18541 * wcsmbs/wcscoll_l.c: Likewise.
18542
18543 2015-10-08 Joseph Myers <joseph@codesourcery.com>
18544
18545 * math/libm-test.inc (lround_test_data): Do not expect the absence
18546 of "inexact" for some tests with non-integer arguments.
18547 (llround_test_data): Likewise.
18548
18549 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18550 test.
18551 (libc_cv_cc_sse2avx): Likewise.
18552 * sysdeps/i386/configure: Regenerated.
18553 * sysdeps/i386/i686/multiarch/Makefile
18554 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18555 [$(subdir) = math].
18556 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18557 code unconditional.
18558 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18559 Likewise.
18560 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18561 Likewise.
18562 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18563 Likewise.
18564 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18565 test.
18566 (libc_cv_cc_sse2avx): Likewise.
18567 * sysdeps/x86_64/configure: Regenerated.
18568 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18569 unconditional.
18570 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18571 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18572 unconditional.
18573 (_dl_runtime_profile)
18574 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18575 conditional code.
18576 * sysdeps/x86_64/fpu/multiarch/Makefile
18577 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18578 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18579 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18580 * sysdeps/x86_64/fpu/multiarch/e_exp.c
18581 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18582 * sysdeps/x86_64/fpu/multiarch/e_log.c
18583 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18584 * sysdeps/x86_64/fpu/multiarch/s_atan.c
18585 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18586 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18587 Likewise.
18588 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18589 Likewise.
18590 * sysdeps/x86_64/fpu/multiarch/s_sin.c
18591 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18592 * sysdeps/x86_64/fpu/multiarch/s_tan.c
18593 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18594 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18595 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18596 (HAVE_SSE2AVX_SUPPORT): Likewise.
18597
18598 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
18599
18600 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18601 instead of #pragma optimize.
18602
18603 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18604
18605 [BZ #17195]
18606 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18607 as is similarly done in systrim and _int_free already.
18608
18609 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
18610
18611 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18612
18613 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18614
18615 [BZ #19088]
18616 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18617 <limits.h>.
18618 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18619 overflows but exception would not result from cast.
18620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18621 and <limits.h>.
18622 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18623 overflows but exception would not result from cast.
18624 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18625 <limits.h>.
18626 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18627 overflows but exception would not result from cast.
18628 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18629 <limits.h>.
18630 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18631 overflows but exception would not result from cast.
18632 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18633 <limits.h>.
18634 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18635 overflows but exception would not result from cast.
18636 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18637 <limits.h>.
18638 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18639 overflows but exception would not result from cast.
18640 * math/libm-test.inc (lround_test_data): Add more tests.
18641 (llround_test_data): Likewise.
18642
18643 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
18644
18645 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18646 (CFLAGS-ialloc.c): Ditto.
18647 (CFLAGS-scheck.c): Ditto.
18648
18649 2015-10-07 Carlos O'Donell <carlos@redhat.com>
18650
18651 [BZ #19086]
18652 * manual/filesys.texi (Storage Allocation): Fix argument order for
18653 posix_fallocate64.
18654
18655 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18656
18657 [BZ #19085]
18658 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18659 exponent below 48 inside case for non-overflowing exponent.
18660 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18661
18662 2015-10-07 Florian Weimer <fweimer@redhat.com>
18663
18664 * iconvdata/cp737.h (from_idx): Add const.
18665 * iconvdata/cp775.h (from_idx): Likewise.
18666
18667 2015-10-07 Joseph Myers <joseph@codesourcery.com>
18668
18669 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18670 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18671 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18672
18673 [BZ #19079]
18674 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18675 file, conditioned on [!_LP64].
18676 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18677 [!_LP64] (__lround): Do not define as function or alias.
18678 [!_LP64] (lround): Likewise.
18679 [!_LP64] (__lroundl): Likewise.
18680 [!_LP64] (lroundl): Likewise.
18681 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18682 macro.
18683 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18684 Likewise.
18685
18686 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18687
18688 * math/libm-test.inc (lrint_test_data): Add more tests.
18689 (llrint_test_data): Likewise.
18690 (lround_test_data): Likewise.
18691 (llround_test_data): Likewise.
18692
18693 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18694 (llrint_test_data): Add tests used for lrint.
18695
18696 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18697 test.
18698 * sysdeps/i386/configure: Regenerated.
18699 * sysdeps/i386/i686/multiarch/Makefile
18700 [$(config-cflags-sse4) = yes]: Make code unconditional.
18701 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18702 Likewise.
18703 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18704 Likewise.
18705 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18706 test.
18707 * sysdeps/x86_64/configure: Regenerated.
18708 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18709 Make code unconditional.
18710 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18711 Likewise.
18712 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18713 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18714
18715 * scripts/rpm2dynsym.sh: Remove file.
18716
18717 2015-10-06 Florian Weimer <fweimer@redhat.com>
18718
18719 * configure.ac (libc_cv_cxx_thread_local): Define.
18720 * configure: Regenerate.
18721 * config.make.in (have-cxx-thread_local): Define.
18722 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18723 (LDLIBS-tst-thread_local1): Define.
18724 (tests): Add tst-thread_local1.
18725 [have-cxx-thread_local != yes] (tests-unsupported): Add
18726 tst-thread_local1.
18727 * nptl/tst-thread_local1.cc: New file.
18728
18729 2015-10-06 Joseph Myers <joseph@codesourcery.com>
18730
18731 [BZ #19078]
18732 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18733 (u_thres): Likewise.
18734 (__expl): Determine whether to call __kernel_standard_l based on
18735 value of result, not argument.
18736
18737 * math/libm-test.inc (scalb_test_data): Add more expectations for
18738 the "inexact" exception.
18739
18740 [BZ #19077]
18741 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18742 0.0L for argument 1.0L.
18743
18744 [BZ #19076]
18745 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18746 constant 0.0L when computing infinite result.
18747
18748 2015-10-06 Florian Weimer <fweimer@redhat.com>
18749
18750 [BZ #10432]
18751 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18752 malloc_usable_size.
18753
18754 2015-10-06 Florian Weimer <fweimer@redhat.com>
18755
18756 [BZ #19018]
18757 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18758 Mangle function pointer before storing it.
18759 (__call_tls_dtors): Demangle function pointer before calling it.
18760
18761 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
18762
18763 [BZ #19012]
18764 * iconv/gconv_db.c (gen_steps): Check for additional errors.
18765 Clean up on failure.
18766
18767 2015-10-05 Joseph Myers <joseph@codesourcery.com>
18768
18769 [BZ #19071]
18770 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18771 long int variable to store possibly incremented high part of
18772 mantissa.
18773 * math/libm-test.inc (lround_test_data): Add tests used for
18774 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
18775 for tests requiring 64-bit long. Do not condition tests on
18776 [TEST_FLOAT] unnecessarily.
18777 (llround_test_data): Add tests used for lround. Add another
18778 expectation for the "inexact" exception. Do not condition tests
18779 on [TEST_FLOAT] unnecessarily.
18780
18781 [BZ #887]
18782 [BZ #19049]
18783 [BZ #19050]
18784 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18785 * sysdeps/ieee754/dbl-64/e_log10.c: Include
18786 <fix-int-fp-convert-zero.h>.
18787 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18788 * sysdeps/ieee754/dbl-64/e_log2.c: Include
18789 <fix-int-fp-convert-zero.h>.
18790 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18791 * sysdeps/ieee754/dbl-64/s_erf.c: Include
18792 <fix-int-fp-convert-zero.h>.
18793 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18794 * sysdeps/ieee754/dbl-64/s_logb.c: Include
18795 <fix-int-fp-convert-zero.h>.
18796 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18797 * sysdeps/ieee754/flt-32/e_log10f.c: Include
18798 <fix-int-fp-convert-zero.h>.
18799 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18800 * sysdeps/ieee754/flt-32/e_log2f.c: Include
18801 <fix-int-fp-convert-zero.h>.
18802 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18803 * sysdeps/ieee754/flt-32/s_erff.c: Include
18804 <fix-int-fp-convert-zero.h>.
18805 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18806 * sysdeps/ieee754/flt-32/s_logbf.c: Include
18807 <fix-int-fp-convert-zero.h>.
18808 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18809 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18810 <fix-int-fp-convert-zero.h>.
18811 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18813 <fix-int-fp-convert-zero.h>.
18814 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18815 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18816 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18817 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18818 file.
18819 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18820
18821 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
18822
18823 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18824
18825 2015-10-02 Joseph Myers <joseph@codesourcery.com>
18826
18827 [BZ #19059]
18828 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18829 overflowing computation.
18830 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18831 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18832 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18833 Likewise.
18834 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18835 Likewise.
18836 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18837 Likewise.
18838 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18839 Likewise.
18840 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18841 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18842 Likewise.
18843 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18844 Likewise.
18845 * math/libm-test.inc (nexttoward_test_data): Add more tests.
18846
18847 * nss/rewrite_field.c (__nss_rewrite_field): Use
18848 internal_function.
18849 * nss/valid_field.c (__nss_valid_field): Likewise.
18850 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18851
18852 2015-10-02 Florian Weimer <fweimer@redhat.com>
18853
18854 [BZ #18724]
18855 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18856 (__nss_invalid_field_characters, __nss_valid_field)
18857 (__nss_valid_list_field, __nss_rewrite_field): Declare.
18858 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18859 tst-field.c: New file.
18860 * nss/Makefile (routines): Add valid_field, rewrite_field.
18861 (tests-static): Define unconditionally.
18862 (tests): Include tests-static.
18863 [build-static-nss] (tests-static): Use append.
18864 [build-static-nss] (tests): Remove modification.
18865 * nss/getent.c (print_group): Call putgrent. Report error.
18866 (print_gshadow): Call putsgent. Report error.
18867 (print_passwd): Call putpwent. Report error.
18868 (print_shadow): Call putspent. Report error.
18869 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18870 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18871 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
18872 name, password, directory, shell fields for valid syntax. Rewrite
18873 GECOS field to match syntax.
18874 * pwd/Makefile (tests): Add tst-putpwent.
18875 * pwd/tst-putpwent.c: New file.
18876 * grp/putgrent.c (putgrent): Convert to ISO function definition.
18877 Check grName, grpasswd, gr_mem fields for valid syntax.
18878 Change loop variable i to size_t.
18879 * grp/Makefile (tests): Add tst-putgrent.
18880 * grp/tst-putgrent.c: New file.
18881 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18882 valid syntax.
18883 * shadow/Makefile (tests): Add tst-putspent.
18884 * shadow/tst-putspent.c: New file.
18885 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18886 sg_mem fields for valid syntax.
18887 * gshadow/Makefile (tests): Add tst-putsgent.
18888 * gshadow/tst-putsgent.c: New file.
18889
18890 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18891
18892 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18893 assembly instructions.
18894
18895 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
18896
18897 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18898 prefix from operands.
18899
18900 2015-10-01 Joseph Myers <joseph@codesourcery.com>
18901
18902 [BZ #16347]
18903 [BZ #19046]
18904 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18905 <libc-internal.h>.
18906 (MAXLGM): Do not use diagnostic control macros.
18907 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18908 threshold for ldbl-128ibm.
18909 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18910 instead of multiplying by log then subtracting.
18911 * math/auto-libm-test-in: Add more tests of lgamma.
18912 * math/auto-libm-test-out: Regenerated.
18913
18914 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
18915 (TYPE_HEX_DIG): Likewise.
18916 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
18917 precisions when printing floating-point numbers.
18918 (check_float_internal): Likewise.
18919
18920 2015-09-30 Joseph Myers <joseph@codesourcery.com>
18921
18922 [BZ #16620]
18923 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
18924 of log (10) rounded downward to 48 bits.
18925 (log10_low): Use corresponding low part of log (10).
18926
18927 [BZ #19032]
18928 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
18929 compute result as (x - x) / (x - x) not as 0 / 0.
18930 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18931 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
18932
18933 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18934 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
18935 and expm1.
18936 * math/auto-libm-test-out: Regenerated.
18937 * math/libm-test.inc (acos_test_data): Add more tests.
18938 (asin_test_data): Likewise.
18939 (asinh_test_data): Likewise.
18940 (atan_test_data): Likewise.
18941 (atanh_test_data): Likewise.
18942 (atan2_test_data): Likewise.
18943 (cbrt_test_data): Likewise.
18944 (ceil_test_data): Likewise.
18945 (copysign_test_data): Likewise.
18946 (cos_test_data): Likewise.
18947 (cosh_test_data): Likewise.
18948 (erf_test_data): Likewise.
18949 (erfc_test_data): Likewise.
18950 (exp_test_data): Likewise.
18951 (exp10_test_data): Likewise.
18952 (exp2_test_data): Likewise.
18953 (expm1_test_data): Likewise.
18954 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18955
18956 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
18957
18958 [BZ #19006]
18959 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
18960 to ...
18961 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
18962 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
18963 to ...
18964 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
18965 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
18966 to ...
18967 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
18968 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
18969 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
18970 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
18971 to ...
18972 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
18973 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
18974 Moved to ...
18975 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
18976 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
18977 Moved to ...
18978 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
18979 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
18980 to ...
18981 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
18982 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
18983 Moved to ...
18984 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
18985 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
18986 to ...
18987 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
18988 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
18989 Removed.
18990 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
18991 Likewise.
18992 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
18993 Likewise.
18994 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
18995 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
18996 Likewise.
18997 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
18998 Likewise.
18999 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19000 Likewise.
19001 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19002 Likewise.
19003 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19004 Likewise.
19005 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19006 Likewise.
19007 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19008 Likewise.
19009 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19010 Likewise.
19011 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19012 Likewise.
19013 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19014 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19015 Likewise.
19016 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19017 Likewise.
19018 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19019 Likewise.
19020 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19021 Likewise.
19022 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19023 Likewise.
19024 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19025 Replace ../i486/pthread_cond_timedwait.S with
19026 ../pthread_cond_timedwait.S.
19027
19028 2015-09-30 Joseph Myers <joseph@codesourcery.com>
19029
19030 * math/libm-test.inc (acos_test_data): Refine expectations for
19031 errno and "inexact" exceptions.
19032 (acosh_test_data): Likewise.
19033 (asin_test_data): Likewise.
19034 (asinh_test_data): Likewise.
19035 (atan_test_data): Likewise.
19036 (atanh_test_data): Likewise.
19037 (atan2_test_data): Likewise.
19038 (cbrt_test_data): Likewise.
19039 (ceil_test_data): Likewise.
19040 (copysign_test_data): Likewise.
19041 (cosh_test_data): Likewise.
19042 (erf_test_data): Likewise.
19043 (erfc_test_data): Likewise.
19044 (exp_test_data): Likewise.
19045 (exp10_test_data): Likewise.
19046 (exp2_test_data): Likewise.
19047 (expm1_test_data): Likewise.
19048 (fabs_test_data): Likewise.
19049 (floor_test_data): Likewise.
19050 (fma_test_data): Likewise.
19051 (fmax_test_data): Likewise.
19052 (fmin_test_data): Likewise.
19053 (fmod_test_data): Likewise.
19054 (fpclassify_test_data): Likewise.
19055 (frexp_test_data): Likewise.
19056 (hypot_test_data): Likewise.
19057 (ilogb_test_data): Likewise.
19058 (isgreater_test_data): Likewise.
19059 (isgreaterequal_test_data): Likewise.
19060 (isinf_test_data): Likewise.
19061 (isless_test_data): Likewise.
19062 (islessequal_test_data): Likewise.
19063 (islessgreater_test_data): Likewise.
19064 (isnan_test_data): Likewise.
19065 (isnormal_test_data): Likewise.
19066 (issignaling_test_data): Likewise.
19067 (isunordered_test_data): Likewise.
19068 (j0_test_data): Likewise.
19069 (j1_test_data): Likewise.
19070 (jn_test_data): Likewise.
19071 (lgamma_test_data): Likewise.
19072 (lrint_test_data): Likewise.
19073 (llrint_test_data): Likewise.
19074 (log_test_data): Likewise.
19075 (log10_test_data): Likewise.
19076 (log1p_test_data): Likewise.
19077 (log2_test_data): Likewise.
19078 (logb_test_data): Likewise.
19079 (lround_test_data): Likewise.
19080 (llround_test_data): Likewise.
19081 (modf_test_data): Likewise.
19082 (nearbyint_test_data): Likewise.
19083 (nextafter_test_data): Likewise.
19084 (nexttoward_test_data): Likewise.
19085 (pow_test_data): Likewise.
19086 (remainder_test_data): Likewise.
19087 (remquo_test_data): Likewise.
19088 (rint_test_data): Likewise.
19089 (round_test_data): Likewise.
19090 (signbit_test_data): Likewise.
19091 (sinh_test_data): Likewise.
19092 (sqrt_test_data): Likewise.
19093 (tanh_test_data): Likewise.
19094 (tgamma_test_data): Likewise.
19095 (trunc_test_data): Likewise.
19096 (y0_test_data): Likewise.
19097 (y1_test_data): Likewise.
19098 (yn_test_data): Likewise.
19099 (significand_test_data): Likewise.
19100
19101 2015-09-29 Carlos O'Donell <carlos@redhat.com>
19102
19103 * manual/filesys.texi (Storage Allocation): Document that
19104 posix_fallocate emulation fails when fd is open with O_WRONLY.
19105
19106 2015-09-28 Joseph Myers <joseph@codesourcery.com>
19107
19108 [BZ #19016]
19109 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19110 allow more cases with X^2 + Y^2 >= 0.5.
19111 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
19112 normal element in sum instead of special-casing based on values of
19113 arguments.
19114 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19115 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
19116 -1 as normal element in sum instead of special-casing based on
19117 values of arguments.
19118 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19119 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19120 (__x2y2m1): Update comment.
19121 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
19122 as normal element in sum instead of special-casing based on values
19123 of arguments.
19124 * math/s_clog.c (__clog): Handle more cases using log1p without
19125 hypot.
19126 * math/s_clog10.c (__clog10): Likewise.
19127 * math/s_clog10f.c (__clog10f): Likewise.
19128 * math/s_clog10l.c (__clog10l): Likewise.
19129 * math/s_clogf.c (__clogf): Likewise.
19130 * math/s_clogl.c (__clogl): Likewise.
19131 * math/auto-libm-test-in: Add more tests of clog and clog10.
19132 * math/auto-libm-test-out: Regenerated.
19133 * sysdeps/i386/fpu/libm-test-ulps: Update.
19134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19135
19136 2015-09-28 Martin Sebor <msebor@redhat.com>
19137
19138 [BZ #18969]
19139 * string/Makefile (LOCALES): Define.
19140 (gen-locales.mk): Include.
19141 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19142 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19143 * string/tst-strxfrm2.c (do_test): Print the name of the locale
19144 on setlocale failure.
19145
19146 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
19147
19148 [BZ #18985]
19149 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19150 (__strftime_internal): Likewise.
19151 * time/tst-strftime.c (do_bz18985): New test.
19152 (do_test): Call it.
19153
19154 2015-09-26 Joseph Myers <joseph@codesourcery.com>
19155
19156 [BZ #18956]
19157 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19158 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
19159 extracting high part.
19160 * math/auto-libm-test-in: Add another test of pow.
19161 * math/auto-libm-test-out: Regenerated.
19162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19163
19164 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19165
19166 [BZ #18825]
19167 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19168 New macro.
19169 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19170 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19171 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19172 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19173 DBL_NARROW_EVAL, reloading the PIC register as needed.
19174 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19175 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19176 FLT_NARROW_EVAL. Use separate return path for case when first
19177 argument is NaN.
19178 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
19179 DEFINE_LDBL_MIN.
19180 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19181 PIC register.
19182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19183 math_check_force_underflow_nonneg.
19184 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19185 underflow for subnormal result.
19186 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19188 math_check_force_underflow_nonneg.
19189 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19190 math_check_force_underflow.
19191 * sysdeps/x86_64/fpu/x86_64-math-asm.h
19192 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19193 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
19194 DEFINE_LDBL_MIN.
19195 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19196 * math/auto-libm-test-in: Add more tests of pow.
19197 * math/auto-libm-test-out: Regenerated.
19198
19199 2015-09-25 Florian Weimer <fweimer@redhat.com>
19200
19201 * nss/bug17079.c (init_test_items): Add diagnostic for
19202 inconsistent entries.
19203 (test_buffer_size): Skip inconsistent entries.
19204
19205 2015-09-25 Joseph Myers <joseph@codesourcery.com>
19206
19207 [BZ #13304]
19208 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19209 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19210 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19211
19212 [BZ #13304]
19213 * sysdeps/microblaze/s_fma.c: New file.
19214 * sysdeps/microblaze/s_fmaf.c: Likewise.
19215 * sysdeps/microblaze/sfp-machine.h: Likewise.
19216
19217 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
19218
19219 [BZ #17250]
19220 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19221 member.
19222
19223 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19224
19225 [BZ #18803]
19226 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19227 (MO): New macro.
19228 (__ieee754_hypot) [PIC]: Load PIC register.
19229 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19230 DBL_NARROW_EVAL.
19231 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19232 math_check_force_underflow_nonneg in case where result might be
19233 tiny.
19234 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19235 Likewise.
19236 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19237 Likewise.
19238 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19239 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19240 * math/auto-libm-test-in: Add more tests of hypot.
19241 * math/auto-libm-test-out: Regenerated.
19242
19243 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
19244
19245 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19246
19247 2015-09-24 Joseph Myers <joseph@codesourcery.com>
19248
19249 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19250 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19251 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19252 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19253 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19254 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19255 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19256
19257 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19258 LOAD_PIC_REG.
19259
19260 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19261 (FLT_CHECK_FORCE_UFLOW): Likewise.
19262 (DBL_CHECK_FORCE_UFLOW): Likewise.
19263 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19264 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19265 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19266 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19267 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19268 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19269 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19270 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19271 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19272 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19273 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19274 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19275 (flt_min): Replace with use of DEFINE_FLT_MIN.
19276 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19277 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19278 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19279 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19280 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19281 (flt_min): Replace with use of DEFINE_FLT_MIN.
19282 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19283 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19284 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19285 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19286 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19287 (flt_min): Replace with use of DEFINE_FLT_MIN.
19288 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19289 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19290 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19291 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19292 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19293 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19294 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19295 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19296 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19297 (__atan): Use DBL_CHECK_FORCE_UFLOW.
19298 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19299 (flt_min): Replace with use of DEFINE_FLT_MIN.
19300 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19301 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19302 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19303 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
19304 main computation.
19305 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19306 (flt_min): Replace with use of DEFINE_FLT_MIN.
19307 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
19308 main computation.
19309 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19310 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19311 (MO): New macro.
19312 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19313 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19314 (flt_min): Replace with use of DEFINE_FLT_MIN.
19315 (MO): New macro.
19316 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19317 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19318 (__log1pl): Use MO.
19319
19320 [BZ #19003]
19321 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19322 $(config-cflags-nofma).
19323
19324 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19325
19326 * sysdeps/aarch64/libm-test-ulps: Regenerated.
19327
19328 2015-09-23 Joseph Myers <joseph@codesourcery.com>
19329
19330 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19331 (TWO127): Likewise.
19332
19333 * sysdeps/generic/math_private.h (fabs_tg): New macro.
19334 (min_of_type): Likewise.
19335 (math_check_force_underflow): Likewise.
19336 (math_check_force_underflow_nonneg): Likewise.
19337 (math_check_force_underflow_complex): Likewise.
19338 * math/e_exp2l.c (__ieee754_exp2l): Use
19339 math_check_force_underflow_nonneg.
19340 * math/k_casinh.c (__kernel_casinh): Likewise.
19341 * math/k_casinhf.c (__kernel_casinhf): Likewise.
19342 * math/k_casinhl.c (__kernel_casinhl): Likewise.
19343 * math/s_catan.c (__catan): Use
19344 math_check_force_underflow_complex.
19345 * math/s_catanf.c (__catanf): Likewise.
19346 * math/s_catanh.c (__catanh): Likewise.
19347 * math/s_catanhf.c (__catanhf): Likewise.
19348 * math/s_catanhl.c (__catanhl): Likewise.
19349 * math/s_catanl.c (__catanl): Likewise.
19350 * math/s_ccosh.c (__ccosh): Likewise.
19351 * math/s_ccoshf.c (__ccoshf): Likewise.
19352 * math/s_ccoshl.c (__ccoshl): Likewise.
19353 * math/s_cexp.c (__cexp): Likewise.
19354 * math/s_cexpf.c (__cexpf): Likewise.
19355 * math/s_cexpl.c (__cexpl): Likewise.
19356 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19357 * math/s_clog10.c (__clog10): Likewise.
19358 * math/s_clog10f.c (__clog10f): Likewise.
19359 * math/s_clog10l.c (__clog10l): Likewise.
19360 * math/s_clogf.c (__clogf): Likewise.
19361 * math/s_clogl.c (__clogl): Likewise.
19362 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19363 * math/s_csinf.c (__csinf): Likewise.
19364 * math/s_csinh.c (__csinh): Likewise.
19365 * math/s_csinhf.c (__csinhf): Likewise.
19366 * math/s_csinhl.c (__csinhl): Likewise.
19367 * math/s_csinl.c (__csinl): Likewise.
19368 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19369 * math/s_csqrtf.c (__csqrtf): Likewise.
19370 * math/s_csqrtl.c (__csqrtl): Likewise.
19371 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19372 * math/s_ctanf.c (__ctanf): Likewise.
19373 * math/s_ctanh.c (__ctanh): Likewise.
19374 * math/s_ctanhf.c (__ctanhf): Likewise.
19375 * math/s_ctanhl.c (__ctanhl): Likewise.
19376 * math/s_ctanl.c (__ctanl): Likewise.
19377 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19378 instead of volatile.
19379 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19380 math_check_force_underflow.
19381 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19382 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19383 volatile when forcing underflow.
19384 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19385 math_check_force_underflow_nonneg.
19386 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19387 Likewise.
19388 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19389 math_check_force_underflow.
19390 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19391 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19392 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19393 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19394 math_check_force_underflow_nonneg.
19395 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19396 math_check_force_underflow.
19397 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19399 instead of volatile.
19400 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19401 math_check_force_underflow.
19402 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19403 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19404 math_check_force_underflow_nonneg.
19405 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19406 math_check_force_underflow.
19407 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19408 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19409 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19410 math_check_force_underflow_nonneg.
19411 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19412 Likewise.
19413 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19414 math_check_force_underflow.
19415 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19416 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19417 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19418 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19419 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19420 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19421 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19422 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19423 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19424 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19425 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19426 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19427 Likewise.
19428 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19429 math_check_force_underflow_nonneg.
19430 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19431 Likewise.
19432 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19433 math_check_force_underflow.
19434 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19435 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19436 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19437 Likewise.
19438 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19439 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19440 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19441 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19442 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19443 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19445 instead of volatile.
19446 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19447 math_check_force_underflow.
19448 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19450 math_check_force_underflow.
19451 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19452 Likewise.
19453 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19454 Use math_check_force_underflow_nonneg.
19455 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19456 math_check_force_underflow.
19457 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19458 Likewise.
19459 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19460 Likewise.
19461 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19462 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19463 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19464 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19465 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19466 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19467 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19468 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19469 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19470 math_check_force_underflow_nonneg.
19471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19472 math_check_force_underflow.
19473 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19474 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19475 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19476 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19477 math_check_force_underflow_nonneg.
19478 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19479 math_check_force_underflow.
19480 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19482 instead of volatile.
19483 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19484 math_check_force_underflow.
19485
19486 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19487 * stdlib/strtod_l.c: Include <math_private.h>.
19488 (overflow_value): Use math_narrow_eval.
19489 (underflow_value): Likewise.
19490 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19491 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19492 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19493 (__ieee754_gamma_r): Likewise.
19494 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19495 Likewise.
19496 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19497 Likewise.
19498 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19499 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19500 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19501 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19502 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19503 (__ieee754_gammaf_r): Likewise.
19504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19505 Likewise.
19506 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19507 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19508 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19509 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19510 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19511 volatile.
19512 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19513 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19514 math_narrow_eval.
19515 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19516 Likewise.
19517 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19518 Likewise.
19519 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19520 Likewise.
19521 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19522 volatile.
19523 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19524 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19525 math_narrow_eval.
19526 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19527 Likewise.
19528 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19529 Likewise.
19530
19531 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
19532
19533 * nptl/Versions: Remove ignored symbols.
19534
19535 2015-09-22 Florian Weimer <fweimer@redhat.com>
19536
19537 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
19538 * nss/Makefile (tests): Update.
19539
19540 2015-09-22 Florian Weimer <fweimer@redhat.com>
19541
19542 * nss/bug18287.c: New file.
19543 * nss/Makefile (tests): Add bug18287.
19544
19545 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
19546
19547 * mach/Versions (__mach_host_self_): Add symbol.
19548
19549 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
19550
19551 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19552 vm_page_size.
19553
19554 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19555
19556 Really fix sysdeps/i386/fpu/s_scalbn.S build
19557
19558 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19559 (libc: GLIBC_2_22): Remove unused version set.
19560
19561 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19562
19563 * config.make.in (enable-timezone-tools): New variable.
19564 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19565 (enable_timezone_tools): Export to generated files.
19566 * configure: Regenerate.
19567 * INSTALL: Regenerate.
19568 * manual/install.texi (--disable-timezone-tools): Document new flag.
19569 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19570 ifeq ($(enable-timezone-tools),yes) check.
19571
19572 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19573
19574 * timezone/Makefile: Revert previous change.
19575
19576 [BZ #18980]
19577 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19578 (DEFINE_DBL_MIN): Likewise.
19579 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19580 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19581 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19582 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19583 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19584 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19585 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19586 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19587 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19588 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19589 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19590 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19591 (flt_min): Replace with use of DEFINE_FLT_MIN.
19592 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19593 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19594 (dbl_min): Replace with use of DEFINE_DBL_MIN.
19595 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19596 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19597 (flt_min): Replace with use of DEFINE_FLT_MIN.
19598 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19599 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19600 (flt_min): Replace with use of DEFINE_FLT_MIN.
19601 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19602 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19603 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19604 (__ieee754_hypot): Use DBL_NARROW_EVAL.
19605 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19606 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19607 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19608 (__ieee754_pow): Use DBL_NARROW_EVAL.
19609 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19610 (__ieee754_powf): Use FLT_NARROW_EVAL.
19611 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19612 (__ieee754_expf_sse2): Convert double-precision result to single
19613 precision.
19614 * sysdeps/i386/fpu/libm-test-ulps: Update.
19615
19616 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19617
19618 * timezone/Makefile: Ignore unused variable errors due to private.h
19619 (time_t_min) and (time_t_max).
19620 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
19621 Likewise.
19622
19623 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19624
19625 [BZ #18981]
19626 * sysdeps/i386/fpu/i386-math-asm.h: New file.
19627 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19628 (__ieee754_scalb): Use DBL_NARROW_EVAL.
19629 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19630 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19631 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19632 (__scalbn): Use DBL_NARROW_EVAL.
19633 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19634 (__scalbnf): Use FLT_NARROW_EVAL.
19635
19636 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19637
19638 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19639 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19640 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19641 * stdio-common/printf_fp.c (___printf_fp):
19642 Use signbit to get the sign. Use isinf macro to allow inlining.
19643 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19644 * stdio-common/printf_size.c (__printf_size): Likewise.
19645
19646 2015-09-18 Mike Frysinger <vapier@gentoo.org>
19647
19648 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19649
19650 2015-09-18 Joseph Myers <joseph@codesourcery.com>
19651
19652 [BZ #18980]
19653 * sysdeps/generic/math_private.h: Include <float.h>.
19654 (math_narrow_eval): New macro.
19655 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19656 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19657 math_narrow_eval on overflowing return value.
19658 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19659 Likewise.
19660 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19661 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19662 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19663 Likewise.
19664 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19665
19666 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19667
19668 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19669 * math/Makefile: Remove isinf_ns.c.
19670 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19671 * math/multc3.c (__multc3): Likewise.
19672 * math/s_casin.c (__casin): Likewise.
19673 * math/s_casinf.c (__casinf): Likewise.
19674 * math/s_casinl.c (__casinl): Likewise.
19675 * math/s_cproj.c (__cproj): Likewise.
19676 * math/s_cprojf.c (__cprojf): Likewise.
19677 * math/s_cprojl.c (__cprofl): Likewise.
19678 * math/s_ctan.c (__ctan): Likewise.
19679 * math/s_ctanf.c (__ctanf): Likewise.
19680 * math/s_ctanh.c (__ctanh): Likewise.
19681 * math/s_ctanhf.c (__ctanhf): Likewise.
19682 * math/s_ctanhl.c (__ctanhl): Likewise.
19683 * math/s_ctanl.c (__ctanl): Likewise.
19684 * math/w_fmod.c (__fmod): Likewise.
19685 * math/w_fmodf.c (__fmodf): Likewise.
19686 * math/w_fmodl.c (_fmodl): Likewise.
19687 * math/w_remainder.c (__remainder): Likewise.
19688 * math/w_remainderf.c (__remainderf): Likewise.
19689 * math/w_remainderl.c (__remainderl): Likewise.
19690 * math/w_scalb.c (__scalb): Likewise.
19691 * math/w_scalbf.c (__scalbf): Likewise.
19692 * math/w_scalbl.c (__scalbl): Likewise.
19693 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19694 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19695 with isinf.
19696 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19697 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19698 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19699 __isinf_nsf with isinf.
19700 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19701 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19702 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19703 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19704 with isinf.
19705 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19706 __isinf_nsl with isinf.
19707 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19708 with isinf.
19709 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19710 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19711 __isinf_nsl with isinf.
19712 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19713 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19714 with isinf.
19715
19716 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19717
19718 * resolv/base64.c (rcsid): Remove unused static.
19719 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19720 static. (tqpi1): Likewise.
19721 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19722 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19723 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19724 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19725 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19726 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19727 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19728 * timezone/private.h (time_t_min): Likewise. (time_t_max):
19729 Likewise.
19730
19731 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
19732
19733 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19734 <nptl/pthreadP.h>.
19735 (_longjmp_unwind): Use __libc_ptf_call.
19736 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19737
19738 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
19739
19740 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19741 * sysdeps/arm/__longjmp.S: Likewise.
19742
19743 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19744
19745 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19746 Use __builtin_signbit.
19747 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19748 Use __builtin_signbitf.
19749 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19750 Use __builtin_signbitl.
19751 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19752 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19753
19754 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19755
19756 [BZ #15367]
19757 [BZ #17441]
19758
19759 * math/Makefile: Build test-snan.c with -fsignaling-nans.
19760 * math/math.h (fpclassify): Use __builtin_fpclassify when
19761 available. (signbit): Use __builtin_signbit(f/l).
19762 (isfinite): Use__builtin_isfinite. (isnormal): Use
19763 __builtin_isnormal. (isnan): Use __builtin_isnan.
19764 (isinf): Use __builtin_isinf_sign.
19765
19766 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
19767
19768 * benchtests/Makefile: Add bench-math-inlines, link with libm.
19769 * benchtests/bench-math-inlines.c: New benchmark.
19770 * benchtests/bench-util.h: New file.
19771 * benchtests/bench-util.c: New file.
19772 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19773
19774 2015-09-18 Carlos O'Donell <carlos@redhat.com>
19775
19776 * elf/tst-dlmopen1.c: Define TEST_SO.
19777 (do_test): Use TEST_SO.
19778
19779 * elf/dl-load.c: Include libc-internal.h.
19780 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19781
19782 2015-09-18 Vincent Bernat <vincent@bernat.im>
19783
19784 [BZ #17887]
19785 * time/strptime_l.c (__strptime_internal): Make %z accept
19786 [+-]HH:MM time zones.
19787
19788 2015-09-18 Vincent Bernat <vincent@bernat.im>
19789
19790 [BZ #17886]
19791 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19792 valid time zone.
19793
19794 2015-09-17 Mike Frysinger <vapier@gentoo.org>
19795
19796 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19797 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19798 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19799 (__ASSUME_FDATASYNC): Delete.
19800
19801 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19802
19803 * conform/linknamespace.pl: Require weak undefined symbols to be
19804 in the standard namespace.
19805 (%strong_syms): Rename to %seen_syms.
19806 (%strong_seen): Rename to %seen_where.
19807
19808 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
19809
19810 [BZ #18970]
19811 * misc/error.c (error): Replace pthread_setcancelstate with
19812 __pthread_setcancelstate.
19813 (error_at_line): Likewise.
19814 * posix/wordexp.c (parse_comm): Likewise.
19815 * stdlib/fmtmsg.c (fmtmsg): Likewise.
19816 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19817 (__pthread_setcancelstate): This.
19818 (pthread_setcancelstate): Add an alias.
19819 * nptl/nptl-init.c (pthread_functions): Replace
19820 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19821 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19822 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19823 hidden_proto.
19824 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19825 it with hidden_def.
19826 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19827 (pthread_setcancelstate): Renamed to ...
19828 (__pthread_setcancelstate): This.
19829 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19830 __libc_ptf_call with __pthread_setcancelstate.
19831
19832 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19833 Andreas Schwab <schwab@suse.de>
19834
19835 [BZ #17118]
19836 * math/s_ctan.c (__ctan): Determine sign of zero real part of
19837 result when imaginary part of argument is infinite using sine and
19838 cosine.
19839 * math/s_ctanf.c (__ctanf): Likewise.
19840 * math/s_ctanl.c (__ctanl): Likewise.
19841 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19842 of result when real part of argument is infinite using sine and
19843 cosine.
19844 * math/s_ctanhf.c (__ctanhf): Likewise.
19845 * math/s_ctanhl.c (__ctanhl): Likewise.
19846 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19847 (ctanh_test_data): Add more tests of ctanh.
19848
19849 2015-09-17 Joseph Myers <joseph@codesourcery.com>
19850
19851 [BZ #15384]
19852 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19853 bit-mask as in subtraction.
19854 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19855 Likewise.
19856 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19857 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19858 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19859
19860 [BZ #18951]
19861 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19862 underflow exception for small results.
19863 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19864 Likewise.
19865 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19866 Likewise.
19867 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19868 Likewise.
19869 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19870 Likewise.
19871 * math/auto-libm-test-in: Add more tests of tgamma.
19872 * math/auto-libm-test-out: Regenerated.
19873
19874 2015-09-17 Andreas Schwab <schwab@suse.de>
19875
19876 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19877
19878 2015-09-16 Joseph Myers <joseph@codesourcery.com>
19879
19880 [BZ #18977]
19881 * math/bits/mathcalls.h
19882 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19883 not declare.
19884 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19885 Likewise.
19886 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19887 Likewise.
19888 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19889 Likewise.
19890 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19891 Likewise.
19892 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19893 Likewise.
19894 * conform/data/math.h-data
19895 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19896 function.
19897 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19898 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19899 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19900 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19901 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19902 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19903 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19904 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19905 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19906 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19907 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19908
19909 [BZ #6803]
19910 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19911 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19912 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
19913 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
19914 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
19915 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
19916 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
19917 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
19918 [NO_LONG_DOUBLE] (scalbnl): Likewise.
19919 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
19920 Likewise.
19921 [NO_LONG_DOUBLE] (scalbnl): Likewise.
19922 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
19923 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
19924 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
19925 long_double_symbol calls.
19926 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
19927 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
19928 strong alias of __ldexpl.
19929 (scalbnl): Define using long_double_symbol.
19930 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
19931 Remove alias.
19932 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
19933 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
19934 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
19935 (scalbln_test_data): Add more errno expectations.
19936
19937 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
19938
19939 Cache the host port like we cache the task port. This way we do not
19940 need to call the kernel just to get the port. Furthermore, we no
19941 longer increase the reference count on every invocation of
19942 `mach_host_self'.
19943
19944 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
19945 Protect declarations against the macro expansion.
19946 * mach/mach_init.c (__mach_host_self_): New variable.
19947 (mach_init): Initialize `__mach_host_self_'.
19948 * mach/mach_init.h (__mach_host_self_): New declaration.
19949 (__mach_host_self, mach_host_self): New macros.
19950 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
19951 Release reference.
19952
19953 2015-09-16 Joseph Myers <joseph@codesourcery.com>
19954
19955 [BZ #4404]
19956 * po/de.po: Update from Translation Project.
19957
19958 [BZ #16415]
19959 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
19960 (__expm1l): Remove code to handle positive infinity and overflow.
19961 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
19962 variable.
19963 (__expm1l): Remove code to handle positive infinity and overflow.
19964
19965 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
19966 Paul Pluzhnikov <ppluzhnikov@google.com>
19967
19968 [BZ #18872]
19969 * stdio-common/Makefile (tst-printf-bz18872): New test.
19970 (tst-printf-bz18872-mem.out): Likewise.
19971 * stdio-common/tst-printf-bz18872.sh: Generate new test.
19972 * stdio-common/vfprintf.c: Fix memory leaks.
19973
19974 2015-09-16 Andreas Schwab <schwab@suse.de>
19975
19976 [BZ #17244]
19977 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
19978 Remove extra va_start/va_end calls.
19979
19980 [BZ #17243]
19981 * posix/execl.c (execl): Add missing va_end.
19982 * posix/execle.c (execle): Likewise.
19983 * posix/execlp.c (execlp): Likewise.
19984
19985 2015-09-15 Roland McGrath <roland@hack.frob.com>
19986
19987 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
19988 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
19989
19990 2015-09-15 Joseph Myers <joseph@codesourcery.com>
19991
19992 [BZ #18967]
19993 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
19994 undefine around includes of <bits/mathcalls.h>.
19995 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
19996 not declare function.
19997 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
19998 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
19999 (scalb): Likewise.
20000 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20001 not define macro.
20002 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20003 variable.
20004 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20005 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20006 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20007
20008 [BZ #18857]
20009 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20010 return non-finite argument without doing ordered comparisons on
20011 it.
20012
20013 [BZ #16296]
20014 * math/fenv.h (fegetround): Use __attribute_pure__.
20015 * include/fenv.h (__fegetround): Likewise.
20016
20017 [BZ #18595]
20018 * math/s_ctan.c (__ctan): Force underflow exception for results
20019 whose real or imaginary part has small absolute value.
20020 * math/s_ctanf.c (__ctanf): Likewise.
20021 * math/s_ctanh.c (__ctanh): Likewise.
20022 * math/s_ctanhf.c (__ctanhf): Likewise.
20023 * math/s_ctanhl.c (__ctanhl): Likewise.
20024 * math/s_ctanl.c (__ctanl): Likewise.
20025 * math/auto-libm-test-in: Do not allow missing underflow for ctan
20026 and ctanh. Add more tests of ctan and ctanh.
20027
20028 [BZ #15918]
20029 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20030 handling of cases where one argument is an infinity.
20031
20032 [BZ #18875]
20033 [BZ #18966]
20034 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20035 (MO): New macro.
20036 (__ieee754_exp10): For small results, force underflow exception
20037 and remove excess range and precision from return value.
20038 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20039 (MO): New macro.
20040 (__ieee754_exp10f): For small results, force underflow exception
20041 and remove excess range and precision from return value.
20042 * math/auto-libm-test-in: Add more tests of exp10.
20043 * math/auto-libm-test-out: Regenerated.
20044
20045 2015-09-14 Joseph Myers <joseph@codesourcery.com>
20046
20047 [BZ #18875]
20048 [BZ #18961]
20049 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20050 (MO): New macro.
20051 (__ieee754_exp): For small results, force underflow exception and
20052 remove excess range and precision from return value.
20053 (__exp_finite): Likewise.
20054 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20055 (MO): New macro.
20056 (__ieee754_expf): For small results, force underflow exception and
20057 remove excess range and precision from return value.
20058 (__expf_finite): Likewise.
20059 * math/auto-libm-test-in: Add more tests of exp.
20060 * math/auto-libm-test-out: Regenerated.
20061
20062 [BZ #16521]
20063 [BZ #18875]
20064 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20065 small results.
20066 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20067 (MO): New macro.
20068 (__ieee754_exp2): For small results, force underflow exception and
20069 remove excess range and precision from return value.
20070 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20071 (MO): New macro.
20072 (__ieee754_exp2f): For small results, force underflow exception
20073 and remove excess range and precision from return value.
20074 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20075 (MO): New macro.
20076 (__ieee754_exp2l): Force underflow exception for small results.
20077 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20078 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20079 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20080 (MO): New macro.
20081 (__ieee754_exp2l): Force underflow exception for small results.
20082 * math/auto-libm-test-in: Add more tests or exp2.
20083 * math/auto-libm-test-out: Regenerated.
20084
20085 2015-09-14 Carlos O'Donell <carlos@redhat.com>
20086
20087 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20088
20089 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20090 /dev/null.
20091
20092 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
20093
20094 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20095 io fs process)): Drop spurious backslash.
20096
20097 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20098
20099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20100 Use sysinfo system call instead of parsing /proc/meminfo.
20101 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20102 Likewise.
20103
20104 2015-09-11 Mike Frysinger <vapier@gentoo.org>
20105
20106 [BZ #16985]
20107 * programs/localedef.c (main): Display argv[remaining] when
20108 output_path is NULL.
20109
20110 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20111
20112 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20113 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20114 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20115 tanh.
20116 * math/auto-libm-test-out: Regenerated.
20117 * sysdeps/i386/fpu/libm-test-ulps: Update.
20118 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20119 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20121
20122 2015-09-11 Roland McGrath <roland@hack.frob.com>
20123
20124 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20125 Use 'override' keyword to freeze the value here, preventing
20126 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20127
20128 2015-09-11 Joseph Myers <joseph@codesourcery.com>
20129
20130 [BZ #14912]
20131 * sysdeps/aarch64/bits/atomic.h: Move to ...
20132 * sysdeps/aarch64/atomic-machine.h: ...here.
20133 (_AARCH64_BITS_ATOMIC_H): Rename macro to
20134 _AARCH64_ATOMIC_MACHINE_H.
20135 * sysdeps/alpha/bits/atomic.h: Move to ...
20136 * sysdeps/alpha/atomic-machine.h: ...here.
20137 * sysdeps/arm/bits/atomic.h: Move to ...
20138 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
20139 * bits/atomic.h: Move to ...
20140 * sysdeps/generic/atomic-machine.h: ...here.
20141 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20142 * sysdeps/i386/bits/atomic.h: Move to ...
20143 * sysdeps/i386/atomic-machine.h: ...here.
20144 * sysdeps/ia64/bits/atomic.h: Move to ...
20145 * sysdeps/ia64/atomic-machine.h: ...here.
20146 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20147 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20148 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20149 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20150 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20151 * sysdeps/microblaze/bits/atomic.h: Move to ...
20152 * sysdeps/microblaze/atomic-machine.h: ...here.
20153 * sysdeps/mips/bits/atomic.h: Move to ...
20154 * sysdeps/mips/atomic-machine.h: ...here.
20155 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20156 * sysdeps/powerpc/bits/atomic.h: Move to ...
20157 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
20158 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20159 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
20160 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
20161 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20162 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
20163 <atomic-machine.h> instead of <bits/atomic.h>.
20164 * sysdeps/s390/bits/atomic.h: Move to ...
20165 * sysdeps/s390/atomic-machine.h: ...here.
20166 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20167 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20168 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20169 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20170 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20171 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20172 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20173 * sysdeps/tile/bits/atomic.h: Move to ...
20174 * sysdeps/tile/atomic-machine.h: ...here.
20175 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20176 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
20177 <sysdeps/tile/atomic-machine.h> instead of
20178 <sysdeps/tile/bits/atomic.h>.
20179 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20180 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20181 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
20182 <sysdeps/tile/atomic-machine.h> instead of
20183 <sysdeps/tile/bits/atomic.h>.
20184 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20185 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20186 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
20187 <sysdeps/arm/atomic-machine.h> instead of
20188 <sysdeps/arm/bits/atomic.h>.
20189 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20190 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20191 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20192 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20193 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20194 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20195 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20196 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20197 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20198 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20199 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20200 * sysdeps/x86_64/bits/atomic.h: Move to ...
20201 * sysdeps/x86_64/atomic-machine.h: ...here.
20202 * include/atomic.h: Include <atomic-machine.h> instead of
20203 <bits/atomic.h>.
20204
20205 * sysdeps/mips/mips32/libm-test-ulps: Update.
20206 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20207
20208 [BZ #18952]
20209 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20210 not convert non-integer negative arguments to int to determine the
20211 value of signgam.
20212 * math/auto-libm-test-in: Add more tests of lgamma.
20213 * math/auto-libm-test-out: Regenerated.
20214
20215 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20216 cosh, csqrt, erfc, expm1 and lgamma.
20217 * math/auto-libm-test-out: Regenerated.
20218 * sysdeps/i386/fpu/libm-test-ulps: Update.
20219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20220
20221 2015-09-10 Joseph Myers <joseph@codesourcery.com>
20222
20223 [BZ #2542]
20224 [BZ #2543]
20225 [BZ #2558]
20226 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20227 __lgamma_neg for arguments from -28.0 to -2.0.
20228 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20229 __lgamma_negf for arguments from -15.0 to -2.0.
20230 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20231 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20232 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20233 Call __lgamma_negl for arguments from -33.0 to -2.0.
20234 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20235 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20236 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20237 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20244 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20245 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20246 (__lgamma_neg): Likewise.
20247 (__lgamma_negl): Likewise.
20248 (__lgamma_product): Likewise.
20249 (__lgamma_productl): Likewise.
20250 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20251 * math/auto-libm-test-in: Add more tests of lgamma.
20252 * math/auto-libm-test-out: Regenerated.
20253 * sysdeps/i386/fpu/libm-test-ulps: Update.
20254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20255
20256 2015-09-09 Justin Maggard <jmaggard@netgear.com>
20257
20258 [BZ #18675]
20259 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20260
20261 2015-09-08 Joseph Myers <joseph@codesourcery.com>
20262
20263 [BZ #14912]
20264 * bits/libc-lock.h: Move to ...
20265 * sysdeps/generic/libc-lock.h: ...here.
20266 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20267 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20268 * sysdeps/mach/hurd/libc-lock.h: ...here.
20269 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20270 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20271 * sysdeps/mach/bits/libc-lock.h: Move to ...
20272 * sysdeps/mach/libc-lock.h: ...here.
20273 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20274 * sysdeps/nptl/bits/libc-lock.h: Move to ...
20275 * sysdeps/nptl/libc-lock.h: ...here.
20276 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20277 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20278 * sysdeps/nptl/libc-lockP.h: ...here.
20279 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20280 * crypt/crypt_util.c: Include <libc-lock.h> instead of
20281 <bits/libc-lock.h>.
20282 * dirent/scandir-tail.c: Likewise.
20283 * dlfcn/dlerror.c: Likewise.
20284 * elf/dl-close.c: Likewise.
20285 * elf/dl-iteratephdr.c: Likewise.
20286 * elf/dl-lookup.c: Likewise.
20287 * elf/dl-open.c: Likewise.
20288 * elf/dl-support.c: Likewise.
20289 * elf/dl-writev.h: Likewise.
20290 * elf/rtld.c: Likewise.
20291 * grp/fgetgrent.c: Likewise.
20292 * gshadow/fgetsgent.c: Likewise.
20293 * gshadow/sgetsgent.c: Likewise.
20294 * iconv/gconv_conf.c: Likewise.
20295 * iconv/gconv_db.c: Likewise.
20296 * iconv/gconv_dl.c: Likewise.
20297 * iconv/gconv_int.h: Likewise.
20298 * iconv/gconv_trans.c: Likewise.
20299 * include/link.h: Likewise.
20300 * inet/getnameinfo.c: Likewise.
20301 * inet/getnetgrent.c: Likewise.
20302 * inet/getnetgrent_r.c: Likewise.
20303 * intl/bindtextdom.c: Likewise.
20304 * intl/dcigettext.c: Likewise.
20305 * intl/finddomain.c: Likewise.
20306 * intl/gettextP.h: Likewise.
20307 * intl/loadmsgcat.c: Likewise.
20308 * intl/localealias.c: Likewise.
20309 * intl/textdomain.c: Likewise.
20310 * libidn/idn-stub.c: Likewise.
20311 * libio/libioP.h: Likewise.
20312 * locale/duplocale.c: Likewise.
20313 * locale/freelocale.c: Likewise.
20314 * locale/newlocale.c: Likewise.
20315 * locale/setlocale.c: Likewise.
20316 * login/getutent_r.c: Likewise.
20317 * login/getutid_r.c: Likewise.
20318 * login/getutline_r.c: Likewise.
20319 * login/utmp-private.h: Likewise.
20320 * login/utmpname.c: Likewise.
20321 * malloc/mtrace.c: Likewise.
20322 * misc/efgcvt.c: Likewise.
20323 * misc/error.c: Likewise.
20324 * misc/fstab.c: Likewise.
20325 * misc/getpass.c: Likewise.
20326 * misc/mntent.c: Likewise.
20327 * misc/syslog.c: Likewise.
20328 * nis/nis_call.c: Likewise.
20329 * nis/nis_callback.c: Likewise.
20330 * nis/nss-default.c: Likewise.
20331 * nis/nss_compat/compat-grp.c: Likewise.
20332 * nis/nss_compat/compat-initgroups.c: Likewise.
20333 * nis/nss_compat/compat-pwd.c: Likewise.
20334 * nis/nss_compat/compat-spwd.c: Likewise.
20335 * nis/nss_nis/nis-alias.c: Likewise.
20336 * nis/nss_nis/nis-ethers.c: Likewise.
20337 * nis/nss_nis/nis-grp.c: Likewise.
20338 * nis/nss_nis/nis-hosts.c: Likewise.
20339 * nis/nss_nis/nis-network.c: Likewise.
20340 * nis/nss_nis/nis-proto.c: Likewise.
20341 * nis/nss_nis/nis-pwd.c: Likewise.
20342 * nis/nss_nis/nis-rpc.c: Likewise.
20343 * nis/nss_nis/nis-service.c: Likewise.
20344 * nis/nss_nis/nis-spwd.c: Likewise.
20345 * nis/nss_nisplus/nisplus-alias.c: Likewise.
20346 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20347 * nis/nss_nisplus/nisplus-grp.c: Likewise.
20348 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20349 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20350 * nis/nss_nisplus/nisplus-network.c: Likewise.
20351 * nis/nss_nisplus/nisplus-proto.c: Likewise.
20352 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20353 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20354 * nis/nss_nisplus/nisplus-service.c: Likewise.
20355 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20356 * nis/ypclnt.c: Likewise.
20357 * nptl/libc_pthread_init.c: Likewise.
20358 * nss/getXXbyYY.c: Likewise.
20359 * nss/getXXent.c: Likewise.
20360 * nss/getXXent_r.c: Likewise.
20361 * nss/nss_db/db-XXX.c: Likewise.
20362 * nss/nss_db/db-netgrp.c: Likewise.
20363 * nss/nss_db/nss_db.h: Likewise.
20364 * nss/nss_files/files-XXX.c: Likewise.
20365 * nss/nss_files/files-alias.c: Likewise.
20366 * nss/nsswitch.c: Likewise.
20367 * posix/regex_internal.h: Likewise.
20368 * posix/wordexp.c: Likewise.
20369 * pwd/fgetpwent.c: Likewise.
20370 * resolv/res_hconf.c: Likewise.
20371 * resolv/res_libc.c: Likewise.
20372 * shadow/fgetspent.c: Likewise.
20373 * shadow/lckpwdf.c: Likewise.
20374 * shadow/sgetspent.c: Likewise.
20375 * socket/opensock.c: Likewise.
20376 * stdio-common/reg-modifier.c: Likewise.
20377 * stdio-common/reg-printf.c: Likewise.
20378 * stdio-common/reg-type.c: Likewise.
20379 * stdio-common/vfprintf.c: Likewise.
20380 * stdio-common/vfscanf.c: Likewise.
20381 * stdlib/abort.c: Likewise.
20382 * stdlib/cxa_atexit.c: Likewise.
20383 * stdlib/fmtmsg.c: Likewise.
20384 * stdlib/random.c: Likewise.
20385 * stdlib/setenv.c: Likewise.
20386 * string/strsignal.c: Likewise.
20387 * sunrpc/auth_none.c: Likewise.
20388 * sunrpc/bindrsvprt.c: Likewise.
20389 * sunrpc/create_xid.c: Likewise.
20390 * sunrpc/key_call.c: Likewise.
20391 * sunrpc/rpc_thread.c: Likewise.
20392 * sysdeps/arm/backtrace.c: Likewise.
20393 * sysdeps/generic/ldsodefs.h: Likewise.
20394 * sysdeps/generic/stdio-lock.h: Likewise.
20395 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20396 * sysdeps/i386/backtrace.c: Likewise.
20397 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20398 * sysdeps/m68k/backtrace.c: Likewise.
20399 * sysdeps/mach/hurd/cthreads.c: Likewise.
20400 * sysdeps/mach/hurd/dirstream.h: Likewise.
20401 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20402 * sysdeps/nptl/malloc-machine.h: Likewise.
20403 * sysdeps/nptl/stdio-lock.h: Likewise.
20404 * sysdeps/posix/dirstream.h: Likewise.
20405 * sysdeps/posix/getaddrinfo.c: Likewise.
20406 * sysdeps/posix/system.c: Likewise.
20407 * sysdeps/pthread/aio_suspend.c: Likewise.
20408 * sysdeps/s390/s390-32/backtrace.c: Likewise.
20409 * sysdeps/s390/s390-64/backtrace.c: Likewise.
20410 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20411 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20412 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20413 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20414 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20415 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20416 * sysdeps/unix/sysv/linux/system.c: Likewise.
20417 * sysdeps/x86_64/backtrace.c: Likewise.
20418 * time/alt_digit.c: Likewise.
20419 * time/era.c: Likewise.
20420 * time/tzset.c: Likewise.
20421 * wcsmbs/wcsmbsload.c: Likewise.
20422 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20423 instead of <bits/libc-lock.h> in comment.
20424
20425 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
20426
20427 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20428 Only use .set mips2 if the current ISA is below mips2.
20429 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20430 Likewise.
20431 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20432 mips32r2 if the current ISA is below mips32r2.
20433 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20434 (TLS_IE): Updated to use the TLD_RDHWR macro.
20435 (TLS_LE): Likewise.
20436 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20437 __ASSEMBLER__ condition.
20438
20439 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
20440
20441 Fix parallel build of before-compile targets.
20442
20443 * sysdeps/mach/Makefile ($(patsubst
20444 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20445 mach-before-compile target.
20446 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20447 io fs process)): Move rule to dedicated hurd-before-compile target.
20448
20449 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20450
20451 Fix rules generating headers in hurd/ and mach/ when initial make call
20452 has subdir= explicitly set.
20453
20454 * sysdeps/mach/Makefile ($(patsubst
20455 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20456 calling $(MAKE).
20457 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20458 io fs process)): Force subdir to hurd when calling $(MAKE).
20459 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20460 subdir to mach when calling $(MAKE).
20461
20462 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
20463
20464 Check sysheaders when looking for Mach and Hurd headers
20465
20466 * sysdeps/mach/configure.ac: Add sysheaders check.
20467 * sysdeps/mach/configure: Regenerate.
20468 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20469 * sysdeps/mach/hurd/configure: Regenerate.
20470
20471 2015-09-04 Roland McGrath <roland@hack.frob.com>
20472
20473 [BZ #18921]
20474 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20475 Fix inverted sense of test of 'o_directory_works' value.
20476 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20477 Bernhard Voelker <mail@bernhard-voelker.de>.
20478
20479 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20480
20481 [BZ #14912]
20482 * bits/linkmap.h: Move to ...
20483 * sysdeps/generic/linkmap.h: ...here.
20484 * sysdeps/aarch64/bits/linkmap.h: Move to ...
20485 * sysdeps/aarch64/linkmap.h: ...here.
20486 * sysdeps/arm/bits/linkmap.h: Move to ...
20487 * sysdeps/arm/linkmap.h: ...here.
20488 * sysdeps/hppa/bits/linkmap.h: Move to ...
20489 * sysdeps/hppa/linkmap.h: ...here.
20490 * sysdeps/ia64/bits/linkmap.h: Move to ...
20491 * sysdeps/ia64/linkmap.h: ...here.
20492 * sysdeps/mips/bits/linkmap.h: Move to ...
20493 * sysdeps/mips/linkmap.h: ...here.
20494 * sysdeps/s390/bits/linkmap.h: Move to ...
20495 * sysdeps/s390/linkmap.h: ...here.
20496 * sysdeps/sh/bits/linkmap.h: Move to ...
20497 * sysdeps/sh/linkmap.h: ...here.
20498 * sysdeps/x86/bits/linkmap.h: Move to ...
20499 * sysdeps/x86/linkmap.h: ...here.
20500 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20501
20502 2015-09-04 Andreas Schwab <schwab@suse.de>
20503
20504 [BZ #18635]
20505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20506 (__makecontext): Terminate FDE before return label.
20507 (__novec_makecontext): Likewise.
20508
20509 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20510
20511 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20512 first member of struct sv in syscall macro.
20513
20514 2015-09-04 Joseph Myers <joseph@codesourcery.com>
20515
20516 [BZ #14912]
20517 * bits/stdio-lock.h: Move to ...
20518 * sysdeps/generic/stdio-lock.h: ...here.
20519 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20520 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20521 * sysdeps/nptl/stdio-lock.h: ...here.
20522 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20523 * include/libio.h: Include <stdio-lock.h> instead of
20524 <bits/stdio-lock.h>.
20525 * sysdeps/nptl/fork.c: Likewise.
20526 * sysdeps/pthread/flockfile.c: Likewise.
20527 * sysdeps/pthread/ftrylockfile.c: Likewise.
20528 * sysdeps/pthread/funlockfile.c: Likewise.
20529
20530 [BZ #14912]
20531 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20532 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20533 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20534 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20535 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20536 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20537 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20538
20539 2015-09-03 Roland McGrath <roland@hack.frob.com>
20540
20541 * elf/Makefile (test-xfail-tst-protected1a): New variable.
20542 (test-xfail-tst-protected1b): New variable.
20543
20544 2015-09-03 Joseph Myers <joseph@codesourcery.com>
20545
20546 [BZ #14912]
20547 * bits/libc-tsd.h: Move to ...
20548 * sysdeps/generic/libc-tsd.h: ...here.
20549 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20550 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20551 * sysdeps/mach/hurd/libc-tsd.h: ...here.
20552 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20553 * include/ctype.h: Include <libc-tsd.h> instead of
20554 <bits/libc-tsd.h>.
20555 * include/rpc/rpc.h: Likewise.
20556 * locale/localeinfo.h: Likewise.
20557 * sunrpc/rpc_thread.c: Likewise.
20558 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20559 * sysdeps/nptl/malloc-machine.h: Likewise.
20560
20561 * Makefile (headers): Remove bits/libc-lock.h.
20562 * libio/Makefile (headers): Remove bits/stdio-lock.h.
20563
20564 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20565 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20566 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20567 <bits/stdio-lock.h>.
20568 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20569 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20570
20571 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20572
20573 [BZ #18757]
20574 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20575 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20576 BZ #18757.
20577
20578 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
20579
20580 * malloc/mtrace.pl: Filter out NULL entries.
20581
20582 2015-09-01 Joseph Myers <joseph@codesourcery.com>
20583
20584 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20585 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20586 macro.
20587
20588 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20589 (TCP_CC_INFO): Likewise.
20590 (TCP_SAVE_SYN): Likewise.
20591 (TCP_SAVED_SYN): Likewise.
20592
20593 2015-08-31 Brett Neumeier <brett@neumeier.us>
20594
20595 [BZ #18870]
20596 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20597
20598 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
20599
20600 [BZ #18873]
20601 Fix broken overflow check in posix_fallocate
20602 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20603 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20604 Fix parenthesization typo.
20605
20606 2015-08-28 Mike Frysinger <vapier@gentoo.org>
20607
20608 [BZ #18887]
20609 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20610 tst-mntent-blank-passno.
20611 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20612 * misc/tst-mntent-blank-corrupt.c: New test.
20613 * misc/tst-mntent-blank-passno.c: New test ripped from ...
20614 * misc/tst-mntent.c (do_test): ... here.
20615
20616 2015-08-29 Mike Frysinger <vapier@gentoo.org>
20617
20618 [BZ #4404]
20619 * po/de.po: Fix SIGALRM typo.
20620
20621 2015-08-28 James Perkins <james@loowit.net>
20622
20623 * time/tst-strptime2.c (tests): Replace short list of test
20624 strings for strptime %z specifier with code which exhaustively
20625 tests every combination of sign and 0 to 5 digits. Tests for
20626 rejection of invalid strings.
20627
20628 2015-08-28 James Perkins <james@loowit.net>
20629
20630 [BZ #16141]
20631 * time/strptime_l.c (__strptime_internal): Fix %z minutes
20632 calculation, removing incorrect decimal time rounding, so that
20633 all minute values result in a valid seconds value.
20634 * time/strptime_l.c (__strptime_internal): Extend %z time zone
20635 offset range limits to UTC-99:59 through UTC+99:59 to parse
20636 current and historical use cases.
20637 * time/tst-strptime2.c (tests): Modify and add tests for the
20638 strptime %z input field descriptor, specifically conversion of
20639 minutes to seconds and validating an offset range of -9959 to
20640 +9959.
20641
20642 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20643 Dmitry V. Levin <ldv@altlinux.org>
20644
20645 [BZ #18877]
20646 * posix/Makefile (tests): Add tst-mmap-offset.
20647 * posix/tst-mmap.c: New file.
20648 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20649 offset calculation for negative values.
20650
20651 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20652
20653 * sysdeps/i386/init-arch.h: New file.
20654 * sysdeps/i386/i586/init-arch.h: Likewise.
20655 * sysdeps/i386/i686/init-arch.h: Likewise.
20656 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20657 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
20658 * sysdeps/x86/cpu-features.h (bit_I586): New.
20659 (bit_I686): Likewise.
20660 (bit_CX8): Likewise.
20661 (bit_CMOV): Likewise.
20662 (index_CX8): Likewise.
20663 (index_CMOV): Likewise.
20664 (index_I586): Likewise.
20665 (index_I686): Likewise.
20666 (reg_CX8): Likewise.
20667 (reg_CMOV): Likewise.
20668 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20669 available at compile-time.
20670 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20671 available at compile-time.
20672 * sysdeps/x86/init-arch.h (USE_I586): New macro.
20673 (USE_I686): Likewise.
20674
20675 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20676
20677 * sysdeps/i386/bcopy.S: New file.
20678 * sysdeps/i386/bzero.S: Likewise.
20679 * sysdeps/i386/memcpy.S: Likewise.
20680 * sysdeps/i386/memmove.S: Likewise.
20681 * sysdeps/i386/mempcpy.S: Likewise.
20682 * sysdeps/i386/memset.S: Likewise.
20683 * sysdeps/i386/bzero.c: Removed.
20684 * sysdeps/i386/memset.c: Likewise.
20685 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20686 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20687 * sysdeps/i386/i586/memset_chk.S: Likewise.
20688 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20689 * sysdeps/i386/memcpy_chk.S: Here.
20690 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20691 * sysdeps/i386/memmove_chk.S: Here.
20692 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20693 * sysdeps/i386/mempcpy_chk.S: Likewise.
20694 * sysdeps/i386/i686/memset_chk.S: Moved to ...
20695 * sysdeps/i386/memset_chk.S: Likewise.
20696
20697 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
20698
20699 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20700 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20701 file, move DIAG_POP_NEEDS_COMMENT to end of file.
20702 * soft-fp/fmadf4.c: Ditto.
20703 * soft-fp/fmatf4.c: Ditto.
20704
20705 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20706
20707 * sysdeps/i386/i586/Implies: Removed.
20708 * sysdeps/i386/i686/Implies: Likewise.
20709
20710 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20711
20712 * sysdeps/i386/i486/strlen.S: Moved to ...
20713 * sysdeps/i386/strlen.S: Here.
20714
20715 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20716
20717 * sysdeps/i386/i486/strcat.S: Moved to ...
20718 * sysdeps/i386/strcat.S: Here.
20719
20720 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20721
20722 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20723 * sysdeps/i386/pthread_spin_trylock.S: Here.
20724 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20725 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20726
20727 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20728
20729 * sysdeps/i386/i486/string-inlines.c: Moved to ...
20730 * sysdeps/i386/string-inlines.c: Here.
20731
20732 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20733
20734 * sysdeps/i386/i486/htonl.S: Moved ...
20735 * sysdeps/i386/htonl.S: here.
20736
20737 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20738
20739 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20740 * sysdeps/i386/bits/atomic.h: Here.
20741
20742 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
20743
20744 * sysdeps/i386/i486/Versions: Removed.
20745
20746 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
20747
20748 [BZ #2898]
20749 * misc/mktemp.c: Add mkdtemp to the link_warning message.
20750 Based on patch by Aurelien Jarno.
20751
20752 2015-08-26 Stan Shebs <stanshebs@google.com>
20753
20754 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20755 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20756
20757 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
20758
20759 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20760 * sysdeps/powerpc/dl-procinfo.c:
20761 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20762 feature so it shows when LD_SHOW_AUXV=1.
20763
20764 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
20765
20766 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20767 (__arch_compare_and_exchange_val_32_acq): Remove and use common
20768 definition. ISA 2.07B no longer requires full sync.
20769
20770 2015-08-26 Mike Frysinger <vapier@gentoo.org>
20771
20772 [BZ #18863]
20773 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20774 (si_call_addr): Define.
20775 (si_syscall): Define.
20776 (si_arch): Define.
20777
20778 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
20779
20780 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20781 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20782 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20783 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20784 (__memset_zero_constant_len_parameter): New.
20785 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20786 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20787 (__memset_zero_constant_len_parameter): Don't define if
20788 __memset_chk or USE_AS_BZERO are defined.
20789
20790 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20791 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20792 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20793
20794 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20795 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20796 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20797 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
20798 comments.
20799 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20800 -mno-mmx for $(all-rtld-routines).
20801 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20802 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
20803 i386.
20804
20805 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20806
20807 * sysdeps/generic/unwind.h
20808 (_Unwind_Word): Use __mode__(__unwind_word__)
20809 instead of __mode__(__word__).
20810 (_Unwind_Sword): Likewise.
20811
20812 * sysdeps/s390/s390-64/utf8-utf16-z9.c
20813 (MAX_NEEDED_INPUT): New define.
20814 (MAX_NEEDED_OUTPUT): New define.
20815
20816 * NEWS: New item for IBM z13 string optimizations.
20817
20818 * sysdeps/s390/multiarch/memrchr-c.c: New File.
20819 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20820 * sysdeps/s390/multiarch/memrchr.c: Likewise.
20821 * sysdeps/s390/multiarch/Makefile
20822 (sysdep_routines): Add memrchr functions.
20823 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20824 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20825
20826 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20827 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20828 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20829 * sysdeps/s390/multiarch/Makefile
20830 (sysdep_routines): Add wmemcmp functions.
20831 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20832 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20833 * benchtests/bench-wmemcmp.c: New File.
20834 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20835
20836 * sysdeps/s390/multiarch/wmemset-c.c: New File.
20837 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20838 * sysdeps/s390/multiarch/wmemset.c: Likewise.
20839 * sysdeps/s390/multiarch/Makefile
20840 (sysdep_routines): Add wmemset functions.
20841 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20842 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20843 * wcsmbs/wmemset.c: Use WMEMSET if defined.
20844 * string/test-memset.c: Add wmemset support.
20845 * wcsmbs/test-wmemset.c: New File.
20846 * wcsmbs/Makefile (strop-tests): Add wmemset.
20847 * benchtests/bench-memset.c: Add wmemset support.
20848 * benchtests/bench-wmemset.c: New File.
20849 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20850
20851 * sysdeps/s390/multiarch/memccpy-c.c: New File.
20852 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20853 * sysdeps/s390/multiarch/memccpy.c: Likewise.
20854 * sysdeps/s390/multiarch/Makefile
20855 (sysdep_routines): Add memccpy functions.
20856 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20857 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20858 * string/memccpy.c: Use MEMCCPY if defined.
20859
20860 * sysdeps/s390/multiarch/memchr-vx.S: New File.
20861 * sysdeps/s390/multiarch/memchr.c: Likewise.
20862 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20863 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20864 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20865 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20866 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20867 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20868 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20869 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20870 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20871 and rawmemchr functions.
20872 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20873 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20874 and wmemchr.
20875 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20876 * string/test-memchr.c: Add wmemchr support.
20877 * wcsmbs/test-wmemchr.c: New File.
20878 * wcsmbs/Makefile (strop-tests): Add wmemchr.
20879 * benchtests/bench-memchr.c: Add wmemchr support.
20880 * benchtests/bench-wmemchr.c: New File.
20881 * benchtests/Makefile (wcsmbs-bench): wmemchr.
20882
20883 * sysdeps/s390/multiarch/strcspn-c.c: New File.
20884 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20885 * sysdeps/s390/multiarch/strcspn.c: Likewise.
20886 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20887 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20888 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20889 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20890 wcscspn functions.
20891 * sysdeps/s390/multiarch/ifunc-impl-list.c
20892 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20893 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20894 * string/test-strcspn.c: Add wcscspn support.
20895 * wcsmbs/test-wcscspn.c: New File.
20896 * wcsmbs/Makefile (strop-tests): Add wcscspn.
20897 * benchtests/bench-strcspn.c: Add wcscspn support.
20898 * benchtests/bench-wcscspn.c: New File.
20899 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20900
20901 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20902 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20903 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20904 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20905 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20906 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20907 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20908 wcspbrk functions.
20909 * sysdeps/s390/multiarch/ifunc-impl-list.c
20910 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20911 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20912 * string/test-strpbrk.c: Add wcspbrk support.
20913 * wcsmbs/test-wcspbrk.c: New File.
20914 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
20915 * benchtests/bench-strpbrk.c: Add wcspbrk support.
20916 * benchtests/bench-wcspbrk.c: New File.
20917 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
20918
20919 * sysdeps/s390/multiarch/strspn-c.c: New File.
20920 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
20921 * sysdeps/s390/multiarch/strspn.c: Likewise.
20922 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
20923 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
20924 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
20925 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
20926 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
20927 wcsspn functions.
20928 * sysdeps/s390/multiarch/ifunc-impl-list.c
20929 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
20930 * string/test-strspn.c: Add wcsspn support.
20931 * wcsmbs/test-wcsspn.c: New File.
20932 * wcsmbs/Makefile (strop-tests): Add wcsspn.
20933 * benchtests/bench-strspn.c: Add wcsspn support.
20934 * benchtests/bench-wcsspn.c: New File.
20935 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
20936
20937 * sysdeps/s390/multiarch/strrchr-c.c: New File.
20938 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
20939 * sysdeps/s390/multiarch/strrchr.c: Likewise.
20940 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
20941 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
20942 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
20943 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
20944 wcsrchr functions.
20945 * sysdeps/s390/multiarch/ifunc-impl-list.c
20946 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
20947 * benchtests/bench-wcsrchr.c: New File.
20948 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
20949
20950 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
20951 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
20952 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
20953 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
20954 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
20955 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
20956 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
20957 wcschrnul functions.
20958 * sysdeps/s390/multiarch/ifunc-impl-list.c
20959 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
20960 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
20961 * string/test-strchr.c: Add wcschrnul support.
20962 * wcsmbs/test-wcschrnul.c: New File.
20963 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
20964 * benchtests/bench-strchr.c: Add wcschrnul support.
20965 * benchtests/bench-wcschrnul.c: New File.
20966 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
20967
20968 * sysdeps/s390/multiarch/strchr-c.c: New File.
20969 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
20970 * sysdeps/s390/multiarch/strchr.c: Likewise.
20971 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
20972 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
20973 * sysdeps/s390/multiarch/wcschr.c: Likewise.
20974 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
20975 wcschr functions.
20976 * sysdeps/s390/multiarch/ifunc-impl-list.c
20977 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
20978 * string/strchr.c (STRCHR): Define and use macro.
20979 * benchtests/bench-wcschr.c: New File.
20980 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
20981
20982 * sysdeps/s390/multiarch/strncmp-c.c: New File.
20983 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
20984 * sysdeps/s390/multiarch/strncmp.c: Likewise.
20985 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
20986 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
20987 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
20988 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
20989 wcsncmp functions.
20990 * sysdeps/s390/multiarch/ifunc-impl-list.c
20991 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
20992 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
20993 * benchtests/bench-strncmp.c: Add wcsncmp support.
20994 * benchtests/bench-wcsncmp.c: New File.
20995 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
20996
20997 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
20998 * sysdeps/s390/multiarch/strcmp.c: Likewise.
20999 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21000 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21001 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21002 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21003 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21004 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21005 wcscmp functions.
21006 * sysdeps/s390/multiarch/ifunc-impl-list.c
21007 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21008 * string/strcmp.c (STRCMP): Define and use macro.
21009 * benchtests/bench-wcscmp.c: New File.
21010 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21011 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21012 instead of _HAVE_STRING_ARCH_memchr.
21013
21014 * sysdeps/s390/multiarch/strncat-c.c: New File.
21015 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21016 * sysdeps/s390/multiarch/strncat.c: Likewise.
21017 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21018 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21019 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21020 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21021 wcsncat functions.
21022 * sysdeps/s390/multiarch/ifunc-impl-list.c
21023 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21024 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21025 * string/test-strncat.c: Add wcsncat support.
21026 * wcsmbs/test-wcsncat.c: New File.
21027 * wcsmbs/Makefile (strop-tests): Add wcsncat.
21028 * benchtests/bench-strncat.c: Add wcsncat support.
21029 * benchtests/bench-wcsncat.c: New File.
21030 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21031
21032 * sysdeps/s390/multiarch/strcat-c.c: New File.
21033 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21034 * sysdeps/s390/multiarch/strcat.c: Likewise.
21035 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21036 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21037 * sysdeps/s390/multiarch/wcscat.c: Likewise.
21038 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21039 wcscat functions.
21040 * sysdeps/s390/multiarch/ifunc-impl-list.c
21041 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21042 * string/strcat.c (STRCAT): Define and use macro.
21043 * wcsmbs/wcscat.c: Use WCSCAT if defined.
21044 * string/test-strcat.c: Add wcscat support.
21045 * wcsmbs/test-wcscat.c: New File.
21046 * wcsmbs/Makefile (strop-tests): Add wcscat.
21047 * benchtests/bench-strcat.c: Add wcscat support.
21048 * benchtests/bench-wcscat.c: New File.
21049 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21050
21051 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21052 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21053 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21054 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21055 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21056 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21057 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21058 wcpncpy functions.
21059 * sysdeps/s390/multiarch/ifunc-impl-list.c
21060 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21061 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21062 * string/test-stpncpy.c: Add wcpncpy support.
21063 * wcsmbs/test-wcpncpy.c: New File.
21064 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21065 * benchtests/bench-stpncpy.c: Add wcpncpy support.
21066 * benchtests/bench-wcpncpy.c: New File.
21067 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21068
21069 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21070 * sysdeps/s390/multiarch/strncpy.c: Likewise.
21071 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21072 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21073 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21074 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21075 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21076 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21077 wcsncpy functions.
21078 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21079 * sysdeps/s390/multiarch/ifunc-impl-list.c
21080 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21081 * string/test-strncpy.c: Add wcsncpy support.
21082 * wcsmbs/test-wcsncpy.c: New File.
21083 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21084 * benchtests/bench-strncpy.c: Add wcsncpy support.
21085 * benchtests/bench-wcsncpy.c: New File.
21086 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21087
21088 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21089 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21090 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21091 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21092 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21093 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21094 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21095 wcpcpy functions.
21096 * string/stpcpy.c: Use STPCPY if defined.
21097 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21098 * sysdeps/s390/multiarch/ifunc-impl-list.c
21099 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21100 * string/test-stpcpy.c: Add wcpcpy support.
21101 * wcsmbs/test-wcpcpy.c: New File.
21102 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21103 * benchtests/bench-stpcpy.c: Add wcpcpy support.
21104 * benchtests/bench-wcpcpy.c: New File.
21105 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21106
21107 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21108 * sysdeps/s390/multiarch/strcpy.c: Likewise.
21109 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21110 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21111 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21112 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21113 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21114 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21115 wcscpy functions.
21116 * sysdeps/s390/multiarch/ifunc-impl-list.c
21117 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21118 * benchtests/bench-wcscpy.c: New File.
21119 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21120
21121 * sysdeps/s390/multiarch/strnlen-c.c: New File.
21122 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21123 * sysdeps/s390/multiarch/strnlen.c: Likewise.
21124 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21125 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21126 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21127 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21128 wcsnlen functions.
21129 * sysdeps/s390/multiarch/ifunc-impl-list.c
21130 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21131 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21132 * string/test-strnlen.c: Add wcsnlen support.
21133 * wcsmbs/test-wcsnlen.c: New File.
21134 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21135 * benchtests/bench-strnlen.c: Add wcsnlen support.
21136 * benchtests/bench-wcsnlen.c: New File.
21137 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21138
21139 * sysdeps/s390/multiarch/Makefile: New File.
21140 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21141 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21142 * sysdeps/s390/multiarch/strlen.c: Likewise.
21143 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21144 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21145 * sysdeps/s390/multiarch/wcslen.c: Likewise.
21146 * string/strlen.c (STRLEN): Define and use macro.
21147 * sysdeps/s390/multiarch/ifunc-impl-list.c
21148 (IFUNC_VX_IMPL): New macro function.
21149 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21150 * benchtests/Makefile (wcsmbs-bench): New variable.
21151 (string-bench-all): Added wcsmbs-bench.
21152 * benchtests/bench-wcslen.c: New File.
21153
21154 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21155 s390_vx_libc_ifunc2): New macro function.
21156
21157 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21158 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21159 assembler support.
21160 * sysdeps/s390/configure: Regenerated.
21161
21162 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21163 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21164
21165 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21166 * sysdeps/s390/dl-procinfo.h: Add vector capability.
21167 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21168
21169 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21170 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21171 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21172 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21173 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21174 (memcmp, bcmp): Use __memcmp_default as alias source.
21175 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21176 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21177 Rename to __memcmp_default.
21178 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21179 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21180 (memcpy): Use __memcpy_default as alias source.
21181 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21182 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21183 Rename to __memcpy_default.
21184 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21185 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21186 (memset): Use __memset_default as alias source.
21187 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21188 * sysdeps/s390/s390-32/memset.S (__memset_g5):
21189 Rename to __memset_default.
21190 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21191 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21192 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21193 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21194 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21195 (memcmp, bcmp): Use __memcmp_default as alias source.
21196 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21197 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21198 Rename to __memcmp_default.
21199 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21200 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21201 (memcpy): Use __memcpy_default as alias source.
21202 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21203 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21204 Rename to __memcpy_default.
21205 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21206 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21207 (memset): Use __memset_default as alias source.
21208 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21209 * sysdeps/s390/s390-64/memset.S (__memset_z900):
21210 Rename to __memset_default.
21211 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21212 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21213
21214 [BZ #18610]
21215 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21216 __ieee_instruction_pointer to __unused.
21217 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21218 __ieee_instruction_pointer.
21219 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21220 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21221 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21222 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21223 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21224 Mark dxc-field as reserved.
21225
21226 2015-08-25 Roland McGrath <roland@hack.frob.com>
21227
21228 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21229 if the weak reference is not null.
21230
21231 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21232
21233 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21234
21235 [BZ #11214]
21236 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21237
21238 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21239
21240 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21241 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21242 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21243 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21244 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21245 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21246 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21247 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21248 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21249 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21250 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21251 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21252 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21253 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21254 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21255 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21256 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21257 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21258
21259 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21260
21261 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21262 register other than r0 for tabort, it has special meaning.
21263 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21264 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21265 transaction before starting syscall.
21266
21267 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21268
21269 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21270
21271 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21272
21273 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21274
21275 * sysdeps/x86_64/rtld-memcmp.c: Removed.
21276 * sysdeps/x86_64/rtld-memset.S: Likewise.
21277 * sysdeps/x86_64/rtld-strchr.S: Likewise.
21278 * sysdeps/x86_64/rtld-strlen.S: Likewise.
21279 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21280 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21281
21282 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21283
21284 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
21285
21286 * debug/strcpy_chk.c: Improve performance.
21287 * debug/stpcpy_chk.c: Likewise.
21288 * sysdeps/x86_64/strcpy_chk.S: Remove.
21289 * sysdeps/x86_64/stpcpy_chk.S: Remove.
21290
21291 [BZ #18240]
21292 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21293
21294 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
21295
21296 [BZ #15128]
21297 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21298 ifuncmain8.
21299 (modules-names): Add ifuncmod8.
21300 ($(objpfx)ifuncmain8): New rule.
21301 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21302 <cpuid.h>.
21303 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21304 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21305 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21306 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21307 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21308 * sysdeps/x86_64/dl-trampoline.h: Likewise.
21309 * sysdeps/x86_64/ifuncmain8.c: New file.
21310 * sysdeps/x86_64/ifuncmod8.c: Likewise.
21311 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21312 Removed.
21313 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21314 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21315 Change rtld_savespace_sse to __glibc_unused2.
21316 (RTLD_CHECK_FOREIGN_CALL): Removed.
21317 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21318 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21319 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21320
21321 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21322
21323 * sysdeps/aarch64/bzero.S (__bzero): Remove.
21324
21325 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
21326
21327 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21328 Unconditionally set __fpcr to avoid uninialized warning.
21329 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21330
21331 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21332
21333 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21334 is corrupt.
21335
21336 * malloc/arena.c (arena_get2): Drop unused argument.
21337 (arena_lock): Adjust.
21338 (arena_get_retry): Likewise.
21339
21340 2015-08-24 Andreas Schwab <schwab@suse.de>
21341
21342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21343 Don't define.
21344 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21345 (__ASSUME_IPC64): Don't undef.
21346 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21347 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21348 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21349 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21350 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21351 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21352 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21353 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21354 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21355 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21356 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21357 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21358 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21359 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21360 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21361 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21362 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21363 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21364 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21365 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21366 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21367
21368 2015-08-21 Mike Frysinger <vapier@gentoo.org>
21369
21370 * manual/Makefile (install): Only build manual when perl is available.
21371
21372 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21373
21374 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21375 '#undef memcpy' by '#undef memchr'.
21376
21377 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21378
21379 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21380 memchr not point to the internal __GI_memchr implementation.
21381
21382 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21383
21384 * timezone/Makefile (CFLAGS-zdump.c): Remove
21385 -Wno-strict-prototypes.
21386 (CFLAGS-zic.c): Likewise.
21387 (CFLAGS-ialloc.c): Likewise.
21388 (CFLAGS-scheck.c): Likewise.
21389
21390 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21391 -Wno-error=undef.
21392
21393 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21394
21395 * i386/i686/multiarch/strcasestr-c.c: Removed.
21396 * x86_64/multiarch/strcasestr.c: Likewise.
21397 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21398 Remove strcasestr.
21399
21400 2015-08-20 Joseph Myers <joseph@codesourcery.com>
21401
21402 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21403
21404 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21405 variables for high and low parts before possibly modifying them.
21406
21407 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21408
21409 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21410 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21411 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21412 of "multiarch/init-arch.h".
21413 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21414 * sysdeps/x86/init-arch.h: This.
21415
21416 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
21417
21418 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21419 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21420
21421 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
21422
21423 [BZ #17787]
21424 * manual/macros.texi: Add twoexp macro.
21425 * manual/filesys.texi: Fix exponents.
21426 * manual/llio.texi: Likewise.
21427 * manual/stdio.texi: Likewise.
21428
21429 2015-08-20 Florian Weimer <fweimer@redhat.com>
21430
21431 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21432 incorrect use.
21433
21434 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21435
21436 [BZ #18370]
21437 * math/s_csqrt.c (__csqrt): Force underflow exception for results
21438 whose real or imaginary part has small absolute value.
21439 * math/s_csqrtf.c (__csqrtf): Likewise.
21440 * math/s_csqrtl.c (__csqrtl): Likewise.
21441 * math/auto-libm-test-in: Add more tests of csqrt.
21442 * math/auto-libm-test-out: Regenerated.
21443 * sysdeps/i386/fpu/libm-test-ulps: Update.
21444
21445 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
21446
21447 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21448 __ppc_set_ppr_very_low): New functions.
21449 * manual/platform.texi: Add documentation about
21450 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21451
21452 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
21453
21454 * string/stpncpy.c (stpncpy): Improve performance using
21455 __strnlen/memcpy/memset.
21456
21457 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
21458
21459 [BZ #18796]
21460 * scripts/test-installation.pl: Don't add -lmvec to build options if
21461 libmvec wasn't built.
21462
21463 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
21464
21465 [BZ #14341]
21466 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21467 case when there is a gap between DT_REL and DT_JMPREL sections.
21468 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21469 (LDFLAGS-tst-split-dynreloc): New.
21470 (tst-split-dynreloc-ENV): Likewise.
21471 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21472 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21473
21474 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21475
21476 [BZ #18822]
21477 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21478 attribute_hidden.
21479 (__xstat64_conv): Likewise.
21480 (__xstat32_conv): Likewise.
21481
21482 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21483
21484 [BZ #18822]
21485 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21486 Don't load %ebx when calling __setcontext. Call __setcontext
21487 with HIDDEN_JUMPTARGET.
21488 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21489 libc_hidden_def.
21490
21491 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21492
21493 * sysdeps/i386/i686/Makefile
21494 [$(subdir) == string] (sysdep_routines): Moved to ...
21495 * sysdeps/i386/Makefile: Here.
21496 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21497 * sysdeps/i386/cacheinfo.c: Here.
21498 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21499 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21500 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21501 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21502
21503 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21506 __i586__ is defined.
21507 (HAS_I686): Defined to 1 if __i686__ is defined.
21508
21509 2015-08-19 Joseph Myers <joseph@codesourcery.com>
21510
21511 * elf/Makefile [$(have-z-execstack) = yes]
21512 (CPPFLAGS-tst-execstack.c): New variable.
21513
21514 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21515 conditional to [defined UTMPX || _HAVE_UT_TYPE].
21516 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21517 UTMPX || _HAVE_UT_TV].
21518 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21519 UTMPX || _HAVE_UT_TV - 0].
21520
21521 2015-08-18 Joseph Myers <joseph@codesourcery.com>
21522
21523 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21524 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21525 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21526
21527 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21528
21529 * sysdeps/powerpc/dl-procinfo.c:
21530 (_dl_powerpc_cap_flags): Added missing strings for some
21531 hwcap features.
21532 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21533
21534 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
21535
21536 Port the 0x7efe...feff pattern to GCC 6.
21537 See Steve Ellcey's bug report in:
21538 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21539 * string/memrchr.c (MEMRCHR):
21540 * string/rawmemchr.c (RAWMEMCHR):
21541 * string/strchr.c (strchr):
21542 * string/strchrnul.c (STRCHRNUL):
21543 Rewrite code to avoid issues with signed shift overflow.
21544
21545 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
21546
21547 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21548 whether cpuid is available only if HAS_CPUID is 0.
21549 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21550 (HAS_I586): Likewise.
21551 (HAS_I686): Likewise.
21552
21553 2015-08-18 Zack Weinberg <zackw@panix.com>
21554
21555 * misc/Versions (libc): Add GLIBC_2.23.
21556
21557 2015-08-18 Alan Modra <amodra@gmail.com>
21558
21559 [BZ #18421]
21560 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21561 .Lp__global.
21562 (_start): Load %dp via .Lp__global.
21563 [!SHARED]: Use .section .rodata.
21564
21565 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21566
21567 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21568 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21569
21570 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21571
21572 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21573 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21574
21575 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21576
21577 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21578 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21579
21580 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21581
21582 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21583 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21584
21585 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21586
21587 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21588 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21589
21590 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21591
21592 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21593 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21594
21595 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21596
21597 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21598
21599 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21600
21601 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21602 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
21603 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21604 (__ASSUME_LWS_CAS): Delete.
21605
21606 2015-08-18 Mike Frysinger <vapier@gentoo.org>
21607
21608 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21609 * sysdeps/hppa/configure: Regenerated.
21610 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21611 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21612 * sysdeps/hppa/nptl/tls.h: Likewise.
21613
21614 2015-08-17 Joseph Myers <joseph@codesourcery.com>
21615
21616 [BZ #18823]
21617 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21618 for scaling up small arguments.
21619 * math/s_csqrtf.c (__csqrtf): Likewise.
21620 * math/s_csqrtl.c (__csqrtl): Likewise.
21621 * math/auto-libm-test-in: Add more tests of csqrt.
21622 * math/auto-libm-test-out: Regenerated.
21623
21624 2015-08-17 Andreas Schwab <schwab@suse.de>
21625
21626 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21627 version set GLIBC_2.19.
21628
21629 2015-08-16 Zack Weinberg <zackw@panix.com>
21630
21631 [BZ #18681]
21632 * misc/regexp.h: This interface is no longer supported.
21633 Remove all contents, leaving only an #error directive.
21634 * misc/regexp.c (loc1, loc2, locs, step, advance):
21635 Demote to compatibility symbols.
21636
21637 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
21638
21639 [BZ #18084]
21640 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21641 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21642 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21643 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21644 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21645 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21646 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21647 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21648 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21649
21650 2015-08-15 Zack Weinberg <zackw@panix.com>
21651
21652 [BZ #18795]
21653 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21654 buffer length is known to be too large, not if it's known to be
21655 small enough.
21656 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21657 overflow at runtime, involving a length parameter, twice: once
21658 with a compile-time constant length parameter, once without.
21659
21660 2015-08-14 Joseph Myers <joseph@codesourcery.com>
21661
21662 [BZ #18824]
21663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21664 scaling x * y up instead of down.
21665 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21666 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21667 * math/auto-libm-test-in: Add more tests of fma.
21668 * math/auto-libm-test-out: Regenerated.
21669
21670 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
21671
21672 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21673
21674 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21675
21676 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21677 unnecessary movq.
21678 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21679 Likewise.
21680
21681 2015-08-13 Joseph Myers <joseph@codesourcery.com>
21682
21683 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21684 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21685 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21686 and tgamma.
21687 * math/auto-libm-test-out: Regenerated.
21688 * sysdeps/i386/fpu/libm-test-ulps: Update.
21689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21690
21691 [BZ #16520]
21692 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21693 (__tanh): Force underflow exception for arguments with small
21694 absolute value.
21695 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21696 (__tanhf): Force underflow exception for arguments with small
21697 absolute value.
21698 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21699 (__tanhl): Force underflow exception for arguments with small
21700 absolute value.
21701 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21702 (__tanhl): Force underflow exception for arguments with small
21703 absolute value.
21704 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21705 (__tanhl): Force underflow exception for arguments with small
21706 absolute value.
21707 * math/auto-libm-test-in: Add more tests of tanh.
21708 * math/auto-libm-test-out: Regenerated.
21709 * sysdeps/i386/fpu/libm-test-ulps: Update.
21710
21711 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21712
21713 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21714 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21715
21716 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21717
21718 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21719 <cpuid.h>.
21720
21721 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21722
21723 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21724 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21725
21726 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21729 Remove $(objpfx)init-arch.o.
21730 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21731 init-arch.
21732 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21733 (INIT_ARCH_EXT): Defined as empty.
21734 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21735 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21736 __init_cpu_features call. Replace HAS_XXX with
21737 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21738 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21739 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21740 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21741 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21742 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21743 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21744 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21745 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21746 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21747 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21748 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21749 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21750 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21751 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21752 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21753 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21754 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21755 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21756 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21757 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21758 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21759 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21760 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21761 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21762 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21763 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21764 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21765 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21766 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21767 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21768 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21769 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21770 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21771 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21772 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21773
21774 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21775
21776 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21777 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21778 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21779 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21780 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21781 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21782 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21783 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21784 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21785 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21786 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21787 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
21788 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21789 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21790 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21791 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21792 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21793 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21794 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21795 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21796 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21797 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21798 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21799 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21800 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21801 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21802 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21803 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21804 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21805 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21806 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21807 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21808 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21809 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21810 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21811 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21812 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21813 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21814 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21815 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21816 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21817 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21818 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21819
21820 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21821
21822 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21823 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21825 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21826 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21827 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21828 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21829 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21830 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21831 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21832 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21833 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21834 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21835 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21836 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21837 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21838 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21839 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21841 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21842 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21843 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21844 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21845 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21846 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21847 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21848 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21849 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
21850 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21851 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21852 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21853 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21854 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21855 * sysdeps/x86_64/multiarch/memset.S: Likewise.
21856 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21857 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21858 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21859 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21860 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21861 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21862 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21863 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21864 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21865
21866 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
21867
21868 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21869 (dl_platform_init): Call init_cpu_features.
21870 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21871 * sysdeps/i386/i686/cacheinfo.c
21872 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21873 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21874 * sysdeps/i386/i686/multiarch/Versions: Removed.
21875 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21876 Removed.
21877 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21878 * sysdeps/unix/sysv/linux/x86/Makefile
21879 (libpthread-sysdep_routines): Remove init-arch.
21880 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21881 <sysdeps/x86_64/dl-procinfo.c> instead of
21882 sysdeps/generic/dl-procinfo.c>.
21883 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21884 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21885 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21886 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21887 [$(subdir) == elf] (tests-static): Add
21888 tst-get-cpu-features-static.
21889 * sysdeps/x86/Versions: New file.
21890 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21891 * sysdeps/x86/cpu-features.c: Likewise.
21892 * sysdeps/x86/cpu-features.h: Likewise.
21893 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21894 * sysdeps/x86/libc-start.c: Likewise.
21895 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21896 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21897 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21898 * sysdeps/x86_64/dl-procinfo.c: Likewise.
21899 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21900 Assume USE_MULTIARCH is defined and don't check it.
21901 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21902 (is_amd): Likewise.
21903 (max_cpuid): Likewise.
21904 (intel_check_word): Likewise.
21905 (__cache_sysconf): Don't call __init_cpu_features.
21906 (__x86_preferred_memory_instruction): Removed.
21907 (init_cacheinfo): Don't call __init_cpu_features. Replace
21908 __cpu_features with GLRO(dl_x86_cpu_features).
21909 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21910 (dl_platform_init): Call init_cpu_features.
21911 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21912 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
21913 * sysdeps/x86_64/multiarch/Versions: Removed.
21914 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
21915 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
21916 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
21917 Removed.
21918 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
21919
21920 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21921
21922 [BZ #18820]
21923 * libio/Makefile (test-fmemopen-mem): New test.
21924 * libio/test-fmemopen.c (do_bz18820): New test.
21925 * libio/fmemopen.c (__fmemopen): Fix memory leak.
21926 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
21927
21928 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
21929
21930 [BZ #16734]
21931 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
21932 (FREE_BUF): Delete.
21933 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
21934 * libio/genops.c (_IO_setb): Use malloc and free directly.
21935 (_IO_default_doallocate, _IO_default_finish): Likewise.
21936 ( _IO_unbuffer_all): Likewise.
21937 ( libc_freeres_fn): Likewise.
21938 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21939 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21940 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
21941 (_IO_wdefault_doallocate): Likewise.
21942
21943 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
21944
21945 [BZ #18086]
21946 * sysdeps/posix/nice.c (nice): Restore old errno.
21947 * posix/tst-nice.c (do_test): Add test for BZ #18086.
21948
21949 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
21950
21951 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
21952
21953 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21954
21955 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
21956 __bcopy and add a weak_alias to bcopy.
21957 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
21958 for static build.
21959
21960 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
21961 cleanup macro usage.
21962 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
21963 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
21964 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
21965 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
21966 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
21967 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
21968 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
21969 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21970 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21971 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
21972 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21973 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
21974 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21975 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
21976 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21977 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
21978 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
21979 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
21980 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
21981
21982 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
21983 libc_hidden_def.
21984 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
21985
21986 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
21987 (sysdep_routines): Add strstr-ppc64.
21988 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
21989
21990 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
21991
21992 [BZ #18778]
21993 * elf/Makefile (tests): Add Add tst-nodelete2.
21994 (modules-names): Add tst-nodelete2mod.
21995 (tst-nodelete2mod.so-no-z-defs): New.
21996 ($(objpfx)tst-nodelete2): Likewise.
21997 ($(objpfx)tst-nodelete2.out): Likewise.
21998 (LDFLAGS-tst-nodelete2): Likewise.
21999 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22000 out of loop through all loaded libraries.
22001 * elf/tst-nodelete2.c: New file.
22002 * elf/tst-nodelete2mod.c: Likewise.
22003 * elf/tst-znodelete-zlib.cc: Delete.
22004
22005 2015-08-11 Andreas Schwab <schwab@suse.de>
22006
22007 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22008 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22009 (__openat64_nocancel): Likewise.
22010
22011 2015-08-11 Joseph Myers <joseph@codesourcery.com>
22012
22013 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22014 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22015 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22016 * math/auto-libm-test-out: Regenerated.
22017 * sysdeps/i386/fpu/libm-test-ulps: Update.
22018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22019
22020 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22021
22022 [BZ #18790]
22023 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22024 threshold for returning +/- 1.
22025 * math/auto-libm-test-in: Add more tests of tanh.
22026 * math/auto-libm-test-out: Regenerated.
22027 * sysdeps/i386/fpu/libm-test-ulps: Update.
22028
22029 2015-08-10 Andreas Schwab <schwab@suse.de>
22030
22031 [BZ #18781]
22032 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22033 MORE_OFLAGS to oflag.
22034 * io/test-lfs.c (do_test): Test openat64.
22035
22036 2015-08-10 Joseph Myers <joseph@codesourcery.com>
22037
22038 [BZ #18789]
22039 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22040 smaller threshold for returning the argument.
22041 * math/auto-libm-test-in: Add more tests of sinh.
22042 * math/auto-libm-test-out: Regenerated.
22043 * sysdeps/i386/fpu/libm-test-ulps: Update.
22044
22045 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
22046
22047 [BZ #18674]
22048 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22049 break.
22050
22051 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
22052
22053 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22054 (generated): Don't add $(addprefix z.,$(tzfiles)).
22055
22056 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22057
22058 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22059 * scripts/sysd-rules.awk: Likewise.
22060
22061 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22062
22063 * iconvdata/tst-tables.sh: Change echo -n to printf.
22064 * nss/db-Makefile: Likewise.
22065 * posix/tst-getconf.sh: Likewise.
22066 * stdio-common/tst-unbputc.sh: Likewise.
22067
22068 2015-08-09 Mike Frysinger <vapier@gentoo.org>
22069
22070 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22071 MADV_*_PAGES defines behind this feature check.
22072
22073 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
22074
22075 [BZ #18480]
22076 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22077 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22078 Define.
22079 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22080 LOAD_REGS_5, LOAD_REGS_6): Update.
22081 (INTERNAL_SYSCALL): Update using new LOAD defines.
22082 (INTERNAL_SYSCALL_NCS): Likewise.
22083 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22084
22085 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22086
22087 [BZ #16734]
22088 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22089
22090 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
22091
22092 [BZ #17905]
22093 * catgets/Makefile (tst-catgets-mem): New test.
22094 * catgets/catgets.c (catopen): Don't use unbounded alloca.
22095 * catgets/open_catalog.c (__open_catalog): Likewise.
22096 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22097
22098 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
22099
22100 [BZ #18787]
22101 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22102 clobber registers.
22103 (atomic_compare_and_exchange_val_acq): Use register asms to assign
22104 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
22105 Cast return to __typeof (oldval).
22106
22107 2015-08-08 Mike Frysinger <vapier@gentoo.org>
22108
22109 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22110 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
22111 and delete sys/syscall.h include.
22112
22113 2015-08-07 Joseph Myers <joseph@codesourcery.com>
22114
22115 [BZ #16517]
22116 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22117 (tan): Force underflow exception for arguments with small absolute
22118 value.
22119 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22120 (__kernel_tanf): Force underflow exception for arguments with
22121 small absolute value.
22122 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22123 (__kernel_tanl): Force underflow exception for arguments with
22124 small absolute value.
22125 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22126 (__kernel_tanl): Force underflow exception for arguments with
22127 small absolute value.
22128 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22129 (__kernel_tanl): Force underflow exception for arguments with
22130 small absolute value.
22131 * math/auto-libm-test-in: Add more tests of tan.
22132 * math/auto-libm-test-out: Regenerated.
22133
22134 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22135
22136 Fix sysdeps/i386/fpu/s_scalbn.S build
22137
22138 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22139
22140 2015-08-07 Mike Frysinger <vapier@gentoo.org>
22141
22142 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22143
22144 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
22145
22146 Fix gcrt0.o compilation
22147
22148 When static-start-installed-name is different from
22149 start-installed-name, we must not use the shared objects.
22150
22151 * csu/Makefile
22152 (extra-objs): Add gmon-start.o when building shared library and
22153 $(static-start-installed-name) is different from
22154 $(start-installed-name).
22155 $(objpfx)g$(static-start-installed-name): When building shared
22156 library and $(static-start-installed-name) is different from
22157 $(static-start-installed-name), revert to non-shared rule,
22158 i.e. using $(objpfx)% and gmon-start.o.
22159
22160 2015-08-06 Joseph Myers <joseph@codesourcery.com>
22161
22162 [BZ #16519]
22163 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22164 (__ieee754_sinh): Force underflow exception for arguments with
22165 small absolute value.
22166 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22167 (__ieee754_sinhf): Force underflow exception for arguments with
22168 small absolute value.
22169 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22170 (__ieee754_sinhl): Force underflow exception for arguments with
22171 small absolute value.
22172 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22173 (__ieee754_sinhl): Force underflow exception for arguments with
22174 small absolute value.
22175 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22176 (__ieee754_sinhl): Force underflow exception for arguments with
22177 small absolute value.
22178 * math/auto-libm-test-in: Add more tests of sinh.
22179 * math/auto-libm-test-out: Regenerated.
22180 * sysdeps/i386/fpu/libm-test-ulps: Update.
22181
22182 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
22183
22184 * libio/oldfileops.c: Include unistd.h.
22185
22186 2015-08-06 Mike Frysinger <vapier@gentoo.org>
22187
22188 * stdlib/isomac.c: Include ctype.h.
22189
22190 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
22191
22192 * dirent/tst-seekdir.c (main): Converted to ...
22193 (do_test): ... this.
22194 (TEST_FUNCTION): New macro.
22195 Include test-skeleton.c.
22196 * elf/tst-dlmodcount.c (main): Converted to ...
22197 (do_test): ... this.
22198 (TEST_FUNCTION): New macro.
22199 Include test-skeleton.c.
22200 * elf/tst-order-main.c (main): Converted to ...
22201 (do_test): ... this.
22202 (TEST_FUNCTION): New macro.
22203 Include test-skeleton.c.
22204 * elf/tst-pie2.c (main): Converted to ...
22205 (do_test): ... this.
22206 (TEST_FUNCTION): New macro.
22207 Include test-skeleton.c.
22208 * inet/tst-ether_aton.c (main): Converted to ...
22209 (do_test): ... this.
22210 (TEST_FUNCTION): New macro.
22211 Include test-skeleton.c.
22212 * misc/tst-mntent.c (main): Converted to ...
22213 (do_test): ... this.
22214 (TEST_FUNCTION): New macro.
22215 Include test-skeleton.c.
22216 * misc/tst-tsearch.c (main): Converted to ...
22217 (do_test): ... this.
22218 (TEST_FUNCTION): New macro.
22219 Include test-skeleton.c.
22220 * posix/tst-regexloc.c (main): Converted to ...
22221 (do_test): ... this.
22222 (TEST_FUNCTION): New macro.
22223 Include test-skeleton.c.
22224 * resolv/tst-aton.c (main): Converted to ...
22225 (do_test): ... this.
22226 (TEST_FUNCTION): New macro.
22227 Include test-skeleton.c.
22228 * stdio-common/test-fwrite.c (main): Converted to ...
22229 (do_test): ... this.
22230 (TEST_FUNCTION): New macro.
22231 Include test-skeleton.c.
22232 * stdio-common/tst-ferror.c (main): Converted to ...
22233 (do_test): ... this.
22234 (TEST_FUNCTION): New macro.
22235 Include test-skeleton.c.
22236 * stdio-common/tst-printf.c (main): Converted to ...
22237 (do_test): ... this.
22238 (TEST_FUNCTION): New macro.
22239 Include test-skeleton.c.
22240 * stdio-common/tst-printfsz.c (main): Converted to ...
22241 (do_test): ... this.
22242 (TEST_FUNCTION): New macro.
22243 Include test-skeleton.c.
22244 * stdlib/tst-strtod.c (main): Converted to ...
22245 (do_test): ... this.
22246 (TEST_FUNCTION): New macro.
22247 Include test-skeleton.c.
22248 * string/tst-strlen.c (main): Converted to ...
22249 (do_test): ... this.
22250 (TEST_FUNCTION): New macro.
22251 Include test-skeleton.c.
22252 * string/tst-svc.c (main): Converted to ...
22253 (do_test): ... this.
22254 (TEST_FUNCTION): New macro.
22255 Include test-skeleton.c.
22256 * time/tst-strptime.c (main): Converted to ...
22257 (do_test): ... this.
22258 (TEST_FUNCTION): New macro.
22259 Include test-skeleton.c.
22260 * timezone/tst-timezone.c (main): Converted to ...
22261 (do_test): ... this.
22262 (TEST_FUNCTION): New macro.
22263 Include test-skeleton.c.
22264
22265 2015-08-05 Zack Weinberg <zackw@panix.com>
22266
22267 * misc/regexp.h: Update comments.
22268
22269 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
22270
22271 [BZ #18635]
22272 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22273 before return label.
22274
22275 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22276
22277 [BZ #18661]
22278 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22279 when calling __errno_location.
22280 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22281 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22282
22283 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22284
22285 [BZ #18661]
22286 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22287 (__lll_timedwait_tid): Align stack to 16 bytes when calling
22288 __gettimeofday.
22289
22290 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22291
22292 [BZ #18661]
22293 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22294 (__start_context): Don't use pop to restore %rdi so that stack
22295 is aligned to 16 bytes when calling __setcontext.
22296
22297 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22298
22299 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22300 only for libc.
22301 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22302
22303 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22304
22305 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22306 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
22307 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22308
22309 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22310
22311 * string/memccpy.c (memccpy):
22312 Improve performance by using memchr/memcpy/__mempcpy.
22313
22314 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22315
22316 * string/strncpy.c (strncpy):
22317 Improve performance by using __strnlen/memcpy.
22318
22319 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22320
22321 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22322 Optimize to avoid an unnecessary FPCR read.
22323
22324 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
22325
22326 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22327 Optimize to reduce FPCR/FPSR accesses.
22328
22329 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
22330
22331 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22332 dead->data[category] != NULL.
22333
22334 2015-08-05 Joseph Myers <joseph@codesourcery.com>
22335
22336 [BZ #18647]
22337 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22338 and |x| close to 1, use absolute value of x when computing log.
22339 * math/auto-libm-test-in: Add more tests of pow.
22340 * math/auto-libm-test-out: Regenerated.
22341
22342 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22343
22344 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22345 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22346 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22347
22348 2015-08-05 Marko Myllynen <myllynen@redhat.com>
22349
22350 [BZ #18525]
22351 * locales/km_KH: Remove timezone definition.
22352 * locales/lo_LA: Likewise.
22353 * locales/my_MM: Likewise.
22354 * locales/nan_TW@latin: Likewise.
22355 * locales/th_TH: Likewise.
22356 * locales/uk_UA: Likewise.
22357
22358 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
22359
22360 [BZ #18265]
22361 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22362 (wcsncat): Likewise.
22363 (wcscmp): Likewise.
22364 (wcsncmp): Likewise.
22365
22366 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22367
22368 * test-skeleton.c (usage): New function.
22369 (main): Call usage when opt is '?'.
22370
22371 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22372
22373 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22374 before first use.
22375
22376 2015-08-05 Mike Frysinger <vapier@gentoo.org>
22377
22378 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22379 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
22380 in there too.
22381
22382 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
22383
22384 * version.h (RELEASE): Set to "development".
22385 (VERSION): Set to "2.22.90"
22386
22387 * version.h (RELEASE): Set to "stable".
22388 (VERSION): Set to "2.22"
22389 * include/features.h (__GLIBC_MINOR__): Set to 22.
22390
22391 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
22392
22393 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22394 Restructure macro to avoid "value computed is not used" warning.
22395 (atomic_compare_and_exchange_val_acq): Likewise.
22396
22397 2015-08-04 Andreas Schwab <schwab@suse.de>
22398
22399 [BZ #18635]
22400 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22401 ret.
22402 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22403
22404 2015-08-01 Carlos O'Donell <carlos@redhat.com>
22405
22406 * po/pl.po: Updated translation.
22407 * po/uk.po: Likewise.
22408 * po/fi.po: Likewise.
22409 * po/ko.po: Likewise.
22410 * po/ru.po: Likewise.
22411 * po/vi.po: Likewise.
22412
22413 2015-07-31 Zack Weinberg <zackw@panix.com>
22414
22415 [BZ #18681]
22416 * regexp.h: Add unconditional #warning stating that this header
22417 will be removed soon. Revise banner comment to match.
22418 (compile): Consistently use ERROR instead of RETURN to report
22419 errors (partial fix for bz#18681).
22420 * regexp.c: Don't include regexp.h. Remove some unnecessary
22421 declarations.
22422
22423 2015-07-31 Carlos O'Donell <carlos@redhat.com>
22424
22425 * po/libc.pot: Regenerated.
22426
22427 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
22428
22429 [BZ #18740]
22430 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22431 float-vlen4-arch-ext-cflags): Removed.
22432 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22433 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22434
22435 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22436
22437 [BZ #14113]
22438 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22439 aligned to __aligned__.
22440 (pthread_cond_t, pthread_rwlock_t): Likewise.
22441
22442 2015-07-30 Torvald Riegel <triegel@redhat.com>
22443
22444 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22445
22446 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22447
22448 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22449 (struct sigaction): Change sa_flags from a long to an int, and add
22450 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22451
22452 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22453
22454 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22455 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22456 sysdeps/generic/sysdep.h include.
22457 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22458 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
22459 sysdeps/hppa/sysdep.h.
22460 (ENTRY, PSEUDO): Undefine before defining.
22461
22462 2015-07-30 Mike Frysinger <vapier@gentoo.org>
22463
22464 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22465 from scratch to use INTERNAL_SYSCALL.
22466
22467 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
22468
22469 [BZ #18078]
22470 * scripts/check-localplt.awk: Support alternate relocations.
22471 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22472 sections.
22473 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22474 malloc entries with + REL R_386_GLOB_DAT.
22475 * sysdeps/x86_64/localplt.data: New file.
22476
22477 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
22478
22479 [BZ #18731]
22480 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22481 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22482 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22483
22484 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22485
22486 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22487
22488 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22489
22490 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22491 directly in terms of __sync_fetch_and_add and delete (int) cast.
22492
22493 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22494
22495 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22496 the -D_ASM_IA64_CURRENT_H flag.
22497
22498 2015-07-27 Mike Frysinger <vapier@gentoo.org>
22499
22500 [BZ #18641]
22501 * pwd/pwd.h (putpwent): Delete __nonnull markings.
22502
22503 2015-07-27 Andreas Schwab <schwab@suse.de>
22504
22505 * conform/conformtest.pl (checknamespace): Filter out string
22506 literals while tokenizing.
22507
22508 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22509
22510 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22511 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22512 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22513
22514 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
22515
22516 * nptl/tst-join7mod.c: Add #include <string.h>.
22517
22518 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22519
22520 * sysdeps/nios2/libm-test-ulps: Update.
22521
22522 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
22523
22524 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22525 Fix order of arguments to the rt_sigprocmask syscall.
22526 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22527 Likewise.
22528
22529 2015-07-24 Roland McGrath <roland@hack.frob.com>
22530
22531 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22532
22533 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22534
22535 [BZ #18457]
22536 * nptl/Makefile (tests): New test case tst-join7.
22537 (modules-names): New test case module tst-join7mod.
22538 * nptl/tst-join7.c: New file.
22539 * nptl/tst-join7mod.c: New file.
22540 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22541 all translation units in libc.so, libpthread.so and rtld.
22542
22543 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22544
22545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22546
22547 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
22548
22549 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22550 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22551 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22552 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22553 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22554 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22555 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22556 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22557 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22558 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22559 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22560 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22561 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22562 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22563 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22564 implementation.
22565
22566 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
22567
22568 [BZ #17711]
22569 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22570 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22571 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22572 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22573 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22574 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22575
22576 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22577
22578 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22579 instead of just saying load lock in the comments.
22580
22581 2015-07-23 Roland McGrath <roland@hack.frob.com>
22582
22583 * sysdeps/unix/Subdirs: Moved ...
22584 * sysdeps/posix/Subdirs: ... here.
22585 * login/pty.h (struct termios, struct winsize): Add forward decls.
22586 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22587 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22588 * sysdeps/arm/nacl/libc.abilist: Updated.
22589 * sysdeps/nacl/libutil.abilist: New file.
22590
22591 * bits/signum.h: Update comments to mention 1003.1-2013 too.
22592 (SIGWINCH): New macro.
22593
22594 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22595 * sysdeps/arm/nacl/libc.abilist: Add it.
22596
22597 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22598
22599 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22600
22601 2015-07-23 Mike Frysinger <vapier@gentoo.org>
22602
22603 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22604 Swap __glibc_reserved0 and sa_flags order.
22605
22606 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22607
22608 [BZ #18657]
22609 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22610 are pending TLS destructor calls.
22611 * include/link.h (struct link_map): Add concurrency note for
22612 L_TLS_DTOR_COUNT.
22613 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22614 Don't touch the link map flag. Atomically increment
22615 l_tls_dtor_count.
22616 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22617 Avoid taking the load lock and don't touch the link map flag.
22618 * stdlib/tst-tls-atexit-nodelete.c: New test case.
22619 * stdlib/Makefile (tests): Use it.
22620 * stdlib/tst-tls-atexit.c (do_test): dlopen
22621 tst-tls-atexit-lib.so again before dlclose. Add conditionals
22622 to allow tst-tls-atexit-nodelete test case to use it.
22623
22624 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22625
22626 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22627 to bits/types.h.
22628 (msgqnum_t): New typedef.
22629 (msglen_t): Likewise.
22630 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
22631 and msg_qbytes type to msglen_t.
22632
22633 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22634
22635 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22636 pad0 to __glibc_reserved0.
22637 (struct stat64): Likewise.
22638
22639 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22640
22641 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22642 Change sa_flags from a long to an int and add __glibc_reserved0 before
22643 it for padding.
22644
22645 2015-07-22 Mike Frysinger <vapier@gentoo.org>
22646
22647 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22648 anonymous by deleting "siginfo" name.
22649
22650 2015-07-21 Roland McGrath <roland@hack.frob.com>
22651
22652 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22653 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22654 rather than __nacl_irt_filename.
22655 * sysdeps/nacl/xstat.c (__xstat): Likewise.
22656
22657 * NEWS: New item for arm-nacl port.
22658 * sysdeps/arm/nacl/libc.abilist: New file.
22659 * sysdeps/nacl/ld.abilist: New file.
22660 * sysdeps/nacl/libBrokenLocale.abilist: New file.
22661 * sysdeps/nacl/libanl.abilist: New file.
22662 * sysdeps/nacl/libcrypt.abilist: New file.
22663 * sysdeps/nacl/libdl.abilist: New file.
22664 * sysdeps/nacl/libm.abilist: New file.
22665 * sysdeps/nacl/libpthread.abilist: New file.
22666 * sysdeps/nacl/libresolv.abilist: New file.
22667 * sysdeps/nacl/librt.abilist: New file.
22668
22669 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
22670
22671 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22672 __startcontext to initialize the new context.
22673 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22674 up CFI directive to forbid further backtracing.
22675
22676 2015-07-21 Marko Myllynen <myllynen@redhat.com>
22677
22678 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22679 reference.
22680 * charmaps/ANSI_X3.4-1968: Likewise.
22681 * charmaps/BS_4730: Likewise.
22682 * charmaps/BS_VIEWDATA: Likewise.
22683 * charmaps/CP1250: Likewise.
22684 * charmaps/CP1251: Likewise.
22685 * charmaps/CP1252: Likewise.
22686 * charmaps/CP1253: Likewise.
22687 * charmaps/CP1254: Likewise.
22688 * charmaps/CP1255: Likewise.
22689 * charmaps/CP1256: Likewise.
22690 * charmaps/CSN_369103: Likewise.
22691 * charmaps/EBCDIC-DK-NO: Likewise.
22692 * charmaps/GB_1988-80: Likewise.
22693 * charmaps/GREEK-CCITT: Likewise.
22694 * charmaps/GREEK7: Likewise.
22695 * charmaps/INIS-8: Likewise.
22696 * charmaps/ISIRI-3342: Likewise.
22697 * charmaps/ISO_2033-1983: Likewise.
22698 * charmaps/ISO_5427-EXT: Likewise.
22699 * locales/POSIX: Likewise.
22700 * locales/ar_SA: Likewise.
22701 * locales/be_BY: Likewise.
22702 * locales/be_BY@latin: Likewise.
22703 * locales/ca_ES: Likewise.
22704 * locales/cs_CZ: Likewise.
22705 * locales/da_DK: Likewise.
22706 * locales/de_BE: Likewise.
22707 * locales/de_CH: Likewise.
22708 * locales/de_LU: Likewise.
22709 * locales/en_AU: Likewise.
22710 * locales/en_BW: Likewise.
22711 * locales/en_CA: Likewise.
22712 * locales/en_DK: Likewise.
22713 * locales/en_GB: Likewise.
22714 * locales/en_IE: Likewise.
22715 * locales/en_NZ: Likewise.
22716 * locales/en_ZA: Likewise.
22717 * locales/en_ZW: Likewise.
22718 * locales/es_AR: Likewise.
22719 * locales/es_BO: Likewise.
22720 * locales/es_CL: Likewise.
22721 * locales/es_CO: Likewise.
22722 * locales/es_DO: Likewise.
22723 * locales/es_EC: Likewise.
22724 * locales/es_ES: Likewise.
22725 * locales/es_HN: Likewise.
22726 * locales/es_MX: Likewise.
22727 * locales/es_PA: Likewise.
22728 * locales/es_PE: Likewise.
22729 * locales/es_PY: Likewise.
22730 * locales/es_SV: Likewise.
22731 * locales/es_US: Likewise.
22732 * locales/es_UY: Likewise.
22733 * locales/es_VE: Likewise.
22734 * locales/et_EE: Likewise.
22735 * locales/fa_IR: Likewise.
22736 * locales/fo_FO: Likewise.
22737 * locales/fr_CA: Likewise.
22738 * locales/fr_CH: Likewise.
22739 * locales/gv_GB: Likewise.
22740 * locales/he_IL: Likewise.
22741 * locales/hr_HR: Likewise.
22742 * locales/id_ID: Likewise.
22743 * locales/is_IS: Likewise.
22744 * locales/it_CH: Likewise.
22745 * locales/iw_IL: Likewise.
22746 * locales/kl_GL: Likewise.
22747 * locales/ko_KR: Likewise.
22748 * locales/kw_GB: Likewise.
22749 * locales/lg_UG: Likewise.
22750 * locales/lt_LT: Likewise.
22751 * locales/lv_LV: Likewise.
22752 * locales/mi_NZ: Likewise.
22753 * locales/nhn_MX: Likewise.
22754 * locales/nl_BE: Likewise.
22755 * locales/pl_PL: Likewise.
22756 * locales/sk_SK: Likewise.
22757 * locales/sl_SI: Likewise.
22758 * locales/sv_FI: Likewise.
22759 * locales/tl_PH: Likewise.
22760 * locales/tr_TR: Likewise.
22761 * locales/vi_VN: Likewise.
22762
22763 2015-07-21 Khem Raj <raj.khem@gmail.com>
22764
22765 [BZ #17475]
22766 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22767 of tu_IN and bh_IN.
22768
22769 2015-07-21 Mike Frysinger <vapier@gentoo.org>
22770
22771 [BZ #18694]
22772 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22773 bits/wordsize.h.
22774 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22775
22776 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22777
22778 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22779 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22780 (spawn_thread): New function.
22781 (load): Rename to reg_dtor_and_close. Move dlopen to...
22782 (do_test): ... here. Use IS_LOADED to test for its
22783 availability.
22784
22785 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
22786
22787 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22788
22789 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
22790
22791 [BZ #18696]
22792 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22793 si_addr_bnd.
22794 (si_lower): New.
22795 (si_upper): Likewise.
22796
22797 2015-07-16 David S. Miller <davem@davemloft.net>
22798
22799 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22800
22801 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22802
22803 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22804 buffer.
22805 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22806 fail output information.
22807
22808 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22809
22810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22811 and strstr-ppc64..
22812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22813 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22814 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22815 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22816 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22817
22818 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22819
22820 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22821 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22822 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22823 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22824
22825 2015-07-16 Mike Frysinger <vapier@gentoo.org>
22826
22827 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22828 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22829 rtld_hidden_proto.
22830 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22831
22832 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22833
22834 * tst-nodelete-opened.c (do_test): Add comment to clarify how
22835 the test can fail.
22836
22837 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22838
22839 [BZ #18676]
22840 * elf/tst-nodelete-opened.c: New test case.
22841 * elf/tst-nodelete-opened-lib.c: New test case module.
22842 * elf/Makefile (tests, modules-names): Use them.
22843 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22844 early.
22845
22846 2015-07-15 David S. Miller <davem@davemloft.net>
22847
22848 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22849 futex-intenal.h
22850 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22851 * sysdeps/sparc/sparc64/Makefile: Likewise.
22852 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22853 Remove space from macro define.
22854 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22855
22856 2015-07-15 Pravin Satpute <psatpute@redhat.com>
22857
22858 [BZ #17475]
22859 * locale/iso-639.def: Update Bhili and Tulu language codes as
22860 per iso639-3.
22861
22862 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
22863
22864 * elf/tst-leaks1.c (main): Converted to ...
22865 (do_test): ... this.
22866 (TEST_FUNCTION): New macro.
22867 Include test-skeleton.c.
22868 * localedata/tst-langinfo.c (main): Converted to ...
22869 (do_test): ... this.
22870 (TEST_FUNCTION): New macro.
22871 Include test-skeleton.c.
22872 * math/test-fpucw.c (main): Converted to ...
22873 (do_test): ... this.
22874 (TEST_FUNCTION): New macro.
22875 Include test-skeleton.c.
22876 * math/test-tgmath.c (main): Converted to ...
22877 (do_test): ... this.
22878 (TEST_FUNCTION): New macro.
22879 Include test-skeleton.c.
22880 * math/test-tgmath2.c (main): Converted to ...
22881 (do_test): ... this.
22882 (TEST_FUNCTION): New macro.
22883 Include test-skeleton.c.
22884 * setjmp/tst-setjmp.c (main): Converted to ...
22885 (do_test): ... this.
22886 (TEST_FUNCTION): New macro.
22887 Include test-skeleton.c.
22888 * stdio-common/tst-sscanf.c (main): Converted to ...
22889 (do_test): ... this.
22890 (TEST_FUNCTION): New macro.
22891 Include test-skeleton.c.
22892 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22893 (do_test): ... this.
22894 (TEST_FUNCTION): New macro.
22895 Include test-skeleton.c.
22896
22897 * elf/tst-audit9.c (main): Converted to ...
22898 (do_test): ... this.
22899 (TEST_FUNCTION): New macro.
22900 Include test-skeleton.c.
22901
22902 2015-07-15 Mike Frysinger <vapier@gentoo.org>
22903
22904 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22905
22906 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22907
22908 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22909 New variable.
22910
22911 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
22912
22913 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22914
22915 2015-07-14 Roland McGrath <roland@hack.frob.com>
22916
22917 * sysdeps/generic/dl-fileid.h: New file.
22918 * sysdeps/posix/dl-fileid.h: New file.
22919 * sysdeps/nacl/dl-fileid.h: New file.
22920 * include/link.h: Include <dl-fileid.h>.
22921 (struct link_map): Replace l_dev and l_ino with l_file_id.
22922 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
22923 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
22924 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
22925
22926 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22927
22928 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
22929
22930 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22931
22932 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
22933 Add iff $CXX is set.
22934 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
22935 Likewise.
22936 (tst-nodelete-zmodiff): Likewise.
22937 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
22938
22939 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22940
22941 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
22942
22943 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
22944
22945 * sysdeps/aarch64/fpu/math_private.h
22946 (define math_opt_barrier): Add AArch64 version.
22947 (math_force_eval): Likewise.
22948
22949 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
22950
22951 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
22952
22953 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
22954
22955 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
22956 %ld with %jd and cast to intmax_t.
22957 (do_test_length_zero): Likewise.
22958
22959 2015-07-10 Roland McGrath <roland@hack.frob.com>
22960
22961 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
22962
22963 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
22964
22965 * sysdeps/tile/libm-test-ulps: Regenerated.
22966
22967 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
22968 Comment out the whole function, not just its body.
22969
22970 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22971
22972 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
22973 locks.
22974
22975 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
22976
22977 2015-07-10 Torvald Riegel <triegel@redhat.com>
22978
22979 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
22980 (sem_assume_only_signals_cause_futex_EINTR): Remove.
22981
22982 2015-07-10 Torvald Riegel <triegel@redhat.com>
22983
22984 * sysdeps/nptl/futex-internal.h: New file.
22985 * sysdeps/nacl/futex-internal.h: New file.
22986 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
22987 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
22988 error checking.
22989 (setxid_unmark_thread): Likewise.
22990 (__nptl_setxid): Likewise.
22991 (__wait_lookup_done): Likewise.
22992 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
22993 * nptl/nptl-init.c (sighandler_setxid): Likewise.
22994 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
22995 * nptl/pthread_once.c (clear_once_control): Likewise.
22996 (__pthread_once_slow): Likewise.
22997 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22998 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
22999 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23000 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23001 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23002 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23003 Likewise.
23004 (__pthread_rwlock_rdlock): Likewise.
23005 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23006 Likewise.
23007 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23008 Likewise.
23009 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23010 Likewise.
23011 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23012 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23013 Likewise.
23014 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23015 __ASSUME_PRIVATE_FUTEX check.
23016 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23017 Check that shared futexes are supported.
23018 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23019 wrappers with error checking.
23020 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23021 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23022 * nptl/pthread_barrierattr_setpshared.c
23023 (pthread_barrierattr_setpshared): Check that shared futexes are
23024 supported.
23025 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23026 Likewise.
23027 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23028 Likewise.
23029 * nptl/sem_init.c (futex_private_if_supported): Remove.
23030 (__new_sem_init): Adapt and check that shared futexes are supported.
23031 * nptl/sem_open.c (sem_open): Likewise.
23032 * nptl/sem_post.c (futex_wake): Remove.
23033 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23034 (do_futex_wait): Use futex wrappers with error checking.
23035 * nptl/sem_wait.c: Include lowlevellock.h.
23036 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23037 Use futex_supports_pshared.
23038 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23039 Use futex wrappers with error checking.
23040 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23041 Likewise.
23042 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23043 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23044 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23045 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23046 (futex_wake): Likewise.
23047 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23048 (do_futex_wait): Use futex wrappers with error checking.
23049 (__new_sem_wait_slow): Update EINTR handling.
23050 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23051
23052 2015-07-09 Martin Sebor <msebor@redhat.com>
23053
23054 [BZ #18435]
23055 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23056 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23057 * nptl/Makefile (test-xfail-tst-once5): Define.
23058
23059 2015-07-09 Roland McGrath <roland@hack.frob.com>
23060
23061 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23062 * elf/dl-minimal.c: For readability, reorder some definitions and
23063 introduce more page breaks. Include <stdio.h>.
23064 (__libc_fatal): New function.
23065
23066 * include/unistd.h: Add rtld_hidden_proto for _exit.
23067 * posix/_exit.c: Add rtld_hidden_def.
23068 * sysdeps/mach/hurd/_exit.c: Likewise.
23069 * sysdeps/nacl/_exit.c: Likewise.
23070 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23071 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23072
23073 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
23074
23075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23076 bndmov encoding with zero displacement.
23077
23078 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
23079 H.J. Lu <hongjiu.lu@intel.com>
23080
23081 [BZ #18134]
23082 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23083 * sysdeps/i386/configure: Regenerated.
23084 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23085 (_dl_runtime_profile): Save and restore Intel MPX return bound
23086 registers when calling _dl_call_pltexit. Add
23087 PRESERVE_BND_REGS_PREFIX before return.
23088 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23089 (LRV_BND1_OFFSET): Likewise.
23090 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23091 lrv_bnd1.
23092 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23093 typo in bndmov encoding.
23094 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23095 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
23096 branch instructions to preserve bounds.
23097
23098 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23099
23100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23101 [GLIBC_2.22]: Add fmemopen.
23102
23103 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
23104
23105 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23106 returns an error, also try to use host port from __mach_host_self for
23107 the __vm_wire call.
23108 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23109
23110 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
23111
23112 [BZ #18400]
23113 [BZ #18648]
23114 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23115 Fix pr_uid and pr_gid members.
23116 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23117 definition to elf_greg_t.
23118
23119 2015-07-08 Roland McGrath <roland@hack.frob.com>
23120
23121 [BZ #18383]
23122 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23123 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23124 * sysdeps/arm/configure: Regenerated.
23125 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23126 (test-xfail-tst-tlsalign-static): Variable removed.
23127
23128 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23129 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23130 rather than explicit 'ln -s'.
23131
23132 * resolv/rpc/netdb.h: New file.
23133 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23134
23135 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23136
23137 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23138 length buffers.
23139 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23140 test-skeleton.c.
23141
23142 [BZ #6544]
23143 [BZ #11216]
23144 [BZ #12836]
23145 [BZ #13151]
23146 [BZ #13152]
23147 [BZ #14292]
23148 * include/stdio.h (fmemopen): Remove hidden prototype.
23149 (__fmemopen): Add new hidden prototype.
23150 * libio/Makefile: Add oldfmemopen object.
23151 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23152 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23153 compliance.
23154 * libio/oldfmemopen.c: New file: old fmemopen implementation for
23155 symbol compatibility.
23156 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23157 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23158 fmemopen.
23159 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23160 on append and read mode.
23161 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23162 fmemopen.
23163 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23164 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23165 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23166 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23167 Likewise.
23168 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23169 [GLIBC_2.22]: Likewise.
23170 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23171 Likewise.
23172 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23173 Likewise.
23174 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23175 [GLIBC_2.22]: Likewise.
23176 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23177 [GLIBC_2.22]: Likewise.
23178 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23179 [GLIBC_2.22]: Likewise.
23180 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23181 [GLIBC_2.22]: Likewise.
23182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23183 [GLIBC_2.22]: Likewise.
23184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23185 [GLIBC_2.22]: Likewise.
23186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23187 [GLIBC_2.22]: Likewise.
23188 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23189 Likewise.
23190 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23191 Likewise.
23192 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23193 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23194 [GLIBC_2.22]: Likewise.
23195 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23196 [GLIBC_2.22]: Likewise.
23197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23198 [GLIBC_2.22]: Likewise.
23199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23200 [GLIBC_2.22]: Likewise.
23201 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23202 Likewise.
23203 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23204 Likewise.
23205 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23206 Likewise.
23207 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23208 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23209
23210 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23211
23212 [BZ #18643]
23213 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23214 IPV6_PATHMTU, and IPV6_DONTFRAG.
23215
23216 2015-07-08 Feng Gao <gfree.wind@gmail.com>
23217
23218 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23219 and _IO_UNBUFFERED.
23220 * libio/oldfileops.c: Likewise.
23221 * libio/wfileops.c: Likewise.
23222
23223 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23224
23225 * nscd/selinux.c: Delete selinux/flask.h include.
23226
23227 2015-07-08 Mike Frysinger <vapier@gentoo.org>
23228
23229 [BZ #18641]
23230 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23231 (putpwent): Likewise.
23232 (getpwnam): Likewise.
23233 (getpwent_r): Likewise.
23234 (getpwuid_r): Likewise.
23235 (getpwnam_r): Likewise.
23236 (fgetpwent_r): Likewise.
23237
23238 2015-07-08 Carlos O'Donell <carlos@redhat.com>
23239
23240 [BZ #18557]
23241 * inet/rcmd.c (__validuser2_sa): Check user first to
23242 short-circuit host check.
23243
23244 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
23245 Mikhail Ilin <m.ilin@samsung.com>
23246
23247 [BZ #17833]
23248 * elf/Makefile (tests): Add tst-nodelete.
23249 (modules-names): Add tst-nodelete-uniquemod.
23250 (tst-nodelete-uniquemod.so-no-z-defs): New.
23251 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23252 (tst-nodelete-zmod.so-no-z-defs): Likewise.
23253 ($(objpfx)tst-nodelete): Likewise.
23254 ($(objpfx)tst-nodelete.out): Likewise.
23255 (LDFLAGS-tst-nodelete): Likewise.
23256 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23257 * elf/dl-close.c (_dl_close_worker): Add a parameter to
23258 implement forced object deletion.
23259 (_dl_close): Pass false to _dl_close_worker.
23260 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23261 * elf/tst-nodelete.cc: New file.
23262 * elf/tst-nodeletelib.cc: Likewise.
23263 * elf/tst-znodeletelib.cc: Likewise.
23264 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23265
23266 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23267
23268 [BZ #18508]
23269 * stdlib/Makefile ($(objpfx)tst-makecontext3):
23270 Depend on $(libdl).
23271 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23272 is not called infinitely times.
23273 (backtrace_helper): New function.
23274 (trace_arg): New struct.
23275 (st1): Enlarge stack size.
23276 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23277 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23278 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23279 Likewise.
23280
23281 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23282
23283 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23284
23285 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
23286
23287 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23288 Include sys/types.h instead of bits/types.h.
23289 Remove inclusion of bits/wordsize.h.
23290
23291 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23292
23293 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23294 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23295 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23296 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23297 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23298 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23299
23300 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23301
23302 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23303 link-defines.sym.
23304 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23305 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23306 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23307 and LR_SIZE.
23308 * sysdeps/i386/link-defines.sym: New file.
23309
23310 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
23311
23312 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23313 (modules-names): Add tst-auditmod3a tst-auditmod3b.
23314 ($(objpfx)tst-audit3): New rule.
23315 ($(objpfx)tst-audit3.out): Likewise.
23316 * sysdeps/i386/tst-audit3.c: New file.
23317 * sysdeps/i386/tst-audit3.h: Likewise.
23318 * sysdeps/i386/tst-auditmod3a.c: Likewise.
23319 * sysdeps/i386/tst-auditmod3b.c: Likewise.
23320
23321 2015-07-07 Torvald Riegel <triegel@redhat.com>
23322
23323 [BZ #18633]
23324 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23325 pointer in C code.
23326 (__strcat_c): Likewise.
23327 (__strcat_g): Likewise.
23328
23329 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
23330
23331 [BZ #18592]
23332 * misc/sbrk.c: Set errno to ENOMEM on overflow.
23333
23334 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23335
23336 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23337 New function. (__ieee754_sqrtf): New function.
23338 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23339 New function.
23340 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23341 New function.
23342
23343 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
23344
23345 * sysdeps/ieee754/support.c: Remove unused file.
23346
23347 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
23348
23349 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23350 registers instead of d ones so the layout is kernel abi compatible.
23351 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23352 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23353 Likewise.
23354
23355 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
23356
23357 * sysdeps/aarch64/libm-test-ulps: Regenerated.
23358
23359 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23360
23361 [BZ #18619]
23362 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23363 and return argument in case of subnormal argument.
23364
23365 2015-07-01 Martin Sebor <msebor@redhat.com>
23366
23367 [BZ #18435]
23368 * nptl/Makefile: Add tst-once5.cc.
23369 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23370 Remove macro redefinitions.
23371 * nptl/tst-once5.cc: New test.
23372
23373 2015-07-01 Joseph Myers <joseph@codesourcery.com>
23374
23375 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23376
23377 * sysdeps/arm/libm-test-ulps: Regenerated.
23378
23379 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23380 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23381
23382 2015-06-30 Torvald Riegel <triegel@redhat.com>
23383
23384 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23385 lll_lock_wait_private and lll_futex_wake probes.
23386
23387 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23389 Likewise.
23390 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23391 atomic_spin_nop.
23392 * sysdeps/x86_64/bits/atomic.h: Likewise.
23393 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23394 to atomic_spin_nop and move ...
23395 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23396 ... here and ...
23397 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23398 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23399 atomic_spin_nop instead of BUSY_WAIT_NOP.
23400 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23401 Likewise.
23402 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23403 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23404 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23405 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23406 instead of atomic_delay.
23407
23408 2015-06-29 Joseph Myers <joseph@codesourcery.com>
23409
23410 [BZ #18613]
23411 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23412 X_ADJ not X when adjusting exponent.
23413 (__ieee754_gamma_r): Do intermediate computations in
23414 round-to-nearest then adjust overflowing and underflowing results
23415 as needed.
23416 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23417 of X_ADJ not X when adjusting exponent.
23418 (__ieee754_gammaf_r): Do intermediate computations in
23419 round-to-nearest then adjust overflowing and underflowing results
23420 as needed.
23421 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23422 log of X_ADJ not X when adjusting exponent.
23423 (__ieee754_gammal_r): Do intermediate computations in
23424 round-to-nearest then adjust overflowing and underflowing results
23425 as needed. Use 1.0L not 1.0f as numerator of division.
23426 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23427 log of X_ADJ not X when adjusting exponent.
23428 (__ieee754_gammal_r): Do intermediate computations in
23429 round-to-nearest then adjust overflowing and underflowing results
23430 as needed. Use 1.0L not 1.0f as numerator of division.
23431 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23432 of X_ADJ not X when adjusting exponent.
23433 (__ieee754_gammal_r): Do intermediate computations in
23434 round-to-nearest then adjust overflowing and underflowing results
23435 as needed. Use 1.0L not 1.0f as numerator of division.
23436 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
23437 to auto-libm-test-in.
23438 (tgamma_test): Use ALL_RM_TEST.
23439 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
23440 tests of tgamma with spurious-overflow.
23441 * math/auto-libm-test-out: Regenerated.
23442 * math/gen-libm-have-vector-test.sh: Do not check for START.
23443 * sysdeps/i386/fpu/libm-test-ulps: Update.
23444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23445
23446 [BZ #18612]
23447 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23448 arguments, just return 0.5 times the argument, with underflow
23449 forced as needed.
23450 * math/auto-libm-test-in: Add more tests of j1.
23451 * math/auto-libm-test-out: Regenerated.
23452
23453 [BZ #16559]
23454 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23455 (__ieee754_j1): Force underflow exception for small results.
23456 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23457 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23458 (__ieee754_j1f): Force underflow exception for small results.
23459 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23460 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23461 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23462 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23463 (__ieee754_j1l): Force underflow exception for small results.
23464 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23465 * math/auto-libm-test-in: Add more tests of j1 and jn.
23466 * math/auto-libm-test-out: Regenerated.
23467
23468 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23469 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23470 (PF_MPLS): Likewise.
23471 (AF_IB): Likewise.
23472 (AF_MPLS): Likewise.
23473 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23474 value and macro.
23475 (MS_RMT_MASK): Include MS_LAZYTIME.
23476
23477 2015-06-26 Mel Gorman <mgorman@suse.de>
23478
23479 [BZ #18502]
23480 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23481 already minimal.
23482
23483 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
23484
23485 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23486 (DT_MIPS_NUM): Update.
23487 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23488 DT_MIPS_RLD_MAP_REL.
23489
23490 2015-06-25 Joseph Myers <joseph@codesourcery.com>
23491
23492 [BZ #16559]
23493 [BZ #18602]
23494 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23495 round-to-nearest internally then recompute results that
23496 underflowed to zero in the original rounding mode.
23497 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23498 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23499 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23500 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23501 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23502 * sysdeps/i386/fpu/libm-test-ulps: Update.
23503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23504
23505 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
23506
23507 * NEWS: Fixed description of link with vector math library.
23508
23509 2015-06-25 Andreas Schwab <schwab@suse.de>
23510
23511 [BZ #18549]
23512 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23513 * libio/test-fmemopen.c (do_test): Add test for it.
23514
23515 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
23516
23517 [BZ #17841]
23518 * Makeconfig (no-pie-ldflag): New.
23519 (+link): Set to $(+link-pie) if default to PIE.
23520 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23521 * config.make.in (build-pie-default): New.
23522 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
23523 is default. AC_SUBST.
23524 * configure: Regenerated.
23525 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23526
23527 2015-06-24 Roland McGrath <roland@hack.frob.com>
23528
23529 * nptl/descr.h (struct pthread): Change type of field setxid_futex
23530 to 'unsigned int'.
23531
23532 * resolv/gai_misc.h (struct waitlist): Change type of field
23533 counterp to 'volatile unsigned int *'.
23534 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23535 FUTEXADDR and OLDVAL.
23536 * resolv/getaddrinfo_a.c (getaddrinfo_a):
23537 Give local variable TOTAL type 'volatile unsigned int'.
23538 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23539 * resolv/gai_suspend.c (gai_suspend):
23540 Give local variable CNTR type 'unsigned int'.
23541
23542 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23543 counterp to 'volatile unsigned int *'.
23544 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23545 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23546 (aio_suspend): Give local variable CNTR type 'unsigned int'.
23547 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23548 Give local variable TOTAL type 'volatile unsigned int'.
23549 (struct async_waitlist): Change type of field counter to 'unsigned int'.
23550
23551 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23552
23553 [BZ #18383]
23554 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23555 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
23556 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23557 comment for i386/x86-64.
23558 (test-xfail-tst-tlsalign-extern-static): Removed.
23559
23560 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23561
23562 * math/test-double.h: New file.
23563 * math/test-float.h: Likewise.
23564 * math/test-ldouble.h: Likewise.
23565 * math/test-math-inline.h: Likewise.
23566 * math/test-math-no-inline.h: Likewise.
23567 * math/test-math-scalar.h: Likewise.
23568 * math/test-math-vector.h: Likewise.
23569 * math/test-vec-loop.h: Remove file. Contents moved into
23570 test-math-vector.h.
23571 * math/libm-test.inc (MATHCONST): Do not document macro.
23572 * math/test-double.c: Include test-double.h, test-math-no-inline.h
23573 and test-math-scalar.h.
23574 (FUNC): Remove macro.
23575 (FUNC_TEST): Likewise.
23576 (FLOAT): Likewise.
23577 (MATHCONST): Likewise.
23578 (PRINTF_EXPR): Likewise.
23579 (PRINTF_XEXPR): Likewise.
23580 (PRINTF_NEXPR): Likewise.
23581 (TEST_DOUBLE): Likewise.
23582 (TEST_MATHVEC): Likewise.
23583 (__NO_MATH_INLINES): Likewise.
23584 * math/test-float.c: Include test-float.h, test-math-no-inline.h
23585 and test-math-scalar.h.
23586 (FUNC): Remove macro.
23587 (FUNC_TEST): Likewise.
23588 (FLOAT): Likewise.
23589 (MATHCONST): Likewise.
23590 (PRINTF_EXPR): Likewise.
23591 (PRINTF_XEXPR): Likewise.
23592 (PRINTF_NEXPR): Likewise.
23593 (TEST_FLOAT): Likewise.
23594 (TEST_MATHVEC): Likewise.
23595 (__NO_MATH_INLINES): Likewise.
23596 * math/test-idouble.c: Include test-double.h, test-math-inline.h
23597 and test-math-scalar.h.
23598 (FUNC): Remove macro.
23599 (FUNC_TEST): Likewise.
23600 (FLOAT): Likewise.
23601 (MATHCONST): Likewise.
23602 (PRINTF_EXPR): Likewise.
23603 (PRINTF_XEXPR): Likewise.
23604 (PRINTF_NEXPR): Likewise.
23605 (TEST_DOUBLE): Likewise.
23606 (TEST_MATHVEC): Likewise.
23607 (TEST_INLINE): Likewise.
23608 (__NO_MATH_INLINES): Likewise.
23609 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23610 test-math-scalar.h.
23611 (FUNC): Remove macro.
23612 (FUNC_TEST): Likewise.
23613 (FLOAT): Likewise.
23614 (MATHCONST): Likewise.
23615 (PRINTF_EXPR): Likewise.
23616 (PRINTF_XEXPR): Likewise.
23617 (PRINTF_NEXPR): Likewise.
23618 (TEST_FLOAT): Likewise.
23619 (TEST_MATHVEC): Likewise.
23620 (TEST_INLINE): Likewise.
23621 (__NO_MATH_INLINES): Likewise.
23622 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23623 and test-math-scalar.h.
23624 (FUNC): Remove macro.
23625 (FUNC_TEST): Likewise.
23626 (FLOAT): Likewise.
23627 (MATHCONST): Likewise.
23628 (PRINTF_EXPR): Likewise.
23629 (PRINTF_XEXPR): Likewise.
23630 (PRINTF_NEXPR): Likewise.
23631 (TEST_LDOUBLE): Likewise.
23632 (TEST_MATHVEC): Likewise.
23633 (TEST_INLINE): Likewise.
23634 (__NO_MATH_INLINES): Likewise.
23635 * math/test-ldouble.c: Include test-ldouble.h,
23636 test-math-no-inline.h and test-math-scalar.h.
23637 (FUNC): Remove macro.
23638 (FUNC_TEST): Likewise.
23639 (FLOAT): Likewise.
23640 (MATHCONST): Likewise.
23641 (PRINTF_EXPR): Likewise.
23642 (PRINTF_XEXPR): Likewise.
23643 (PRINTF_NEXPR): Likewise.
23644 (TEST_LDOUBLE): Likewise.
23645 (TEST_MATHVEC): Likewise.
23646 (__NO_MATH_INLINES): Likewise.
23647 * math/test-double-vlen2.h: Include test-double.h,
23648 test-math-no-inline.h and test-math-vector.h.
23649 (FLOAT): Remove macro.
23650 (FUNC): Likewise.
23651 (MATHCONST): Likewise.
23652 (PRINTF_EXPR): Likewise.
23653 (PRINTF_XEXPR): Likewise.
23654 (PRINTF_NEXPR): Likewise.
23655 (TEST_DOUBLE): Likewise.
23656 (TEST_MATHVEC): Likewise.
23657 (__NO_MATH_INLINES): Likewise.
23658 (CNCT): Likewise.
23659 (CONCAT): Likewise.
23660 (WRAPPER_NAME): Likewise.
23661 (WRAPPER_DECL): Likewise.
23662 (WRAPPER_DECL_ff): Likewise.
23663 (WRAPPER_DECL_fFF): Likewise.
23664 (VECTOR_WRAPPER): Likewise.
23665 (VECTOR_WRAPPER_ff): Likewise.
23666 (VECTOR_WRAPPER_fFF): Likewise.
23667 (VEC_LEN): New macro.
23668 * math/test-double-vlen4.h: Include test-double.h,
23669 test-math-no-inline.h and test-math-vector.h.
23670 (FLOAT): Remove macro.
23671 (FUNC): Likewise.
23672 (MATHCONST): Likewise.
23673 (PRINTF_EXPR): Likewise.
23674 (PRINTF_XEXPR): Likewise.
23675 (PRINTF_NEXPR): Likewise.
23676 (TEST_DOUBLE): Likewise.
23677 (TEST_MATHVEC): Likewise.
23678 (__NO_MATH_INLINES): Likewise.
23679 (CNCT): Likewise.
23680 (CONCAT): Likewise.
23681 (WRAPPER_NAME): Likewise.
23682 (WRAPPER_DECL): Likewise.
23683 (WRAPPER_DECL_ff): Likewise.
23684 (WRAPPER_DECL_fFF): Likewise.
23685 (VECTOR_WRAPPER): Likewise.
23686 (VECTOR_WRAPPER_ff): Likewise.
23687 (VECTOR_WRAPPER_fFF): Likewise.
23688 (VEC_LEN): New macro.
23689 * math/test-double-vlen8.h: Include test-double.h,
23690 test-math-no-inline.h and test-math-vector.h.
23691 (FLOAT): Remove macro.
23692 (FUNC): Likewise.
23693 (MATHCONST): Likewise.
23694 (PRINTF_EXPR): Likewise.
23695 (PRINTF_XEXPR): Likewise.
23696 (PRINTF_NEXPR): Likewise.
23697 (TEST_DOUBLE): Likewise.
23698 (TEST_MATHVEC): Likewise.
23699 (__NO_MATH_INLINES): Likewise.
23700 (CNCT): Likewise.
23701 (CONCAT): Likewise.
23702 (WRAPPER_NAME): Likewise.
23703 (WRAPPER_DECL): Likewise.
23704 (WRAPPER_DECL_ff): Likewise.
23705 (WRAPPER_DECL_fFF): Likewise.
23706 (VECTOR_WRAPPER): Likewise.
23707 (VECTOR_WRAPPER_ff): Likewise.
23708 (VECTOR_WRAPPER_fFF): Likewise.
23709 (VEC_LEN): New macro.
23710 * math/test-float-vlen4.h: Include test-float.h,
23711 test-math-no-inline.h and test-math-vector.h.
23712 (FLOAT): Remove macro.
23713 (FUNC): Likewise.
23714 (MATHCONST): Likewise.
23715 (PRINTF_EXPR): Likewise.
23716 (PRINTF_XEXPR): Likewise.
23717 (PRINTF_NEXPR): Likewise.
23718 (TEST_FLOAT): Likewise.
23719 (TEST_MATHVEC): Likewise.
23720 (__NO_MATH_INLINES): Likewise.
23721 (CNCT): Likewise.
23722 (CONCAT): Likewise.
23723 (WRAPPER_NAME): Likewise.
23724 (WRAPPER_DECL): Likewise.
23725 (WRAPPER_DECL_ff): Likewise.
23726 (WRAPPER_DECL_fFF): Likewise.
23727 (VECTOR_WRAPPER): Likewise.
23728 (VECTOR_WRAPPER_ff): Likewise.
23729 (VECTOR_WRAPPER_fFF): Likewise.
23730 (VEC_LEN): New macro.
23731 * math/test-float-vlen8.h: Include test-float.h,
23732 test-math-no-inline.h and test-math-vector.h.
23733 (FLOAT): Remove macro.
23734 (FUNC): Likewise.
23735 (MATHCONST): Likewise.
23736 (PRINTF_EXPR): Likewise.
23737 (PRINTF_XEXPR): Likewise.
23738 (PRINTF_NEXPR): Likewise.
23739 (TEST_FLOAT): Likewise.
23740 (TEST_MATHVEC): Likewise.
23741 (__NO_MATH_INLINES): Likewise.
23742 (CNCT): Likewise.
23743 (CONCAT): Likewise.
23744 (WRAPPER_NAME): Likewise.
23745 (WRAPPER_DECL): Likewise.
23746 (WRAPPER_DECL_ff): Likewise.
23747 (WRAPPER_DECL_fFF): Likewise.
23748 (VECTOR_WRAPPER): Likewise.
23749 (VECTOR_WRAPPER_ff): Likewise.
23750 (VECTOR_WRAPPER_fFF): Likewise.
23751 (VEC_LEN): New macro.
23752 * math/test-float-vlen16.h: Include test-float.h,
23753 test-math-no-inline.h and test-math-vector.h.
23754 (FLOAT): Remove macro.
23755 (FUNC): Likewise.
23756 (MATHCONST): Likewise.
23757 (PRINTF_EXPR): Likewise.
23758 (PRINTF_XEXPR): Likewise.
23759 (PRINTF_NEXPR): Likewise.
23760 (TEST_FLOAT): Likewise.
23761 (TEST_MATHVEC): Likewise.
23762 (__NO_MATH_INLINES): Likewise.
23763 (CNCT): Likewise.
23764 (CONCAT): Likewise.
23765 (WRAPPER_NAME): Likewise.
23766 (WRAPPER_DECL): Likewise.
23767 (WRAPPER_DECL_ff): Likewise.
23768 (WRAPPER_DECL_fFF): Likewise.
23769 (VECTOR_WRAPPER): Likewise.
23770 (VECTOR_WRAPPER_ff): Likewise.
23771 (VECTOR_WRAPPER_fFF): Likewise.
23772 (VEC_LEN): New macro.
23773 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23774 test-vec-loop.h.
23775 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23776 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23777 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23778 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23779 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23780 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23781 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23782
23783 2015-06-24 Roland McGrath <roland@hack.frob.com>
23784
23785 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23786 (__getlogin_r): ... this.
23787
23788 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23789
23790 [BZ #18594]
23791 * math/s_ccosh.c (__ccosh): Compare with least normal value
23792 instead of comparing class with FP_SUBNORMAL.
23793 * math/s_ccoshf.c (__ccoshf): Likewise.
23794 * math/s_ccoshl.c (__ccoshl): Likewise.
23795 * math/s_cexp.c (__cexp): Likewise.
23796 * math/s_cexpf.c (__cexpf): Likewise.
23797 * math/s_cexpl.c (__cexpl): Likewise.
23798 * math/s_csin.c (__csin): Likewise.
23799 * math/s_csinf.c (__csinf): Likewise.
23800 * math/s_csinh.c (__csinh): Likewise.
23801 * math/s_csinhf.c (__csinhf): Likewise.
23802 * math/s_csinhl.c (__csinhl): Likewise.
23803 * math/s_csinl.c (__csinl): Likewise.
23804 * math/s_ctan.c (__ctan): Likewise.
23805 * math/s_ctanf.c (__ctanf): Likewise.
23806 * math/s_ctanh.c (__ctanh): Likewise.
23807 * math/s_ctanhf.c (__ctanhf): Likewise.
23808 * math/s_ctanhl.c (__ctanhl): Likewise.
23809 * math/s_ctanl.c (__ctanl): Likewise.
23810 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23811 csin, csinh, ctan and ctanh.
23812 * math/auto-libm-test-out: Regenerated.
23813 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23814 * sysdeps/i386/fpu/libm-test-ulps: Update.
23815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23816
23817 2015-06-24 Roland McGrath <roland@hack.frob.com>
23818
23819 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23820 return value is wrong, print the expected value too.
23821
23822 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
23823
23824 [BZ #18585]
23825 * elf/readlib.c (is_gdb_python_file): New.
23826 (process_file): Don't issue errors on filenames with -gdb.py
23827 suffix.
23828
23829 2015-06-24 Joseph Myers <joseph@codesourcery.com>
23830
23831 * math/auto-libm-test-in: Add more tests of csin and csinh.
23832 * math/auto-libm-test-out: Regenerated.
23833 * math/libm-test.inc (csin_test_data): Remove tests moved to
23834 auto-libm-test-in.
23835 (csinh_test_data): Likewise.
23836
23837 [BZ #18593]
23838 * math/s_csin.c (__csin): Negate before rather than after possibly
23839 overflowing multiplication.
23840 * math/s_csinf.c (__csinf): Likewise.
23841 * math/s_csinh.c (__csinh): Likewise.
23842 * math/s_csinhf.c (__csinhf): Likewise.
23843 * math/s_csinhl.c (__csinhl): Likewise.
23844 * math/s_csinl.c (__csinl): Likewise.
23845 * math/auto-libm-test-in: Add some tests of csin and csinh.
23846 * math/auto-libm-test-out: Regenerated.
23847 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23848 (csinh_test_data): Likewise.
23849 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23850
23851 [BZ #18586]
23852 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23853 underflow exception for small results.
23854
23855 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
23856
23857 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23858 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23859 variable and included header.
23860 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23861 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23862 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23863 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23864 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23865 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23866 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23867 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23868 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23869 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23870 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23871 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23872 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23873 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23874 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23875 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23876
23877 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23878
23879 [BZ #16526]
23880 [BZ #16538]
23881 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23882 (__sin): Force underflow exception for arguments with small
23883 absolute value.
23884 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23885 (__kernel_sinf): Force underflow exception for arguments with
23886 small absolute value.
23887 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23888 (__kernel_sincosl): Force underflow exception for arguments with
23889 small absolute value.
23890 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23891 (__kernel_sinl): Force underflow exception for arguments with
23892 small absolute value.
23893 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23894 (__kernel_sincosl): Force underflow exception for arguments with
23895 small absolute value.
23896 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23897 (__kernel_sinl): Force underflow exception for arguments with
23898 small absolute value.
23899 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23900 (__kernel_sinl): Force underflow exception for arguments with
23901 small absolute value.
23902 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23903 (__kernel_sinf): Force underflow exception for arguments with
23904 small absolute value.
23905 * math/auto-libm-test-in: Add more tests of sin and sincos.
23906 * math/auto-libm-test-out: Regenerated.
23907
23908 [BZ #18245]
23909 [BZ #18583]
23910 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23911 (__kernel_standard_l): Use feholdexcept and fesetenv around
23912 conversion to double instead of special-casing overflow and
23913 underflow.
23914 * math/libm-test.inc (fmod_test_data): Add more tests.
23915 (remainder_test_data): Likewise.
23916 (sqrt_test_data): Likewise.
23917
23918 2015-06-23 Torvald Riegel <triegel@redhat.com>
23919
23920 [BZ #17403]
23921 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
23922 atomic_read_barrier, atomic_write_barrier): Define.
23923 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
23924 atomic_read_barrier, atomic_write_barrier): Define.
23925
23926 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23927
23928 * math/Makefile [$(PERL) != no]
23929 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
23930 dependency on libm-test.stmp below the inclusion of Rules.
23931
23932 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
23933
23934 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23935 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
23936 and included header.
23937 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
23938 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
23939 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
23940 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
23941 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
23942 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
23943 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
23944 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
23945 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
23946 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
23947 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
23948 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
23949 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
23950 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
23951 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
23952 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
23953 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
23954 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
23955 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
23956
23957 2015-06-23 Joseph Myers <joseph@codesourcery.com>
23958
23959 [BZ #18371]
23960 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
23961 intermediate but not final result might underflow.
23962 * math/s_csqrtf.c (__csqrtf): Likewise.
23963 * math/s_csqrtl.c (__csqrtl): Likewise.
23964 * math/auto-libm-test-in: Add more tests of csqrt.
23965 * math/auto-libm-test-out: Regenerated.
23966 * sysdeps/i386/fpu/libm-test-ulps: Update.
23967
23968 [BZ #18219]
23969 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
23970 threshold on absolute value of exponent for which scaling is used.
23971 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23972 * math/auto-libm-test-in: Add more tests of exp2.
23973 * math/auto-libm-test-out: Regenerated.
23974
23975 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
23976
23977 [BZ #17977]
23978 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
23979 when initializing interface list, based on the bug analysis
23980 and the patch proposed by Eric Newton.
23981 * resolv/tst-res_hconf_reorder.c: New test.
23982 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
23983 tst-res_hconf_reorder.
23984 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
23985 and $(shared-thread-library).
23986 (tst-res_hconf_reorder-ENV): New variable.
23987
23988 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
23989 in comment.
23990
23991 2015-06-22 Joseph Myers <joseph@codesourcery.com>
23992
23993 [BZ #16353]
23994 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
23995 (__expm1): Force underflow exception for arguments with small
23996 absolute value.
23997 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
23998 (__expm1f): Force underflow exception for arguments with small
23999 absolute value.
24000 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24001 (__expm1): Force underflow exception for arguments with small
24002 absolute value.
24003 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24004 (__expm1f): Force underflow exception for arguments with small
24005 absolute value.
24006 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24007 Check for small arguments before calling __expm1.
24008 * math/auto-libm-test-in: Do not mark underflow exceptions as
24009 possibly missing for bug 16353.
24010 * math/auto-libm-test-out: Regenerated.
24011
24012 2015-06-22 Andreas Schwab <schwab@suse.de>
24013
24014 [BZ #18513]
24015 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24016 PTR queries.
24017
24018 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
24019
24020 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24021
24022 * string/strcoll_l.c: Remove unused struct element idxnow.
24023
24024 2015-06-21 Joseph Myers <joseph@codesourcery.com>
24025
24026 [BZ #18569]
24027 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24028 underflow and return argument in case of subnormal argument.
24029 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24030 Likewise.
24031 * math/auto-libm-test-in: Add more tests of expm1.
24032 * math/auto-libm-test-out: Regenerated.
24033
24034 [BZ #16361]
24035 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24036 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24037 tiny results.
24038 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24039 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24040 tiny results.
24041 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
24042 mark underflow exceptions as possibly missing for bug 16361.
24043 * math/auto-libm-test-out: Regenerated.
24044
24045 2015-06-19 Joseph Myers <joseph@codesourcery.com>
24046
24047 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24048 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24049 Remove variable.
24050 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24051 (test-xfail-XOPEN2K8/utmpx.h/conform).
24052
24053 * conform/conformtest.pl ($xerrors): New variable.
24054 (note_error): New function.
24055 (compiletest): New argument $xfail. Use not_error.
24056 (runtest): Likewise.
24057 (top level): Handle xfail- lines. Update calls to compiletest and
24058 runtest. Handle xfail- and optional- in headers listed with
24059 allow-header.
24060 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24061 (O_EXEC): Likewise.
24062 (O_SEARCH): Likewise.
24063 * conform/data/stropts.h-data (ioctl): Likewise.
24064 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24065 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24066 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24067 (msghdr.msg_controllen): Likewise.
24068 (cmsghdr.cmsg_len): Likewise.
24069 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24070 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24071 variable.
24072 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24073 (test-xfail-XPG4/stropts.h/conform): Likewise.
24074 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24075 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24076 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24077 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24078 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24079 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24080 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24081 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24082 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24083 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24084 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24085 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24086 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24087 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24088 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24089 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24090 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24091 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24092 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24093
24094 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
24095
24096 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24097 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24098 definitions for proper unfolding of __MATHDECL_VEC.
24099
24100 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24101
24102 * benchtests/bench-strcoll.c:
24103 Include string.h.
24104 (main): Remove unused variable res.
24105
24106 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24107
24108 * timezone/Makefile (%/UTC %/Universal):
24109 Generate test-result files for UTC and Universal.
24110
24111 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
24112
24113 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24114
24115 2015-06-18 Joseph Myers <joseph@codesourcery.com>
24116
24117 [BZ #16350]
24118 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24119 for arguments with small absolute value.
24120 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24121 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24122 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24123 (__asinh): Force underflow exception for arguments with small
24124 absolute value.
24125 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24126 (__asinhf): Force underflow exception for arguments with small
24127 absolute value.
24128 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24129 (__asinhl): Force underflow exception for arguments with small
24130 absolute value.
24131 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24132 (__asinhl): Force underflow exception for arguments with small
24133 absolute value.
24134 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24135 (__asinhl): Force underflow exception for arguments with small
24136 absolute value.
24137 * math/auto-libm-test-in: Do not mark underflow exceptions as
24138 possibly missing for bug 16350.
24139 * math/auto-libm-test-out: Regenerated.
24140
24141 * include/bits/ipc.h: Remove file.
24142 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24143 variable.
24144 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24145 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24146 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24147 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24148 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24149 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24150 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24151 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24152 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24153
24154 * math/auto-libm-test-in: Remove spurious underflow allowance for
24155 tests of cexp.
24156 * math/auto-libm-test-out: Regenerated.
24157
24158 [BZ #18558]
24159 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24160 unconditional definition.
24161 (MCAST_BLOCK_SOURCE): Likewise.
24162 (MCAST_UNBLOCK_SOURCE): Likewise.
24163 (MCAST_LEAVE_GROUP): Likewise.
24164 (MCAST_JOIN_SOURCE_GROUP): Likewise.
24165 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24166 (MCAST_MSFILTER): Likewise.
24167 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24168 Remove variable.
24169 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24170 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24171 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24172 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24173 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24174
24175 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
24176
24177 * NEWS: Mention addition of x86_64 vector sincosf.
24178 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24179 * math/test-float-vlen4.h: Likewise.
24180 * math/test-float-vlen8.h: Likewise.
24181 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24182 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24183 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24184 * sysdeps/x86_64/fpu/Versions: New versions added.
24185 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24186 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24187 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24188 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24189 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24190 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24191 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24192 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24193 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24194 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24195 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24196 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24197 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24198 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24199 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24200 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24201 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24202 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24203 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24204 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24205 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24206 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24207 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24208 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24209
24210 * NEWS: Mention addition of x86_64 vector sincos.
24211 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24212 * math/math.h (__MATHDECL_VEC): New macro.
24213 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24214 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24215 declaration under condition.
24216 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24217 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24218 TEST_VEC_LOOP change.
24219 * math/test-double-vlen4.h: Likewise.
24220 * math/test-double-vlen8.h: Likewise.
24221 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24222 * math/test-float-vlen4.h: Likewise.
24223 * math/test-float-vlen8.h: Likewise.
24224 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24225 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24226 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24227 * sysdeps/x86_64/fpu/Versions: New versions added.
24228 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24229 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24230 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24231 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24232 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24233 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24234 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24235 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24236 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24237 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24238 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24239 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24240 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24241 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24242 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24243 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24244 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24245 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24246 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24247 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24248 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24249 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24250 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24251 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24252
24253 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24254 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24255 redirections for powf.
24256 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24257 * sysdeps/x86_64/fpu/Versions: New versions added.
24258 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24259 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24260 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24261 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24262 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24263 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24264 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24265 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24266 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24267 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24268 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24269 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24270 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24271 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24272 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24273 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24274 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24275 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24276 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24277 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24278 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24279 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24280 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24281 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24282 * math/test-float-vlen16.h: Fixed 2 argument macro.
24283 * math/test-float-vlen4.h: Likewise.
24284 * math/test-float-vlen8.h: Likewise.
24285 * NEWS: Mention addition of x86_64 vector powf.
24286
24287 2015-06-17 Joseph Myers <joseph@codesourcery.com>
24288
24289 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24290 and redefine.
24291 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24292 and redefine.
24293 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24294 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24296
24297 [BZ #18553]
24298 * resource/getpriority.c (getpriority): Rename to __getpriority
24299 and define as weak alias of __getpriority.
24300 * resource/setpriority.c (setpriority): Rename to __setpriority
24301 and define as weak alias of __setpriority.
24302 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24303 __getpriority and define as weak alias of __getpriority.
24304 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24305 __setpriority and define as weak alias of __setpriority.
24306 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24307 strong name.
24308 (setpriority): Use __setpriority as strong name.
24309 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24310 __getpriority and define as weak alias of __getpriority.
24311 * include/sys/resource.h (__getpriority): Declare. Use
24312 libc_hidden_proto.
24313 (__setpriority): Likewise.
24314 (getpriority): Don't use libc_hidden_proto.
24315 (setpriority): Likewise.
24316 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24317 getpriority. Call __setpriority instead of setpriority.
24318 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24319 Remove variable.
24320
24321 [BZ #18547]
24322 * misc/getttyent.c (getttynam): Rename to __getttynam and define
24323 as weak alias of __getttynam. Use prototype function definition.
24324 Call __setttyent, __getttyent and __endttyent instead of
24325 setttyent, getttyent and endttyent.
24326 (getttyent): Rename to __getttyent and define as weak alias of
24327 __getttyent. Call __setttyent instead of setttyent. Call
24328 __fgets_unlocked instead of fgets_unlocked.
24329 (setttyent): Rename to __setttyent and define as weak alias of
24330 __setttyent.
24331 (endttyent): Rename to __endttyent and define as weak alias of
24332 __endttyent.
24333 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
24334 (__setttyent): Likewise.
24335 (__endttyent): Likewise.
24336 (getttyent): Don't use libc_hidden_proto.
24337 (setttyent): Likewise.
24338 (endttyent): Likewise.
24339 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24340 __endttyent instead of setttyent, getttyent and endttyent.
24341 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24342 Remove variable.
24343
24344 [BZ #18546]
24345 * socket/recv.c (__recv): Use libc_hidden_def.
24346 * socket/socket.c (__socket): Likewise.
24347 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24348 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24349 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24350 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24351 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24352 libc_hidden_def.
24353 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24354 libc_hidden_weak.
24355 * include/sys/socket.h (__socket): Do not use attribute_hidden.
24356 Use libc_hidden_proto.
24357 (__recv): Likewise.
24358 * socket/Versions (libc): Export __recv and __socket at version
24359 GLIBC_PRIVATE.
24360 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24361 instead of recv.
24362 (init_mq_netlink): Call __socket instead of socket.
24363 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24364 Remove variable.
24365
24366 [BZ #18545]
24367 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24368 __mq_timedreceive and define as alias of __mq_timedreceive. Use
24369 hidden_weak.
24370 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24371 define as alias of __mq_timedsend. Use hidden_weak.
24372 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24373 __mq_timedsend as strong name.
24374 (mq_timedreceive): Use __mq_timedreceive as strong name.
24375 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
24376 (__mq_timedreceive): Likewise.
24377 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24378 __mq_timedreceive instead of mq_timedreceive.
24379 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24380 instead of mq_timedsend.
24381 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24382 Remove variable.
24383
24384 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24385 hidden_def and hidden_weak instead of libc_hidden_def and
24386 libc_hidden_weak.
24387 (top level): Refer to hidden_def in comment.
24388 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24389 macro. Use it instead of libc_hidden_def.
24390 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24391 specify __GI_* name explicitly.
24392 (mq_timedreceive): Likewise.
24393 (mq_setattr): Likewise.
24394
24395 [BZ #18544]
24396 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24397 __pthread_barrier_init and define as weak alias of
24398 __pthread_barrier_init.
24399 * sysdeps/sparc/nptl/pthread_barrier_init.c
24400 (pthread_barrier_init): Likewise.
24401 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24402 __pthread_barrier_wait and define as weak alias of
24403 __pthread_barrier_wait.
24404 * sysdeps/sparc/nptl/pthread_barrier_wait.c
24405 (pthread_barrier_wait): Likewise.
24406 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24407 (pthread_barrier_wait): Likewise.
24408 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24409 (pthread_barrier_wait): Likewise.
24410 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24411 (pthread_barrier_wait): Likewise.
24412 * nptl/Versions (libpthread): Export __pthread_barrier_init and
24413 __pthread_barrier_wait at version GLIBC_PRIVATE.
24414 * include/pthread.h (__pthread_barrier_init): Declare.
24415 (__pthread_barrier_wait): Likewise.
24416 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24417 Call __pthread_barrier_wait instead of pthread_barrier_wait.
24418 (helper_thread): Likewise.
24419 (init_mq_netlink): Call __pthread_barrier_init instead of
24420 pthread_barrier_init.
24421
24422 [BZ #18542]
24423 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24424 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24425 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
24426 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24427 vswscanf.
24428 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24429 Remove variable.
24430
24431 [BZ #18540]
24432 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24433 strong alias of _IO_fflush. Use libc_hidden_def.
24434 * libio/iofflush_u.c (fflush_unlocked): Rename to
24435 __fflush_unlocked and define as weak alias of __fflush_unlocked.
24436 Use libc_hidden_weak.
24437 * include/stdio.h (__fflush_unlocked): Declare. Use
24438 libc_hidden_proto.
24439 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24440 fflush_unlocked.
24441 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24442 Remove variable.
24443
24444 [BZ #18539]
24445 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24446 define as weak alias of __addseverity.
24447 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24448 Remove variable.
24449 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24450 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24451 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24452
24453 [BZ #18536]
24454 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24455 (__tfind): Likewise.
24456 (__tdelete): Likewise.
24457 (__twalk): Likewise.
24458 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24459 __twalk to GLIBC_PRIVATE.
24460 * include/search.h (__tsearch): Use libc_hidden_proto.
24461 (__tfind): Likewise.
24462 (__tdelete): Likewise.
24463 (__twalk): Likewise.
24464 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24465 Call __tdelete instead of tdelete.
24466 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24467 tfind. Call __tsearch instead of tsearch.
24468 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24469 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24470 Remove variable.
24471 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24472
24473 [BZ #18534]
24474 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24475 (dprintf): Define as a weak alias of __dprintf, not a strong
24476 alias.
24477 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
24478 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24479 dprintf.
24480 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24481 Remove variable.
24482 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24483 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24484
24485 [BZ #18533]
24486 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24487 not a strong alias.
24488 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24489 Remove variable.
24490
24491 [BZ #18532]
24492 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24493 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
24494 (in6addr_loopback): Rename to __in6addr_loopback and define as
24495 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
24496 * include/netinet/in.h (__in6addr_loopback): Declare. Use
24497 libc_hidden_proto.
24498 (__in6addr_any): Likewise.
24499 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24500 in6addr_any.
24501 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24502 variable.
24503 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24504
24505 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
24506
24507 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24508 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24509 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24510 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24511 redirections for pow.
24512 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24513 * sysdeps/x86_64/fpu/Versions: New versions added.
24514 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24515 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24516 build of SSE, AVX2 and AVX512 IFUNC versions.
24517 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24518 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24519 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24520 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24521 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24522 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24523 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24524 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24525 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24526 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24527 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24528 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24529 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24530 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24531 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24532 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24533 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24534 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24535 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24536 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24537 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24538 * NEWS: Mention addition of x86_64 vector pow.
24539
24540 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24541 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24542 redirections for expf.
24543 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24544 * sysdeps/x86_64/fpu/Versions: New versions added.
24545 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24546 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24547 build of SSE, AVX2 and AVX512 IFUNC versions.
24548 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24549 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24550 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24551 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24552 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24553 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24554 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24555 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24556 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24557 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24558 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24559 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24560 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24561 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24562 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24563 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24564 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24565 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24566 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24567 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24568 * NEWS: Mention addition of x86_64 vector expf.
24569
24570 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24571 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24572 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24573 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24574 redirections for exp.
24575 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24576 * sysdeps/x86_64/fpu/Versions: New versions added.
24577 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24578 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24579 build of SSE, AVX2 and AVX512 IFUNC versions.
24580 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24581 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24582 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24583 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24584 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24585 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24586 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24587 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24588 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24589 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24590 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24591 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24592 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24593 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24594 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24595 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24596 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24597 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24598 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24599 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24600 * NEWS: Mention addition of x86_64 vector exp.
24601
24602 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24603 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24604 redirections for logf.
24605 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24606 * sysdeps/x86_64/fpu/Versions: New versions added.
24607 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24608 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24609 build of SSE, AVX2 and AVX512 IFUNC versions.
24610 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24611 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24612 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24613 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24614 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24615 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24616 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24617 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24618 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24619 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24620 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24621 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24622 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24623 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24624 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24625 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24626 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24627 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24628 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24629 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24630 * NEWS: Mention addition of x86_64 vector logf.
24631
24632 * bits/libm-simd-decl-stubs.h: Added stubs for log.
24633 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24634 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24635 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24636 redirections for log.
24637 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24638 * sysdeps/x86_64/fpu/Versions: New versions added.
24639 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24640 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24641 build of SSE, AVX2 and AVX512 IFUNC versions.
24642 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24643 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24644 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24645 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24646 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24647 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24648 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24649 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24650 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24651 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24652 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24653 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24654 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24655 test.
24656 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24657 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24658 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24659 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24660 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24661 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24662 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24663 * NEWS: Mention addition of x86_64 vector log.
24664
24665 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
24666
24667 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24668 cfi_adjust_cfa_offset argument.
24669 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24670 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24671
24672 [BZ #18034]
24673 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24674 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24675 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24676 ordering using ldar.
24677 (_dl_tlsdesc_dynamic): Likewise.
24678 (_dl_tlsdesc_return_lazy): Likewise.
24679 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24680 relaxed atomics instead of volatile and synchronize with release store.
24681 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24682 volatile.
24683 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24684
24685 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
24686
24687 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24688 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24689 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24690 * sysdeps/x86_64/fpu/Versions: New versions added.
24691 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24692 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24693 build of SSE, AVX2 and AVX512 IFUNC versions.
24694 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24695 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24696 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24697 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24698 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24699 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24700 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24701 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24702 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24703 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24704 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24705 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24706 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24707 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24708 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24709 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24710 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24711 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24712 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24713 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24714 * NEWS: Mention addition of x86_64 vector sinf.
24715
24716 2015-06-14 Joseph Myers <joseph@codesourcery.com>
24717
24718 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24719 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24720 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24721 Remove variable.
24722 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24723 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24724
24725 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24726
24727 [BZ #18530]
24728 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24729 strong alias of _IO_fputs. Use libc_hidden_def.
24730 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24731 and define as weak alias of __fputs_unlocked. Use
24732 libc_hidden_weak.
24733 * include/stdio.h (__fputs_unlocked): Declare. Use
24734 libc_hidden_proto.
24735 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24736 fputs_unlocked.
24737
24738 [BZ #18529]
24739 * resolv/netdb.h [__USE_POSIX]: Change condition to
24740 [__USE_XOPEN2K].
24741 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24742 not expect.
24743 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24744 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24745 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24746 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24747 [XPG4 || UNIX98] (AI_ALL): Likewise.
24748 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24749 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24750 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24751 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24752 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24753 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24754 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24755 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24756 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24757 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24758 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24759 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24760 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24761 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24762 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24763 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24764 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24765 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24766 [XPG4 || UNIX98] (gai_strerror): Likewise.
24767 [XPG4 || UNIX98] (getaddrinfo): Likewise.
24768 [XPG4 || UNIX98] (getnameinfo): Likewise.
24769
24770 [BZ #18528]
24771 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24772 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24773 __USE_XOPEN2K8].
24774 (getgrent): Likewise.
24775 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24776 expect.
24777 [XPG3 || POSIX2008] (endgrent): Likewise.
24778 [XPG3] (setgrent): Likewise.
24779 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24780 variable.
24781 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24782
24783 [BZ #18527]
24784 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24785 define as weak alias of __getlogin_r. Use libc_hidden_weak.
24786 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24787 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24788 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24789 * include/unistd.h (__getlogin_r): Declare. Use
24790 libc_hidden_proto.
24791 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24792 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24793 variable.
24794 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24795 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24796 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24797
24798 2015-06-12 Martin Sebor <msebor@redhat.com>
24799
24800 [BZ #18512]
24801 * Makerules (check-install-supported): New target.
24802 (install): Add check-install-supported as a dependency.
24803 * manual/install.texi (Installing the C Library): Document
24804 that overriding prefix and exec_prefix is not supported.
24805 Mention DESTDIR.
24806 * INSTALL: Regenerate from the above.
24807
24808 2015-06-12 Joseph Myers <joseph@codesourcery.com>
24809
24810 [BZ #18519]
24811 * posix/Versions (libc): Export __libc_pread at version
24812 GLIBC_PRIVATE.
24813 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24814 instead of pread.
24815 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24816 variable.
24817
24818 [BZ #18522]
24819 * misc/efgcvt_r.c
24820 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24821 (cvt_symbol): Use weak_alias instead of strong_alias.
24822 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24823 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24824 Remove variable.
24825 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24826 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24827
24828 [BZ #18520]
24829 * inet/herrno.c (h_errno): Rename to __h_errno.
24830 (__libc_h_errno): Define as alias of __h_errno not h_errno.
24831 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24832 to __h_errno instead of h_errno.
24833 * nptl/herrno.c (h_errno): Rename to __h_errno.
24834 (__h_errno_location): Refer to __h_errno not h_errno.
24835 * resolv/Versions (h_errno): Rename to __h_errno.
24836 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24837 Remove variable.
24838 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24839
24840 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
24841
24842 * configure.ac: More strict check for AVX512 assembler support.
24843 * configure: Regenerated.
24844
24845 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24846 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24847 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24848 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24849 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24850 * sysdeps/x86_64/fpu/Versions: New versions added.
24851 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24852 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24853 Added build of SSE, AVX2 and AVX512 IFUNC versions.
24854 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24855 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24856 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24857 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24858 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24859 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24860 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24861 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24862 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24863 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24864 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24865 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24866 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24867 test.
24868 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24869 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24870 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24871 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24872 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24873 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24874 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24875 * NEWS: Mention addition of x86_64 vector sin.
24876
24877 2015-06-11 Florian Weimer <fweimer@redhat.com>
24878
24879 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24880 comment.
24881
24882 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
24883
24884 [BZ #18479]
24885 * nptl/pt-interp.c: New file.
24886 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24887 Add pt-interp.
24888 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24889 $(common-objpfx)runtime-linker.h.
24890
24891 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
24892
24893 * Makeconfig (+interp): Remove unused variable.
24894 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24895 only. Depend on $(common-objpfx)runtime-linker.h instead of
24896 $(elf-objpfx)runtime-linker.h.
24897 ($(elf-objpfx)runtime-linker.h): Rename to
24898 $(common-objpfx)runtime-linker.h and move ...
24899 * Makerules [$(build-shared) = yes]: ... here.
24900 * elf/interp.c: Include <runtime-linker.h> instead of
24901 <elf/runtime-linker.h>.
24902
24903 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24904
24905 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24906 (__gettimeofday_syscall): Remove vsyscall fallback.
24907 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24908 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24909 Add syscall fallback function.
24910 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24911 if vDSO is not present.
24912 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
24913 fallback function.
24914 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
24915 present.
24916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
24917 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24918
24919 2015-06-09 Joseph Myers <joseph@codesourcery.com>
24920
24921 [BZ #18497]
24922 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
24923 of wcscmp.
24924 (wcscmp): Define as weak alias of WCSCMP.
24925 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
24926 wcscoll.
24927 (USE_HIDDEN_DEF): Define.
24928 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
24929 __wcscoll. Don't use libc_hidden_weak.
24930 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
24931 wcscmp.
24932 * sysdeps/i386/i686/multiarch/wcscmp-c.c
24933 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
24934 __GI_wcscmp.
24935 (weak_alias): Undefine and redefine.
24936 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
24937 __wcscmp and define as weak alias of __wcscmp.
24938 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
24939 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
24940 (__wcscoll): Likewise.
24941 (wcscmp): Don't use libc_hidden_proto.
24942 (wcscoll): Likewise.
24943 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
24944 wcscoll.
24945 * posix/regexec.c (check_node_accept_bytes): Likewise.
24946 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
24947 variable.
24948 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24949 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24950
24951 [BZ #18507]
24952 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
24953 __fstatvfs and define as weak alias of __fstatvfs. Use
24954 libc_hidden_weak.
24955 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
24956 and define as weak alias of __statvfs. Use libc_hidden_weak.
24957 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
24958 Define as alias of __fstatvfs, not fstatvfs.
24959 (fstatvfs64): Likewise.
24960 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
24961 Define as alias of __statvfs, not statvfs.
24962 (statvfs64): Likewise.
24963 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
24964 Remove variable.
24965
24966 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24967
24968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
24969 (HAVE_GETCPU_VSYSCALL): Define.
24970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24971 (HAVE_GETCPU_VSYSCALL): Likewise.
24972 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
24973 * sysdeps/unix/sysv/linux/sched_getcpu.c
24974 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
24975 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
24976 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
24977 prototype.
24978 * sysdeps/unix/sysv/linux/x86_64/init-first.c
24979 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
24980 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
24981 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
24982 Define.
24983 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
24984 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24985 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
24986 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24987
24988 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
24989
24990 * sysdeps/x86_64/fpu/Makefile: New file.
24991 * sysdeps/x86_64/fpu/Versions: New file.
24992 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
24993 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
24994 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
24995 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
24996 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
24997 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
24998 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
24999 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25000 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25001 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25002 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25003 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25004 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25005 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25006 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25007 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25008 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25009 * sysdeps/x86_64/configure.ac: Options for libmvec build.
25010 * sysdeps/x86_64/configure: Regenerated.
25011 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25012 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25013 * manual/install.texi (Configuring and compiling): Document
25014 --disable-mathvec.
25015 * INSTALL: Regenerated.
25016 * NEWS: Mention addition of libmvec and x86_64 vector cos.
25017
25018 * math/Makefile: Added rules for vector tests.
25019 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25020 declaration under condition.
25021 * math/test-double-vlen2.h: New file.
25022 * math/test-double-vlen4.h: New file.
25023 * math/test-double-vlen8.h: New file.
25024 * math/test-vec-loop.h: Added initialization macro.
25025 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25026 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25027 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25028 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25029 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25030 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25031 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25032 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25033 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25034 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25035 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25036
25037 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25038 * sysdeps/x86_64/fpu/Versions: New versions added.
25039 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25040 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25041 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25042 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25043 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25044 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25045 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25046 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25047 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25048 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25049 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25050 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25051 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25052 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25053 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25054 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25055 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25056 * NEWS: Mention addition of x86_64 vector cosf.
25057
25058 * math/Makefile: Added CFLAGS for new tests.
25059 * math/test-float-vlen16.h: New file.
25060 * math/test-float-vlen4.h: New file.
25061 * math/test-float-vlen8.h: New file.
25062 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25063 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25064 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25065 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25066 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25067 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25068 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25069 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25070 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25071 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25072 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25073
25074 2015-06-09 Marko Myllynen <myllynen@redhat.com>
25075
25076 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25077 * locale/programs/ld-ctype.c: Likewise.
25078
25079 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
25080
25081 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25082 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25083 bit_ZMM16_31_state): New macro.
25084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25085 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25086
25087 2015-06-08 Joseph Myers <joseph@codesourcery.com>
25088
25089 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25090
25091 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
25092
25093 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25094
25095 2015-06-05 Joseph Myers <joseph@codesourcery.com>
25096
25097 [BZ #18498]
25098 * libio/memstream.c (open_memstream): Rename to __open_memstream
25099 and define as weak alias of __open_memstream.
25100 * include/stdio.h (__open_memstream): Declare. Use
25101 libc_hidden_proto.
25102 (open_memstream): Don't use libc_hidden_proto.
25103 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25104 open_memstream.
25105 * posix/getopt.c (_getopt_internal_r): Likewise.
25106 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25107 variable.
25108 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25109 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25110 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25111
25112 [BZ #18496]
25113 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25114 instead of wcrtomb.
25115
25116 [BZ #18483]
25117 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25118 [__USE_XOPEN2K8]. Remove redundant #endif.
25119 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25120 Remove redundant #if.
25121 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25122 Remove variable.
25123 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25124 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25125
25126 [BZ #18495]
25127 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25128 (__iswlower): Likewise.
25129 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
25130 (__iswlower): Likewise.
25131 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25132 instead of towlower.
25133 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25134 instead of iswlower. Call __towupper instead of towupper.
25135 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25136 instead of iswalnum.
25137
25138 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25139
25140 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25141 errors to stderr.
25142
25143 2015-06-05 Florian Weimer <fweimer@redhat.com>
25144
25145 [BZ #15661]
25146 [BZ #17322]
25147 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25148 Check for overflow properly. Check for O_APPEND. Ignore large
25149 file system block sizes. Add comments about problems.
25150 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25151 * manual/filesys.texi (Storage Allocation): New node.
25152
25153 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25154
25155 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25156 cancellable syscalls.
25157 (SYS_ify): Add guard to no redefine it.
25158 (INLINE_SYSCALL): Likewise.
25159 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25160 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25161 SYSCALL_CANCEL instead.
25162 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25163 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25164 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25165 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25166 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25167 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25168 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25169 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25170 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25171 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25172 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25173 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25174 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25175 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25176 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25177 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25178 Likewise.
25179 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25180 (__libc_pread64): Likewise.
25181 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25182 (__libc_preadv): Likewise.
25183 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25184 (__libc_readv64): Likewise.
25185 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25186 (__libc_pwrite): Likewise.
25187 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25188 (__libc_pwrite64): Likewise.
25189 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25190 (__libc_pwritev): Likewise.
25191 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25192 (__libc_pwritev64): Likewise.
25193 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25194 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25195 (sync_file_range): Likewise.
25196 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25197 Likewise.
25198 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25199 Likewise.
25200 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25201 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25202 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25203 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25204 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25205 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25206 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25207 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25209 Likewise.
25210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25211 (__libc_read64): Likewise.
25212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25213 Likewise.
25214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25215 Likewise.
25216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25217 Likewise.
25218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25219 Likewise.
25220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25221 (__libc_pread64): Likewise.
25222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25223 Likewise.
25224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25225 (__libc_pwrite64): Likewise.
25226 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25227 (sync_file_range): Likewise.
25228 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25229 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25230 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25231 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25232 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25233 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25234 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25235 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25236 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25237 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25238 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25239 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25240 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25241 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25242 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25243 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25244 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25245 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25246 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25247 Likewise.
25248 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25249 Likewise.
25250 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25251 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25252 Likewise.
25253 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25254 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25255 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25256 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25257 Likewise.
25258 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25259 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25260 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25261 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25262 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25263
25264 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
25265
25266 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25267 Include dl-vdso.
25268 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25269 Use VDSO routines for gettimeofday, clock_gettime if
25270 available.
25271 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25272 Declare VDSO symbols.
25273 * sysdeps/unix/sysv/linux/arm/sysdep.h:
25274 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25275 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25276 * sysdeps/unix/sysv/linux/arm/Versions: Add
25277 __vdso_clock_gettime.
25278
25279 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25280
25281 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25282 be an inline implementation regardless of library is built within.
25283 (open_not_cancel_2): Likewise.
25284 (__read_nocancel): Likewise.
25285 (__write_nocancel): Likewise.
25286 (openat_not_cancel): Likewise.
25287 (openat_not_cancel_3): Likewise.
25288 (openat64_not_cancel): Likewise.
25289 (openat64_not_cancel_3): Likewise.
25290 (__close_nocancel): Likewise.
25291 (pause_not_cancel): Likewise.
25292 (nanosleep_not_cancel): Likewise.
25293 (sigsuspend_not_cancel): Likewise.
25294
25295 2015-06-04 Torvald Riegel <triegel@redhat.com>
25296
25297 [BZ #14958]
25298 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25299 wake-up.
25300 (__pthread_rwlock_rdlock_slow): Likewise.
25301 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25302 Likewise.
25303 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25304 Likewise.
25305 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25306 * nptl/tst-rwlock16.c: New file.
25307 * nptl/Makefile (tests): Add new test.
25308
25309 2015-06-04 Torvald Riegel <triegel@redhat.com>
25310
25311 [BZ #18324]
25312 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25313 missing wake-up of readers.
25314 * nptl/tst-rwlock15.c: New file.
25315 * nptl/Makefile (tests): Add new test.
25316
25317 2015-06-03 Roland McGrath <roland@hack.frob.com>
25318
25319 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25320 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25321 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25322 and __nacl_supply_interface_rtld.
25323 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25324 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25325 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25326 Add __nacl_supply_interface_rtld.
25327 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25328
25329 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25330
25331 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25332 isfinite.
25333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25334 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25335
25336 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
25337
25338 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25339 __signbit* with standard C99 macros.
25340 * math/e_exp10l.c: Likewise.
25341 * math/e_exp2l.c: Likewise.
25342 * math/e_scalb.c: Likewise.
25343 * math/e_scalbf.c: Likewise.
25344 * math/e_scalbl.c: Likewise.
25345 * math/s_ldexp.c: Likewise.
25346 * math/s_ldexpf.c: Likewise.
25347 * math/s_ldexpl.c: Likewise.
25348 * math/w_atan2.c: Likewise.
25349 * math/w_atan2f.c: Likewise.
25350 * math/w_atan2l.c: Likewise.
25351 * math/w_cosh.c: Likewise.
25352 * math/w_coshf.c: Likewise.
25353 * math/w_coshl.c: Likewise.
25354 * math/w_exp10.c: Likewise.
25355 * math/w_exp10f.c: Likewise.
25356 * math/w_exp10l.c: Likewise.
25357 * math/w_exp2.c: Likewise.
25358 * math/w_exp2f.c: Likewise.
25359 * math/w_exp2l.c: Likewise.
25360 * math/w_fmod.c: Likewise.
25361 * math/w_fmodf.c: Likewise.
25362 * math/w_fmodl.c: Likewise.
25363 * math/w_hypot.c: Likewise.
25364 * math/w_hypotf.c: Likewise.
25365 * math/w_hypotl.c: Likewise.
25366 * math/w_jnl.c: Likewise.
25367 * math/w_lgamma.c: Likewise.
25368 * math/w_lgamma_r.c: Likewise.
25369 * math/w_lgammaf.c: Likewise.
25370 * math/w_lgammaf_r.c: Likewise.
25371 * math/w_lgammal.c: Likewise.
25372 * math/w_lgammal_r.c: Likewise.
25373 * math/w_pow.c: Likewise.
25374 * math/w_powf.c: Likewise.
25375 * math/w_powl.c: Likewise.
25376 * math/w_remainder.c: Likewise.
25377 * math/w_remainderf.c: Likewise.
25378 * math/w_remainderl.c: Likewise.
25379 * math/w_scalb.c: Likewise.
25380 * math/w_scalbf.c: Likewise.
25381 * math/w_scalbl.c: Likewise.
25382 * math/w_scalbln.c: Likewise.
25383 * math/w_scalblnf.c: Likewise.
25384 * math/w_scalblnl.c: Likewise.
25385 * math/w_sinh.c: Likewise.
25386 * math/w_sinhf.c: Likewise.
25387 * math/w_sinhl.c: Likewise.
25388 * math/w_tgamma.c: Likewise.
25389 * math/w_tgammaf.c: Likewise.
25390 * math/w_tgammal.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25392 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25398 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25399 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25401 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25402 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25403 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25404 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25405 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25406 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25407 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25408 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25409 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25410 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25411 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25412 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25413 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25415 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25416 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25417 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25418 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25419 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25420 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25421 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25422 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25423 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25424 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25425 * stdio-common/printf_fp.c: Likewise.
25426 * stdio-common/printf_fphex.c: Likewise.
25427 * stdio-common/printf_size.c: Likewise.
25428
25429 2015-06-03 Joseph Myers <joseph@codesourcery.com>
25430
25431 [BZ #18470]
25432 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25433 strnlen.
25434 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25435 Remove variable.
25436 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25437 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25438 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25439 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25440 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25441 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25442 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25443 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25444 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25445 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25446
25447 [BZ #18468]
25448 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25449 weak alias of __wmemchr. Use libc_hidden_weak.
25450 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
25451 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25452 instead of wmemchr.
25453
25454 2015-06-02 Roland McGrath <roland@hack.frob.com>
25455
25456 [BZ #18383]
25457 * elf/tst-tlsalign-extern.c: New file.
25458 * elf/tst-tlsalign-extern-static.c: New file.
25459 * elf/tst-tlsalign-vars.c: New file.
25460 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25461 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25462 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25463 ($(objpfx)tst-tlsalign-extern-static): Likewise.
25464 (test-xfail-tst-tlsalign-extern-static): New variable.
25465
25466 2015-06-02 Joseph Myers <joseph@codesourcery.com>
25467
25468 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25469 Use variable name _sc_err instead of err.
25470 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25471 instead of ret.
25472 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25473 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25474 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25475 (INLINE_SYSCALL): Likewise.
25476
25477 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25478 * include/string.h (__strnlen): Use libc_hidden_proto.
25479 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25480 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25481 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25482 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25483 (libc_hidden_def): Undefine and redefine.
25484 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25485 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25486 __GI_strnlen.
25487 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25488 libc_hidden_def.
25489 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25490
25491 [BZ #18469]
25492 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25493 weak alias of __towlower. Use libc_hidden_weak.
25494 (towupper): Rename to __towupper and define as weak alias of
25495 __towupper. Use libc_hidden_weak.
25496 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
25497 (__towupper): Likewise.
25498 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25499 __towlower instead of towlower.
25500
25501 2015-06-02 Roland McGrath <roland@hack.frob.com>
25502
25503 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25504 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25505
25506 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
25507
25508 * sysdeps/aarch64/libm-test-ulps: Update.
25509
25510 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25511
25512 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25513 Define.
25514 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25516 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25517 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25518 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25519 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25520 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25521
25522 2015-06-01 Martin Sebor <msebor@redhat.com>
25523
25524 [BZ #18116]
25525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25526 (__setcontext): Use extended four-operand version of mtsf whenever
25527 possible.
25528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25529 (__novec_swapcontext): Likewise.
25530
25531 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
25532
25533 * benchtests/scripts/compare_bench.py: New file.
25534 * benchtests/scripts/import_bench.py (mean): New function.
25535 (split_list): Likewise.
25536 (do_for_all_timings): Likewise.
25537 (compress_timings): Likewise.
25538
25539 * benchtests/scripts/import_bench.py: New file.
25540 * benchtests/scripts/validate_benchout.py: Import import_bench
25541 instead of jsonschema.
25542 (validate_bench): Remove function.
25543 (main): Use import_bench.
25544
25545 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
25546
25547 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25548 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25549
25550 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25551
25552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25553
25554 2015-05-28 Roland McGrath <roland@hack.frob.com>
25555
25556 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25557 set THREAD_SELF->tid to a magic value and futex-wake it.
25558 Pass its address to the thread_exit system call.
25559 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25560 bit is clear.
25561 * sysdeps/nacl/lowlevellock.h: New file.
25562 * sysdeps/nacl/lll_timedwait_tid.c: New file.
25563
25564 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25565 Add TIMEOUT to current time, don't subtract it.
25566
25567 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
25568
25569 [BZ #2981]
25570 [BZ #18422]
25571 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25572 ($(objpfx)tst-audit2.out): Also depend on
25573 $(objpfx)tst-auditmod9b.so.
25574 * elf/tst-audit2.c: Include <dlfcn.h>.
25575 (calloc_called): New.
25576 (calloc): Allow to be called more than once.
25577 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25578
25579 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
25580
25581 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25582 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25583
25584 2015-05-27 Marko Myllynen <myllynen@redhat.com>
25585
25586 * stdlib/monetary.h: Fix comment.
25587
25588 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
25589
25590 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25591 Avoid using variables in #defines that might cause shadowing.
25592 (INTERNAL_VSYSCALL_CALL): Likewise.
25593
25594 2015-05-26 Roland McGrath <roland@hack.frob.com>
25595
25596 * sysdeps/nacl/lll_timedlock_wait.c: New file.
25597
25598 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25599 * nptl/lll_timedlock_wait.c: ... to this new file.
25600 * nptl/Makefile (libpthread-routines): Add it.
25601 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25602 * nptl/lll_timedwait_tid.c: ... to this new file.
25603 * nptl/Makefile (libpthread-routines): Add it.
25604 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25605 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25606 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25607 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25608 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25609 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25610 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25611 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25612 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25613 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25614
25615 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25616
25617 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25618 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25619 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25620 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25621 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25622 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25623 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25624 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25625 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25626 * sysdeps/unix/sysv/linux/tile/sysdep.h
25627 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25628 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25629 using vDSO syscall macro.
25630
25631 2015-05-26 Andriy Rysin <arysin@gmail.com>
25632
25633 [BZ #17293]
25634 * uk_UA: Fix sorting order for Ukrainian locale
25635
25636 2015-05-26 Marko Myllynen <myllynen@redhat.com>
25637
25638 * stdlib/monetary.h: Fix comment.
25639
25640 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
25641
25642 [BZ #18234]
25643 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25644 st_mtim and st_ctim members.
25645 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25646 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25647 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25648 (struct stat64): Likewise.
25649 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25650 (struct stat64): Likewise.
25651 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25652 (struct stat64): Likewise.
25653
25654 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25655
25656 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25657 Define and include sysdep-vdso.h.
25658 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25659 Likewise.
25660 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25661 Likewise.
25662 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25663 Define with VDSO_SYMBOL and use PTR_MANGLE.
25664 (__vdso_clock_gettime): Likewise.
25665 (__vdso_clock_getres): Likewise.
25666 (_libc_vdso_platform_setup): Likewise.
25667 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25668 Likewise.
25669 (_libc_vdso_platform_setup): Likewise.
25670 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25671 Likewise.
25672 (__vdso_clock_gettime): Likewise.
25673 (__vdso_clock_getres): Likewise.
25674 (__vdso_get_tbfreq): Likewise.
25675 (__vdso_getcpu): Likewise.
25676 (__vdso_time): Likewise.
25677 (__vdso_sigtramp_rt64): Likewise.
25678 (__vdso_signtramp32): Likewise.
25679 (__vdso_sigtramp_rt32): Likewise.
25680 (_libc_vdso_platform_setup): Likewise.
25681 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25682 Likewise.
25683 (__vdso_clock_gettime): Likewise.
25684 (__vdso_clock_getres): Likewise.
25685 (_libc_vdso_platform_setup): Likewise.
25686 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25687 Likewise.
25688 (__vdso_clock_gettime): Likewise.
25689 (_libc_vdso_platform_setup): Likewise.
25690 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25691 Likewise.
25692 (__vdso_getcpu): Likewise.
25693 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25694 Use VDSO_SYMBOL macro to define.
25695 (__vdso_clock_gettime): Likewise.
25696 (__vdso_clock_getres): Likewise.
25697 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25698 Likewise.
25699 (__vdso_clock_gettime): Likewise.
25700 (__vdso_clock_getres): Likewise.
25701 (__vdso_get_tbfreq): Likewise.
25702 (__vdso_getcpu): Likewise.
25703 (__vdso_time): Likewise.
25704 (__vdso_sigtramp_rt64): Likewise.
25705 (__vdso_signtramp32): Likewise.
25706 (__vdso_sigtramp_rt32): Likewise.
25707 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25708 Likewise.
25709 (__vdso_clock_gettime): Likewise.
25710 (__vdso_clock_getres): Likewise.
25711 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25712 Likewise.
25713 (__vdso_clock_gettime): Likewise.
25714 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25715 Likewise.
25716 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
25717 macro.
25718 (INTERNAL_VSYSCALL): Likewise.
25719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25720 Remove macro.
25721 (INTERNAL_VSYSCALL): Likewise.
25722 (INTERNAL_VSYSCALL_NCS): Likewise.
25723 (INTERNAL_VSYSCALL_CALL): New macro.
25724 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25725 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25726 Likewise.
25727 (INTERNAL_VSYSCALL): Likewise.
25728 (INTERNAL_VSYSCALL_NCS): Likewise.
25729 (INTERNAL_VSYSCALL_CALL): New macro.
25730 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25732 (INLINE_VSYSCALL): Remove macro.
25733 (INTERNAL_VSYSCALL): Remove macro.
25734 (INTERNAL_VSYSCALL_NCS): Remove macro.
25735 (INTERNAL_VSYSCALL_CALL): New macro.
25736 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25737 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25738 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25739 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25740 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25742 (INLINE_VSYSCALL): Remove macro.
25743 (INTERNAL_VSYSCALL): Likewise.
25744 (INTERNAL_VSYSCALL_NCS): Likewise.
25745 (INTERNAL_VSYSCALL_CALL): New macro.
25746 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25747 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25748 PTR_DEMANGLE on vDSO pointer.
25749 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25750 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25751 macro.
25752 (INTERNAL_SYSCALL): Likewise.
25753 (INTERNAL_VSYSCALL_NCS): Remove macro.
25754 (INTERNAL_VSYSCALL_CALL): New macro.
25755 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25756 Remove macro.
25757 (INTERNAL_VSYSCALL): Likewise.
25758 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25759 sysdep-vdso.h instead of libc-vdso.h.
25760 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25761 definition.
25762 (INLINE_VSYSCALL): Likewise.
25763 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25764 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25765 definition.
25766 (INLINE_VSYSCALL): Likewise.
25767 (INTERNAL_VSYSCALL): Likewise.
25768 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25769 * sysdeps/unix/sysv/linux/timespec_get.c
25770 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25771 (timespec_get): Use ANSI prototype.
25772 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25773 and definition for Linux.
25774
25775 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
25776
25777 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25778 * include/libc-symbols.h: libmvec_hidden_* macro series added.
25779
25780 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
25781
25782 [BZ #2981]
25783 [BZ #18410]
25784 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25785 for missing DT_PLTRELSZ.
25786
25787 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
25788
25789 Remove obsolete aliases that broke 'locale -a'
25790 [BZ #18412]
25791 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25792 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25793 breaking some applications that use 'locale -a' output.
25794 Change the encoding of this file from Latin-1 to ASCII to avoid
25795 other potential problems with people grepping this file.
25796
25797 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25798
25799 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25800 -fasynchronous-unwind-tables.
25801 (CFLAGS-sendto.c): Likewise.
25802 (CFLAGS-sendmsg.c): Likewise.
25803 (CFLAGS-connect.c): Likewise.
25804 (CFLAGS-recvmsg.c): Likewise.
25805 (CFLAGS-recvfrom.c): Likewise.
25806 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25807 (SOCKETCALL): New macro: non-cancellable socketcall.
25808 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25809 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25810 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25811 * sysdeps/unix/sysv/linux/accept.c: New file.
25812 * sysdeps/unix/sysv/linux/bind.c: Likewise.
25813 * sysdeps/unix/sysv/linux/connect.c: Likewise.
25814 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25815 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25816 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25817 * sysdeps/unix/sysv/linux/listen.c: Likewise.
25818 * sysdeps/unix/sysv/linux/recv.c: Likewise.
25819 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25820 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25821 * sysdeps/unix/sysv/linux/send.c: Likewise.
25822 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25823 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25824 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25825 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25826 * sysdeps/unix/sysv/linux/socket.c: Likewise.
25827 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25828 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25829 prototype.
25830 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25831 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25832 instead of __internal_xxx function.
25833 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25834 prototype.
25835 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25836 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25837 instead of __internal_xxx function.
25838 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25839 prototype.
25840 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25841 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25842 instead of __internal_xxx function.
25843 * sysdeps/unix/sysv/linux/accept.S: Remove file.
25844 * sysdeps/unix/sysv/linux/bind.S: Likewise.
25845 * sysdeps/unix/sysv/linux/connect.S: Likewise.
25846 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25847 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25848 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25849 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25850 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25851 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25852 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25853 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25854 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25855 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25856 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25857 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25858 * sysdeps/unix/sysv/linux/listen.S: Likewise.
25859 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25860 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25861 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25862 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25865 * sysdeps/unix/sysv/linux/recv.S: Likewise.
25866 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25867 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25868 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25869 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25870 * sysdeps/unix/sysv/linux/send.S: Likewise.
25871 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25872 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25873 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25874 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25875 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25876 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25877 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25878 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25879 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25880 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25881 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25882 socketcall is implemented in GLIBC.
25883
25884 2015-05-22 Joseph Myers <joseph@codesourcery.com>
25885
25886 * soft-fp/fmadf4.c: Include <libc-internal.h>.
25887 (__fma): Ignore uninitialized warnings around packing.
25888 * soft-fp/fmasf4.c: Include <libc-internal.h>.
25889 (__fmaf): Ignore uninitialized warnings around packing.
25890 * soft-fp/fmatf4.c: Include <libc-internal.h>.
25891 (__fmal): Ignore uninitialized warnings around packing.
25892
25893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25894 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25895 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25896 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25897
25898 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25899 switch statement into default case.
25900 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25901
25902 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25903 a conditional in forcing "inexact".
25904 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25905 Likewise.
25906
25907 2015-05-22 Roland McGrath <roland@hack.frob.com>
25908
25909 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25910 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25911 for each INTERNAL_SYSCALL use.
25912
25913 2015-05-22 Joseph Myers <joseph@codesourcery.com>
25914
25915 [BZ #438]
25916 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
25917 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
25918 variable.
25919
25920 [BZ #18444]
25921 * string/basename.c (basename): Rename to __basename and define as
25922 weak alias of __basename. Use libc_hidden_weak.
25923 * include/string.h (__basename): Declare. Use libc_hidden_proto.
25924 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
25925 __basename instead of basename.
25926 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
25927 Remove variable.
25928 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25929
25930 2015-05-18 Florian Weimer <fweimer@redhat.com>
25931
25932 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
25933 (_IO_JUMPS_FILE_plus): New.
25934 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
25935 _IO_CAST_FIELD_ACCESS.
25936 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
25937 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
25938 * libio/freopen.c (freopen): Likewise.
25939 * libio/freopen64.c (freopen64): Likewise.
25940 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
25941 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
25942 * libio/iofwide.c (_IO_fwide): Likewise.
25943 * libio/memstream.c (open_memstream): Likewise.
25944 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25945 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25946 * libio/oldiopopen.c (_IO_old_popen): Likewise.
25947
25948 2015-05-21 Joseph Myers <joseph@codesourcery.com>
25949
25950 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
25951 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
25952 NADJ.
25953 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
25954 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
25955 NADJ.
25956 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
25957 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
25958 NADJ.
25959
25960 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
25961 (p == 4) case.
25962
25963 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
25964 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
25965 Remove variable.
25966 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
25967 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
25968 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
25969
25970 2015-05-21 Florian Weimer <fweimer@redhat.com>
25971
25972 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
25973 Adjust jump table label generation macros.
25974
25975 2015-05-21 Florian Weimer <fweimer@redhat.com>
25976
25977 * stdio-common/vfprintf.c (vfprintf): Move local variables
25978 args_malloced, specs, specs_malloced, and the code after
25979 do_positional to the printf_positional function.
25980 (printf_positional): New function.
25981
25982 2015-05-21 Florian Weimer <fweimer@redhat.com>
25983
25984 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
25985 function.
25986 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
25987 STEP4_TABLE, process_arg): Move macro definitions
25988 out of the vfprintf function. (Cosmetic change only.)
25989
25990 2015-05-21 Carlos O'Donell <carlos@redhat.com>
25991
25992 * benchtests/Makefile (stdio-common-bench): Define.
25993 (benchset): Add stdio-common-bench.
25994 * sprintf-inputs: New file.
25995 * sprintf-source.c: New file.
25996
25997 2015-05-21 Andreas Schwab <schwab@suse.de>
25998
25999 [BZ #13028]
26000 [BZ #17053]
26001 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26002 of struct __res_state.
26003 * resolv/res_send.c (__libc_res_nsend): Likewise.
26004 (get_nsaddr): New function.
26005 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26006 statp directly.
26007
26008 2015-05-20 Joseph Myers <joseph@codesourcery.com>
26009
26010 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26011 -D_POSIX_C_SOURCE=199506L.
26012
26013 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26014
26015 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26016 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26017 Do not mention otherwise.
26018 [POSIX] (_XOPEN_VERSION): Do not expect.
26019 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26020 [POSIX] (_POSIX2_C_BIND): Likewise.
26021 [POSIX] (_POSIX2_VERSION): Likewise.
26022 [POSIX] (_XOPEN_XPG2): Likewise.
26023 [POSIX] (_XOPEN_XPG3): Likewise.
26024 [POSIX] (_XOPEN_XPG4): Likewise.
26025 [POSIX] (_XOPEN_UNIX): Likewise.
26026 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26027 [POSIX] (_POSIX_BARRIERS): Likewise.
26028 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26029 [POSIX] (_POSIX_CPUTIME): Likewise.
26030 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26031 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26032 [POSIX] (_POSIX_SHELL): Likewise.
26033 [POSIX] (_POSIX_SPAWN): Likewise.
26034 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26035 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26036 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26037 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26038 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26039 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26040 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26041 [POSIX] (_XBS5_LP64_OFF64): Likewise.
26042 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26043 [POSIX] (_POSIX_TIMEOUTS): Likewise.
26044 [POSIX] (_POSIX2_PBS): Likewise.
26045 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26046 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26047 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26048 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26049 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26050 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26051 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26052 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26053 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26054 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26055 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26056 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26057 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26058 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26059 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26060 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26061 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26062 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26063 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26064 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26065 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26066 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26067 [POSIX] (_SC_2_C_BIND): Likewise.
26068 [POSIX] (_SC_2_C_VERSION): Likewise.
26069 [POSIX] (_SC_2_PBS): Likewise.
26070 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26071 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26072 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26073 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26074 [POSIX] (_SC_2_PBS_TRACK): Likewise.
26075 [POSIX] (_SC_ATEXIT_MAX): Likewise.
26076 [POSIX] (_SC_BARRIERS): Likewise.
26077 [POSIX] (_SC_BASE): Likewise.
26078 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26079 [POSIX] (_SC_DEVICE_IO): Likewise.
26080 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26081 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26082 [POSIX] (_SC_FD_MGMT): Likewise.
26083 [POSIX] (_SC_FIFO): Likewise.
26084 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26085 [POSIX] (_SC_FILE_LOCKING): Likewise.
26086 [POSIX] (_SC_FILE_SYSTEM): Likewise.
26087 [POSIX] (_SC_IOV_MAX): Likewise.
26088 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26089 [POSIX] (_SC_NETWORKING): Likewise.
26090 [POSIX] (_SC_PAGE_SIZE): Likewise.
26091 [POSIX] (_SC_PASS_MAX): Likewise.
26092 [POSIX] (_SC_PIPE): Likewise.
26093 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26094 [POSIX] (_SC_REGEXP): Likewise.
26095 [POSIX] (_SC_SHELL): Likewise.
26096 [POSIX] (_SC_SIGNALS): Likewise.
26097 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26098 [POSIX] (_SC_SPIN_LOCKS): Likewise.
26099 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26100 [POSIX] (_SC_USER_GROUPS): Likewise.
26101 [POSIX] (_SC_USER_GROUPS_R): Likewise.
26102 [POSIX] (_SC_STREAMS): Likewise.
26103 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26104 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26105 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26106 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26107 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26108 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26109 [POSIX] (_PC_FILESIZEBITS): Likewise.
26110 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26111 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26112 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26113 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26114 [POSIX] (uid_t): Likewise.
26115 [POSIX] (gid_t): Likewise.
26116 [POSIX] (off_t): Likewise.
26117 [POSIX] (pid_t): Likewise.
26118 [POSIX] (cuserid): Allow.
26119 (_SC_2_CHAR_TERM): Require constant.
26120 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26121 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26122 variable.
26123
26124 2015-05-20 Roland McGrath <roland@hack.frob.com>
26125
26126 * sysdeps/nacl/pthread-pids.h: New file.
26127 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26128 (create_thread): Use __nacl_get_tid to initialize PD->tid.
26129
26130 * nptl/pthread-pids.h: New file.
26131 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26132 * nptl/nptl-init.c: Include <pthread-pids.h>.
26133 (__pthread_initialize_minimal_internal):
26134 Call __pthread_initialize_pids instead of set_tid_address syscall.
26135
26136 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26137 * sysdeps/posix/usleep.c: ... here.
26138
26139 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26140
26141 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26142 call_pselect6 object.
26143 [$(subdir) = io]: Remove call_sync_file_range object.
26144 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26145 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26146 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26147 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26148
26149 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
26150
26151 * math/s_cproj.c: Add include "math_private.h".
26152 * math/s_cprojf.c: Likewise.
26153 * math/s_cprojl.c: Likewise.
26154
26155 2015-05-19 Joseph Myers <joseph@codesourcery.com>
26156
26157 [BZ #18244]
26158 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26159 high mantissa bit when testing whether P is a NaN.
26160 * math/libm-test.inc (remainder_test_data): Add more tests.
26161 (remquo_test_data): Likewise.
26162
26163 [BZ #18049]
26164 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26165 below -32, return the argument, with underflow if subnormal.
26166 * math/auto-libm-test-in: Add more tests of atanh.
26167 * math/auto-libm-test-out: Regenerated.
26168
26169 2015-05-19 Roland McGrath <roland@hack.frob.com>
26170
26171 [BZ #18434]
26172 * nptl/tst-sem15.c: New file.
26173 * nptl/Makefile (tests): Add it.
26174 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26175 s/<</>>/ to fix typo in EOVERFLOW check.
26176 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26177
26178 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26179
26180 * manual/strings.texi (envz_remove): Fix typo in safety
26181 annotations.
26182
26183 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
26184 Steve Ellcey <sellcey@imgtec.com>
26185
26186 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26187 in order to avoid strict alias warnings.
26188 (iruserok_af): Ditto for ra.
26189
26190 2015-05-19 James Lemke <jwlemke@codesourcery.com>
26191
26192 [BZ #17581]
26193 * malloc/hooks.c
26194 (magicbyte): Convert to a function and avoid returning 0x01.
26195 (mem2mem_check): Avoid using a length byte equal to the magic byte.
26196 (mem2chunk_check): Fix unsigned comparisons to zero.
26197 Hoist defs of sz and magic.
26198
26199 2015-05-19 Richard Henderson <rth@redhat.com>
26200
26201 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26202
26203 * sysdeps/alpha/fpu/libm-test-ulps: Update.
26204
26205 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26206
26207 [BZ #16159]
26208 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26209 * malloc/arena.c (arena_lock): Check if arena is corrupt.
26210 (reused_arena): Find a non-corrupt arena.
26211 (heap_trim): Pass arena to unlink.
26212 * malloc/hooks.c (malloc_check_get_size): Pass arena to
26213 malloc_printerr.
26214 (top_check): Likewise.
26215 (free_check): Likewise.
26216 (realloc_check): Likewise.
26217 * malloc/malloc.c (malloc_printerr): Add arena argument.
26218 (unlink): Likewise.
26219 (munmap_chunk): Adjust.
26220 (ARENA_CORRUPTION_BIT): New macro.
26221 (arena_is_corrupt): Likewise.
26222 (set_arena_corrupt): Likewise.
26223 (sysmalloc): Use mmap if there are no usable arenas.
26224 (_int_malloc): Likewise.
26225 (__libc_malloc): Don't fail if arena_get returns NULL.
26226 (_mid_memalign): Likewise.
26227 (__libc_calloc): Likewise.
26228 (__libc_realloc): Adjust for additional argument to
26229 malloc_printerr.
26230 (_int_free): Likewise.
26231 (malloc_consolidate): Likewise.
26232 (_int_realloc): Likewise.
26233 (_int_memalign): Don't touch corrupt arenas.
26234 * malloc/tst-malloc-backtrace.c: New test case.
26235
26236 * Makefile (summarize-tests): Fix return value on success.
26237
26238 * manual/string.texi (Envz Functions): Add envz_remove.
26239
26240 2015-05-18 Roland McGrath <roland@hack.frob.com>
26241
26242 * sysdeps/posix/opendir.c: Include <stdbool.h>.
26243 (invalid_name): New function, broken out of ...
26244 (__opendirat): ... here. Call it.
26245 (need_isdir_precheck): New function, broken out of ...
26246 (__opendirat): ... here. Call it.
26247 Use __fxstatat64, not __xstatat64.
26248 (opendir_oflags): New function, broken out of ...
26249 (__opendirat): ... here. Call it.
26250 (opendir_tail): New function, broken out of ...
26251 (__opendirat): ... here. Call it.
26252 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26253 opendir_tail, rather than punting to __opendirat.
26254 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26255
26256 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
26257
26258 * .gitignore: Ignore generated *.pyc.
26259
26260 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
26261
26262 * include/stdio.h: Define __need_wint_t.
26263 * test-skeleton.c: Avoid `for' loop initial declaration.
26264 * nptl/tst-initializers1.c: Use test-skeleton.c.
26265
26266 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26267
26268 [BZ #18418]
26269 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26270
26271 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26272
26273 [BZ #16352]
26274 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26275 (__ieee754_atanh): Force underflow exception for results with
26276 small absolute value.
26277 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26278 (__ieee754_atanhf): Force underflow exception for results with
26279 small absolute value.
26280 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26281 (__ieee754_atanh): Force underflow exception for results with
26282 small absolute value.
26283 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26284 (__ieee754_atanhf): Force underflow exception for results with
26285 small absolute value.
26286 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26287 (__ieee754_atanhl): Force underflow exception for results with
26288 small absolute value.
26289 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26290 (__ieee754_atanhl): Force underflow exception for results with
26291 small absolute value.
26292 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26293 (__ieee754_atanhl): Force underflow exception for results with
26294 small absolute value.
26295 * math/auto-libm-test-in: Do not allow missing underflow
26296 exceptions from atanh.
26297 * math/auto-libm-test-out: Regenerated.
26298
26299 [BZ #18221]
26300 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26301 2**-28 as threshold for returning x or +/- 1/x.
26302 * math/auto-libm-test-in: Add more tests of tan.
26303 * math/auto-libm-test-out: Regenerated.
26304
26305 [BZ #18220]
26306 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26307 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26308 * math/auto-libm-test-in: Add another test of lgamma.
26309 * math/auto-libm-test-out: Regenerated.
26310
26311 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
26312
26313 * stdio-common/printf_fp.c (___printf_fp): Use abs.
26314 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
26315 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26316 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26317 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
26318 (ADD2A): Use fabs. (SUB2A): Use fabs.
26319 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26320 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26321 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26322 (log1): Use fabs. (my_log2): Use fabs.
26323 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26324 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26325 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26326 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26328 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
26329 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
26330 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
26331 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
26332 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26333 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26334
26335 2015-05-15 Joseph Myers <joseph@codesourcery.com>
26336
26337 [BZ #18217]
26338 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26339 as threshold for returning 1 - x.
26340 * math/auto-libm-test-in: Add more tests of erfc.
26341 * math/auto-libm-test-out: Regenerated.
26342
26343 2015-05-14 Joseph Myers <joseph@codesourcery.com>
26344
26345 [BZ #18196]
26346 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26347 threshold for large arguments.
26348 * math/auto-libm-test-in: Add another test of atan.
26349 * math/auto-libm-test-out: Regenerated.
26350
26351 [BZ #16339]
26352 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26353 (__log1p): Force underflow exception for results with small
26354 absolute value.
26355 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26356 (__log1pf): Force underflow exception for results with small
26357 absolute value.
26358 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26359 (__log1p): Force underflow exception for results with small
26360 absolute value.
26361 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26362 (__log1pf): Force underflow exception for results with small
26363 absolute value.
26364 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26365 (__log1pl): Force underflow exception for results with small
26366 absolute value.
26367 * math/auto-libm-test-in: Do not allow missing underflow
26368 exceptions from log1p.
26369 * math/auto-libm-test-out: Regenerated.
26370
26371 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
26372 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26373
26374 [BZ #16704]
26375 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26376
26377 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
26378
26379 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26380 (libmvec): New variable.
26381 * configure.ac: Added option for mathvec build.
26382 * configure: Regenerated.
26383 * mathvec/Depend: New file.
26384 * mathvec/Makefile: New file.
26385 * shlib-versions: Added libmvec.
26386 * math/Makefile: Added rule for libm.so installation.
26387
26388 * bits/math-vector.h: New file.
26389 * bits/libm-simd-decl-stubs.h: New header.
26390 * math/Makefile (headers): Added new header
26391 libm-simd-decl-stubs.h.
26392 * math/math.h (__MATHCALL_VEC): New macro.
26393
26394 * math/gen-libm-have-vector-test.sh: Script generates series of macros
26395 for conditions in testing functions.
26396 * math/Makefile: Added call of libm-have-vector-test.sh.
26397 * math/libm-test.inc (HAVE_VECTOR): New macros.
26398
26399 * math/libm-test.inc: START refactored.
26400 * math/test-double.c (TEST_MATHVEC): Add define.
26401 * math/test-float.c: Likewise.
26402 * math/test-idouble.c: Likewise.
26403 * math/test-ifloat.c: Likewise.
26404 * math/test-ildoubl.c: Likewise.
26405 * math/test-ldouble.c: Likewise.
26406 * sysdeps/generic/math-tests-arch.h
26407 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26408 architecture check.
26409
26410 * math/test-double.c (FUNC_TEST): New macro.
26411 * math/test-float.c: Likewise.
26412 * math/test-idouble.c: Likewise.
26413 * math/test-ifloat.c: Likewise.
26414 * math/test-ildoubl.c: Likewise.
26415 * math/test-ldouble.c: Likewise.
26416 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26417
26418 2015-05-13 Roland McGrath <roland@hack.frob.com>
26419
26420 * sysdeps/nacl/fdopendir.c: New file.
26421
26422 * dirent/scandir-tail.c: New file.
26423 * dirent/scandir64-tail.c: New file.
26424 * dirent/Makefile (routines): Add them.
26425 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26426 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26427 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26428 [!SCANDIR] (SCANDIR_TAIL): New macro.
26429 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26430 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26431 (SCANDIRAT): Macro removed.
26432 (SCANDIR_TAIL): New macro.
26433 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26434 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26435 (SCANDIRAT): Just call __opendirat and __scandir_tail.
26436 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26437 (READDIR): Macro removed.
26438 (SCANDIR_TAIL): New macro.
26439 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26440 (SCANDIR_TAIL): New macro.
26441
26442 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26443 * dirent/scandir-cancel.c: ... to this new file.
26444 * dirent/Makefile (routines): Add it.
26445 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26446 * sysdeps/unix/sysv/linux/i386/scandir64.c
26447 (SKIP_SCANDIR_CANCEL): Macro removed.
26448 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26449
26450 * dirent/tst-scandir.c: New file.
26451 * dirent/tst-scandir64.c: New file.
26452 * dirent/Makefile (tests): Add them.
26453
26454 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
26455
26456 [BZ #18409]
26457 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26458
26459 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
26460
26461 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26462 list.
26463
26464 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
26465
26466 * benchtests/bench-strcoll.c: New benchmark.
26467 * benchtests/Makefile: Generate locales and run benchmark.
26468 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26469 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26470 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26471 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26472 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26473 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26474 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26475 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26476 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26477 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26478 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26479 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26480 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26481 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26482 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26483 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26484 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26485 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26486 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26487 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26488 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26489 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26490 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26491 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26492
26493 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
26494
26495 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26496 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26497
26498 2015-05-12 Roland McGrath <roland@hack.frob.com>
26499
26500 * posix/uname-values.h: New file.
26501 * posix/uname.c: Include that instead of <config-name.h>.
26502 * sysdeps/nacl/uname-values.h: New file.
26503 * sysdeps/arm/nacl/uname-values.h: New file.
26504
26505 2015-05-12 Joseph Myers <joseph@codesourcery.com>
26506
26507 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26508 splitting into fields.
26509
26510 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
26511
26512 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26513 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26514 * locale/localeinfo.h: Add enum collation_encoding_type.
26515 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26516 * programs/ld-collate.c (collate_output): Add encoding type info.
26517 * string/strcoll_l.c (STRDIFF): New function.
26518 * (STRCOLL): Use STRDIFF to skip over equal prefix.
26519 * wcsmbs/wcscoll_l.c: Define STRDIFF.
26520
26521 2015-05-11 Joseph Myers <joseph@codesourcery.com>
26522
26523 [BZ #18397]
26524 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26525 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
26526 <fpu_control.h> instead of <math/fpu_control.c>.
26527 * sysdeps/mips/mips32/fpu/Makefile: New file.
26528
26529 2015-05-11 Andreas Schwab <schwab@suse.de>
26530
26531 [BZ #18007]
26532 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26533 nss_endgrent.
26534 (_nss_compat_endgrent): Call nss_endgrent.
26535 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26536 nss_endpwent.
26537 (_nss_compat_endpwent): Call nss_endpwent.
26538 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26539 needent, call nss_setspent only if non-zero.
26540 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26541 (internal_endspent): Don't call nss_endspent.
26542 (_nss_compat_endspent): Call nss_endspent.
26543 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26544 Remove. All uses removed.
26545 (internal_setent): Remove parameter stayopen, add parameter
26546 stream. Use it instead of global variable.
26547 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26548 (internal_endent, internal_getent): Add parameter stream. Use it
26549 instead of global variable.
26550 (CONCAT(_nss_files_end,ENTNAME))
26551 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26552 (_nss_files_get##name##_r): Pass local stream. Remove locking.
26553 * nss/nss_files/files-alias.c (position, last_use): Remove. All
26554 uses removed.
26555 (internal_setent, internal_endent): Add parameter stream. Use it
26556 instead of global variable.
26557 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26558 stream.
26559 (get_next_alias): Add parameter stream.
26560 (_nss_files_getaliasent_r): Pass global stream.
26561 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
26562 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26563 (_nss_files_gethostbyname4_r): Pass local stream to
26564 internal_setent, internal_getent and internal_endent. Remove
26565 locking.
26566
26567 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26568
26569 * tst-strfmon1.c (tests): Update expected currency symbol.
26570
26571 2015-05-08 Roland McGrath <roland@hack.frob.com>
26572
26573 * sysdeps/nacl/gethostname.c: New file.
26574
26575 2015-05-08 Joseph Myers <joseph@codesourcery.com>
26576
26577 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26578 and sinh.
26579 * math/auto-libm-test-out: Regenerated.
26580 * sysdeps/i386/fpu/libm-test-ulps: Update.
26581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26582
26583 2015-05-08 Carlos O'Donell <carlos@redhat.com>
26584
26585 [BZ #18125]
26586 * stdlib/tst-setcontext3.c: New file.
26587 * stdlib/tst-setcontext3.sh: New file.
26588 * stdlib/Makefile (tests): Add tst-setcontext3.
26589 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26590 to verify test program created output file.
26591 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26592 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26593 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26594 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26595
26596 2015-05-06 Roland McGrath <roland@hack.frob.com>
26597
26598 [BZ #18383]
26599 * elf/tst-tlsalign.c: New file.
26600 * elf/tst-tlsalign-static.c: New file.
26601 * elf/tst-tlsalign-lib.c: New file.
26602 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26603 (tests-static): Add tst-tlsalign-static.
26604 (modules-names): Add tst-tlsalign-lib.
26605 (test-xfail-tst-tlsalign): New variable.
26606 (test-xfail-tst-tlsalign-static): New variable.
26607
26608 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26609 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26610
26611 2015-05-06 Joseph Myers <joseph@codesourcery.com>
26612
26613 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26614 csqrt, erfc, sin and sincos.
26615 * math/auto-libm-test-out: Regenerated.
26616 * sysdeps/i386/fpu/libm-test-ulps: Update.
26617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26618
26619 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
26620
26621 * sysdeps/aarch64/libm-test-ulps: Update.
26622
26623 2015-05-05 Joseph Myers <joseph@codesourcery.com>
26624
26625 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26626 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26627 * math/auto-libm-test-out: Regenerated.
26628 * sysdeps/i386/fpu/libm-test-ulps: Update.
26629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26630
26631 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
26632
26633 [BZ #18265]
26634 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26635 (wcsncpy): Likewise.
26636
26637 2015-05-05 Florian Weimer <fweimer@redhat.com>
26638
26639 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26640 Assume __ASSUME_FALLOCATE is always true.
26641 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26642 (__posix_fallocate64_l64): Likewise.
26643 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26644 (posix_fallocate): Likewise.
26645 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26646 (__posix_fallocate64_l64): Likewise.
26647 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26648 [!__ASSUME_FALLOCATE]: Add comment.
26649
26650 2015-05-05 Florian Weimer <fweimer@redhat.com>
26651
26652 * sysdeps/unix/sysv/linux/i386/Makefile
26653 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26654 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26655 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26656 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26657 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26658 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26659 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26660
26661 2015-05-02 Joseph Myers <joseph@codesourcery.com>
26662
26663 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26664 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26665 tgamma.
26666 * math/auto-libm-test-out: Regenerated.
26667 * sysdeps/i386/fpu/libm-test-ulps: Update.
26668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26669
26670 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26671
26672 * math/auto-libm-test-in: Add more tests of tgamma.
26673 * math/auto-libm-test-out: Regenerated.
26674 * sysdeps/i386/fpu/libm-test-ulps: Update.
26675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26676
26677 * math/auto-libm-test-in: Add more tests of tanh.
26678 * math/auto-libm-test-out: Regenerated.
26679 * sysdeps/i386/fpu/libm-test-ulps: Update.
26680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26681
26682 * math/auto-libm-test-in: Add more tests of tan.
26683 * math/auto-libm-test-out: Regenerated.
26684 * sysdeps/i386/fpu/libm-test-ulps: Update.
26685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26686
26687 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26688 * math/auto-libm-test-out: Regenerated.
26689 * sysdeps/i386/fpu/libm-test-ulps: Update.
26690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26691
26692 * math/auto-libm-test-in: Add another test of pow.
26693 * math/auto-libm-test-out: Regenerated.
26694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26695
26696 * math/auto-libm-test-in: Add more tests of lgamma.
26697 * math/auto-libm-test-out: Regenerated.
26698 * sysdeps/i386/fpu/libm-test-ulps: Update.
26699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26700
26701 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26702 log1p.
26703 * math/auto-libm-test-out: Regenerated.
26704 * sysdeps/i386/fpu/libm-test-ulps: Update.
26705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26706
26707 2015-05-01 Mark Wielaard <mjw@redhat.com>
26708
26709 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26710 Elf64_Chdr structs and ELFCOMPRESS constants.
26711
26712 2015-05-01 Joseph Myers <joseph@codesourcery.com>
26713
26714 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26715 expm1.
26716 * math/auto-libm-test-out: Regenerated.
26717 * sysdeps/i386/fpu/libm-test-ulps: Update.
26718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26719
26720 * math/auto-libm-test-in: Add more tests of erf and erfc.
26721 * math/auto-libm-test-out: Regenerated.
26722 * sysdeps/i386/fpu/libm-test-ulps: Update.
26723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26724
26725 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
26726
26727 * config.h.in (HAVE_AARCH64_BE): Add.
26728
26729 2015-04-30 Joseph Myers <joseph@codesourcery.com>
26730
26731 * math/auto-libm-test-in: Add more tests of csqrt.
26732 * math/auto-libm-test-out: Regenerated.
26733 * sysdeps/i386/fpu/libm-test-ulps: Update.
26734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26735
26736 * math/auto-libm-test-in: Add more tests of cosh and sinh.
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 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26742
26743 2015-04-29 Roland McGrath <roland@hack.frob.com>
26744
26745 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26746 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26747
26748 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26749 (euidaccess, eaccess): Define as weak aliases.
26750
26751 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26752 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
26753 but __suseconds_t is often 'long int' so some sources assume that
26754 type is being used (e.g. they use %ld to print tv_usec).
26755
26756 2015-04-29 Florian Weimer <fweimer@redhat.com>
26757
26758 [BZ #18007]
26759 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26760 (CVE-2014-8121)
26761 * nss/tst-nss-getpwent.c: New file.
26762 * nss/Makefile (tests): Add new test.
26763
26764 2015-04-28 Joseph Myers <joseph@codesourcery.com>
26765
26766 [BZ #18346]
26767 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26768 exponents less than 48 as cases where high part of mantissa needs
26769 examining to determine whether argument is integral.
26770 * math/libm-test.inc (round_test_data): Add more tests.
26771
26772 2015-04-28 Mark Wielaard <mjw@redhat.com>
26773
26774 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26775
26776 2015-04-27 David S. Miller <davem@davemloft.net>
26777
26778 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26779 __tls_get_addr.
26780 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26781
26782 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
26783
26784 [BZ#18333]
26785 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26786
26787 2015-04-27 Florian Weimer <fweimer@redhat.com>
26788
26789 [BZ#18333]
26790 * time/tzset.c (parse_tzname): Return error on memory allocation
26791 failure.
26792 * test-skeleton.c (struct temp_name_list): Change type of name
26793 member to non-const.
26794 (add_temp_file): Create a copy of the file name.
26795 (delete_temp_files): Deallocate memory.
26796 (create_temp_file): Add comment.
26797
26798 2015-04-24 Florian Weimer <fweimer@redhat.com>
26799
26800 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26801 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26802
26803 2015-04-24 Roland McGrath <roland@hack.frob.com>
26804
26805 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26806 * sysdeps/arm/configure: Regenerated.
26807
26808 2015-04-24 Florian Weimer <fweimer@redhat.com>
26809
26810 [BZ #17715]
26811 * time/tzfile.c (__tzfile_read): Check for large values of
26812 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
26813 * time/tzset.c (__tzstring_len): New function, based on the old
26814 __tzstring function.
26815 (__tzstring): Call __tzstring_len.
26816 (parse_tzname): New helper function extracted from
26817 __tzset_parse_tz. Call __tzstring_len, without making a copy of
26818 the input string.
26819 (parse_offset): New helper function extracted from
26820 __tzset_parse_tz. Replace switch with fallthrough with
26821 initialization before sscanf.
26822 (parse_rule): Likewise.
26823 (__tzset_parse_tz): Rewrite using the new helper functions. Use
26824 new-style function definition.
26825 * timezone/Makefile (tests): Add tst-tzset.
26826 (tst-tzset.out): Dependencies on time zone files.
26827 (tst-tzset-ENV): Set TZDIR.
26828 (testdata/XT%): Copy crafted time zone files.
26829 * timezone/README: Mention crafted time zone files.
26830 * timezone/testdata/XT1, timezone/testdata/XT2,
26831 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26832 files.
26833 * timezone/tst-tzset.c: New test.
26834
26835 2015-04-24 Florian Weimer <fweimer@redhat.com>
26836
26837 * Makeconfig (+gccwarn): Remove -Winline.
26838
26839 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26840
26841 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26842
26843 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26844
26845 * NEWS: Mention sysconf() cache information support for s390.
26846 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26847
26848 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
26849
26850 * math/k_casinh.c (__kernel_casinh): Use __copysign.
26851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26852 (__nearbyint): Likewise.
26853 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26854 (copysignl): Likewise.
26855
26856 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
26857
26858 [BZ #18287]
26859 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26860 based on padding. (CVE-2015-1781)
26861
26862 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26863
26864 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26865 libc-vdso.h.
26866 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26867 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26868 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26869 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26870 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26871 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26872 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26873 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26874 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26875 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26876 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26877 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26878 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26879 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26880 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26881 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26882 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26883 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26884 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26885 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26886 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26887 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26888 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26889
26890 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
26891
26892 * stdlib/setenv.c (__add_to_environ):
26893 Dump core quickly if setenv (..., NULL, ...) is called.
26894 This time, do it the right way, and pacify GCC with a pragma.
26895
26896 2015-04-17 Roland McGrath <roland@hack.frob.com>
26897
26898 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26899 IMAP->l_prev cannot be null, and #if out the code for the contrary
26900 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26901 believe that NS (&_dl_ns[NSID]) could point outside the array.
26902
26903 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26904 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26905 before using NSID as an index.
26906
26907 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
26908
26909 [BZ #17825]
26910 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26911 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26912 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26913
26914 2015-04-17 Roland McGrath <roland@hack.frob.com>
26915
26916 Add preliminary port to Google Native Client on ARM.
26917 * abi-tags (.*-.*-nacl.*): New entry.
26918 * sysdeps/arm/nacl: New directory.
26919 * sysdeps/nacl: New directory.
26920
26921 2015-04-16 David S. Miller <davem@davemloft.net>
26922
26923 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
26924 lowlevellock-futex.h
26925
26926 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
26927
26928 * sysdeps/tile/configure.ac: New file.
26929 * sysdeps/tile/configure: Regenerated.
26930
26931 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26932
26933 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
26934 conditionals for weak_alias and libc_hidden_weak.
26935 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
26936 libc_hidden_weak and weak_alias.
26937 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
26938 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
26939 and weak_alias for static one.
26940
26941 2015-04-15 David S. Miller <davem@davemloft.net>
26942
26943 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26944
26945 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26946
26947 [BZ #18206]
26948 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
26949 Use signed comparision instead of substraction to avoid
26950 overflow bug.
26951 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
26952 Take the sign of ret.
26953 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
26954 Do not expect precise return values. Only the sign matters.
26955 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
26956 * wcsmbs/test-wcsncmp.c: New File.
26957 * string/test-strncmp.c: Add wcsncmp support.
26958
26959 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
26960
26961 [BZ #6792]
26962 * math/w_log1p.c: New file.
26963 * math/w_log1pf.c: Likewise.
26964 * math/w_log1pl.c: Likewise.
26965 * math/Makefile (libm-calls): Add w_log1p.
26966 * math/s_log1pl.c (log1pl): Remove weak_alias.
26967 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
26968 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
26969 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
26970 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
26971 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
26972 [NO_LONG_DOUBLE] (log1pl): Likewise.
26973 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
26974 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
26975 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
26976 (log1p): Remove long_double_symbol.
26977 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
26978 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
26979 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
26980 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
26981 remove weak_alias for corresponding log1p function.
26982 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
26983 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
26984 * sysdeps/ia64/fpu/w_log1p.c: New file.
26985 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
26986 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
26987 * math/libm-test.inc (log1p_test_data): Add errno expectations.
26988
26989 2015-04-10 Joseph Myers <joseph@codesourcery.com>
26990
26991 [BZ #18247]
26992 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
26993 decimal exponent by 1.
26994 * stdlib/tst-strtod-round-data: Add more tests.
26995 * stdlib/tst-strtod-round.c (tests): Regenerated.
26996
26997 2015-04-09 Joseph Myers <joseph@codesourcery.com>
26998
26999 * math/auto-libm-test-in: Add more tests of clog and clog10.
27000 * math/auto-libm-test-out: Regenerated.
27001 * sysdeps/i386/fpu/libm-test-ulps: Update.
27002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27003
27004 2015-04-09 Roland McGrath <roland@hack.frob.com>
27005
27006 * Makeconfig (module-cppflags): Exclude all .v.i files.
27007 (skip-module-cppflags): Variable removed.
27008
27009 * configure.ac (libc_config_ok): Initialize before reading
27010 preconfigure scripts, not after.
27011 * configure: Regenerated.
27012
27013 * test-skeleton.c (TIMEOUT): Move #define to top level.
27014 (main): Grok environment variable TEST_DIRECT. If set, print
27015 test expectation details into that file and then behave as if
27016 given --direct.
27017
27018 2015-04-09 Florian Weimer <fweimer@redhat.com>
27019
27020 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27021 warning on 32-bit.
27022
27023 2015-04-08 David S. Miller <davem@davemloft.net>
27024
27025 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27026
27027 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27028
27029 * math/auto-libm-test-in: Add more tests of atanh.
27030 * math/auto-libm-test-out: Regenerated.
27031 * sysdeps/i386/fpu/libm-test-ulps: Update.
27032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27033
27034 * math/auto-libm-test-in: Add more tests of atan.
27035 * math/auto-libm-test-out: Regenerated.
27036 * sysdeps/i386/fpu/libm-test-ulps: Update.
27037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27038
27039 2015-04-08 Florian Weimer <fweimer@redhat.com>
27040
27041 * elf/pldd.c (main): Rewrite to use struct
27042 scratch_buffer instead of extend_alloca.
27043 * elf/pldd-xx.c (find_maps): Likewise.
27044 * grp/initgroups.c: Include <scratch_buffer.h> instead of
27045 <alloca.h>.
27046 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27047 scratch_buffer instead of extend_alloca.
27048 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27049 grp/compat-initgroups.c.
27050 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27051 Rewrite to use struct scratch_buffer instead of extend_alloca.
27052 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27053 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27054
27055 2015-04-08 Joseph Myers <joseph@codesourcery.com>
27056
27057 * math/auto-libm-test-in: Add more tests of cbrt.
27058 * math/auto-libm-test-out: Regenerated.
27059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27060
27061 * math/auto-libm-test-in: Add more tests of cabs.
27062 * math/auto-libm-test-out: Regenerated.
27063 * sysdeps/i386/fpu/libm-test-ulps: Update.
27064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27065
27066 [BZ #18210]
27067 [BZ #18211]
27068 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27069 (__ieee754_atan2): Set FE_TONEAREST mode for internal
27070 computations.
27071 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27072 clog10.
27073 * math/auto-libm-test-out: Regenerated.
27074 * sysdeps/i386/fpu/libm-test-ulps: Update.
27075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27076
27077 [BZ #18197]
27078 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27079 (atan): Set FE_TONEAREST mode for internal computations.
27080 * math/auto-libm-test-in: Add more tests of atan.
27081 * math/auto-libm-test-out: Regenerated.
27082
27083 2015-04-07 James Cowgill <james410@cowgill.org.uk>
27084
27085 [BZ #17930]
27086 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27087
27088 2015-04-07 Florian Weimer <fweimer@redhat.com>
27089
27090 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27091
27092 2015-04-07 Florian Weimer <fweimer@redhat.com>
27093
27094 * include/scratch_buffer.h: New file.
27095 * malloc/scratch_buffer_grow.c: Likewise.
27096 * malloc/scratch_buffer_grow_preserve.c: Likewise.
27097 * malloc/scratch_buffer_set_array_size.c: Likewise.
27098 * malloc/tst-scratch_buffer.c: Likewise.
27099 * malloc/Makefile (routines): Add scratch_buffer_grow.
27100 (tests): Add test case.
27101 * malloc/Versions (GLIBC_PRIVATE): Export
27102 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27103 __libc_scratch_buffer_set_array_size.
27104
27105 2015-04-06 Richard Henderson <rth@redhat.com>
27106
27107 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27108 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27109
27110 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27111 unsigned int before printing.
27112
27113 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27114
27115 [BZ #17596]
27116 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27117 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27118
27119 2015-04-02 Florian Weimer <fweimer@redhat.com>
27120
27121 * include/libc-internal.h (libc_max_align_t): Define.
27122
27123 2015-04-02 Andreas Schwab <schwab@suse.de>
27124
27125 [BZ #16850]
27126 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27127
27128 2015-04-02 Mel Gorman <mgorman@suse.de>
27129
27130 [BZ #17195]
27131 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27132 as well as the main arena.
27133
27134 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27135
27136 [BZ #18185]
27137 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27138 sharing L2 cache to 2 for Silvermont/Knights Landing.
27139
27140 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27141
27142 [BZ #17711]
27143 * config.make.in (have-protected-data): New.
27144 * configure.ac: Check linker support for protected data symbol.
27145 * configure: Regenerated.
27146 * elf/Makefile (modules-names): Add tst-protected1moda and
27147 tst-protected1modb if $(have-protected-data) is yes.
27148 (tests): Add tst-protected1a and tst-protected1b if
27149 $(have-protected-data) is yes.
27150 ($(objpfx)tst-protected1a): New.
27151 ($(objpfx)tst-protected1b): Likewise.
27152 (tst-protected1modb.so-no-z-defs): Likewise.
27153 * elf/tst-protected1a.c: New file.
27154 * elf/tst-protected1b.c: Likewise.
27155 * elf/tst-protected1mod.h: Likewise.
27156 * elf/tst-protected1moda.c: Likewise.
27157 * elf/tst-protected1modb.c: Likewise.
27158
27159 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
27160
27161 [BZ #17711]
27162 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27163 indicates it is called from do_lookup_x on relocation against
27164 protected data, skip the data definion in the executable from
27165 copy reloc.
27166 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27167 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27168 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27169 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27170 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27171 otherwise to 0.
27172 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27173 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27174 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27175 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27176 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27177 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27178
27179 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
27180
27181 * sysdeps/nptl/pthread.h: Remove duplicate definition of
27182 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27183
27184 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
27185
27186 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27187 THREAD_SETMEM_NC.
27188 * sysdeps/x86_64/nptl/tls.h: Ditto.
27189
27190 2015-03-27 Roland McGrath <roland@hack.frob.com>
27191
27192 * dlfcn/tststatic.c (main): Converted to ...
27193 (do_test): ... this.
27194 (TEST_FUNCTION): New macro.
27195 Include test-skeleton.c.
27196
27197 2015-03-26 Alan Modra <amodra@gmail.com>
27198
27199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27200 Don't segfault if ifunc resolver returns a NULL. Do set plt to
27201 zero for undefined weak.
27202 (elf_machine_plt_conflict): Similarly.
27203
27204 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27205
27206 * math/auto-libm-test-in: Add more tests of acosh, asinh and
27207 atanh.
27208 * math/auto-libm-test-out: Regenerated.
27209 * sysdeps/i386/fpu/libm-test-ulps: Update.
27210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27211
27212 * math/auto-libm-test-in: Add another test of asin.
27213 * math/auto-libm-test-out: Regenerated.
27214 * sysdeps/i386/fpu/libm-test-ulps: Update.
27215 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27216
27217 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27218 Remove macro.
27219 (LLL_EBX_REG): Likewise.
27220 (LLL_ENTER_KERNEL): Likewise.
27221
27222 * math/auto-libm-test-in: Add more tests of asin.
27223 * math/auto-libm-test-out: Regenerated.
27224 * sysdeps/i386/fpu/libm-test-ulps: Update.
27225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27226
27227 [BZ #18138]
27228 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27229 libc_do_syscall_args): New structure.
27230 (INTERNAL_SYSCALL_MAIN_0): New macro.
27231 (INTERNAL_SYSCALL_MAIN_1): Likewise.
27232 (INTERNAL_SYSCALL_MAIN_2): Likewise.
27233 (INTERNAL_SYSCALL_MAIN_3): Likewise.
27234 (INTERNAL_SYSCALL_MAIN_4): Likewise.
27235 (INTERNAL_SYSCALL_MAIN_5): Likewise.
27236 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
27237 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27238 Replace conditional definitions by conditional definitions of ....
27239 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
27240 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27241 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27242 (libpthread-sysdep_routines): Add libc-do-syscall.
27243 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27244 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27245 to __NR_futex not 240.
27246
27247 2015-03-25 Alan Modra <amodra@gmail.com>
27248
27249 * NEWS: Advertise TLS optimization.
27250 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27251 (DT_PPC_NUM): Increment.
27252 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27253 (CHECK_STATIC_TLS): Use here.
27254 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27255 TLS descriptors.
27256 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27257 * sysdeps/powerpc/dl-tls.c: New file.
27258 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27259 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27260 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27261 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27265
27266 2015-03-25 Alan Modra <amodra@gmail.com>
27267
27268 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27269 for overlapping .opd entries" to "support...".
27270 * sysdeps/powerpc/powerpc64/configure: Regenerate
27271
27272 2015-03-25 Joseph Myers <joseph@codesourcery.com>
27273
27274 * math/auto-libm-test-in: Add more tests of acos.
27275 * math/auto-libm-test-out: Regenerated.
27276 * sysdeps/i386/fpu/libm-test-ulps: Update.
27277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27278
27279 * math/auto-libm-test-in: Add more tests of expm1.
27280 * math/auto-libm-test-out: Regenerated.
27281 * sysdeps/i386/fpu/libm-test-ulps: Update.
27282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27283
27284 2015-03-24 Joseph Myers <joseph@codesourcery.com>
27285
27286 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27287 * math/auto-libm-test-out: Regenerated.
27288 * sysdeps/i386/fpu/libm-test-ulps: Update.
27289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27290
27291 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27293
27294 * math/auto-libm-test-in: Add more tests of log2.
27295 * math/auto-libm-test-out: Regenerated.
27296 * sysdeps/i386/fpu/libm-test-ulps: Update.
27297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27298
27299 2015-03-23 Roland McGrath <roland@hack.frob.com>
27300
27301 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27302 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
27303 _IO_IS_APPENDING bit in READ_WRITE instead.
27304
27305 2015-03-23 Florian Weimer <fweimer@redhat.com>
27306
27307 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27308 (__determine_cpumask_size): Replace extend_alloca with a
27309 variable-length array. Do not treat res == 0 as an error.
27310
27311 2015-03-23 Florian Weimer <fweimer@redhat.com>
27312
27313 [BZ #18100]
27314 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27315 and integer overflow.
27316 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27317 (main): Add integer overflow tests.
27318 * manual/pattern.texi (Calling Wordexp): Document additional use
27319 for WRDE_SYNTAX.
27320
27321 2015-03-23 Alan Modra <amodra@gmail.com>
27322
27323 * config.h.in: Remove HAVE_ASM_PPC_REL16.
27324 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27325 and false branch of conditional.
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27327 Likewise.
27328
27329 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
27330
27331 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27332 libc-modules.h
27333 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27334 unused declaration of _hurd_intr_rpc_msg_in_trap.
27335 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27336 defined instead of whether it is non-zero.
27337 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27338 input constraint instead of both input and output constraint. Use ecx
27339 clobber instead of %ecx.
27340 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27341 mutex_unlock): Use a statement expression instead of an expression list.
27342 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27343 type to vm_size_t instead of vm_address_t.
27344 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27345 defined instead of whether it is non-zero.
27346 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27347 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27348 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27349 comparisons with mapaddr.
27350 * nscd/nscd-client.h: Include <time.h>.
27351 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27352 9th parameter to __vm_region instead of int.
27353 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27354 * scripts/check-local-headers.sh (exclude): Add device/,
27355 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27356 cthreads.h.
27357
27358 2015-03-19 Roland McGrath <roland@hack.frob.com>
27359
27360 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27361 to account for alignment padding.
27362 * sysdeps/arm/memmove.S: Likewise.
27363
27364 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
27365
27366 * sysdeps/unix/sysv/linux/generic/README: New file.
27367
27368 2015-03-18 Joseph Myers <joseph@codesourcery.com>
27369
27370 [BZ #18138]
27371 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27372 (futex_abstimed_wait)
27373 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27374 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27375 of lll_futex_timed_wait.
27376
27377 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
27378
27379 [BZ #17542]
27380 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27381
27382 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
27383
27384 [BZ #17090]
27385 [BZ #17620]
27386 [BZ #17621]
27387 [BZ #17628]
27388 * NEWS: Update.
27389 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27390 entries with Static TLS too. Skip entries past the end of the
27391 allocated DTV, from Alan Modra.
27392 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
27393 Static TLS DTV entry set up from...
27394 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27395 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27396 * nptl/allocatestack.c (init_one_static_tls): ... and here...
27397 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27398 for Static TLS.
27399 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
27400 that the slot we find is associated with the given map before
27401 using its generation count.
27402 * nptl_db/db_info.c: Include ldsodefs.h.
27403 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27404 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27405 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27406 (link_map::l_tls_offset): New struct field.
27407 (dtv_t::counter): Likewise.
27408 (rtld_global): New struct.
27409 (_rtld_global): New rtld variable.
27410 (dl_tls_dtv_slotinfo_list): New rtld global field.
27411 (dtv_slotinfo_list): New struct.
27412 (dtv_slotinfo): Likewise.
27413 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27414 (td_lookup): Rename to...
27415 (td_mod_lookup): ... this. Use new mod parameter instead of
27416 LIBPTHREAD_SO.
27417 * nptl_db/td_thr_tlsbase.c: Include link.h.
27418 (dtv_slotinfo_list, dtv_slotinfo): New functions.
27419 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
27420 addresses even if the DTV is out of date or missing them.
27421 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27422 index zero-length arrays.
27423 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27424 (td_lookup): Make it a macro implemented in terms of...
27425 (td_mod_lookup): ... this declaration.
27426 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27427 (DB_MAIN_VARIABLE): Likewise.
27428
27429 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
27430
27431 [BZ #18134]
27432 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27433
27434 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
27435
27436 * stdlib/setenv.c (__add_to_environ): Revert previous change.
27437
27438 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
27439
27440 [BZ #18128]
27441 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27442 (atomic_add, atomic_increment_and_test)
27443 (atomic_decrement_and_test): Fix 64-bit arithmetic.
27444
27445 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
27446
27447 * stdlib/setenv.c (__add_to_environ):
27448 Dump core quickly if setenv (..., NULL, ...) is called.
27449
27450 2015-03-13 Roland McGrath <roland@hack.frob.com>
27451
27452 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27453 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27454 all the necessary asm magic in one place.
27455 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27456 using those.
27457
27458 2015-03-13 Carlos O'Donell <carlos@redhat.com>
27459
27460 [BZ #14906]
27461 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27462 traced file mtime. Use consistent log message.
27463 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27464 (register_traced_file): Call install_watches. Always set mtime.
27465 (invalidate_cache): Iterate over all trace files. Call install_watches.
27466 (inotify_check_files): Don't inline. Handle watching parent
27467 directories and configuration file movement in and out.
27468 (handle_inotify_events): New function.
27469 (main_loop_poll): Call handle_inotify_events.
27470 (main_loop_epoll): Likewise.
27471 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27472 (struct traced_file): Use array of inotify fds. Add parent directory,
27473 and basename.
27474 (struct database_dyn): Remove unused file_mtime.
27475 (init_traced_file): New inline function.
27476 (define_traced_file): New macro.
27477 * nss/nss_db/db-init.c: Use define_traced_file.
27478 (_nss_db_init): Use init_traced_file.
27479 * nss/nss_files/files-init.c: Use define_traced_file.
27480 (_nss_files_init): Use init_traced_file.
27481
27482 2015-03-12 Joseph Myers <joseph@codesourcery.com>
27483
27484 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27485 [_LIBC]: Do not include <stdlib.h>.
27486 [!_LIBC] (abort): Remove declaration.
27487 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27488 _FP_STATIC_ASSERT instead of conditionally calling abort.
27489 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27490 (_FP_EXTEND_CNAN): Likewise.
27491 (FP_TRUNC): Likewise.
27492 (__FP_CLZ): Likewise.
27493 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27494
27495 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
27496
27497 * manual/string.texi (XPG basename): Fix prototype.
27498
27499 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27500
27501 [BZ #18080]
27502 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27503 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27504 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27505 (__setcontext): Likewise.
27506 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27507 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27508 Call rt_sigprocmask syscall one time to set new signal mask
27509 and retrieve the current signal mask instead of two calls.
27510 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27511 (__swapcontext): Likewise.
27512 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27513 * stdlib/tst-setcontext2.c: New file.
27514
27515 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
27516
27517 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27518
27519 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
27520
27521 [BZ #18093]
27522 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27523 the wrong size.
27524
27525 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
27526
27527 [BZ #18043]
27528 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27529
27530 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27531
27532 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27533 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27534 Remove define.
27535 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27536 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27537 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27538 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27539 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27540 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27541 define.
27542 * nptl_db/td_symbol_list.c (td_lookup): Remove
27543 HAVE_ASM_GLOBAL_DOT_NAME code.
27544 * sysdeps/powerpc/powerpc64/configure.ac: Remove
27545 HAVE_ASM_GLOBAL_DOT_NAME check.
27546 * sysdeps/powerpc/powerpc64/configure: Regenerate.
27547 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27548 (DOT_LABEL): Remove define.
27549 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27550 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27551 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27552 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27553 (__TLS_GET_ADDR): Likewise.
27554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27555 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27556
27557 2015-03-11 Carlos O'Donell <carlos@redhat.com>
27558
27559 [BZ #18111]
27560 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27561 (_FPU_SETCW): Initialize cw from fpsr before storing.
27562 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27563 (fesetexceptflag): Rewrite using fpu_control.h.
27564 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27565
27566 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
27567
27568 [BZ #18110]
27569 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27570 asms.
27571 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27572
27573 2015-03-11 Joseph Myers <joseph@codesourcery.com>
27574
27575 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27576 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27577 abort.
27578 (_FP_FMA): Likewise.
27579 (_FP_DIV): Likewise.
27580
27581 2015-03-10 Roland McGrath <roland@hack.frob.com>
27582
27583 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27584 with 0 in that case.
27585 * Makefile (summarize-tests): New canned sequence, factored out of
27586 commands for targets tests and xtests. Display summary lines that
27587 don't start with PASS: or XFAIL: rather than ones that do start with
27588 ERROR: or FAIL:. Make the commands fail if any summary lines fail
27589 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27590 do start with ERROR: or FAIL:.
27591 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27592 (except for [$(build-shared) = yes]).
27593 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27594 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27595 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27596 * nptl/Makefile: Revert 2015-03-04 changes.
27597 [$(CXX) empty] (tests-unsupported): New variable.
27598 * debug/Makefile: Likewise.
27599
27600 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27601 gnulib file. Replace __attribute with __attribute__ throughout.
27602
27603 2015-03-10 Carlos O'Donell <carlos@redhat.com>
27604
27605 * sysdeps/hppa/fpu/libm-test-ulps: Update.
27606
27607 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27608
27609 [BZ #18104]
27610 * math/auto-libm-test-in: Add another test of pow.
27611 * math/auto-libm-test-out: Regenerated.
27612
27613 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27614
27615 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27616 $(config-cflags-nofma).
27617
27618 2015-03-10 Joseph Myers <joseph@codesourcery.com>
27619
27620 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27621 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27622 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27623 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27624 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27625 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27626 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27627 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27628 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27629 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27630 Add comment on closing #endif.
27631
27632 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27633
27634 * posix/wordexp.c (CHAR_IN_SET): New macro.
27635 (parse_param): Use it.
27636
27637 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27638
27639 * sysdeps/powerpc/fpu/libm-test-ulps: update.
27640
27641 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27642
27643 [BZ #18043]
27644 * posix/wordexp.c (parse_param): Fix buffer overflow.
27645 * posix/wordexp-test.c (test_case): Add test case.
27646
27647 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27648
27649 [BZ #18042]
27650 * posix/wordexp.c (parse_backtick): Fix off-by-one.
27651 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27652
27653 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
27654
27655 [BZ #18043]
27656 * posix/wordexp-test.c (test_case): Add test for BZ #18043
27657 (do_bz18043): Delete.
27658 (at_page_end): New.
27659 (testit): Refactor to have words at the edge of unreadable page.
27660
27661 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27662
27663 [BZ #16734]
27664 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27665 Cleanup read-only streams as well.
27666 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27667
27668 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
27669
27670 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27671 <bits/libc-lockP.h>
27672
27673 2015-03-07 Joseph Myers <joseph@codesourcery.com>
27674
27675 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
27676 on [__KERNEL__].
27677 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27678 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27679 * soft-fp/op-common.h (_FP_DECL): Likewise.
27680
27681 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
27682
27683 * elf/ifuncdep2.c (global): Replace
27684 __attribute__((visibility("protected"))) with
27685 asm (".protected global").
27686 * elf/ifuncmod1.c (global): Likewise.
27687 * elf/ifuncmod5.c (global): Likewise.
27688
27689 2015-03-06 Joseph Myers <joseph@codesourcery.com>
27690
27691 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27692 <asm/sfp-machine.h> instead of <sfp-machine.h>.
27693
27694 2015-03-06 Roland McGrath <roland@hack.frob.com>
27695
27696 * manual/install.texi (Configuring and compiling):
27697 Document test-wrapper-env-only.
27698 * INSTALL: Regenerated.
27699
27700 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
27701
27702 [BZ #18043]
27703 * posix/wordexp.c (parse_param): Fix buffer overflow.
27704 * posix/wordexp-test.c (do_bz18043): Add test case.
27705
27706 2015-03-06 Vincent Bernat <vincent@bernat.im>
27707
27708 * time/tst-strptime2.c (do_test): Ensure failing tests are
27709 reported correctly.
27710 * time/tst-strptime3.c (do_test): Likewise.
27711
27712 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
27713
27714 Fix aio_error thread-safety.
27715 * sysdeps/pthread/aio_error.c: New file
27716 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27717 synchronization.
27718
27719 2015-03-06 Florian Weimer <fweimer@redhat.com>
27720
27721 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27722 (group_number, vfprintf): Use it.
27723 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27724 (JUMP, REF): Use it.
27725 (WORK_BUFFER_SIZE): New enum constant.
27726 (process_arg, vfprintf): Use it.
27727
27728 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
27729
27730 * manual/errno.texi (Error Messages): Complete example function
27731 by adding missing #define.
27732 (program_invocation_name): Add statement indicating GNU
27733 extension and reference which header file declares the variable.
27734 (program_invocation_short_name): Likewise.
27735
27736 2015-03-06 Mike Frysinger <vapier@gentoo.org>
27737
27738 * manual/errno.texi (Error Messages): Delete strerror ISO C89
27739 compatibility note.
27740
27741 2015-03-05 Roland McGrath <roland@hack.frob.com>
27742
27743 * Makeconfig (test-wrapper-env-only): New variable.
27744 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27745 then use that with $(test-wrapper-env-only) rather than using
27746 $(test-wrapper-env) $(run-program-env) $($*-ENV).
27747
27748 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
27749
27750 [BZ #18082]
27751 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27752 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27753 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27754 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27755 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27756 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27757 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27758 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27759 Likewise.
27760 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27761 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27762 Likewise.
27763 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27764 Likewise.
27765 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27766 Likewise.
27767 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27768 Likewise.
27769 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27770 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27771 Likewise.
27772 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27773 Likewise.
27774 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27775 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27776
27777 2015-03-04 Roland McGrath <roland@hack.frob.com>
27778
27779 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27780 (ETH_ALEN): New macro.
27781 (struct ether_addr): Use it for length of ether_addr_octet.
27782
27783 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27784 (setdb): Don't call __nss_configure_lookup for "rpc".
27785 (do_test): Don't call test_rpc.
27786 (output_rpcent, test_rpc): Functions moved ...
27787 * sunrpc/test-rpcent.c: ... to this new file.
27788 * sunrpc/Makefile (tests): Add it.
27789
27790 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27791 __xpg_sigpause.
27792 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27793 * nptl/tst-signal6.c: Likewise.
27794 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27795 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27796
27797 * configure.ac (libc_cv_cxx_link_ok): New check.
27798 Reset CXX to empty if it fails to link.
27799 * configure: Regenerated.
27800 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27801 bug-atexit3-lib only if $(CXX) is nonempty.
27802 * nptl/Makefile (tests): Likewise for tst-cancel24.
27803 (tests, tests-static): Likewise for tst-cancel24-static.
27804 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27805 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27806 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27807 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27808
27809 2015-03-04 Andreas Schwab <schwab@suse.de>
27810
27811 [BZ #17631]
27812 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27813 for non-GCC compilers.
27814 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27815 Likewise.
27816
27817 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
27818
27819 [BZ #17776]
27820 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27821 integer before bitwise and assembly operations.
27822 (feclearexcept): Likewise.
27823 * math/test-fenvinline.c: New file.
27824 * math/Makefile: Add test-fenvinline test.
27825
27826 2015-03-03 Alan Modra <amodra@gmail.com>
27827
27828 [BZ #16512]
27829 * scripts/localplt.awk: Strip off symbol version.
27830 * NEWS: Mention bug fix.
27831
27832 2015-03-02 Roland McGrath <roland@hack.frob.com>
27833
27834 * sysdeps/pthread/timer_routines.c
27835 (timer_free_list, thread_free_list, thread_active_list): Make static.
27836
27837 2015-03-02 Joseph Myers <joseph@codesourcery.com>
27838
27839 [BZ #17779]
27840 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27841 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27842 Undefine.
27843 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27844 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27845 Likewise.
27846 * sysdeps/unix/sysv/linux/sh/kernel-features.h
27847 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27848 Likewise.
27849
27850 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27851
27852 [BZ #18036]
27853 * posix/fnmatch_loop.c (END): Detect invalid pattern.
27854 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27855
27856 2015-03-02 Andreas Schwab <schwab@suse.de>
27857
27858 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27859 variable name.
27860
27861 2015-03-02 Florian Weimer <fweimer@redhat.com>
27862
27863 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27864 Return error status.
27865
27866 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
27867
27868 [BZ #15969]
27869 * locale/findlocale.c (_nl_find_locale): Introduce const
27870 version of loc_name and drop unsafe type casts.
27871
27872 2015-02-27 Roland McGrath <roland@hack.frob.com>
27873
27874 * dlfcn/tststatic2.c (main): Converted to ...
27875 (do_test): ... this.
27876 (TEST_FUNCTION): New macro.
27877 Include test-skeleton.c.
27878
27879 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
27880
27881 [BZ #17711]
27882 * elf/Makefile (tests): Add vismain only if PIE is enabled.
27883 (tests-pie): Add vismain.
27884 (CFLAGS-vismain.c): New.
27885 * elf/vismain.c: Add comments for PIE requirement.
27886
27887 2015-02-27 Joseph Myers <joseph@codesourcery.com>
27888
27889 [BZ #18046]
27890 [BZ #18047]
27891 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27892 0x1p-56L as threshold for just returning the argument.
27893 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27894 0x1p-32L as threshold for just returning the argument.
27895 * math/auto-libm-test-in: Add more tests of atanh.
27896 * math/auto-libm-test-out: Regenerated.
27897 * sysdeps/i386/fpu/libm-test-ulps: Update.
27898 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27899
27900 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
27901
27902 * string/bcopy.c (bcopy): Call memmove for performance.
27903
27904 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
27905
27906 * string/bzero.c (__bzero): Call memset for performance.
27907
27908 2015-02-27 John David Anglin <dave.anglin@bell.net>
27909
27910 [BZ #18068]
27911 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27912 to 00100000.
27913
27914 2015-02-27 Joseph Myers <joseph@codesourcery.com>
27915
27916 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
27917
27918 2015-02-26 Joseph Myers <joseph@codesourcery.com>
27919
27920 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
27921 (__kernel_standard): Use CSTR macro when setting exc.name.
27922 * sysdeps/ieee754/Makefile [$(subdir) = math]
27923 (CFLAGS-k_standard.c): Remove variable.
27924
27925 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
27926 setting p and q from "else if" to "else".
27927 (qzero): Likewise.
27928 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
27929 (qone): Likewise.
27930 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
27931 (qzerof): Likewise.
27932 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
27933 (qonef): Likewise.
27934 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
27935 (qzero): Likewise.
27936 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
27937 (qone): Likewise.
27938
27939 [BZ #18038]
27940 [BZ #18039]
27941 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
27942 return pi/2 for arguments below 0x1p-113L.
27943 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
27944 return pi/2 for arguments below 0x1p-106L.
27945 * math/auto-libm-test-in: Add more tests of acos.
27946 * math/auto-libm-test-out: Regenerated.
27947
27948 [BZ #16351]
27949 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
27950 (MO): New macro.
27951 (__ieee754_asin): Force underflow exception for results with small
27952 absolute value.
27953 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
27954 (MO): New macro.
27955 (__ieee754_asinf): Force underflow exception for results with
27956 small absolute value.
27957 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
27958 (__ieee754_asin): Force underflow exception for results with small
27959 absolute value.
27960 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
27961 (__ieee754_asinf): Force underflow exception for results with
27962 small absolute value.
27963 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
27964 (__ieee754_asinl): Force underflow exception for results with
27965 small absolute value.
27966 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
27967 (__ieee754_asinl): Force underflow exception for results with
27968 small absolute value.
27969 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
27970 (__ieee754_asinl): Force underflow exception for results with
27971 small absolute value.
27972 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
27973 Include <math.h>.
27974 * math/auto-libm-test-in: Do not mark underflow exceptions as
27975 possibly missing for bug 16351.
27976 * math/auto-libm-test-out: Regenerated.
27977
27978 [BZ #18030]
27979 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
27980 of power of 2 down when low part has opposite sign.
27981 * math/libm-test.inc (logb_test_data): Add more tests.
27982
27983 2015-02-26 Andreas Schwab <schwab@suse.de>
27984
27985 [BZ #18032]
27986 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
27987 over collating symbol inside a bracket expression. Minor cleanup.
27988 * posix/tst-fnmatch3.c (do_test): Add test case.
27989
27990 2015-02-26 Joseph Myers <joseph@codesourcery.com>
27991
27992 [BZ #18029]
27993 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
27994 Adjust exponent of power of 2 down when low part has opposite
27995 sign.
27996 * math/libm-test.inc (ilogb_test_data): Add more tests.
27997
27998 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
27999
28000 [BZ #15969]
28001 * locale/findlocale.c (_nl_find_locale): Fix constness error in
28002 the previous change.
28003
28004 [BZ #15969]
28005 * locale/findlocale.c (_nl_find_locale): Retry archive search
28006 after alias expansion.
28007
28008 2015-02-25 Roland McGrath <roland@hack.frob.com>
28009
28010 * iconv/tst-iconv3.c (main): Converted to ...
28011 (do_test): ... this.
28012 (TEST_FUNCTION): New macro.
28013 Include test-skeleton.c.
28014
28015 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28016 (convert): Make function static.
28017 (test_unalign): Likewise. Add const to argument pointee types.
28018 (main): Replace with static function do_test.
28019 Print "Succeeded." only if RET is zero.
28020 (TEST_FUNCTION): New macro.
28021 Include test-skeleton.c.
28022
28023 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28024 returns a null pointer.
28025
28026 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28027
28028 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28029 to __memcpy_ppc only for static builds.
28030
28031 2015-02-25 Joseph Myers <joseph@codesourcery.com>
28032
28033 [BZ #18020]
28034 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28035 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28036 * math/auto-libm-test-in: Add more tests of asinh.
28037 * math/auto-libm-test-out: Regenerated.
28038 * sysdeps/i386/fpu/libm-test-ulps: Update.
28039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28040
28041 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
28042
28043 [BZ #15850]
28044 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28045 and ip6_mtuinfo definitions here.
28046 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28047 in this define too. Update comment.
28048
28049 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
28050
28051 * elf/sprof.c (load_shobj): Tweak error message to match others.
28052
28053 2015-02-24 Kevin Easton <kevin@guarana.org>
28054
28055 [BZ #16145] (partial fix)
28056 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28057 to reduce lock contention.
28058
28059 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
28060
28061 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28062 (struct timex): Update time comment.
28063 (ADJ_SETOFFSET): Define.
28064
28065 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28066
28067 [BZ #18019]
28068 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28069 2**56 not 2**28 as threshold for log (2x) formula.
28070 * math/auto-libm-test-in: Add more tests of acosh.
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-24 Mike Frysinger <vapier@gentoo.org>
28076
28077 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28078 parenthesis around the buf assignment.
28079 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28080
28081 2015-02-24 Joseph Myers <joseph@codesourcery.com>
28082
28083 [BZ #16783]
28084 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28085 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28086 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28087 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28088 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28089 * math/libm-test.inc (scalb_test_data): Add more tests.
28090
28091 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
28092
28093 [BZ #17916]
28094 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28095 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28096
28097 2015-02-24 Eric Rannaud <e@nanocritical.com>
28098
28099 [BZ #17523]
28100 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28101 * io/bits/fcntl2.h (open): Use it.
28102 (openat): Likewise.
28103 * io/open.c (__libc_open): Likewise.
28104 * io/open64.c (__libc_open64): Likewise.
28105 * io/open64_2.c (__open64_2): Likewise.
28106 * io/open_2.c (__open_2): Likewise.
28107 * io/openat.c (__openat): Likewise.
28108 * io/openat64.c (__openat64): Likewise.
28109 * io/openat64_2.c (__openat64_2): Likewise.
28110 * io/openat_2.c (__openat_2): Likewise.
28111 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28112 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28113 * sysdeps/posix/open64.c (__libc_open64): Likewise.
28114 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28115 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28116 (__open_nocancel): Likewise.
28117 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28118 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28119 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28120
28121 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28122
28123 [BZ #14841]
28124 * resolv/gethnamaddr.c (getanswer): Skip logging if
28125 RES_USE_DNSSEC is set.
28126 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28127
28128 2015-02-24 Mike Frysinger <vapier@gentoo.org>
28129
28130 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28131
28132 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
28133
28134 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28135 201304L, for Unicode 7.
28136
28137 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
28138
28139 [BZ #17836]
28140 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28141 shared library. Add gmon-start.os otherwise.
28142 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28143 $(objpfx)gmon-start.os if builing shared library.
28144 ($(objpfx)g$(static-start-installed-name)): Likewise.
28145
28146 2015-02-23 Andreas Schwab <schwab@suse.de>
28147
28148 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28149
28150 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28151
28152 [BZ #17269]
28153 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28154 (enlarge_userbuf): Likewise.
28155
28156 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
28157
28158 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28159 * math/atest-exp.c (TIMEOUT): Adjust to 200.
28160 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28161 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28162
28163 2015-02-20 Joseph Myers <joseph@codesourcery.com>
28164
28165 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28166 expression inside statement expression.
28167
28168 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
28169
28170 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28171 <sysdeps/nptl/lowlevellock.h> and remove macros and
28172 functions that are now defined there.
28173 (SYS_futex): Remove.
28174 (lll_compare_and_swap): Remove.
28175 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28176
28177 2015-02-19 Joseph Myers <joseph@codesourcery.com>
28178
28179 [BZ #17999]
28180 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28181 instead of scandirat.
28182 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28183 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28184 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28185 __scandirat.
28186 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28187 (__scandirat): Declare. Use libc_hidden_proto.
28188 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28189 Remove variable.
28190 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28191
28192 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28193
28194 [BZ #15319]
28195 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28196 (MO): New macro.
28197 (__ieee754_atan2): For results with small absolute value, force
28198 underflow exception and remove excess range and precision from
28199 return value.
28200 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28201 (MO): New macro.
28202 (__ieee754_atan2f): For results with small absolute value, force
28203 underflow exception and remove excess range and precision from
28204 return value.
28205 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28206 (MO): New macro.
28207 (__atan): For results with small absolute value, force underflow
28208 exception and remove excess range and precision from return value.
28209 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28210 (MO): New macro.
28211 (__atanf): For results with small absolute value, force underflow
28212 exception and remove excess range and precision from return value.
28213 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28214 <math.h>.
28215 (__ieee754_atan2): Force underflow exception for results with
28216 small absolute value.
28217 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28218 <math_private.h>.
28219 (atan): Force underflow exception for results with small absolute
28220 value.
28221 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28222 (__atanf): Force underflow exception for results with small
28223 absolute value.
28224 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28225 <math.h>.
28226 (__atanl): Force underflow exception for results with small
28227 absolute value.
28228 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28229 (__atanl): Force underflow exception for results with small
28230 absolute value.
28231 * sysdeps/x86/fpu/bits/mathinline.h
28232 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28233 (__ieee754_atan2): Only define inline for long double.
28234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28235 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28236 * math/auto-libm-test-in: Do not mark underflow exceptions as
28237 possibly missing for bug 15319. Add more tests of atan2.
28238 * math/auto-libm-test-out: Regenerated.
28239 * math/libm-test.inc (casin_test_data): Do not mark underflow
28240 exceptions as possibly missing for bug 15319.
28241 (casinh_test_data): Likewise.
28242 * sysdeps/i386/fpu/libm-test-ulps: Update.
28243
28244 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
28245
28246 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28247 * sysdeps/mips/bits/endian.h: Fix comments.
28248
28249 2015-02-18 Joseph Myers <joseph@codesourcery.com>
28250
28251 [BZ #17996]
28252 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28253 (hdestroy_r): Likewise.
28254 (hsearch_r): Likewise.
28255 (__hcreate_r): Declare and use libc_hidden_proto.
28256 (__hdestroy_r): Likewise.
28257 (__hsearch_r): Likewise.
28258 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28259 (hcreate): Call __hcreate_r instead of hcreate_r.
28260 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28261 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28262 as weak alias of __hcreate_r.
28263 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28264 __hdestroy_r.
28265 (hsearch_r): Rename to __hsearch_r and define as weak alias of
28266 __hsearch_r.
28267 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28268 Remove variable.
28269 (test-xfail-XPG4/search.h/linknamespace): Likewise.
28270 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28271 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28272 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28273
28274 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28275
28276 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28277 arena_lock into a single arena_get.
28278
28279 2015-02-17 Carlos O'Donell <carlos@redhat.com>
28280
28281 * dl-reloc.c: Inlucde libc-internal.h.
28282 (_dl_try_allocate_static_tls): Call ALIGN_UP.
28283 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28284 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28285 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28286 (grow_heap): Likewise.
28287 * malloc/malloc.c: Include libc-internal.h.
28288 (do_check_malloc): Call powerof2.
28289 (sysmalloc): Use pagesize. Call ALIGN_UP.
28290 (systrim): Use pagesize.
28291 (mremap_chunk): Use pagesize. Call ALIGN_UP.
28292 (__libc_valloc): Use pagesize.
28293 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28294
28295 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28296
28297 [BZ #17991]
28298 * include/sys/resource.h (__getrlimit64): Declare. Use
28299 libc_hidden_proto.
28300 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28301 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
28302 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28303 getrlimit64.
28304 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28305 __getrlimit64.
28306 [!getrlimit64] (getrlimit64): Define as weak alias of
28307 __getrlimit64. Use libc_hidden_weak.
28308 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28309 using __getrlimit64 not __new_getrlimit64.
28310 (__GI_getrlimit64): Likewise.
28311 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28312 Likewise.
28313 (__GI_getrlimit64): Likewise.
28314 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28316 (getrlimit): Add __getrlimit64 alias.
28317 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28318 Likewise.
28319 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28320 Remove variable.
28321 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28322 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28323
28324 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
28325
28326 * libio/fileops.c: Add missing sys/mman.h
28327 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28328
28329 2015-02-17 Joseph Myers <joseph@codesourcery.com>
28330
28331 * manual/math.texi (Errors in Math Functions): Clarify goals
28332 regarding inexact and underflow exceptions.
28333
28334 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28335
28336 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28337 * sysdeps/mips/memset.S: Ditto.
28338
28339 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
28340
28341 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28342
28343 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
28344
28345 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28346 (__v1longjmp): Remove versioned symbol.
28347 (__v1siglongjmp): Remove alias and versioned symbol.
28348 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28349 (__v2siglongjmp): Likewise.
28350
28351 2015-02-16 Torvald Riegel <triegel@redhat.com>
28352
28353 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28354
28355 2015-02-16 Mike Frysinger <vapier@gentoo.org>
28356
28357 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28358
28359 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28360
28361 [BZ #17987]
28362 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28363 zero result does not depend on the sign resulting from
28364 subtraction.
28365 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28366 Likewise.
28367 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28368 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28369 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28370 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28371 * math/libm-test.inc (remquo_test_data): Add more tests.
28372
28373 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
28374
28375 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28376 Problem reported by J William Piggott.
28377
28378 2015-02-16 Joseph Myers <joseph@codesourcery.com>
28379
28380 [BZ #17978]
28381 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28382 products 4 * y and 2 * y where those would overflow.
28383 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28384 Likewise.
28385 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28386 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28387 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28388 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28389 * math/libm-test.inc (remquo_test_data): Add more tests.
28390
28391 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28392
28393 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28394 [defined _COMPILING_NEWLIB].
28395 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28396 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28397
28398 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28399 [!defined __mips_isa_rev || __mips_isa_rev < 6].
28400
28401 2015-02-16 Torvald Riegel <triegel@redhat.com>
28402
28403 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28404 acquired.
28405
28406 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
28407
28408 [BZ #17792]
28409 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28410 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28411 HOST_STACK_END_ADDR): Likewise.
28412
28413 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
28414
28415 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28416 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28417 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28418
28419 2015-02-13 Roland McGrath <roland@hack.frob.com>
28420
28421 * sysdeps/generic/c++-types.data: New file.
28422 * sysdeps/generic/ld.abilist: New file.
28423 * sysdeps/generic/libBrokenLocale.abilist: New file.
28424 * sysdeps/generic/libanl.abilist: New file.
28425 * sysdeps/generic/libc.abilist: New file.
28426 * sysdeps/generic/libcrypt.abilist: New file.
28427 * sysdeps/generic/libdl.abilist: New file.
28428 * sysdeps/generic/libm.abilist: New file.
28429 * sysdeps/generic/libpthread.abilist: New file.
28430 * sysdeps/generic/libresolv.abilist: New file.
28431 * sysdeps/generic/librt.abilist: New file.
28432
28433 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28434
28435 [BZ #17569]
28436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28437 Compute absolute value of x as modified by fmod, not original
28438 value of x.
28439 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28440 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
28441 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
28442 RUN_TEST_ffI_f1_mod8.
28443 (remquo_test_data): Add more tests.
28444
28445 2015-02-13 Roland McGrath <roland@hack.frob.com>
28446
28447 * sysdeps/init_array/pt-crti.S: New file.
28448
28449 2015-02-13 Joseph Myers <joseph@codesourcery.com>
28450
28451 [BZ #17967]
28452 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28453 __builtin_fmaf instead of relying on contraction of a * b + c.
28454
28455 2015-02-12 J William Piggott <elseifthen@gmx.com>
28456
28457 [BZ #17969]
28458 * manual/time.texi: correct the zoneinfo path in the TZ Variable
28459 node.
28460
28461 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28462
28463 [BZ #17964]
28464 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28465 __builtin_fma instead of relying on contraction of a * b + c.
28466
28467 2015-02-12 Roland McGrath <roland@hack.frob.com>
28468
28469 * Makeconfig (ASFLAGS): Add -Werror=undef.
28470 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28471 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28472 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28473
28474 * Makeconfig (after-link): New variable.
28475 (+link-pie, +link-pie-tests): Use it.
28476 (+link-static, +link-static-tests): Likewise.
28477 (+link, +link-tests): Likewise.
28478 * Makerules (build-module, build-module-asneeded): Likewise.
28479 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28480 Likewise.
28481 * elf/Makefile ($(objpfx)ld.so): Likewise.
28482
28483 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
28484
28485 [BZ #17965]
28486 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28487 both struct timeval and struct timespec.
28488
28489 2015-02-12 Joseph Myers <joseph@codesourcery.com>
28490
28491 [BZ #16560]
28492 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28493 and redefine.
28494 (__ieee754_exp2l): Do not multiply small fractional parts by
28495 M_LN2l.
28496 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28497 small argument.
28498 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28499 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28500 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28501 * math/auto-libm-test-in: Add more tests of exp2.
28502 * math/auto-libm-test-out: Regenerated.
28503
28504 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28505
28506 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28507 unaligned path.
28508
28509 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28510
28511 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28512 little endian.
28513
28514 2015-02-12 Andreas Schwab <schwab@suse.de>
28515
28516 [BZ #15790]
28517 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28518 Filter out elision flags from value returned in kind.
28519 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28520 * nptl/tst-pthread-mutexattr.c: New file.
28521
28522 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
28523
28524 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28525 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28526 into gnu-gnu, and update comment to refer to abi-tags.
28527
28528 2015-02-11 Joseph Myers <joseph@codesourcery.com>
28529
28530 [BZ #15467]
28531 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28532 (__sincos): Set errno to EDOM for infinite argument.
28533 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28534 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28535 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28536 (__sincosl): Set errno to EDOM for infinite argument.
28537 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28538 (__sincosl): Set errno to EDOM for infinite argument.
28539 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28540 (__sincosl): Set errno to EDOM for infinite argument.
28541 * math/libm-test.inc (sincos_test_data): Test errno setting.
28542
28543 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
28544
28545 * string/strxfrm_l.c: Remove #define STRCMP.
28546 * string/strcoll_l.c: Remove #define STRLEN.
28547 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28548 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28549
28550 2015-02-10 Joseph Myers <joseph@codesourcery.com>
28551
28552 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28553 * sysdeps/mips/mips32/sfp-machine.h: ... here.
28554 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28555 * sysdeps/mips/mips64/Makefile: ... here.
28556 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28557 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28558 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28559 * sysdeps/mips/mips64/sfp-machine.h: ... here.
28560 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28561 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28562 * sysdeps/mips/mips64/n64/Implies: Likewise.
28563
28564 2015-02-10 Roland McGrath <roland@hack.frob.com>
28565
28566 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28567 <sys/time.h>, <string.h>, and <errno.h>.
28568 (dest_offset, dest_address, value, zero): Remove unused variables.
28569 (ldouble): Remove typedef.
28570 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28571 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
28572 1). Fix code style.
28573 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28574 (check): Function removed.
28575 (CHECK): New macro.
28576 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
28577 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28578 Don't call set_sigaction_FP and remove_sigaction_FP here.
28579 (ldouble_test): Just use 'long double' as macro argument, no need for
28580 the 'ldouble' typedef.
28581 (do_test): Set up SIGFPE handler at start, using plain signal rather
28582 than sigaction. Fix code style.
28583
28584 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
28585
28586 [BZ #17949]
28587 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28588 jump label.
28589
28590 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28591
28592 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28593 * sysdeps/powerpc/powerpc32/configure: Regenerated.
28594
28595 * sysdeps/powerpc/configure.ac: Remove file.
28596 * sysdeps/powerpc/configure: Likewise.
28597
28598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28599 [sysdep_routines]: Remove wordcopy-power6 object.
28600 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28601 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28602 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28603 (__memmove_ppc32): Likewise.
28604 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28605 file.
28606 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28607 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28608 Remove preprocessor.
28609
28610 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28611 [sysdep_routines]: Remove wide chars objects.
28612 [wcsmbs]: New rule for wide char objects.
28613
28614 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28615 Remove wordcopy-power6 obejct.
28616 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28617 Use local call for wordcopy and memcpy symbols.
28618 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28619 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28620 implementation for loader.
28621 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28622
28623 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28624 Remove wordcopy-power7 object.
28625 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28626 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28627 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28628 (_wordcopy_fwd_dest_aligned): Likewise.
28629 (_wordcopy_bwd_aligned): Likewise.
28630 (_wordcopy_bwd_dest_aligned): Likewise.
28631
28632 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28633 Rewrite to call __memmove_ppc instead of include default
28634 implementation.
28635
28636 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28637 Remove wide chars objects.
28638 [wcsmbs]: New rule for wide char objects.
28639
28640 2015-02-09 Andreas Schwab <schwab@suse.de>
28641
28642 [BZ #17912]
28643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28644 in terms of __O_DIRECTORY.
28645
28646 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28647
28648 * time/getdate.c: Include <stdbool.h>.
28649 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28650 call PTR_MANGLE.
28651 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28652 PTR_DEMANGLE.
28653
28654 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
28655
28656 Add ersatz _Static_assert on older C hosts
28657 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28658 pre-C11 C platform that is not known to support _Static_assert.
28659
28660 2015-02-07 Richard Braun <rbraun@sceen.net>
28661
28662 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28663 sigstate.
28664 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28665
28666 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
28667
28668 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28669 priority against unexistent AIO_PRIO_DELTA_MAX.
28670 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28671 instead of int.
28672 * misc/fchflags.c (fchflags): Likewise.
28673 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28674 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28675 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28676 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28677 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28678 Declare macros.
28679 [__USE_MISC] (chflags, fchflags): Declare functions.
28680 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28681 EINVAL when nfds is greater than FD_SETSIZE.
28682 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28683 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28684 45.
28685 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28686 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28687 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28688 MACH_RCV_TIMED_OUT.
28689 * hurd/hurd/signal.h (_hurd_self_sigstate,
28690 _hurd_critical_section_lock, _hurd_critical_section_unlock):
28691 Explicit casts from void *.
28692 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28693 * abi-tags: Rename gnu-gnu os into gnu.
28694
28695 [BZ #4719]
28696 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28697 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28698 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28699 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28700 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28701 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28702
28703 [BZ #17944]
28704 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28705 duplicates ADDR->sun_path with sockaddr LEN limitation.
28706 * sysdeps/mach/hurd/connect.c: Include <string.h>
28707 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28708 * sysdeps/mach/hurd/sendmsg.c: Likewise.
28709 * sysdeps/mach/hurd/sendto.c: Likewise.
28710 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28711 implementing it by hand.
28712
28713 2015-02-06 Roland McGrath <roland@hack.frob.com>
28714
28715 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28716 Use sfi_breg on ldr.
28717 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28718 Likewise.
28719
28720 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28721 it's defined.
28722 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28723 Test SIGSETXID only if it's defined.
28724
28725 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28726
28727 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28728 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
28729
28730 * nptl/tst-align2.c: Moved ...
28731 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28732 * nptl/Makefile (tests): Remove tst-align2.
28733 * sysdeps/unix/sysv/linux/Makefile
28734 [$(subdir) = nptl] (tests): Add tst-align-clone.
28735 * nptl/tst-getpid1.c: Moved ...
28736 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28737 * nptl/tst-getpid2.c: Moved ...
28738 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28739 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28740 * sysdeps/unix/sysv/linux/Makefile
28741 [$(subdir) = nptl] (tests): ... here.
28742 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28743 * sysdeps/unix/sysv/linux/Makefile
28744 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28745
28746 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28747 Drop trailing \n from perror argument. Use return rather than exit.
28748
28749 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28750 on [SA_SIGINFO].
28751 * nptl/tst-cancel21.c (do_test): Likewise.
28752 * debug/tst-backtrace6.c: Include <signal.h> first thing.
28753 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28754 [!SA_SIGINFO]: Make it a stub test.
28755
28756 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28757 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28758
28759 * posix/tst-getlogin.c: Move to ...
28760 * login/tst-getlogin.c: ... here.
28761 * posix/Makefile (tests): Move tst-getlogin to ...
28762 * login/Makefile (tests): ... here.
28763
28764 * libio/tst-atime.c (do_test): Move local variables SV and E
28765 inside [ST_NOATIME] conditional.
28766
28767 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28768
28769 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28770
28771 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28772 (wait_code): New function replaces macro.
28773 Call nanosleep rather than syscall.
28774
28775 * nptl/pt-system.c: Rewritten. Put everything under
28776 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28777 Use IFUNC to redirect when possible.
28778
28779 * nptl/pt-longjmp.c: Rewritten. Put everything under
28780 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28781 Use IFUNC to redirect when possible.
28782
28783 * nptl/pt-fork.c: Rewritten. Put everything under
28784 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28785 Use IFUNC to redirect when possible.
28786 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28787
28788 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28789 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28790 unconditionally nowadays. This included the only reference to
28791 __vdso_clock_gettime that appears outside libc proper.
28792 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28793 Remove version set (containing only __vdso_clock_gettime).
28794 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28795 Add attribute_hidden.
28796 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28797 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28798 libc_hidden_data_def.
28799 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28800 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28801
28802 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28803 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28804 setrpcent, and getrpcport to ...
28805 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28806 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28807 getrpcbynumber_r, and getrpcent_r to ...
28808 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28809 * inet/getrpcbyname.c: Moved ...
28810 * sunrpc/getrpcbyname.c: ... here.
28811 * inet/getrpcbyname_r.c: Moved ...
28812 * sunrpc/getrpcbyname_r.c: ... here.
28813 * inet/getrpcbynumber.c: Moved ...
28814 * sunrpc/getrpcbynumber.c: ... here.
28815 * inet/getrpcbynumber_r.c: Moved ...
28816 * sunrpc/getrpcbynumber_r.c: ... here.
28817 * inet/getrpcent.c: Moved ...
28818 * sunrpc/getrpcent.c: ... here.
28819 * inet/getrpcent_r.c: Moved ...
28820 * sunrpc/getrpcent_r.c: ... here.
28821 * inet/Makefile (routines): Move those to ...
28822 * sunrpc/Makefile (routines): ... here.
28823 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28824 the $(subdirs) list.
28825 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
28826 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28827 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28828 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28829
28830 * elf/Makefile (routines): Include $(all-dl-routines), not just
28831 $(dl-routines).
28832 (rtld-routines): Likewise. Use = rather than :=.
28833 * sysdeps/aarch64/Makefile [$(subdir) = elf]
28834 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28835 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28836 * sysdeps/arm/Makefile: Likewise.
28837 * sysdeps/i386/Makefile: Likewise.
28838 * sysdeps/x86_64/Makefile: Likewise.
28839 * sysdeps/hppa/Makefile [$(subdir) = elf]
28840 (sysdep_routines, sysdep-rtld-routines): Don't add
28841 $(sysdep-dl-routines) to these.
28842 * sysdeps/ia64/Makefile: Likewise.
28843 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28844 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28845 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28846 Don't add dl-static to these; sysdep-dl-routines alone is enough.
28847 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28848 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28849 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28850 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28851 * sysdeps/powerpc/Makefile [$(subdir) = elf]
28852 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28853 these; sysdep-dl-routines alone is enough.
28854
28855 2015-02-06 Joseph Myers <joseph@codesourcery.com>
28856
28857 [BZ #17932]
28858 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28859 where multiplication results in zero and third argument is finite
28860 and nonzero.
28861 * math/auto-libm-test-in: Add more tests of fma.
28862 * math/auto-libm-test-out: Regenerated.
28863
28864 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28865 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28866 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28867 (_FP_CMP_EQ): Likewise.
28868 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28869
28870 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28871 extra argument CHECK_NAN. Redefine as wrapper around
28872 _FP_EXTEND_CNAN.
28873
28874 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
28875
28876 * version.h (RELEASE): Set to "stable".
28877 (VERSION): Set to "2.21"
28878 * include/features.h (__GLIBC_MINOR__): Set to 21.
28879
28880 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28881
28882 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28883 Paul Eggert <eggert@cs.ucla.edu>
28884
28885 [BZ #16618]
28886 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28887 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28888 size in bytes. Store needed elements in wpmax. Use needed size
28889 in bytes for extend_alloca.
28890
28891 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
28892
28893 * manual/install.texi: Latest tested versions are GCC 4.9.2,
28894 binutls 2.25, and texinfo 5.2.
28895 * INSTALL: Regenerate.
28896 * sysdeps/nios2/configure: Regenerate.
28897 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28898 * manual/contrib.texi: Update.
28899 * po/be.po: Update.
28900 * po/bg.po: Update.
28901 * po/ca.po: Update.
28902 * po/cs.po: Update.
28903 * po/da.po: Update.
28904 * po/de.po: Update.
28905 * po/el.po: Update.
28906 * po/eo.po: Update.
28907 * po/es.po: Update.
28908 * po/fi.po: Update.
28909 * po/fr.po: Update.
28910 * po/gl.po: Update.
28911 * po/hr.po: Update.
28912 * po/hu.po: Update.
28913 * po/ia.po: Update.
28914 * po/id.po: Update.
28915 * po/it.po: Update.
28916 * po/ja.po: Update.
28917 * po/ko.po: Update.
28918 * po/lt.po: Update.
28919 * po/nb.po: Update.
28920 * po/nl.po: Update.
28921 * po/pl.po: Update.
28922 * po/pt_BR.po: Update.
28923 * po/ru.po: Update.
28924 * po/rw.po: Update.
28925 * po/sk.po: Update.
28926 * po/sl.po: Update.
28927 * po/sv.po: Update.
28928 * po/tr.po: Update.
28929 * po/uk.po: Update.
28930 * po/vi.po: Update.
28931 * po/zh_CN.po: Update.
28932 * po/zh_TW.po: Update.
28933
28934 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
28935 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
28936 * sysdeps/hppa/dl-irel.h: Remove #warning.
28937 * sysdeps/hppa/entry.h: Provide prototype for
28938 __canonicalize_funcptr_for_compare and cast argument.
28939 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
28940 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
28941 * sysdeps/hppa/sotruss-lib.c: New file.
28942 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
28943 (atomic_compare_and_exchange_val_acq): Use __typeof__.
28944 (atomic_compare_and_exchange_bool_acq): Likewise.
28945 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
28946 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
28947
28948 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
28949 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
28950 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
28951
28952 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
28953
28954 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
28955 called function in non-PIC case.
28956
28957 2015-01-31 David S. Miller <davem@davemloft.net>
28958
28959 * sysdeps/sparc/sparc32/bits/atomic.h
28960 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
28961 unlock not after it.
28962 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
28963 volatile register usage warnings from the compiler.
28964
28965 * sysdeps/sparc/nptl/sem_init.c: Delete.
28966 * sysdeps/sparc/nptl/sem_post.c: Delete.
28967 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
28968 * sysdeps/sparc/nptl/sem_wait.c: Delete.
28969 * sysdeps/sparc/sparc32/sem_init.c: New file.
28970 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
28971 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
28972 padding explicitly initialized.
28973 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
28974 padding for in-semaphore spinlock.
28975 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
28976 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
28977 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
28978 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
28979 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
28980 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
28981 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
28982 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
28983 version.
28984 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
28985 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
28986
28987 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
28988
28989 [BZ #17801]
28990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28991 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
28992 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
28993 New.
28994 (index_AVX_Fast_Unaligned_Load): Likewise.
28995 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
28996 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
28997 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
28998 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
28999 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29000 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29001 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29002 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29003 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29004
29005 2015-01-29 Andreas Schwab <schwab@suse.de>
29006
29007 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29008
29009 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29010
29011 [BZ #17892]
29012 * nscd/nscd_stat.c (send_stats): Initialize DATA.
29013
29014 2015-01-28 Martin Sebor <msebor@redhat.com>
29015
29016 * math/README.libm-test: Clarify. Add "How to read the test output."
29017
29018 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
29019
29020 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29021 Define to 0.
29022
29023 2015-01-28 Joseph Myers <joseph@codesourcery.com>
29024
29025 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29026 (__HAVE_64B_ATOMICS): Define to 0.
29027
29028 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29029
29030 [BZ #17885]
29031 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29032 value to set as new flag.
29033
29034 [BZ #16576]
29035 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29036 and use _ARCH_PPCSQ instead.
29037 (__ieee754_sqrt): Likewise.
29038 (__ieee754_sqrtf): Likewise.
29039 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29040 _ARCH_PPCSQ is defined.
29041 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29042 fsqrt instruction.
29043 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29044 _ARCH_PPCSQ is defined.
29045 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29046 fsqrts instruction.
29047 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29048
29049 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29050
29051 * iconv/loop.c: Suppress array out of bound warning caused by GCC
29052 bug (GCC BZ #64739).
29053
29054 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
29055
29056 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29057 Mark _retval as used.
29058 (lll_futex_wake_unlock): Likewise.
29059 (lll_futex_timed_wait_requeue_pi): Likewise.
29060
29061 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29062 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29063 register variables.
29064
29065 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29066 libm_hidden_def.
29067
29068 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29069 (__bswap_64): Mark as __always_inline.
29070
29071 2015-01-25 Bram <bug_rh@spam.wizbit.be>
29072
29073 [BZ #15378]
29074 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29075 when none of the search directories exist.
29076
29077 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29078
29079 [BZ #17869]
29080 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29081 power8 in .machine directive.
29082
29083 [BZ #17868]
29084 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29085 set dependency from opd value.
29086
29087 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29088
29089 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29090 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29091 architecture.
29092
29093 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
29094
29095 [BZ #17870]
29096 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29097 with uint64_t.
29098 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29099 (uint64_t) 1.
29100 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29101 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29102 Replace 1UL with (uint64_t) 1.
29103 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29104 int with uint64_t.
29105
29106 2015-01-23 Roland McGrath <roland@hack.frob.com>
29107
29108 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29109 (if_freenameindex): Likewise.
29110
29111 * resource/getrlimit64.c: Add missing libc_hidden_def.
29112
29113 2015-01-22 Joseph Myers <joseph@codesourcery.com>
29114
29115 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29116 __label__.
29117 (_FP_FMA): Likewise.
29118 (_FP_TO_INT_ROUND): Likewise.
29119 (_FP_FROM_INT): Likewise.
29120
29121 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29122
29123 [BZ #16418]
29124 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29125 Make code racy and cancel safe.
29126
29127 2015-01-21 Carlos O'Donell <carlos@redhat.com>
29128
29129 * sysdeps/arm/unwind-resume.h: Fix copyright year.
29130 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29131 attribution.
29132
29133 * pwd/tst-getpw.c: Rewrite.
29134
29135 [BZ #17702]
29136 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29137 (modules-names): Add moddummy1 and moddummy2.
29138 ($(objpfx)tst-rec-dlopen): Define.
29139 * dlfcn/moddummy1.c: New file.
29140 * dlfcn/moddummy2.c: New file.
29141 * dlfcn/tst-rec-dlopen.c: New file.
29142 * elf/dl-cache.c (_dl_load_cache_lookup):
29143 Return char*. Copy result with alloca/strcpy/strdup.
29144 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29145 returns char*. Free cached. If not saving realname
29146 free cached.
29147 * elf/dl-open.c (dl_open_worker): Do not assert that
29148 _r_debug->r_state is RT_CONSISTENT.
29149 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29150 returns char*.
29151
29152 2015-01-21 Torvald Riegel <triegel@redhat.com>
29153 Carlos O'Donell <carlos@redhat.com>
29154
29155 [BZ #12674]
29156 * nptl/sem_waitcommon.c: New file.
29157 * nptl/sem_wait.c: Include sem_waitcommon.c.
29158 (__sem_wait_cleanup, do_futex_wait): Remove.
29159 (__new_sem_wait): Adapt.
29160 (__new_sem_trywait): New function.
29161 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29162 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29163 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29164 (sem_timedwait): Adapt.
29165 * nptl/sem_post.c (__new_sem_post): Adapt.
29166 (futex_wake): New function.
29167 (__old_sem_post): Add release MO fence.
29168 * nptl/sem_open.c (sem_open): Adapt.
29169 * nptl/sem_init.c (__new_sem_init): Adapt.
29170 (futex_private_if_supported): New function.
29171 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29172 (__old_sem_getvalue): Add using previous code.
29173 * sysdeps/nptl/internaltypes.h: Adapt.
29174 * nptl/tst-sem13.c (do_test): Adapt.
29175 * nptl/tst-sem11.c (main): Adapt.
29176 * nptl/sem_trywait.c: Remove.
29177 * nptl/DESIGN-sem.txt: Remove.
29178 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29179 (gen-as-const-headers): Remove structsem.sym.
29180 * nptl/structsem.sym: Remove.
29181 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29182 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29183 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29184 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29185 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29186 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29187 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29188 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29189 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29190 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29191 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29192 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29193 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29194 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29195 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29196 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29197 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29198 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29199 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29200 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29201 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29202 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29203
29204 2015-01-20 Carlos O'Donell <carlos@redhat.com>
29205
29206 * INSTALL: Regenerated.
29207
29208 * po/libc.pot: Regenerated.
29209
29210 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
29211 Sandra Loosemore <sandra@codesourcery.com>
29212 Andrew Jenner <andrew@codesourcery.com>
29213 Joseph Myers <joseph@codesourcery.com>
29214 Nathan Sidwell <nathan@codesourcery.com>
29215
29216 * NEWS: Mention new Nios II port.
29217 * sysdeps/nios2/Implies: New file.
29218 * sysdeps/nios2/Makefile: New file.
29219 * sysdeps/nios2/Subdirs: New file.
29220 * sysdeps/nios2/Versions: New file.
29221 * sysdeps/nios2/__longjmp.S: New file.
29222 * sysdeps/nios2/abort-instr.h: New file.
29223 * sysdeps/nios2/backtrace.c: New file.
29224 * sysdeps/nios2/bits/endian.h: New file.
29225 * sysdeps/nios2/bits/fenv.h: New file.
29226 * sysdeps/nios2/bits/link.h: New file.
29227 * sysdeps/nios2/bits/setjmp.h: New file.
29228 * sysdeps/nios2/bsd-_setjmp.S: New file.
29229 * sysdeps/nios2/bsd-setjmp.S: New file.
29230 * sysdeps/nios2/configure: New generated file.
29231 * sysdeps/nios2/configure.ac: New file.
29232 * sysdeps/nios2/crti.S: New file.
29233 * sysdeps/nios2/crtn.S: New file.
29234 * sysdeps/nios2/dl-init.c: New file.
29235 * sysdeps/nios2/dl-machine.h: New file.
29236 * sysdeps/nios2/dl-sysdep.h: New file.
29237 * sysdeps/nios2/dl-tls.h: New file.
29238 * sysdeps/nios2/dl-trampoline.S: New file.
29239 * sysdeps/nios2/gccframe.h: New file.
29240 * sysdeps/nios2/gmp-mparam.h: New file.
29241 * sysdeps/nios2/jmpbuf-offsets.h: New file.
29242 * sysdeps/nios2/jmpbuf-unwind.h: New file.
29243 * sysdeps/nios2/ldsodefs.h: New file.
29244 * sysdeps/nios2/libc-tls.c: New file.
29245 * sysdeps/nios2/libm-test-ulps: New file.
29246 * sysdeps/nios2/machine-gmon.h: New file.
29247 * sysdeps/nios2/math-tests.h: New file.
29248 * sysdeps/nios2/math_private.h: New file.
29249 * sysdeps/nios2/memusage.h: New file.
29250 * sysdeps/nios2/nptl/Makefile: New file.
29251 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29252 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29253 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29254 * sysdeps/nios2/nptl/pthreaddef.h: New file.
29255 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29256 * sysdeps/nios2/nptl/tls.h: New file.
29257 * sysdeps/nios2/preconfigure: New file.
29258 * sysdeps/nios2/s_fma.c: New file.
29259 * sysdeps/nios2/s_fmaf.c: New file.
29260 * sysdeps/nios2/setjmp.S: New file.
29261 * sysdeps/nios2/sfp-machine.h: New file.
29262 * sysdeps/nios2/sotruss-lib.c: New file.
29263 * sysdeps/nios2/stackguard-macros.h: New file.
29264 * sysdeps/nios2/stackinfo.h: New file.
29265 * sysdeps/nios2/start.S: New file.
29266 * sysdeps/nios2/sysdep.h: New file.
29267 * sysdeps/nios2/tls-macros.h: New file.
29268 * sysdeps/nios2/tst-audit.h: New file.
29269 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29270 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29271 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29272 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29273 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29274 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29275 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29276 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29277 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29278 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29279 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29280 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29281 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29282 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29283 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29284 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29285 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29286 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29287 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29288 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29289 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29290 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29291 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29292 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29293 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29294 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29295 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29296 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29297 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29298 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29299 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29300 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29301 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29302 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29303 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29304 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29305 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29306 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29307 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29308 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29309 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29310 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29311 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29312 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29313
29314 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29315
29316 [BZ #17844]
29317 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29318 (getutent): Use weak_alias in non SHARED case
29319 and default_symbol_version in SHARED case.
29320 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29321 (getutent_r, pututline): Likewise.
29322 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29323 (getutid): Likewise.
29324 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29325 (getutid_r): Likewise.
29326 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29327 (getutline): Likewise.
29328 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29329 (getutline_r): Likewise.
29330 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29331 (updwtmp): Likewise.
29332
29333 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
29334
29335 [BZ #17848]
29336 * sysdeps/s390/s390-32/memcmp.S
29337 (memcmp_g5): Rename to __memcmp_g5.
29338 * sysdeps/s390/s390-32/memcpy.S
29339 (memcpy_g5): Rename to __memcpy_g5.
29340 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29341 (memcpy_mvcle) Rename to __memcpy_mvcle.
29342 * sysdeps/s390/s390-32/memset.S
29343 (memset_g5): Rename to __memset_g5.
29344 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29345 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29346 and use prefixed functions.
29347 * sysdeps/s390/s390-32/multiarch/memcmp.S
29348 (memcmp_z196): Rename to __memcmp_z196.
29349 (memcmp_z10): Rename to __memcmp_z10.
29350 (memcmp): Set alias to __memcmp_g5.
29351 (bcmp): Set alias to __memcmp_g5.
29352 * sysdeps/s390/s390-32/multiarch/memcpy.S
29353 (memcpy_z196): Rename to __memcpy_z196.
29354 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29355 (memcpy_z10): Rename to __memcpy_z10.
29356 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29357 (memcpy): Set alias to __memcpy_g5.
29358 * sysdeps/s390/s390-32/multiarch/memset.S
29359 (memset_z196): Rename to __memset_z196.
29360 Jump to __memset_mvcle instead of memset_mvcle.
29361 (memset_z10): Rename to __memset_z10.
29362 Jump to __memset_mvcle instead of memset_mvcle.
29363 (memset_mvcle) Rename to __memset_mvcle.
29364 (memset): Set alias to __memset_g5.
29365 * sysdeps/s390/s390-64/memcmp.S
29366 (memcmp_z900): Rename to __memcmp_z900.
29367 * sysdeps/s390/s390-64/memcpy.S
29368 (memcpy_z900): Rename to __memcpy_z900.
29369 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29370 (memcpy_mvcle) Rename to __memcpy_mvcle.
29371 * sysdeps/s390/s390-64/memset.S
29372 (memset_z900): Rename to __memset_z900.
29373 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29374 (IFUNC_RESOLVE): Prefix ifunc-resolve function
29375 and use prefixed functions.
29376 * sysdeps/s390/s390-64/multiarch/memcmp.S
29377 (memcmp_z196): Rename to __memcmp_z196.
29378 (memcmp_z10): Rename to __memcmp_z10.
29379 (memcmp): Set alias to __memcmp_z900.
29380 (bcmp): Set alias to __memcmp_z900.
29381 * sysdeps/s390/s390-64/multiarch/memcpy.S
29382 (memcpy_z196): Rename to __memcpy_z196.
29383 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29384 (memcpy_z10): Rename to __memcpy_z10.
29385 Jump to __memcpy_mvcle instead of memcpy_mvcle.
29386 (memcpy): Set alias to __memcpy_z900.
29387 * sysdeps/s390/s390-64/multiarch/memset.S
29388 (memset_z196): Rename to __memset_z196.
29389 Jump to __memset_mvcle instead of memset_mvcle.
29390 (memset_z10): Rename to __memset_z10.
29391 Jump to __memset_mvcle instead of memset_mvcle.
29392 (memset_mvcle) Rename to __memset_mvcle.
29393 (memset): Set alias to __memset_z900.
29394
29395 2015-01-14 Joseph Myers <joseph@codesourcery.com>
29396
29397 [BZ #17748]
29398 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29399 __fesetenv instead of fesetenv.
29400
29401 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29402
29403 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29404 macro.
29405
29406 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29407
29408 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29409 regression on LE.
29410
29411 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29412 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29413 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29414 strncmp-power8 object.
29415 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29416 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29417 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29418 * NEWS: Update.
29419
29420 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29421 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29422
29423 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29424 trailing byte check.
29425
29426 2015-01-13 David S. Miller <davem@davemloft.net>
29427
29428 * include/signal.h (__sigreturn): Guard with __USE_MISC.
29429
29430 2015-01-13 Roland McGrath <roland@hack.frob.com>
29431
29432 * login/logout.c (logout): Use memset rather than bzero.
29433 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29434 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29435 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29436 (_gethtbyaddr): Likewise.
29437 * locale/programs/simple-hash.c (bcopy): Macro removed.
29438
29439 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29440
29441 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29442 Add strcmp-power8 object.
29443 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29444 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29445 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29446 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29447 __strcmp_power8 implementation.
29448 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29449 * NEWS: Update.
29450
29451 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29452 Add strncpy-power8 and stpncpy-power8 objects.
29453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29454 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29455 implementations.
29456 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29457 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29458 __stpncpy_power8 implementation.
29459 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29460 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29461 __strncpy_power8 implementation.
29462 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29463 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29464 * NEWS: Update.
29465
29466 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29467 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29468 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29469
29470 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29471 strncat-power8 object.
29472 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29473 __strcat_power8 implementation.
29474 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29475 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29476 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29477 optimized strcat for power8.
29478
29479 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29480 strcpy-power8 and stpcpy-power8 objects.
29481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29482 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29483 implementations.
29484 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29485 multiarch stpcpy implementation for POWER8.
29486 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29487 multiarch strcpy implementation for POWER8.
29488 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29489 __strcpy_power8 function.
29490 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29491 stpcpy for POWER8.
29492 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29493 strcpy for POWER8.
29494 * NEWS: Update.
29495
29496 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
29497
29498 [BZ #16009]
29499 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29500 weights and rules. Use do_xfrm_cached if data fits in cache,
29501 do_xfrm otherwise. Moved former main loop to...
29502 * (do_xfrm_cached): New function.
29503 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29504 find_idx, find_position and stack_push.
29505 * (find_idx): New function.
29506 * (find_position): Likewise.
29507 * localedata/sort-test.sh: Added test run for do_xfrm.
29508 * localedata/xfrm-test.c (main): Added command line option
29509 -nocache to run the test with strings that are too large for
29510 the STRXFRM cache.
29511
29512 2015-01-13 Torvald Riegel <triegel@redhat.com>
29513
29514 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29515 variable to lll_futex_wake call, not the value itself.
29516
29517 2015-01-12 Joseph Myers <joseph@codesourcery.com>
29518
29519 [BZ #17803]
29520 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29521 twom64. Adjust value to 0x1p-64L.
29522 (__scalblnl): Only return standard underflowing result for K <=
29523 -64 not K <= -63; adjust exponent for underflowing result by 64
29524 not 63.
29525 * math/libm-test.inc (scalbn_test_data): Add more tests.
29526 (scalbln_test_data): Likewise.
29527
29528 [BZ #17834]
29529 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29530 0x1p63L.
29531 (__scalblnl): Get new exponent of adjusted subnormal value from ES
29532 not HX.
29533 * math/libm-test.inc (scalbn_test_data): Add more tests.
29534 (scalbln_test_data): Likewise.
29535
29536 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29537 Stefani Seibold <stefani@seibold.net>
29538
29539 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29540 (sysdep_routines): Add dl-vdso here, ...
29541 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29542 (sysdep_routines): ... not here.
29543 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29544 fallback when vDSO is not presented.
29545 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29546 Define with libc_hidden_proto/libc_hidden_data_def definitions.
29547 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29548 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29549 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29550 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29551 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29552 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29553 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29554 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29555 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
29556 fallback configurable symbol when vDSO is not available.
29557 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29558 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
29559 be able to redefine fallback symbol when vDSO is not available.
29560 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29561 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29562
29563 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29564
29565 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29566 (TLS_INIT_TP): Add tm_capable initialization.
29567 (TLS_DEFINE_INIT_TP): Likewise.
29568 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29569 TCB.
29570 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29571 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29572 calculation.
29573 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29574 transactoion is lock elision is built and TCB tm_capable is set.
29575 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29577 (INTERNAL_SYSCALL_NCS): Likewise.
29578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29579 (INTERNAL_SYSCALL_NCS): Likewise.
29580 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29581
29582 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29583 for powerpc.
29584 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29585 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29586 and remove it for 32 bits case.
29587 [pthread_rwlock_t] (__rwelision): New field for lock elision.
29588 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29589 initialization.
29590 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29591 Disable lock elision with rdlocks if elision is not available.
29592
29593 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29594 (sysdep_routines): Add lock elision objects.
29595 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29596 [pthread_mutex_t] (__spins): Rework to add lock elision field.
29597 [pthread_mutex_t] (__elision): Add field.
29598 [__PTHREAD_SPINS]: Adjust to init lock elision field.
29599 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29600 elision definitions for powerpc.
29601 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29602 implementation of lock elision for powerpc.
29603 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29604 implementation of timed lock elision for powerpc.
29605 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29606 implementation of trylock with lock elision for powerpc.
29607 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29608 implementaion of unlock for lock elision for powerpc.
29609 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29610 automatic enable lock elision for mutexes.
29611 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29612 transaction execution definitions for powerpc.
29613 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29614 definitions.
29615 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29616 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29617 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29618 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29619 * NEWS: Update.
29620
29621 2015-01-09 Roland McGrath <roland@hack.frob.com>
29622
29623 * sysdeps/posix/shm-directory.c: Use <> rather than ""
29624 for #include of <shm-directory.h>.
29625
29626 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
29627
29628 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29629 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29630
29631 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
29632
29633 [BZ #17791]
29634 * NEWS: Mention bug fix.
29635 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29636 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29637 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29638
29639 2015-01-09 Torvald Riegel <triegel@redhat.com>
29640
29641 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29642
29643 2015-01-09 Torvald Riegel <triegel@redhat.com>
29644
29645 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29646
29647 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29648
29649 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29650 pointer and cast to uintptr_t.
29651
29652 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29653
29654 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29655 removed.
29656 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29657
29658 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
29659
29660 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29661 of 0.
29662
29663 2015-01-08 Roland McGrath <roland@hack.frob.com>
29664
29665 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29666 <nptl/pthreadP.h> instead.
29667 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29668
29669 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29670 already defined.
29671 [__SIGRTMIN] (init): Function removed.
29672 [__SIGRTMIN] (initialized): Variable removed.
29673 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29674 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29675 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29676 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29677 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29678 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29679 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29680 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29681 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29682 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29683 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29684 * sysdeps/nptl/allocrtsig.c: New file.
29685 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29686 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29687 * sysdeps/generic/testrtsig.h: File removed.
29688
29689 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29690 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29691
29692 * nptl/nptl-init.c (pthread_functions): Conditionalize
29693 .ptr__nptl_setxid initialization on [SIGSETXID].
29694
29695 * sysdeps/nptl/sys/procfs.h: New file.
29696 * nptl_db/Makefile (headers): Add it.
29697 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29698
29699 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29700 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29701 * nptl/pthread_attr_setaffinity.c: Include it.
29702 * nptl/pthread_setattr_default_np.c: Likewise.
29703 * nptl/check-cpuset.h: New file.
29704
29705 2015-01-08 Richard Henderson <rth@redhat.com>
29706
29707 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29708 (CFLAGS-tst-execstack-prog.c): Likewise.
29709 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29710
29711 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
29712 Sandra Loosemore <sandra@codesourcery.com>
29713 Andrew Jenner <andrew@codesourcery.com>
29714 Joseph Myers <joseph@codesourcery.com>
29715 Nathan Sidwell <nathan@codesourcery.com>
29716
29717 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29718 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29719 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29720 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29721 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29722 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29723 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29724 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29725 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29726 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29727 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29728 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29729 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29730 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29731 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29732 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29733 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29734
29735 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29736
29737 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29738 timespec struct member in syscall macro.
29739 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29740 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29741 first timeval struct member in syscall macro.
29742 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29743
29744 2015-01-07 Joseph Myers <joseph@codesourcery.com>
29745
29746 [BZ #17748]
29747 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29748 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29749 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29750 __feupdateenv and define as weak alias of __feupdateenv. Use
29751 libm_hidden_weak.
29752 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29753 libm_hidden_def.
29754 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29755 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
29756 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29757 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29758 libm_hidden_def.
29759 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29760 __feupdateenv and define as weak alias of __feupdateenv. Use
29761 libm_hidden_weak.
29762 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29763 libm_hidden_def.
29764 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29765 __feupdateenv and define as weak alias of __feupdateenv. Use
29766 libm_hidden_weak.
29767 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29768 libm_hidden_def.
29769 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29770 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29771 (__feupdateenv): Likewise.
29772 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29773 __feupdateenv and define as weak alias of __feupdateenv. Use
29774 libm_hidden_weak.
29775 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29776 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29777 libm_hidden_def.
29778 * sysdeps/tile/math_private.h (__feupdateenv): New inline
29779 function.
29780 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29781 libm_hidden_def.
29782 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29783 __feupdateenv instead of feupdateenv.
29784 (default_libc_feupdateenv_test): Likewise.
29785 (libc_feresetround_ctx): Likewise.
29786
29787 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29788
29789 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29790 prototype.
29791
29792 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
29793
29794 * posix/regcomp.c (parse_bracket_exp): Initialize type to
29795 COLL_SYM in a couple of places to avoid uninitialized variable
29796 wanings on tilegx gcc 4.8.2.
29797
29798 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29799
29800 * sysdeps/aarch64/strcpy.S: New file.
29801 * sysdeps/aarch64/stpcpy.S: New file.
29802 * NEWS: Updated.
29803
29804 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
29805
29806 * sysdeps/aarch64/strrchr.S: New file.
29807 * NEWS: Updated.
29808
29809 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
29810
29811 [BZ #17658]
29812 * stdlib/setenv.c: Fix memory leak when setting large,
29813 duplicate string.
29814
29815 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
29816
29817 [BZ #17273]
29818 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29819 and tabs from buffer before parsing fstab entry.
29820 * misc/tst-mntent.c (main): Add test for mount entry with
29821 trailing spaces and tabs.
29822
29823 2015-01-06 Joseph Myers <joseph@codesourcery.com>
29824
29825 [BZ #17748]
29826 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
29827 * math/fesetround.c (fesetround): Rename to __fesetround and
29828 define as weak alias of __fesetround. Use libm_hidden_weak.
29829 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29830 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29831 * sysdeps/arm/fesetround.c (fesetround): Likewise.
29832 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29833 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29834 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29835 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29836 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29837 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29838 __fesetround_inline.
29839 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29840 __fesetround_inline instead of __fesetround.
29841 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29842 __fesetround and define as weak alias of __fesetround. Use
29843 libm_hidden_weak. Call __fesetround_inline instead of
29844 __fesetround.
29845 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29846 __fesetround and define as weak alias of __fesetround. Use
29847 libm_hidden_weak.
29848 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29849 Likewise.
29850 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29851 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29852 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29853 * sysdeps/tile/math_private.h (__fesetround): New inline function.
29854 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29855 __fesetround and define as weak alias of __fesetround. Use
29856 libm_hidden_weak.
29857 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29858 __fesetround instead of fesetround.
29859 (default_libc_feholdexcept_setround): Likewise.
29860 (libc_feholdsetround_ctx): Likewise.
29861 (libc_feholdsetround_noex_ctx): Likewise.
29862
29863 [BZ #17748]
29864 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29865 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29866 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29867 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29868 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29869 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29870 define as weak alias of __fesetenv. Use libm_hidden_weak.
29871 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29872 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29873 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29874 define as weak alias of __fesetenv. Use libm_hidden_weak.
29875 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29876 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29877 define as weak alias of __fesetenv. Use libm_hidden_weak.
29878 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29879 libm_hidden_def.
29880 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29881 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29882 Likewise.
29883 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29884 define as weak alias of __fesetenv. Use libm_hidden_weak.
29885 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29886 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29887 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29888 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29889 and define as weak alias of __fesetenv. Use libm_hidden_weak.
29890 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29891 __fesetenv instead of fesetenv.
29892 (libc_feresetround_noex_ctx): Likewise.
29893 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29894 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29895 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29896 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29897 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29898 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29899 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29900 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29901 (__feupdateenv): Likewise.
29902 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29903 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29904 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29905 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29906
29907 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
29908
29909 [BZ #17806]
29910 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29911 addresses have been freed.
29912
29913 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
29914
29915 * resolv/res_init.c (__res_vinit): Improve comments about nserv
29916 and nservall.
29917
29918 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
29919
29920 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
29921 Clean up check_pf allocation pattern. addresses
29922
29923 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29924
29925 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
29926 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
29927 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
29928 * nptl/pthread_exit.c (__pthread_exit): Likewise.
29929 * nptl/pthread_join.c (pthread_join): Likewise.
29930 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
29931 * sysdeps/posix/waitid.c (__waitid): Likewise.
29932 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29933 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29934 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29935 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29936 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29937 Likewise.
29938 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29939 (__libc_pread64): Likewise.
29940 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29941 (__libc_pwrite): Likewise.
29942 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29943 (__libc_pwrite64): Likewsie.
29944 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29945 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29946 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29947 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29948 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29949 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29950 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29952 Likewise.
29953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29954 (__libc_pread64): Likewise.
29955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
29956 Likewise.
29957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29958 (__libc_pwrite64): Likewise.
29959 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29960 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29961 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
29962 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
29963 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29964 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29965 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
29966 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29967 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29968 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29969 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
29970 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29971 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29972 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
29973 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29974 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29975 Likewise.
29976
29977 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
29978
29979 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
29980 (CFLAGS-test-double.c): Likewise.
29981 (CFLAGS-test-ldouble.c): Likewise.
29982 (CPPFLAGS-test-ifloat.c): Likewise.
29983 (CPPFLAGS-test-idouble.c): Likewise.
29984 (CPPFLAGS-test-ildoubl.c): Likewise.
29985 (CFLAGS-test-test-fenv.c): Remove variable.
29986 (CFLAGS-test-misc.c): Likewise.
29987
29988 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
29989
29990 [BZ #17797]
29991 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
29992 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
29993 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
29994 CLOCKS_PER_SEC == 1000000.
29995 * time/clocktest.c (main): Replace %ld with %jd and cast to
29996 intmax_t.
29997
29998 2015-01-05 Roland McGrath <roland@hack.frob.com>
29999
30000 * sysdeps/generic/unwind-resume.h: New file.
30001 * sysdeps/gnu/unwind-resume.c: Include it.
30002 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30003 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30004 argument list.
30005 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30006 global rather than static.
30007 (_Unwind_Resume): Update user.
30008 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30009 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
30010 rather than static. Add __attribute__ ((cold)).
30011 (_Unwind_Resume, __gcc_personality_v0): Update callers.
30012 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30013 * sysdeps/arm/arm-unwind-resume.S: New file.
30014 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30015 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30016 * sysdeps/arm/Makefile [$(subdir) = csu]
30017 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30018 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30019 Add rt-arm-unwind-resume.
30020 [$(subdir) = nptl]
30021 (libpthread-sysdep_routines, libpthread-shared-only-routines):
30022 Add pt-arm-unwind-resume.
30023 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30024 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30025
30026 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30027
30028 [BZ #17748]
30029 * include/fenv.h (__feholdexcept): Declare. Use
30030 libm_hidden_proto.
30031 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30032 define as weak alias of __feholdexcept. Use libm_hidden_weak.
30033 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30034 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30035 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30036 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30037 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30038 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30039 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30040 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30041 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30042 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30043 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30044 (feholdexcept): Likewise.
30045 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30046 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30047 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30048 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30049 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30050 __feholdexcept instead of feholdexcept.
30051 (default_libc_feholdexcept_setround): Likewise.
30052
30053 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30054
30055 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30056 to avoid using stl/str to align destination.
30057
30058 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30059
30060 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30061
30062 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30063
30064 [BZ #17796]
30065 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30066 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30067 Define as weak alias not strong alias.
30068
30069 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
30070
30071 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30072 bltzal with addiupc.
30073 (RTLD_START): Ditto.
30074
30075 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
30076
30077 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30078 for __vdso_* functions in declarations.
30079 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30080 definitions.
30081 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30082 INTERNAL_VSYSCALL): Use struct return types to check for error.
30083
30084 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30085 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30086 function with cast from llround().
30087 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30088 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30089 Define.
30090
30091 2015-01-05 Joseph Myers <joseph@codesourcery.com>
30092
30093 [BZ #17793]
30094 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30095 Define as weak alias not strong alias.
30096
30097 [BZ #17635]
30098 * ctype/ctype-c99.c: New file. isblank implementation moved from
30099 ...
30100 * ctype/ctype-extn.c: ... here.
30101 (__isblank_l): Move to ...
30102 * ctype/ctype-c99_l.c: ... here. New file.
30103 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30104 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30105 Remove variable.
30106 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30107 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30108 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30109 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30110 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30111
30112 [BZ #17777]
30113 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30114 (posix_fadvise64): Define as weak alias not strong alias.
30115 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30116 (posix_fallocate64): Likewise.
30117 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30118 Remove variable.
30119 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30120 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30121 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30122 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30123 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30124
30125 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
30126
30127 [BZ #16191]
30128 * NEWS: Mention bug fix.
30129 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30130 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30131 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30132 (HOST_STACK_END_ADDR): Likewise.
30133
30134 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30135
30136 [BZ #17748]
30137 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
30138 * math/fegetround.c (fegetround): Rename to __fegetround and
30139 define as weak alias of __fegetround. Use libm_hidden_weak.
30140 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30141 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30142 * sysdeps/arm/fegetround.c (fegetround): Likewise.
30143 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30144 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30145 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30146 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30147 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30148 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30149 Undefine after rather than before function definition; use
30150 parentheses around function name in definition.
30151 (__fegetround): Also undefine macro after function definition.
30152 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30153 __fegetround and define as weak alias of __fegetround. Use
30154 libm_hidden_weak. Do not undefine as macro.
30155 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30156 Likewise.
30157 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30158 __fegetround and define as weak alias of __fegetround. Use
30159 libm_hidden_weak.
30160 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30161 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30162 * sysdeps/tile/math_private.h (__fegetround): New inline function.
30163 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30164 __fegetround and define as weak alias of __fegetround. Use
30165 libm_hidden_weak.
30166 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30167 __fegetround instead of fegetround.
30168
30169 [BZ #17782]
30170 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30171 Condition macro definition on [__USE_MISC].
30172
30173 [BZ #17781]
30174 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30175 (struct sigaction): Change type of sa_flags field to int.
30176
30177 [BZ #17780]
30178 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30179 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30180 __glibc_reserved0.
30181
30182 * nptl/version.c (banner): Use single year in copyright notice.
30183
30184 * NEWS: Update copyright dates.
30185 * catgets/gencat.c (print_version): Likewise.
30186 * csu/version.c (banner): Likewise.
30187 * debug/catchsegv.sh: Likewise.
30188 * debug/pcprofiledump.c (print_version): Likewise.
30189 * debug/xtrace.sh (do_version): Likewise.
30190 * elf/ldconfig.c (print_version): Likewise.
30191 * elf/ldd.bash.in: Likewise.
30192 * elf/pldd.c (print_version): Likewise.
30193 * elf/sotruss.sh: Likewise.
30194 * elf/sprof.c (print_version): Likewise.
30195 * iconv/iconv_prog.c (print_version): Likewise.
30196 * iconv/iconvconfig.c (print_version): Likewise.
30197 * locale/programs/locale.c (print_version): Likewise.
30198 * locale/programs/localedef.c (print_version): Likewise.
30199 * login/programs/pt_chown.c (print_version): Likewise.
30200 * malloc/memusage.sh (do_version): Likewise.
30201 * malloc/memusagestat.c (print_version): Likewise.
30202 * malloc/mtrace.pl: Likewise.
30203 * manual/libc.texinfo: Likewise.
30204 * nptl/version.c (banner): Likewise.
30205 * nscd/nscd.c (print_version): Likewise.
30206 * nss/getent.c (print_version): Likewise.
30207 * nss/makedb.c (print_version): Likewise.
30208 * posix/getconf.c (main): Likewise.
30209 * scripts/test-installation.pl: Likewise.
30210 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30211
30212 2015-01-02 Will Newton <will.newton@linaro.org>
30213
30214 * sysdeps/arm/armv7/configure: Removed.
30215 * sysdeps/arm/armv7/configure.ac: Likewise.
30216
30217 2015-01-02 Joseph Myers <joseph@codesourcery.com>
30218
30219 * All files with FSF copyright notices: Update copyright dates
30220 using scripts/update-copyrights.
30221 * intl/plural.c: Regenerated.
30222 * locale/programs/charmap-kw.h: Likewise.
30223 * locale/programs/locfile-kw.h: Likewise.
30224
30225 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30226
30227 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30228
30229 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30230
30231 [BZ #17748]
30232 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30233 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30234 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30235 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30236 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30237 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30238 define as weak alias of __fegetenv. Use libm_hidden_weak.
30239 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30240 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30241 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30242 define as weak alias of __fegetenv. Use libm_hidden_weak.
30243 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30244 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30245 define as weak alias of __fegetenv. Use libm_hidden_weak.
30246 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30247 libm_hidden_def.
30248 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30249 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30250 Likewise.
30251 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30252 define as weak alias of __fegetenv. Use libm_hidden_weak.
30253 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30254 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30255 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30256 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30257 and define as weak alias of __fegetenv. Use libm_hidden_weak.
30258 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30259 __fegetenv instead of fegetenv.
30260 (libc_feholdsetround_noex_ctx): Likewise.
30261
30262 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
30263
30264 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30265 (Elf_MIPS_ABIFlags_v0): New structure.
30266 (EF_MIPS_FP64): Define.
30267 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30268 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30269 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30270 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30271 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30272 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30273 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30274 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30275 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30276 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30277 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30278 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30279 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30280 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30281 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30282 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30283 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30284 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30285 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30286 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30287 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30288 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30289 field.
30290 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30291 EF_MIPS_FP64.
30292 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30293 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30294 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30295 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30296 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30297 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30298 * sysdeps/mips/tst-abi-interlink.c: Likewise.
30299 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30300 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30301 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30302 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30303 record the current FP ABI extension.
30304 (mips-mode-switch): Define to show if kernel headers support mode
30305 switching.
30306 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30307 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30308 supported SYSV ABI version to 3.
30309 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30310 feature.
30311
30312 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30313 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30314
30315 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30316 path.
30317 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30318
30319 2014-12-31 Joseph Myers <joseph@codesourcery.com>
30320
30321 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30322 __fegetround and redefine to call __fegetround. Remove condition
30323 on [!__NO_MATH_INLINES].
30324 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30325 function.
30326 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30327 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30328 Remove macro.
30329 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30330 instead of <fenv_libc.h>.
30331 (__llrintl): Call fegetround instead of __fegetround.
30332 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30333 instead of <fenv_libc.h>.
30334 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30335 (__lrintl): Call fegetround instead of __fegetround.
30336 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30337 instead of <fenv_libc.h>.
30338 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30339 (__rintl): Call fegetround instead of __fegetround.
30340
30341 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
30342
30343 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30344 arrays.
30345
30346 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30347
30348 [BZ #17775]
30349 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30350 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30351 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30352
30353 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30354
30355 * sysdeps/i386/tls-macros.h: Include <features.h>.
30356 (TLS_LE): Use non-PIC version for GCC >= 5.0.
30357 (TLS_IE): Likewise.
30358 (TLS_LD): Likewise.
30359 (TLS_GD): Likewise.
30360 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30361 define for GCC >= 5.0.
30362
30363 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
30364
30365 * math/test-fenv.c (test_single_exception, set_single_exc,
30366 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30367 feexcp_mask_test, feenable_test, fe_single_test): Add
30368 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30369 case where they are not used.
30370 * math/libm-test.inc: Likewise.
30371 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30372 unused in the absence of FP rounding/exception support.
30373 * stdio-common/tst-printf-round.c: Likewise.
30374 * stdlib/tst-strtod-round.c: Likewise.
30375 * stdlib/tst-strtod-underflow.c: Likewise.
30376
30377 2014-12-30 Joseph Myers <joseph@codesourcery.com>
30378
30379 [BZ #17723]
30380 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30381 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30382 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30383 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30384 libm_hidden_weak.
30385 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30386 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30387 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30388 libm_hidden_def.
30389 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30390 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30391 libm_hidden_weak.
30392 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30393 Likewise.
30394 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30395 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30396 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30397 libm_hidden_weak.
30398 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30399 libm_hidden_def.
30400 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30401 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30402 (__feraiseexcept): Likewise.
30403 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30404 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30405 libm_hidden_weak.
30406 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30407 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30408 libm_hidden_def.
30409 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30410 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30411 Use libm_hidden_def.
30412 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30413 libm_hidden_def.
30414 (feraiseexcept): Define as weak not strong alias. Use
30415 libm_hidden_weak.
30416 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30417 New inline function. Factored out of ...
30418 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
30419 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30420 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30421 feraiseexcept.
30422 * math/w_acos.c (__acos): Likewise.
30423 * math/w_asin.c (__asin): Likewise.
30424 * math/w_ilogb.c (__ilogb): Likewise.
30425 * math/w_j0.c (y0): Likewise.
30426 * math/w_j1.c (y1): Likewise.
30427 * math/w_jn.c (yn): Likewise.
30428 * math/w_log.c (__log): Likewise.
30429 * math/w_log10.c (__log10): Likewise.
30430 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30431 * sysdeps/aarch64/fpu/math_private.h
30432 (libc_feupdateenv_test_aarch64): Likewise.
30433 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30434 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30435 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30436 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30437 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30438 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30439 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30440 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30441 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30442 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30443
30444 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
30445
30446 [BZ #17732]
30447 * io/test-utime.c (main): Replace %ld with %jd and cast to
30448 intmax_t.
30449 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30450 * nptl/tst-mutex5.c: Include <stdint.h>.
30451 (do_test): Replace %ld with %jd and cast to intmax_t.
30452 * posix/tst-regex.c (run_test): Likewise.
30453 (run_test_backwards): Likewise.
30454 * rt/tst-clock.c: Include <stdint.h>.
30455 (clock_test): Replace %ld with %jd and cast to intmax_t.
30456 * rt/tst-cpuclock1.c: Include <stdint.h>.
30457 (do_test): Replace %lu with %ju and cast to uintmax_t.
30458 * rt/tst-cpuclock2.c: Include <stdint.h>.
30459 (do_test): Replace %lu with %ju and cast to uintmax_t.
30460 * rt/tst-mqueue1.c: Include <stdint.h>.
30461 (check_attrs): Replace %ld with %jd and cast to intmax_t.
30462 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30463 intmax_t.
30464 * rt/tst-mqueue4.c (do_test): Likewise.
30465 * rt/tst-timer4.c: Include <stdint.h>.
30466 (check_ts): Replace %ld with %jd and cast to intmax_t.
30467 (do_test): Likewise.
30468 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30469 and cast to intmax_t.
30470 * sysdeps/pthread/tst-timer.c (main): Likewise.
30471 * time/clocktest.c (main): Likewise.
30472 * time/tst-posixtz.c (do_test): Likewise.
30473 * timezone/tst-timezone.c (main): Likewise.
30474
30475 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
30476 H.J. Lu <hongjiu.lu@intel.com>
30477
30478 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30479 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30480 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30481 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30482 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30483 version if bit_Fast_Unaligned_Load is set.
30484 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30485 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30486 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30487 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30488 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30489 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30491 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30492 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30493 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30494 to 4.
30495 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30496 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30497 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30498 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30499
30500 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
30501
30502 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30503 instead of #if to avoid a Wundef warning.
30504 * stdlib/tst-limits.c (do_test): Likewise.
30505
30506 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30507 parallel other exception macros.
30508 (fegetenv): Convert from macro to extern inline so that it applies
30509 retroactively to inline functions already seen by the compiler.
30510 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30511
30512 * posix/Makefile (before-compile): Use $(objpfx) for
30513 posix-conf-vars-def.h.
30514
30515 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30516
30517 * posix/getconf.c (main): Use size_t for type of I.
30518 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30519 NSPEC.
30520
30521 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30522 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30523 * posix/posix-envs.def: Likewise.
30524 * sysdeps/posix/sysconf.c: Likewise.
30525 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30526 (specs): Remove array.
30527 * scripts/gen-posix-conf-vars.awk: Support generation of specs
30528 array.
30529
30530 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30531 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30532 (__sysconf): Use CONF_IS_* macros.
30533
30534 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30535 ($(objpfx)posix-conf-vars-def.h): New target.
30536 * posix/posix-conf-vars.list: New file.
30537 * posix/posix-conf-vars.h: New file.
30538 * posix/confstr.c: Include posix-conf-vars.h.
30539 (confstr): Use CONF_IS_* macros.
30540 * posix/posix-envs.def: Include posix-conf-vars.h. Use
30541 CONF_IS_* macros.
30542 * scripts/gen-posix-conf-vars.awk: New file.
30543
30544 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
30545
30546 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30547 fegetround): Add no-op macros to avoid linknamespace issues.
30548
30549 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30550 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30551
30552 * sysdeps/unix/sysv/linux/tile/sysdep.h
30553 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30554 assembly-specific section to avoid a redefinition warning.
30555
30556 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30557 long before casting to pointer to avoid a cast warning.
30558
30559 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
30560
30561 * sysdeps/tile/tilegx/Implies: New file.
30562
30563 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
30564
30565 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30566
30567 2014-12-23 Florian Weimer <fweimer@redhat.com>
30568
30569 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30570
30571 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30572
30573 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30574 not define.
30575 * sysdeps/unix/sysv/linux/utimes.c: Do not include
30576 <kernel-features.h>.
30577 (__utimes) [__NR_utimes]: Make code unconditional.
30578 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30579 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30580 (__ASSUME_UTIMES): Do not undefine.
30581 * sysdeps/unix/sysv/linux/tile/kernel-features.h
30582 (__ASSUME_UTIMES): Likewise.
30583 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30584 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30585 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30586 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30587
30588 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30589
30590 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30591
30592 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
30593
30594 [BZ #17747]
30595 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30596 alias to weak alias for j0l, y0l.
30597 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30598 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30599
30600 [BZ #17746]
30601 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30602 conversion.
30603
30604 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
30605
30606 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30607 to zero if not already defined.
30608
30609 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30610
30611 [BZ #17724]
30612 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30613 (__kernel_standard_f): Remove. Moved to k_standardf.c.
30614 (__kernel_standard_l): Remove. Moved to k_standardl.c with
30615 (char *) casts added.
30616 * sysdeps/ieee754/k_standardf.c: New file.
30617 * sysdeps/ieee754/k_standardl.c: Likewise.
30618 * math/Makefile (libm-support): Remove k_standard.
30619 (libm-calls): Add k_standard.
30620
30621 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30622
30623 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30624 Optimize to avoid an unnecessary FPCR read.
30625
30626 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30627
30628 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30629 Optimize to reduce FPCR/FPSR accesses.
30630
30631 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30632
30633 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30634 Call libc_fetestexcept_aarch64.
30635
30636 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
30637
30638 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30639 Call libc_fesetround_aarch64.
30640
30641 2014-12-22 Joseph Myers <joseph@codesourcery.com>
30642
30643 [BZ #17733]
30644 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30645 (__bind): Do not define as weak alias.
30646 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30647 define.
30648 (__getsockname): Do not define as weak alias.
30649
30650 2014-12-22 Will Newton <will.newton@linaro.org>
30651
30652 * manual/install.texi: Document that we require bison 2.7
30653 or above.
30654 * INSTALL: Regenerate.
30655 * configure.ac: Use AC_CHECK_PROG_VER instead of
30656 AC_PATH_PROG when checking for bison and check for
30657 version 2.7 or above.
30658 * configure: Regenerate.
30659
30660 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
30661
30662 [BZ #17745]
30663 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30664 * sysdeps/tile/ffsll.c (ffsll): To here.
30665
30666 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30667
30668 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30669
30670 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30671 if not defined.
30672 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30673 definition.
30674 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30675 hidden ___tls_get_addr.
30676 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30677 hidden __tls_get_addr.
30678 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30679 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30680 Likewise.
30681
30682 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
30683
30684 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30685 _dl_init call.
30686
30687 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
30688
30689 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30690 from "call _dl_init@PLT".
30691 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30692
30693 2014-12-21 Anders Kaseorg <andersk@mit.edu>
30694
30695 * manual/search.texi: (Array Sort Function): Clarify stable sorting
30696 guarantees.
30697
30698 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
30699
30700 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30701
30702 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30703
30704 [BZ #17744]
30705 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30706 strnlen.
30707
30708 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30709
30710 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30711 of multu on MIPSr6.
30712 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30713 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30714 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30715 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30716 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30717
30718 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
30719
30720 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30721 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30722 (PTR_SUBU): Use subu for mips32r6/mips64r6.
30723 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30724 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30725 mips32r6/mips64r6.
30726 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30727
30728 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
30729
30730 * string/strncat.c (STRNCAT): Simplify implementation.
30731
30732 2014-12-19 David S. Miller <davem@davemloft.net>
30733
30734 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30735 access the quad as both a long double and as a series of 4 words.
30736
30737 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30738 link_map->l_info array access.
30739
30740 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
30741
30742 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30743
30744 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30745 * math/atest-exp2.c (TIMEOUT): Likewise.
30746 * math/atest-sincos.c (TIMEOUT): Likewise.
30747
30748 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30749
30750 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30751 -Wno-error with -fno-builtin-lround.
30752
30753 2014-12-19 Torvald Riegel <triegel@redhat.com>
30754
30755 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30756 Contains futex constants and functions moved over from ...
30757 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
30758 <lowlevellock-futex.h>.
30759 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30760 (lll_timedwait_tid): Add comments and parentheses around macro
30761 arguments.
30762
30763 2014-12-19 Torvald Riegel <triegel@redhat.com>
30764
30765 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30766 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
30767 (__lll_private_flag): Remove.
30768 (lll_futex_wait): Likewise.
30769 (lll_futex_timed_wait): Likewise.
30770 (lll_futex_wake): Likewise.
30771 (lll_futex_requeue): Likewise.
30772 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30773 (__lll_timedwait_tid): Spell out argument names.
30774 (lll_timedwait_tid): Add comments and parentheses around macro
30775 arguments.
30776 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30777 LLL_SHARED and LLL_PRIVATE usable from assembly code.
30778
30779 2014-12-19 Torvald Riegel <triegel@redhat.com>
30780
30781 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30782 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30783 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30784 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30785 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30786 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30787 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30788 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30789 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30790 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30791 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30792 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30793 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30794 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30795 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30796 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30797 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30798 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30799 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30800
30801 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30802
30803 * sysdeps/x86_64/x32/Makefile: New file.
30804
30805 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
30806
30807 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30808 1L with (mp_limb_t) 1.
30809
30810 2014-12-17 Roland McGrath <roland@hack.frob.com>
30811
30812 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30813 * nptl/libc_pthread_init.c: ... here.
30814 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30815 * nptl/register-atfork.c: ... here.
30816
30817 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30818 Use pthread_sigmask rather than INTERNAL_SYSCALL.
30819 Use assert_perror to check its return value.
30820 (__gai_create_helper_thread): Likewise.
30821
30822 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30823
30824 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30825
30826 2014-12-17 Joseph Myers <joseph@codesourcery.com>
30827
30828 [BZ #17725]
30829 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30830 __profil_counter.
30831 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30832 Likewise.
30833 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30834 Likewise.
30835 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30836 Likewise.
30837 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30838 (profil_counter): Likewise.
30839 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30840 (profil_counter): Likewise.
30841 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30842 Likewise.
30843 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30844 Likewise.
30845 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30846 (profil_counter): Likewise.
30847 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30848 Likewise.
30849 [!__profil_counter] (profil_counter): Define as weak alias of
30850 __profil_counter.
30851 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30852 (profil_counter): Rename to __profil_counter.
30853 [!__profil_counter] (profil_counter): Define as weak alias of
30854 __profil_counter.
30855 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30856 (profil_counter): Rename to __profil_counter.
30857 [!__profil_counter] (profil_counter): Define as weak alias of
30858 __profil_counter.
30859 * sysdeps/posix/profil.c: Update comment referring to
30860 profil_counter.
30861 (__profil): Use __profil_counter instead of profil_counter.
30862 * sysdeps/posix/sprofil.c (profil_counter): Rename to
30863 __profil_counter. Use __profil_counter_ushort and
30864 __profil_counter_uint in definitions.
30865 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30866 instead of profil_counter_uint and profil_counter_ushort.
30867
30868 [BZ #17722]
30869 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30870 define as weak alias of __inet_makeaddr.
30871 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30872 as weak alias of __inet_addr.
30873 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30874 as weak alias of __inet_pton. Use libc_hidden_weak.
30875 * include/arpa/inet.h (__inet_pton): Declare. Use
30876 libc_hidden_proto.
30877 (inet_makeaddr): Don't use libc_hidden_proto.
30878 (__inet_makeaddr): Declare. Use libc_hidden_proto.
30879 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30880 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
30881 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30882 Remove variable.
30883 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30884 (test-xfail-POSIX/time.h/linknamespace): Likewise.
30885
30886 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
30887
30888 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30889
30890 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30891
30892 * stdio-common/bug-vfprintf-nargs.c (do_test):
30893 Cast value to intptr_t to avoid format warning
30894 for usage with PRIdPTR printing macro.
30895
30896 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
30897
30898 * libio/tst-widetext.c (do_test):
30899 Use format type %td instead of %Zd for ptrdiff_t
30900 in order to avoid format warning.
30901
30902 2014-12-17 Andreas Schwab <schwab@suse.de>
30903
30904 * nscd/mem.c (gc): Add size_t cast to match printf format.
30905
30906 2014-12-16 Roland McGrath <roland@hack.frob.com>
30907
30908 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30909 (init): Apply PTR_MANGLE to pointers before storing them.
30910 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30911 before using them.
30912
30913 2014-12-16 Joseph Myers <joseph@codesourcery.com>
30914
30915 [BZ #17719]
30916 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
30917 define as weak alias of __memrchr.
30918 (__memrchr): Do not define as strong alias of memrchr.
30919 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
30920 Remove variable.
30921 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30922 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30923 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30924
30925 [BZ #17717]
30926 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
30927 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
30928 (if_indextoname): Rename to __if_indextoname and define as weak
30929 alias of __if_indextoname. Use libc_hidden_weak.
30930 (if_freenameindex): Rename to __if_freenameindex and define as
30931 weak alias of __if_freenameindex.
30932 (if_nameindex): Rename to __if_nameindex and define as weak alias
30933 of __if_nameindex.
30934 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
30935 __if_nametoindex and define as weak alias of __if_nametoindex.
30936 Use libc_hidden_weak.
30937 (if_freenameindex): Rename to __if_freenameindex and define as
30938 weak alias of __if_freenameindex.
30939 (if_nameindex): Rename to __if_nameindex and define as weak alias
30940 of __if_nameindex.
30941 (if_indextoname): Rename to __if_indextoname and define as weak
30942 alias of __if_indextoname. Use libc_hidden_weak.
30943 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
30944 __if_nametoindex and define as weak alias of __if_nametoindex.
30945 Use libc_hidden_weak.
30946 (if_freenameindex): Rename to __if_freenameindex and define as
30947 weak alias of __if_freenameindex. Use libc_hidden_weak.
30948 (if_nameindex_netlink): Use __if_freenameindex instead of
30949 if_freenameindex.
30950 (if_nameindex): Rename to __if_nameindex and define as weak alias
30951 of __if_nameindex. Use libc_hidden_weak.
30952 (if_indextoname): Rename to __if_indextoname and define as weak
30953 alias of __if_indextoname. Use libc_hidden_weak.
30954 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
30955 libc_hidden_proto.
30956 [!_ISOMAC] (__if_freenameindex): Likewise.
30957 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
30958 if_nametoindex.
30959 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
30960 variable.
30961 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30962 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
30963 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
30964 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
30965 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
30966 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
30967 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
30968
30969 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
30970 Remove variable.
30971 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
30972 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
30973
30974 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30975
30976 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
30977 subscript above bounds'
30978
30979 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
30980 bounds.
30981
30982 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
30983
30984 * libio/tst-fopenloc.c: Use test-skeleton.c.
30985
30986 * stdlib/tst-bsearch.c: Use test-skeleton.c.
30987 (entry): Rename to ITEM.
30988 (do_test, comp): Adjust.
30989
30990 * stdio-common/tst-fseek.c: Use test-skeleton.c.
30991
30992 2014-12-16 Torvald Riegel <triegel@redhat.com>
30993
30994 * string/tester.c: Include <libc-internal.h>.
30995 (test_memset): Ignore -Wmemset-transposed-args.
30996
30997 2014-12-16 Torvald Riegel <triegel@redhat.com>
30998
30999 * misc/tst-mntent2.c (do_test): Fix warning.
31000
31001 2014-12-16 Torvald Riegel <triegel@redhat.com>
31002
31003 * elf/tst-unique4lib.cc(a): Mark as used.
31004
31005 2014-12-16 Florian Weimer <fweimer@redhat.com>
31006
31007 [BZ #17630]
31008 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31009 names.
31010
31011 2014-12-16 Allan McRae <allan@archlinux.org>
31012
31013 * stdio-common/Makefile (tests): Re-add bug26.
31014
31015 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
31016
31017 [BZ #17657]
31018 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31019 static array.
31020
31021 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
31022
31023 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31024 (__lll_lock_wait): Likewise.
31025 (__lll_timedlock_wait): Likewise.
31026 (__lll_timedwait_tid): Likewise.
31027 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31028 (__lll_robust_timedlock_wait): Likewise.
31029 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31030 (lll_cond_trylock): Likewise.
31031 (__lll_lock): Likewise.
31032 (__lll_robust_lock): Likewise.
31033 (__lll_cond_lock): Likewise.
31034 (lll_robust_cond_lock): Likewise.
31035 (__lll_timedlock): Likewise.
31036 (__lll_robust_timedlock): Likewise.
31037 (__lll_unlock): Likewise.
31038 (__lll_robust_unlock): Likewise.
31039 (lll_wait_tid): Likewise.
31040 (lll_timedwait_tid): Likewise.
31041
31042 2014-12-15 Torvald Riegel <triegel@redhat.com>
31043
31044 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31045
31046 2014-12-15 Torvald Riegel <triegel@redhat.com>
31047
31048 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31049
31050 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31051
31052 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31053 * stdio-common/tst-sprintf.c: Likewise.
31054
31055 2014-12-15 Torvald Riegel <triegel@redhat.com>
31056
31057 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31058
31059 2014-12-15 Jeff Law <law@redhat.com>
31060
31061 [BZ #16617]
31062 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31063 on the heap. (CVE-2012-3406)
31064 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31065 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
31066 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31067
31068 2014-12-15 Will Newton <will.newton@linaro.org>
31069
31070 * manual/install.texi: Bump required version of texinfo
31071 to 4.7 from 4.5.
31072 * INSTALL: Regenerated.
31073 * configure.ac: Check for makeinfo version 4.7 and above.
31074 * configure: Regenerated.
31075
31076 2014-12-12 Roland McGrath <roland@hack.frob.com>
31077
31078 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31079 PREFIX, string constant to insert between directory and name.
31080 * sysdeps/posix/shm_open.c: Update caller.
31081 * sysdeps/posix/shm_unlink.c: Likewise.
31082 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31083 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31084 (SEM_SHM_PREFIX): New macro.
31085 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31086 [$(have-thread-library) = no].
31087 * nptl/Makefile (libpthread-routines): Add shm-directory.
31088 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31089 * sysdeps/nptl/shm-directory.h: New file.
31090 * sysdeps/posix/shm-directory.c
31091 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31092 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31093 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31094 INTERNAL_SYSCALL.
31095 (__where_is_shmfs): Function removed.
31096 (mountpoint, defaultmount, defaultdir, __namedsem_once):
31097 Variables removed.
31098 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31099 Use SHM_GET_NAME.
31100 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
31101
31102 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31103 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31104 unconditional for use inside libpthread.
31105 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31106
31107 2014-12-12 Roland McGrath <roland@hack.frob.com>
31108
31109 * nptl/pthread_getaffinity.c: New file.
31110 * nptl/pthread_setaffinity.c: New file.
31111 * nptl/pthread_getname.c: New file.
31112 * nptl/pthread_setname.c: New file.
31113
31114 * nptl/pthread_create.c (START_THREAD_DEFN)
31115 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31116
31117 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31118 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31119
31120 * resolv/res_send.c (send_vc): Disable warning resplen may
31121 be used uninitialized.
31122
31123 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
31124
31125 * nptl/tst-mutex6.c
31126 (ATTR_NULL): New define checks ATTR against NULL.
31127 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31128 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31129
31130 2014-12-11 James Lemke <jwlemke@codesourcery.com>
31131
31132 [BZ #17581]
31133 * malloc/hooks.c
31134 (mem2mem_check): Revert my previous change.
31135 (malloc_check_get_size): Revert my previous change.
31136 (mem2chunk_check): Revert my previous change.
31137
31138 2014-12-11 Roland McGrath <roland@hack.frob.com>
31139
31140 * sysdeps/posix/shm-directory.c: New file.
31141 * sysdeps/posix/shm-directory.h: New file.
31142 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31143 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31144 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
31145 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31146 Transmute EPERM to EACCES.
31147 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31148 from ...
31149 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
31150 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31151
31152 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
31153
31154 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31155 pointer and cast to uintptr_t.
31156 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31157 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31158 Add cast to avoid warning.
31159 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31160
31161 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31162
31163 * nptl/semaphore.h: Move to ...
31164 * sysdeps/pthread/semaphore.h: ... here.
31165 * Makefile (installed-headers): Change nptl/semaphore.h to
31166 sysdeps/pthread/semaphore.h.
31167
31168 2014-12-11 Roland McGrath <roland@hack.frob.com>
31169
31170 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31171 generated error format strings.
31172
31173 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31174 -Wformat-extra-args warnings for scanf formats.
31175 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31176 test of zero-length format (duh).
31177 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31178 corner-case scanf format test.
31179 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31180 generated fprintf format string.
31181 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31182 corner-case sprintf format tests.
31183 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31184 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31185 -Wformat-extra-args warnings throughout.
31186 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31187 (CFLAGS-scanf4.c): Likewise.
31188 (CFLAGS-scanf7.c): Likewise.
31189 (CFLAGS-tst-sprintf.c): Likewise.
31190 (CFLAGS-tst-printf.c): Likewise.
31191 (CFLAGS-tst-printfsz.c): Likewise.
31192
31193 2014-12-11 Joseph Myers <joseph@codesourcery.com>
31194
31195 * include/cpio.h: New file.
31196 * include/fmtmsg.h: Likewise.
31197
31198 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
31199 corresponding format argument to size_t.
31200 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
31201 arguments.
31202 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
31203 corresponding format argument to size_t.
31204 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
31205 arguments.
31206 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
31207 corresponding format argument to size_t.
31208 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31209 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31210 (CFLAGS-tst-mbswcs2.c): Likewise.
31211 (CFLAGS-tst-mbswcs3.c): Likewise.
31212 (CFLAGS-tst-mbswcs4.c): Likewise.
31213 (CFLAGS-tst-mbswcs5.c): Likewise.
31214 (CFLAGS-tst-trans.c): Likewise.
31215
31216 2014-12-11 Roland McGrath <roland@hack.frob.com>
31217
31218 * posix/regexbug1.c (main): Use "%s" format with regerror results,
31219 rather than assuming they won't contain any '%'s.
31220
31221 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
31222
31223 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31224 inhibit_loop_to_libcall to avoid recursive calls.
31225 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31226 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31227
31228 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
31229
31230 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31231 prototype.
31232
31233 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31234
31235 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31236 integer value instead of boolean.
31237
31238 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
31239
31240 * malloc/malloc.c: Fix powerof2 check.
31241
31242 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31243
31244 * locale/programs/locfile.h (maybe_swap_uint32):
31245 Remove inline and add unused attribute.
31246
31247 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
31248
31249 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31250 Truncating assembler expression to a .long expression.
31251
31252 2014-12-11 Andreas Schwab <schwab@suse.de>
31253
31254 * elf/rtld.c (struct map_args): Constify str member.
31255 (do_preload): Constify fname argument.
31256
31257 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31258
31259 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31260 constants definition.
31261
31262 2014-12-11 Andreas Schwab <schwab@suse.de>
31263
31264 [BZ #16657]
31265 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31266 FORCE_ELISION instead of DO_ELISION.
31267 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31268 Remove.
31269 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31270 Likewise.
31271
31272 * iconvdata/gconv-modules: Remove duplicate entry.
31273
31274 2014-12-11 Will Newton <will.newton@linaro.org>
31275
31276 Merge gettext 0.19.3 into intl/.
31277
31278 This involves a number of cosmetic changes to comments
31279 and ANSI function definitions and prototypes throughout
31280 all the files. The gettext copyright header is used but
31281 with the date ranges taken from the glibc copy.
31282
31283 * NEWS: Add gettext merge to 2.21.
31284 * intl/bindtextdom.c: Switch to gettext copyright.
31285 Use ANSI definitions and prototypes.
31286 Use gl_* locking primitives rather than __libc_* ones.
31287 Use __builtin_expect rather than __glibc_likely/unlikely.
31288 * intl/dcgettext.c: Switch to gettext copyright.
31289 Use ANSI definitions and prototypes.
31290 * intl/dcigettext.c: Switch to gettext copyright.
31291 Use ANSI definitions and prototypes.
31292 (INTDIV0_RAISES_SIGFPE): New define.
31293 Use gl_* locking primitives rather than __libc_* ones.
31294 Include eval-plural.h instead of plural-eval.c.
31295 Use __builtin_expect rather than __glibc_likely/unlikely.
31296 * intl/dcngettext.c: Switch to gettext copyright.
31297 Use ANSI definitions and prototypes.
31298 * intl/dgettext.c: Likewise.
31299 * intl/dngettext.c: Likewise.
31300 * intl/plural-eval.c: Renamed to...
31301 * intl/eval-plural.h: ...this.
31302 * intl/explodename.c: Switch to gettext copyright.
31303 Use ANSI definitions and prototypes.
31304 (_nl_explode_name): Use strchr instead of __rawmemchr.
31305 * intl/finddomain.c: Switch to gettext copyright.
31306 Use ANSI definitions and prototypes.
31307 Use gl_* locking primitives rather than __libc_* ones.
31308 (_nl_find_domain): Use malloc rather than alloca for
31309 allocation of temporary locale name.
31310 * intl/gettext.c: Switch to gettext copyright.
31311 Use ANSI definitions and prototypes.
31312 * intl/gettextP.h: Switch to gettext copyright.
31313 Use ANSI definitions and prototypes.
31314 Use gl_* locking primitives rather than __libc_* ones.
31315 * intl/gmo.h: Switch to gettext copyright.
31316 (struct sysdep_string): Move struct segment_pair outside of
31317 struct definition.
31318 * intl/hash-string.c: Use ANSI definitions and prototypes.
31319 * intl/hash-string.h: Switch to gettext copyright.
31320 Use ANSI definitions and prototypes.
31321 * intl/l10nflist.c: Switch to gettext copyright.
31322 Use ANSI definitions and prototypes.
31323 (_nl_normalize_codeset): Avoid integer overflow.
31324 * intl/loadinfo.h: Switch to gettext copyright.
31325 Use ANSI definitions and prototypes.
31326 (LIBINTL_DLL_EXPORTED): New define.
31327 (PATH_SEPARATOR): New define.
31328 * intl/loadmsgcat.c: Switch to gettext copyright.
31329 * intl/localealias.c: Switch to gettext copyright.
31330 Use ANSI definitions and prototypes.
31331 (_nl_expand_alias): Use PATH_SEPARATOR.
31332 * intl/ngettext.c: Switch to gettext copyright.
31333 Use ANSI definitions and prototypes.
31334 * intl/plural-exp.c: Likewise.
31335 * intl/plural-exp.h: Switch to gettext copyright.
31336 Use ANSI definitions and prototypes.
31337 (struct expression): Move definition of enum operator outside
31338 of struct definition.
31339 * intl/plural.c: Regenerate.
31340 * intl/plural.y: Switch to gettext copyright.
31341 Use ANSI definitions and prototypes.
31342 Port to bison 3.0.
31343 * intl/textdomain.c: Switch to gettext copyright.
31344 Use ANSI definitions and prototypes.
31345 Use gl_* locking primitives rather than __libc_* ones.
31346
31347 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
31348
31349 * debug/warning-nop.c: Add used atrribute.
31350
31351 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31352
31353 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31354
31355 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31356 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31357 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31358
31359 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31360 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31361
31362 [BZ #17634]
31363 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31364 Undefine after defining function. Define as weak alias of
31365 __wcschr. Use libc_hidden_weak.
31366 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
31367 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31368 (libc_hidden_def): Also define __GI___wcschr alias.
31369 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31370 __wcschr and define as weak alias of __wcschr.
31371 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31372 __wcschr.
31373 [!WCSCHR] (DEFAULT_WCSCHR): Define.
31374 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31375 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
31376 libc_hidden_weak. Do not use libc_hidden_def.
31377 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31378 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31379 __GI___wcschr alias.
31380 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31381 [IS_IN (libc)] (wcschr): Define as macro expanding to
31382 __redirect_wcschr.
31383 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31384 [IS_IN (libc)] (__wcschr_power6): Likewise.
31385 [IS_IN (libc)] (__wcschr_power7): Likewise.
31386 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
31387 instead of wcschr.
31388 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31389 __libc_wcschr.
31390 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31391 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31392 __wcschr and define as weak alias of __wcschr. Use
31393 libc_hidden_builtin_def.
31394 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31395 as weak alias of __wcschr. Use libc_hidden_weak.
31396 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31397 wcschr.
31398 * time/era.c (_nl_init_era_entries): Likewise.
31399 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31400 variable.
31401 (test-xfail-XPG3/time.h/linknamespace): Likewise.
31402 (test-xfail-XPG4/time.h/linknamespace): Likewise.
31403
31404 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31405
31406 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31407 format for long int variable.
31408
31409 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
31410
31411 [BZ #10672]
31412 * manual/search.texi: (Array Sort Function): Remove claim how to make
31413 qsort stable.
31414
31415 2014-12-10 Andreas Schwab <schwab@suse.de>
31416
31417 [BZ #12847]
31418 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31419 user-controlled locks.
31420
31421 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
31422
31423 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31424 register.
31425
31426 2014-12-10 Joseph Myers <joseph@codesourcery.com>
31427
31428 * configure.ac (--disable-werror): New configure option.
31429 (enable_werror): New AC_SUBST.
31430 * configure: Regenerated.
31431 * config.make.in (enable-werror): New variable.
31432 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31433 -Wno-error=undef.
31434 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31435 * manual/install.texi (Configuring and compiling): Document
31436 --disable-werror.
31437 * INSTALL: Regenerated.
31438 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31439 (CFLAGS-tst-chk2.c): Likewise.
31440 (CFLAGS-tst-chk3.c): Likewise.
31441 (CFLAGS-tst-chk4.cc): Likewise.
31442 (CFLAGS-tst-chk5.cc): Likewise.
31443 (CFLAGS-tst-chk6.cc): Likewise.
31444 (CFLAGS-tst-lfschk1.c): Likewise.
31445 (CFLAGS-tst-lfschk2.c): Likewise.
31446 (CFLAGS-tst-lfschk3.c): Likewise.
31447 (CFLAGS-tst-lfschk4.cc): Likewise.
31448 (CFLAGS-tst-lfschk5.cc): Likewise.
31449 (CFLAGS-tst-lfschk6.cc): Likewise.
31450
31451 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31452 (main): Disable -Wdeprecated-declarations around calls to
31453 register_printf_function.
31454
31455 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31456 (do_test): Disable -Wdiv-by-zero around some calls to
31457 fwrite_unlocked and fread_unlocked.
31458
31459 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31460 (DIAG_POP_NEEDS_COMMENT): Likewise.
31461 (_DIAG_STR1): Likewise.
31462 (_DIAG_STR): Likewise.
31463 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31464 * stdio-common/bug21.c: Include <libc-internal.h>.
31465 (do_test): Disable -Wformat around call to sscanf.
31466 * stdio-common/scanf14.c: Include <libc-internal.h>.
31467 (main): Disable -Wformat around some calls to scanf functions.
31468
31469 2014-12-09 Torvald Riegel <triegel@redhat.com>
31470
31471 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31472
31473 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31474
31475 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31476 stack variable alignment.
31477
31478 2014-12-06 Joseph Myers <joseph@codesourcery.com>
31479
31480 [BZ #17682]
31481 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31482 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31483 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31484 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31485 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31486 __getrlimit instead of getrlimit.
31487 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31488 __gettimeofday instead of gettimeofday.
31489 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31490 Likewise.
31491 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31492 Likewise.
31493 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31494 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31495 Remove variable.
31496 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31497 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31498
31499 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31500
31501 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31502 for wide-character tests.
31503
31504 2014-12-04 Roland McGrath <roland@hack.frob.com>
31505
31506 * io/openat64.c: #include <libc-internal.h>
31507 (__openat64): Prototypify. Use ignore_value on MODE.
31508 * io/openat.c: Likewise.
31509 * misc/reboot.c: #include <libc-internal.h>
31510 (reboot): Prototypify. Use ignore_value on HOWTO.
31511 * misc/ptrace.c: #include <libc-internal.h>
31512 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
31513
31514 2014-12-04 Joseph Myers <joseph@codesourcery.com>
31515
31516 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31517 XPG4, UNIX98 and XOPEN2K.
31518 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31519 Remove variable.
31520 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31521
31522 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31523
31524 * libio/fileops.c: Use ISO C style for function definitions.
31525 * libio/iofopen.c: Likewise.
31526 * libio/wfileops.c: Likewise.
31527
31528 [BZ #17653]
31529 * libio/fileops.c (_IO_new_file_underflow): Unset cached
31530 offset on EOF.
31531 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31532 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31533 (fgets_func): Function pointer to fgets and fgetws.
31534 (do_ftell_test): Add test to verify ftell value after read
31535 EOF.
31536 (do_test): Set fgets_func.
31537
31538 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31539 O_TRUNC flag for w and w+ modes.
31540 (do_rewind_test): Likewise.
31541 (do_ftell_test): Likewise.
31542 (do_write_test): Likewise.
31543
31544 [BZ #17647]
31545 * libio/fileops.c (do_ftell): Seek only when there are
31546 unflushed writes.
31547 * libio/wfileops.c (do_ftell_wide): Likewise.
31548 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31549 test case.
31550 (do_one_test): Call it.
31551
31552 2014-12-03 Joseph Myers <joseph@codesourcery.com>
31553
31554 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31555 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31556 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31557 Remove variable.
31558 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31559 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31560 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31561
31562 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31563
31564 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31565 Remove variable.
31566 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31567
31568 [BZ #17668]
31569 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31570 as weak alias of __getifaddrs. Use libc_hidden_weak.
31571 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31572 __freeifaddrs. Use libc_hidden_weak.
31573 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31574 define as weak alias of __getifaddrs. Use libc_hidden_weak.
31575 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31576 __freeifaddrs. Use libc_hidden_weak.
31577 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31578 __getifaddrs and define as weak alias of __getifaddrs. Use
31579 libc_hidden_weak.
31580 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31581 __freeifaddrs. Use libc_hidden_weak.
31582 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31583 Remove variable.
31584 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31585 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31586
31587 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
31588
31589 [BZ #17601]
31590 * sysdeps/mips/start.S (__start): Use indirect jump to call
31591 __libc_start_main.
31592
31593 2014-12-02 Joseph Myers <joseph@codesourcery.com>
31594
31595 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31596
31597 * nptl/tst-mutex1.c: Include <stdbool.h>.
31598 [!ATTR] (ATTR_NULL): New macro.
31599 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31600 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31601 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31602
31603 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31604 to char *.
31605
31606 [BZ #17665]
31607 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31608 Change conditional to [__USE_MISC].
31609
31610 [BZ #17664]
31611 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31612 fgets_unlocked.
31613 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31614 __fgets_unlocked.
31615 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31616 fgets_unlocked.
31617 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31618 Remove variable.
31619 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31620 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31621 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31622 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31623 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31624 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31625 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31626 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31627 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31628
31629 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31630
31631 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31632
31633 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31634 Remove strpbrk objects.
31635 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31636 (__libc_ifunc_impl_list): Remove strpbrk implementation.
31637 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31638 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31639 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31640 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31641
31642 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31643 Remove strcspn objects.
31644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31645 (__libc_ifunc_impl_list): Remove strcspn implementation.
31646 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31647 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31648 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31649 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31650
31651 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31652 Remove strspn objetcs.
31653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31654 (__libc_ifunc_impl_list): Remove strspn implementation.
31655 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31656 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31657 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31658 * sysdeps/powerpc/powerpc64/strspn.S: New file.
31659
31660 2014-12-01 James Lemke <jwlemke@codesourcery.com>
31661
31662 [BZ #17581]
31663 * malloc/hooks.c
31664 (mem2mem_check): Add a terminator to the chain of checking blocks.
31665 (malloc_check_get_size): Use it here.
31666 (mem2chunk_check): Ditto.
31667
31668 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31669
31670 * sysdeps/powerpc/powerpc64/strtok.S: New file.
31671 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31672
31673 2014-11-29 Carlos O'Donell <carlos@redhat.com>
31674
31675 * bits/ioctl-types.h: Indent preprocessor directives correctly.
31676
31677 * nptl/nptl-init.c: Include libc-internal.h.
31678 (__pthread_initialize_minimal_internal): Use ROUND_UP.
31679
31680 * elf/ldconfig.c (search_dir): Expand comment.
31681
31682 2014-11-29 Joseph Myers <joseph@codesourcery.com>
31683
31684 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31685 variable.
31686 (linknamespace-symlist-stdlibs-tests): Likewise.
31687 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31688 instead of $(objpfx)symlist-stdlibs.
31689 (linknamespace-libs-isoc): New variable.
31690 (linknamespace-libs): Use $(linknamespace-libs-isoc).
31691 (linknamespace-libs-ISO): New variable.
31692 (linknamespace-libs-ISO99): Likewise.
31693 (linknamespace-libs-ISO11): Likewise.
31694 (linknamespace-libs-XPG3): Likewise.
31695 (linknamespace-libs-XPG4): Likewise.
31696 (linknamespace-libs-POSIX): Likewise.
31697 (linknamespace-libs-UNIX98): Likewise.
31698 (linknamespace-libs-XOPEN2K): Likewise.
31699 (linknamespace-libs-POSIX2008): Likewise.
31700 (linknamespace-libs-XOPEN2K8): Likewise.
31701 ($(objpfx)symlist-stdlibs): Replace by
31702 $(linknamespace-symlist-stdlibs-tests). Use
31703 $(linknamespace-libs-$*) as set of libraries.
31704 ($(linknamespace-header-tests)): Update dependencies. Use
31705 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31706 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31707 * conform/linknamespace.pl: Remove comment about considering
31708 definitions of symbols from irrelevant libraries.
31709
31710 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
31711
31712 [BZ #13862]
31713 * elf/dl-tls.c: Include <atomic.h>.
31714 (oom): Remove #ifdef SHARED/#endif.
31715 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31716 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
31717 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31718 big enough.
31719 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31720 * nptl/Makefile (tests): Add tst-stack4.
31721 (modules-names): Add tst-stack4mod.
31722 ($(objpfx)tst-stack4): New.
31723 (tst-stack4mod.sos): Likewise.
31724 ($(objpfx)tst-stack4.out): Likewise.
31725 ($(tst-stack4mod.sos)): Likewise.
31726 (clean): Likewise.
31727 * nptl/tst-stack4.c: New file.
31728 * nptl/tst-stack4mod.c: Likewise.
31729
31730 2014-11-27 J. Brown <jb999@gmx.de>
31731
31732 * sysdeps/x86/bits/string.h: Add recent CPUs.
31733
31734 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31735
31736 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31737 sigblock.
31738
31739 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31740 feof.
31741
31742 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31743 variable.
31744
31745 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
31746
31747 * nscd/connections.c: Include libc-internal.h because of macro
31748 usage ignore_value.
31749
31750 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31751
31752 * string/bits/string3.h (__warn_memset_zero_len): Don't
31753 declare for gcc newer than 5.0.
31754 (memset): Don't test for zero-length __LEN for gcc newer than
31755 5.0.
31756
31757 2014-11-27 Joseph Myers <joseph@codesourcery.com>
31758
31759 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31760 size_t for %zu format.
31761
31762 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31763 difference, not %ju.
31764
31765 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31766
31767 * include/libc-internal.h (ignore_value): New macro.
31768 * nscd/connections.c (restart): Wrap calls to setuid and setgid
31769 with ignore_value.
31770
31771 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31772 definition.
31773
31774 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31775 pthread_cleanup_push to void *.
31776
31777 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31778 Undefine.
31779
31780 [BZ #16619]
31781 [BZ #16740]
31782 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31783 instead of 1L << 52.
31784
31785 * libio/bug-rewind.c (do_test): Check fwscanf return values.
31786 * libio/bug-rewind2.c (do_test): Likewise.
31787
31788 * debug/test-stpcpy_chk-ifunc.c: Remove file.
31789 * debug/test-strcpy_chk-ifunc.c: Likewise.
31790 * wcsmbs/test-wcschr-ifunc.c: Likewise.
31791 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31792 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31793 * wcsmbs/test-wcslen-ifunc.c: Likewise.
31794 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31795 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31796 * Rules [$(multi-arch) = no] (tests): Do not filter out
31797 $(tests-ifunc).
31798 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31799 * debug/Makefile (tests-ifunc): Remove variable.
31800 (tests): Do not add $(tests-ifunc).
31801 * wcsmbs/Makefile (tests-ifunc): Remove variable.
31802 (tests): Do not add $(tests-ifunc).
31803 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31804 [TEST_IFUNC]: Remove conditionals.
31805 * string/test-string.h (TEST_IFUNC): Remove macro.
31806 [TEST_IFUNC]: Remove conditionals.
31807
31808 * string/test-strchr.c [!WIDE] (L): New macro.
31809 [WIDE] (L): Likewise.
31810 (check1): Use CHAR instead of char. Use L on string and character
31811 constants.
31812
31813 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
31814
31815 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31816 tests.
31817 * sysdeps/powerpc/bits/atomic.h
31818 (__arch_atomic_exchange_and_add_32_acq): Add definition.
31819 (__arch_atomic_exchange_and_add_32_rel): Likewise.
31820 (atomic_exchange_and_add_acq): Likewise.
31821 (atomic_exchange_and_add_rel): Likewise.
31822 * sysdeps/powerpc/powerpc32/bits/atomic.h
31823 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31824 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31825 * sysdeps/powerpc/powerpc64/bits/atomic.h
31826 (__arch_atomic_exchange_and_add_64_acq): Add definition.
31827 (__arch_atomic_exchange_and_add_64_rel): Likewise.
31828
31829 2014-11-26 Torvald Riegel <triegel@redhat.com>
31830
31831 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31832 Change synchronization of __sched_fifo_min_prio and
31833 __sched_fifo_max_prio.
31834 * nptl/pthread_mutexattr_getprioceiling.c
31835 (pthread_mutexattr_getprioceiling): Likewise.
31836 * nptl/pthread_mutexattr_setprioceiling.c
31837 (pthread_mutexattr_setprioceiling): Likewise.
31838 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31839 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31840 Likewise.
31841
31842 2014-11-26 Joseph Myers <joseph@codesourcery.com>
31843
31844 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31845 void.
31846
31847 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31848
31849 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31850 third argument const.
31851
31852 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
31853
31854 fnmatch: work around GCC compiler warning bug with uninit var
31855 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31856 This works around a bug with x86-64 GCC 4.9.2 and earlier
31857 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31858 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31859 used uninitialized in this function [-Wmaybe-uninitialized]".
31860
31861 2014-11-25 Joseph Myers <joseph@codesourcery.com>
31862
31863 * posix/bug-regex31.c (main): Return RES not 0.
31864
31865 2014-11-25 Anton Blanchard <anton@samba.org>
31866
31867 * sysdeps/powerpc/bits/atomic.h
31868 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31869
31870 2014-11-24 Sterling Augustine <saugustine@google.com>
31871
31872 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31873
31874 2014-11-24 Ryan Cumming <etaoins@gmail.com>
31875
31876 [BZ #17608]
31877 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31878
31879 2014-11-24 Joseph Myers <joseph@codesourcery.com>
31880
31881 [BZ #17633]
31882 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31883 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31884 variable.
31885 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31886 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31887
31888 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31889
31890 * string/strncpy.c (strncpy): Improve performance by using memset.
31891
31892 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
31893
31894 * string/strcpy.c (strcpy):
31895 Improve performance by using strlen and memcpy.
31896
31897 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
31898
31899 * string/strcoll_l.c (get_next_seq): __always_inline.
31900 * string/strcoll_l.c (do_compare): __always_inline.
31901
31902 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
31903
31904 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31905 defined.
31906 * include/mqueue.h: Likewise.
31907 * include/stdlib.h: Likewise.
31908
31909 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31910 (get_null_defines): Adjust.
31911 * sunrpc/Makefile: Adjust comment.
31912 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
31913 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
31914 (CFLAGS-interp.c): Likewise.
31915 (CFLAGS-ldconfig.c): Likewise.
31916 (CPPFLAGS-.os): Likewise.
31917 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31918 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31919 * extra-modules.mk (extra-modules.mk): Likewise.
31920 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
31921 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
31922 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
31923 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
31924 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
31925 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
31926 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
31927 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
31928 * iconvdata/Makefile (CPPFLAGS): Likewise.
31929 (cpp-srcs-left): Add libof for all iconvdata routines.
31930 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
31931 * include/assert.h: Likewise.
31932 * include/ctype.h: Likewise.
31933 * include/errno.h: Likewise.
31934 * include/libc-symbols.h: Likewise.
31935 * include/math.h: Likewise.
31936 * include/netdb.h: Likewise.
31937 * include/resolv.h: Likewise.
31938 * include/stdio.h: Likewise.
31939 * include/stdlib.h: Likewise.
31940 * include/string.h: Likewise.
31941 * include/sys/stat.h: Likewise.
31942 * include/wctype.h: Likewise.
31943 * intl/l10nflist.c: Likewise.
31944 * libidn/idn-stub.c: Likewise.
31945 * libio/libioP.h: Likewise.
31946 * nptl/libc_multiple_threads.c: Likewise.
31947 * nptl/pthreadP.h: Likewise.
31948 * posix/regex_internal.h: Likewise.
31949 * resolv/res_hconf.c: Likewise.
31950 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
31951 * sysdeps/arm/memmove.S: Likewise.
31952 * sysdeps/arm/sysdep.h: Likewise.
31953 * sysdeps/generic/_itoa.h: Likewise.
31954 * sysdeps/generic/symbol-hacks.h: Likewise.
31955 * sysdeps/gnu/errlist.awk: Likewise.
31956 * sysdeps/gnu/errlist.c: Likewise.
31957 * sysdeps/i386/i586/memcpy.S: Likewise.
31958 * sysdeps/i386/i586/memset.S: Likewise.
31959 * sysdeps/i386/i686/memcpy.S: Likewise.
31960 * sysdeps/i386/i686/memmove.S: Likewise.
31961 * sysdeps/i386/i686/mempcpy.S: Likewise.
31962 * sysdeps/i386/i686/memset.S: Likewise.
31963 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
31964 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
31965 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
31966 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
31967 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
31968 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
31969 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
31970 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
31971 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
31972 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31973 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31974 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31975 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31976 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31977 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31978 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31979 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
31980 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
31981 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
31982 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
31983 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
31984 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
31985 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
31986 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
31987 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
31988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
31989 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
31990 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
31991 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
31992 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31993 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
31994 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
31995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
31996 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
31997 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
31998 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31999 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32000 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32001 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32002 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32003 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32004 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32005 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32006 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32007 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32008 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32009 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32010 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32011 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32012 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32013 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32014 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32015 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32016 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32017 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32018 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32019 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32020 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32021 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32022 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32023 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32024 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32025 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32026 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32027 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32028 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32029 * sysdeps/posix/closedir.c: Likewise.
32030 * sysdeps/posix/opendir.c: Likewise.
32031 * sysdeps/posix/readdir.c: Likewise.
32032 * sysdeps/posix/rewinddir.c: Likewise.
32033 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32034 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32035 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32036 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32037 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32038 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32039 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32040 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32041 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32042 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32043 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32044 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32045 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32046 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32047 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32048 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32049 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32050 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32051 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32052 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32053 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32054 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32055 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32056 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32057 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32058 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32059 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32060 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32061 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32065 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32067 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32068 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32069 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32070 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32071 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32072 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32073 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32074 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32075 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32076 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32077 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32078 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32079 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32080 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32081 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32082 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32083 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32084 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32085 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32086 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32087 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32088 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32089 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32090 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32091 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32092 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32093 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32094 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32095 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32096 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32097 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32098 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32099 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32100 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32101 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32102 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32103 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32104 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32105 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32106 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32107 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32108 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32109 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32110 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32111 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32112 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32113 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32114 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32115 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32116 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32117 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32118 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32119 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32120 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32121 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32122 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32123 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32124 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32125 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32126 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32127 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32128 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32129 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32130 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32131 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32132 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32133 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32134 * sysdeps/unix/alpha/sysdep.S: Likewise.
32135 * sysdeps/unix/alpha/sysdep.h: Likewise.
32136 * sysdeps/unix/make-syscalls.sh: Likewise.
32137 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32138 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32139 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32140 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32141 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32142 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32143 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32144 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32145 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32146 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32147 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32148 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32149 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32150 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32151 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32152 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32153 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32154 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32155 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32156 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32157 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32158 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32159 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32160 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32161 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32162 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32163 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32166 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32167 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32168 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32169 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32170 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32171 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32172 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32173 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32174 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32175 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32176 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32177 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32178 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32179 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32180 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32181 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32182 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32183 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32184 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32186 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32187 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32188 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32189 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32190 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32191 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32192 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32193 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32195 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32196 * sysdeps/x86_64/memcpy.S: Likewise.
32197 * sysdeps/x86_64/memmove.c: Likewise.
32198 * sysdeps/x86_64/memset.S: Likewise.
32199 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32200 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32201 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32202 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32203 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32204 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32205 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32206 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32207 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32208 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32209 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32210 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32211 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32212 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32213 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32214 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32215 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32216 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32217 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32218 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32219 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32220 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32223 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32224 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32225 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32226 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32227 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32228 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32229 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32230 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32231 * sysdeps/x86_64/strcmp.S: Likewise.
32232
32233 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32234
32235 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32236 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32237 * elf/rtld-Rules: Likewise.
32238 * elf/setup-vdso.h: Likewise.
32239 * include/assert.h: Likewise.
32240 * include/bits/stdlib-float.h: Likewise.
32241 * include/errno.h: Likewise.
32242 * include/sys/stat.h: Likewise.
32243 * include/unistd.h: Likewise.
32244 * sysdeps/aarch64/setjmp.S: Likewise.
32245 * sysdeps/alpha/setjmp.S: Likewise.
32246 * sysdeps/arm/__longjmp.S: Likewise.
32247 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32248 * sysdeps/arm/setjmp.S: Likewise.
32249 * sysdeps/arm/sysdep.h: Likewise.
32250 * sysdeps/generic/_itoa.h: Likewise.
32251 * sysdeps/generic/dl-sysdep.h: Likewise.
32252 * sysdeps/generic/ldsodefs.h: Likewise.
32253 * sysdeps/i386/dl-tls.h: Likewise.
32254 * sysdeps/i386/setjmp.S: Likewise.
32255 * sysdeps/m68k/setjmp.c: Likewise.
32256 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32257 * sysdeps/mach/hurd/opendir.c: Likewise.
32258 * sysdeps/posix/getcwd.c: Likewise.
32259 * sysdeps/posix/opendir.c: Likewise.
32260 * sysdeps/posix/profil.c: Likewise.
32261 * sysdeps/powerpc/dl-procinfo.h: Likewise.
32262 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32263 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32264 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32265 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32266 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32267 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32268 * sysdeps/s390/dl-tls.h: Likewise.
32269 * sysdeps/s390/s390-32/setjmp.S: Likewise.
32270 * sysdeps/s390/s390-64/setjmp.S: Likewise.
32271 * sysdeps/sh/sh3/setjmp.S: Likewise.
32272 * sysdeps/sh/sh4/setjmp.S: Likewise.
32273 * sysdeps/unix/alpha/sysdep.h: Likewise.
32274 * sysdeps/unix/arm/sysdep.S: Likewise.
32275 * sysdeps/unix/i386/sysdep.S: Likewise.
32276 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32277 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32278 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32279 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32280 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32281 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32282 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32283 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32284 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32285 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32286 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32287 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32288 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32291 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32294 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32295 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32296 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32297 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32299 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32300 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32301 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32303 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32304 * sysdeps/x86_64/setjmp.S: Likewise.
32305
32306 * include/math.h: Use IS_IN instead of IS_IN_libm.
32307 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32308 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32309 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32310 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32311 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32312 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32313 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32314 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32315 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32316 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32317 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32318 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32319 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32320 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32321 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32322 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32323 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32324 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32325 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32326 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32327 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32328 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32329 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32330 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32331 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32332 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32333 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32334 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32335 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32336 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32337 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32338 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32339 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32341 Likewise.
32342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32343 Likewise.
32344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32345 Likewise.
32346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32347 Likewise.
32348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32349 Likewise.
32350 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32351 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32352 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32353 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32354 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32355 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32361 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32362 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32363 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32364 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32365 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32366 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32367 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32368 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32369 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32370 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32371 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32372 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32373 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32374 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32376 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32377
32378 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32379 * nptl/pthreadP.h: Likewise.
32380 * nptl_db/structs.def: Likewise.
32381 * sysdeps/arm/sysdep.h: Likewise.
32382 * sysdeps/nptl/bits/libc-lock.h: Likewise.
32383 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32384 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32385 * sysdeps/unix/alpha/sysdep.h: Likewise.
32386 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32387 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32388 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32389 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32390 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32391 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32392 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32393 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32394 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32395 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32396 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32397 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32398 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32399 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32402 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32403 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32404 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32407 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32408 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32409 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32410 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32411 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32412
32413 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32414 * nptl/pthreadP.h: Likewise.
32415 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32416 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32417 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32418 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32419 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32420 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32421 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32422 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32423 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32424 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32425 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32426 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32428 Likewise.
32429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32430 Likewise.
32431 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32432 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32433 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32434 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32435 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32436 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32437 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32438 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32439
32440 * dlfcn/dladdr.c: Use IS_IN.
32441 * dlfcn/dladdr1.c: Likewise.
32442 * dlfcn/dlclose.c: Likewise.
32443 * dlfcn/dlerror.c: Likewise.
32444 * dlfcn/dlinfo.c: Likewise.
32445 * dlfcn/dlmopen.c: Likewise.
32446 * dlfcn/dlopen.c: Likewise.
32447 * dlfcn/dlsym.c: Likewise.
32448 * dlfcn/dlvsym.c: Likewise.
32449
32450 * include/ifaddrs.h: Use IS_IN.
32451 * inet/check_pf.c: Likewise.
32452 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32453 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32454
32455 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32456 IS_IN_ldconfig.
32457 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32458 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32459
32460 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32461 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32462 IS_IN (libc).
32463
32464 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32465
32466 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32467 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32468 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32469 * include/libc-symbols.h (IS_IN_LIB): New macro.
32470 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32471 * include/netdb.h: Likewise.
32472 * include/stap-probe.h: Remove all uses of IN_LIB.
32473
32474 * Makeconfig (module-cppflags-real): Define MODULE_NAME
32475 instead of IN_MODULE.
32476 * include/libc-symbols.h (IN_MODULE): Define using
32477 MODULE_NAME.
32478 (PASTE_NAME, PASTE_NAME1): New macros.
32479 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32480 of IN_LIB.
32481 (STAP_PROBE_ASM): Likewise.
32482
32483 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
32484
32485 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32486 __mach_init in dlopened libc.
32487
32488 2014-11-22 Mike Frysinger <vapier@gentoo.org>
32489
32490 * sysdeps/arm/preconfigure.ac: Delete EABI check.
32491 * sysdeps/arm/preconfigure: Regenerate.
32492
32493 2014-11-21 Roland McGrath <roland@hack.frob.com>
32494
32495 * nptl/pthread_create.c (__pthread_create_2_1): Set
32496 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32497 when copying values from IATTR into PD.
32498
32499 2014-11-21 Will Newton <will.newton@linaro.org>
32500 Andrew Pinski <andrew.pinski@caviumnetworks.com>
32501
32502 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32503 Refactor inline-asm. Also add comment.
32504
32505 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32506 ElfW macro instead of hardcoded Elf64 types.
32507 (la_aarch64_gnu_pltenter): Likewise.
32508 * sysdeps/aarch64/dl-machine.h
32509 (elf_machine_runtime_setup): Use ElfW(Addr).
32510
32511 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32512 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32513 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32514 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32515 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32516 (R_AARCH64_TLS_DTPMOD64): Rename to ..
32517 (R_AARCH64_TLS_DTPMOD): This.
32518 (R_AARCH64_TLS_DTPREL64): Rename to ...
32519 (R_AARCH64_TLS_DTPREL): This.
32520 (R_AARCH64_TLS_TPREL64): Rename to ...
32521 (R_AARCH64_TLS_TPREL): This.
32522 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32523 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32524 R_AARCH64_TLS_TPREL64.
32525 (elf_machine_rela): Likewise.
32526
32527 2014-11-21 Torvald Riegel <triegel@redhat.com>
32528
32529 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32530 by setting it to 0. 64b atomics are not supported currently.
32531
32532 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32533
32534 [BZ #16469]
32535 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32536 search domain names.
32537
32538 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32539
32540 [BZ #16469]
32541 * NEWS: Update.
32542 * resolv/res_query.c (__libc_res_nquerydomain): Retain
32543 trailing dot.
32544 * posix/tst-getaddrinfo5.c: New.
32545 * posix/Makefile (tests): Add it.
32546
32547 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32548
32549 [BZ #14498]
32550 * NEWS: Fixed.
32551 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32552 after parsing line but before break_if_match.
32553 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32554 if there is a protocol mismatch.
32555
32556 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32557
32558 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32559 because the potential race is on the user-supplied stream.
32560
32561 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32562
32563 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32564 string literal if not passed a buffer.
32565 * manual/job.texi (ctermid): Update reasoning, note deviation
32566 from posix, suggest mtasurace when not passed a buffer, for
32567 future non-preliminary safety notes.
32568
32569 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32570
32571 * manual/users.texi (cuserid): Fix MT-Safety note for the case
32572 of not passing it a buffer.
32573 Reported by Peng Haitao.
32574
32575 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
32576
32577 * manual/Makefile ($(objpfx)stamp-summary): Require
32578 check-safety.sh to pass.
32579 * manual/check-safety.sh: Wish for verification that every
32580 @deftypefn and @deftypefun is followed by a @safety remark.
32581
32582 2014-11-20 Roland McGrath <roland@hack.frob.com>
32583
32584 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32585
32586 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32587 PTHREAD_CANCEL_ASYNCHRONOUS.
32588 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32589 send SIGCANCEL.
32590
32591 * nptl/default-sched.h: New file.
32592 * sysdeps/unix/sysv/linux/default-sched.h: New file.
32593 * nptl/pthread_create.c: Include it.
32594 (__pthread_create_2_1): Use collect_default_sched instead of making
32595 Linux syscalls here directly.
32596
32597 2014-11-20 Torvald Riegel <triegel@redhat.com>
32598
32599 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32600 __pthread_once): Use C11 atomics.
32601
32602 2014-11-20 Torvald Riegel <triegel@redhat.com>
32603
32604 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32605
32606 2014-11-20 Torvald Riegel <triegel@redhat.com>
32607
32608 * include/atomic.h (__atomic_link_error, __atomic_check_size,
32609 atomic_thread_fence_acquire, atomic_thread_fence_release,
32610 atomic_thread_fence_seq_cst, atomic_load_relaxed,
32611 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32612 atomic_compare_exchange_weak_relaxed,
32613 atomic_compare_exchange_weak_acquire,
32614 atomic_compare_exchange_weak_release,
32615 atomic_exchange_acquire, atomic_exchange_release,
32616 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32617 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32618 atomic_fetch_and_acquire,
32619 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32620
32621 2014-11-20 Torvald Riegel <triegel@redhat.com>
32622
32623 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32624 USE_ATOMIC_COMPILER_BUILTINS): Define.
32625 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32626 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32627 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32628 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32629 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32630 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32631 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32632 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32633 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32634 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32635 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32636 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32637 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32638 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32639 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32640 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32641 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32642 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32643 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32644 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32645 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32646 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32647 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32648 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32649 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32650 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32651 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32652 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32653 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32654 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32655 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32656 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32657 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32658 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32659 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32660 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32661 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32662 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32663 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32664 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32665
32666 2014-11-19 Roland McGrath <roland@hack.frob.com>
32667
32668 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32669 the sched_priority value here. It was already checked when the user
32670 called pthread_attr_setschedparam.
32671
32672 * nptl/tst-bad-schedattr.c: New file.
32673 * nptl/Makefile (tests): Add it.
32674
32675 2014-11-19 Carlos O'Donell <carlos@redhat.com>
32676 Florian Weimer <fweimer@redhat.com>
32677 Joseph Myers <joseph@codesourcery.com>
32678 Adam Conrad <adconrad@0c3.net>
32679 Andreas Schwab <schwab@suse.de>
32680 Brooks <bmoses@google.com>
32681
32682 [BZ #17625]
32683 * wordexp-test.c (__dso_handle): Add prototype.
32684 (__register_atfork): Likewise.
32685 (__app_register_atfork): New function.
32686 (registered_forks): New global.
32687 (register_fork): New function.
32688 (test_case): Add 3 new tests for WRDE_CMDSUB.
32689 (main): Call __app_register_atfork.
32690 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32691 fork count is non-zero fail the test.
32692 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32693 is set.
32694 (parse_dollars): Remove check for WRDE_NOCMD.
32695 (parse_dquote): Likewise.
32696
32697 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32698
32699 * Makeconfig (built-modules): List non-library modules to be
32700 built.
32701 (module-cppflags): Include libc-modules.h for
32702 everything except shlib-versions.v.i.
32703 (CPPFLAGS): Use it.
32704 (before-compile): Add libc-modules.h.
32705 ($(common-objpfx)libc-modules.h,
32706 $(common-objpfx)libc-modules.stmp): New targets.
32707 (common-generated): Add libc-modules.h and libc-modules.stmp.
32708 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32709 * include/libc-symbols.h: Don't include libc-modules.h.
32710 * include/libc-modules.h: Remove file.
32711 * scripts/gen-libc-modules.awk: New script to generate
32712 libc-modules.h.
32713 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32714 Depend on libc-modules.stmp.
32715
32716 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32717
32718 * Makeconfig (in-module): Get value of libof set for the
32719 translation unit.
32720 (CPPFLAGS): Use $(in-module).
32721 * Makerules: Don't suffix routine names for nonlib.
32722 * include/libc-modules.h: New file.
32723 * include/libc-symbols.h: Include libc-modules.h
32724 (IS_IN): New macro to replace IS_IN_* macros.
32725 * elf/Makefile: Set libof-* for each routine.
32726 * elf/rtld-Rules: Likewise.
32727 * extra-modules.mk: Likewise.
32728 * iconv/Makefile: Likewise.
32729 * iconvdata/Makefile: Likewise.
32730 * locale/Makefile: Likewise.
32731 * malloc/Makefile: Likewise.
32732 * nss/Makefile: Likewise.
32733 * sysdeps/gnu/Makefile: Likewise.
32734 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32735 * sysdeps/unix/sysv/linux/Makefile: Likewise.
32736 * sysdeps/s390/s390-64/Makefile: Likewise.
32737 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
32738 CPPFLAGS for nscd instead of nonlib.
32739
32740 2014-11-18 Roland McGrath <roland@hack.frob.com>
32741
32742 * nptl/createthread.c: New file.
32743
32744 * nptl/createthread.c: Moved ...
32745 * sysdeps/unix/sysv/linux/createthread.c: ... here.
32746
32747 * nptl/createthread.c: Add proper top-line comment.
32748 (do_clone): Folded into ...
32749 (create_thread): ... here. Take new arguments STOPPED_START and
32750 THREAD_RAN. Always set PD->stopped_start to something here. Don't
32751 increment __nptl_threads, do event-reporting logic, do
32752 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32753 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
32754 resource cleanup if sched_setaffinity or sched_setscheduler fails,
32755 just send SIGCANCEL.
32756 * nptl/pthread_create.c: Forward-declare create_thread before
32757 including createthread.c.
32758 (start_thread): Use new macro START_THREAD_DEFN to replace defining
32759 declaration, and new macro START_THREAD_SELF to replace argument.
32760 Remove return statement.
32761 (report_thread_creation): New function.
32762 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
32763 synchronization logic, and __nptl_nthreads increment here, around
32764 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
32765 PD->parent_cancelhandling here, before create_thread. When
32766 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32767 __deallocate_stack, and ENOMEM translation here.
32768
32769 2014-11-18 Joseph Myers <joseph@codesourcery.com>
32770
32771 [BZ #17616]
32772 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32773 (mptwo): Rename to __mptwo.
32774 (__inv): Use __mptwo instead of mptwo.
32775 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32776 (mptwo): Rename to __mptwo.
32777 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32778 of mpone and __mptwo instead of mptwo.
32779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32780 instead of mpone.
32781 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32782 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32783 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32784 of mpone and __mptwo instead of mptwo.
32785 (__mpranred): Use __mpone instead of mpone.
32786 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32787 variable.
32788 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32789 (test-xfail-ISO99/math.h/linknamespace): Likewise.
32790 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32791 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32792 (test-xfail-ISO11/math.h/linknamespace): Likewise.
32793 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32794 (test-xfail-XPG3/math.h/linknamespace): Likewise.
32795 (test-xfail-XPG4/math.h/linknamespace): Likewise.
32796 (test-xfail-POSIX/math.h/linknamespace): Likewise.
32797 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32798 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32799 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32800 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32801 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32802 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32803 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32804 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32805 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32806 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32807
32808 2014-11-18 Tom de Vries <tom@codesoucery.com>
32809
32810 * manual/signal.texi (Primitives Interrupted by Signals): In section,
32811 replace BSD Handler xref with BSD Signal Handling.
32812
32813 2014-11-17 Richard Henderson <rth@redhat.com>
32814
32815 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32816 (_FP_PACK_RAW_2): Remove.
32817 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32818 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32819 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32820 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32821 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32822 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32823 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32824 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32825 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32826 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32827 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32828 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32829 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32830 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32831 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32832 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32833
32834 2014-11-14 Roland McGrath <roland@hack.frob.com>
32835
32836 * signal/signal.h [__USE_MISC]
32837 (struct sigvec): Remove type.
32838 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32839 (sigvec): Remove declaration.
32840 * sysdeps/posix/sigvec.c: Moved ...
32841 * signal/sigvec.c: ... here, replacing old file.
32842 (struct sigvec): New type, copied from old signal.h definition.
32843 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32844 (__sigvec): Convert definition to prototype.
32845 (sigvec): Replace weak_alias with compat_symbol.
32846 * signal/Versions (libc: GLIBC_2.21): New version set.
32847 * include/signal.h: Remove __sigvec declaration.
32848 * sysdeps/unix/bsd/sigvec.c: Remove file.
32849 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32850 * manual/signal.texi (BSD Handler): Remove subsection.
32851 Move siginterrupt up to ...
32852 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
32853 (Blocking in BSD): Fold subsection into its parent.
32854 * NEWS: Mention sigvec removal.
32855
32856 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32857
32858 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32859 (DLA_FMS): Make definition conditional only on [__FMA4__].
32860 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32861 definition.
32862
32863 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32864 Make definition conditional only on [PROF].
32865 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32866 definition.
32867 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32868 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32869
32870 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32871 !__GNUC__].
32872 * include/signal.h (__sigpause): Move declaration above call to
32873 libc_hidden_proto.
32874 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32875 variable.
32876 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32877 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32878
32879 2014-11-14 David S. Miller <davem@davemloft.net>
32880
32881 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32882 Define before including <string/memcpy.c> and <string/mempcpy.c>.
32883
32884 2014-11-14 Joseph Myers <joseph@codesourcery.com>
32885
32886 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32887 * configure: Regenerated.
32888 * manual/install.texi (Tools for Compilation): Document a
32889 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32890 compiler verified to work.
32891 * INSTALL: Regenerated.
32892
32893 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32894 redeclare with asm name.
32895 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32896 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32897 including <string.h>.
32898 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32899 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32900 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32901 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32902 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32903 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32904 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32905
32906 2014-11-13 Joseph Myers <joseph@codesourcery.com>
32907
32908 * stdlib/strtol.c (__strtol): Use prototype definition.
32909
32910 [BZ #17594]
32911 * stdlib/strtol.c (SYM__): New macro.
32912 (SYM__1): Likewise.
32913 (__strtol): Likewise.
32914 (strtol): Rename to __strtol and define as weak alias of
32915 __strtol. Use libc_hidden_weak.
32916
32917 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32918
32919 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
32920 Use numbered labels in inline assembly.
32921
32922 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32923
32924 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
32925 Add setjmp LIBC_PROBE.
32926 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
32927 Likewise.
32928 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
32929 Add longjmp, longjmp_target LIBC_PROBE.
32930 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
32931 Likewise.
32932
32933 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32934
32935 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32936 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
32937 to get rid of unused variable warning.
32938
32939 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
32940
32941 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
32942 Check for unwind_backtrace == NULL only in SHARED case.
32943 (__backchain_backtrace): Compile only in SHARED case.
32944 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
32945 Likewise.
32946 (__backchain_backtrace): Declare as static.
32947
32948 2014-11-12 Roland McGrath <roland@hack.frob.com>
32949
32950 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
32951 (__libc_multiple_threads_ptr): Variable moved ...
32952 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
32953
32954 2014-11-12 Joseph Myers <joseph@codesourcery.com>
32955
32956 * conform/GlibcConform.pm: New file.
32957 * conform/conformtest.pl: Use GlibcConform module.
32958 * conform/linknamespace.pl: New file.
32959 * conform/list-header-symbols.pl: Likewise.
32960 * conform/Makefile (linknamespace-symlists-base): New variable.
32961 (linknamespace-symlists-tests): Likewise.
32962 (linknamespace-header-base): Likewise.
32963 (linknamespace-header-tests): Likewise.
32964 (tests-special): Add new tests.
32965 ($(linknamespace-symlists-tests)): New rule.
32966 (linknamespace-libs): New variable.
32967 ($(objpfx)symlist-stdlibs): New rule.
32968 ($(linknamespace-header-tests)): Likewise.
32969 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
32970 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
32971 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
32972 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
32973 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
32974 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
32975 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
32976 (test-xfail-ISO/math.h/linknamespace): Likewise.
32977 (test-xfail-ISO/signal.h/linknamespace): Likewise.
32978 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
32979 (test-xfail-ISO/time.h/linknamespace): Likewise.
32980 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32981 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
32982 (test-xfail-ISO99/math.h/linknamespace): Likewise.
32983 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32984 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32985 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32986 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32987 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
32988 (test-xfail-ISO11/math.h/linknamespace): Likewise.
32989 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32990 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32991 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32992 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
32993 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
32994 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
32995 (test-xfail-XPG3/math.h/linknamespace): Likewise.
32996 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
32997 (test-xfail-XPG3/search.h/linknamespace): Likewise.
32998 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
32999 (test-xfail-XPG3/time.h/linknamespace): Likewise.
33000 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33001 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33002 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33003 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33004 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33005 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33006 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33007 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33008 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33009 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33010 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33011 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33012 (test-xfail-XPG4/search.h/linknamespace): Likewise.
33013 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33014 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33015 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33016 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33017 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33018 (test-xfail-XPG4/time.h/linknamespace): Likewise.
33019 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33020 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33021 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33022 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33023 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33024 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33025 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33026 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33027 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33028 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33029 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33030 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33031 (test-xfail-POSIX/time.h/linknamespace): Likewise.
33032 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33033 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33034 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33035 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33036 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33037 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33038 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33039 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33040 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33041 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33042 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33043 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33044 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33045 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33046 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33047 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33048 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33049 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33050 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33051 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33052 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33053 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33054 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33055 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33056 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33057 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33058 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33059 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33060 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33061 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33062 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33063 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33064 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33065 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33066 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33067 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33068 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33069 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33070 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33071 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33072 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33073 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33074 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33075 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33076 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33077 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33078 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33079 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33080 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33081 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33082 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33083 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33084 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33085 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33086 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33087 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33088 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33089 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33090 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33091 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33092 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33093 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33094 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33095 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33096 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33097 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33098 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33099 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33100 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33101 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33102 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33103 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33104 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33105 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33106 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33107 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33108 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33109 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33110 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33111 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33112 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33113 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33114 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33115 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33116 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33117 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33118 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33119 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33120 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33121 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33122 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33123 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33124 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33125 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33126 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33127 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33128 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33129 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33130
33131 [BZ #17589]
33132 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33133 of fgets_unlocked.
33134
33135 [BZ #17585]
33136 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33137 (memmem): Rename to __memmem and define as weak alias of
33138 __memmem. Use libc_hidden_weak.
33139 (__memmem): Use libc_hidden_def.
33140 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
33141 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33142 memmem.
33143
33144 [BZ #17582]
33145 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33146 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
33147 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33148 and define as weak alias of __fgets_unlocked. Use
33149 libc_hidden_weak.
33150 (__fgets_unlocked): Use libc_hidden_def.
33151 * include/stdio.h (__fgets_unlocked): Declare. Use
33152 libc_hidden_proto.
33153 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33154 __fgets_unlocked instead of fgets_unlocked.
33155 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33156 (GET_NPROCS_CONF_PARSER): Likewise.
33157 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33158 (GET_NPROCS_CONF_PARSER): Likewise.
33159
33160 [BZ #17574]
33161 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33162 weak alias of __wmemset. Use libc_hidden_weak.
33163 (__wmemset): Use libc_hidden_def.
33164 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
33165 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33166 of wmemset.
33167
33168 [BZ #17573]
33169 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33170 with asm name __mempcpy.
33171 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33172
33173 [BZ #17572]
33174 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33175 and define as weak alias of __rawmemchr.
33176 (__rawmemchr): Do not define as strong alias of rawmemchr.
33177
33178 [BZ #17571]
33179 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33180 alias of __qsort_r.
33181 (qsort): Call __qsort_r instead of qsort_r.
33182 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33183 (__qsort_r): Declare. Call libc_hidden_proto.
33184 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33185 instead of qsort_r.
33186 * nscd/gai.c (__qsort_r): Define to qsort_r.
33187 * posix/tst-rfc3484.c (__qsort_r): Likewise.
33188 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33189 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33190
33191 [BZ #17570]
33192 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33193 define as weak alias of __malloc_info.
33194
33195 [BZ #17584]
33196 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33197 as weak alias of __rewinddir. Don't use libc_hidden_def.
33198 (__rewinddir): Use libc_hidden_def.
33199 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33200 as weak alias of __rewinddir. Don't use libc_hidden_def.
33201 (__rewinddir): Use libc_hidden_def.
33202 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33203 weak alias of __rewinddir. Don't use libc_hidden_def.
33204 (__rewinddir): Use libc_hidden_def.
33205 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33206 (__rewinddir): Use libc_hidden_proto.
33207 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33208 rewinddir.
33209 (__getcwd): Use __rewinddir instead of rewinddir.
33210
33211 [BZ #17583]
33212 * libio/fileno.c (fileno): Rename to __fileno and define as weak
33213 alias of __fileno. Use libc_hidden_weak.
33214 (__fileno): Use libc_hidden_def.
33215 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33216 * libio/ftello.c (ftello): Rename to __ftello and define as weak
33217 alias of __ftello.
33218 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33219 __ftello.
33220 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33221 (__fread_unlocked): Define as strong alias of _IO_fread. Use
33222 libc_hidden_def.
33223 (fread_unlocked): Don't use libc_hidden_ver.
33224 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33225 and define as weak alias of __fread_unlocked. Don't use
33226 libc_hidden_def.
33227 (__fread_unlocked): Use libc_hidden_def.
33228 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
33229 (ftello): Don't use libc_hidden_proto.
33230 (__ftello): Declare. Use libc_hidden_proto.
33231 (fread_unlocked): Don't use libc_hidden_proto.
33232 (__fread_unlocked): Declare. Use libc_hidden_proto.
33233 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33234 and __ftello instead of fileno, fread_unlocked and ftello.
33235
33236 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33237
33238 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33239 GOT12.
33240 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33241 Likewise.
33242 (_dl_start_user): Likewise.
33243 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33244
33245 2014-11-12 Carlos O'Donell <carlos@redhat.com>
33246 Siddhesh Poyarekar <siddhesh@redhat.com>
33247
33248 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33249 Move argv and envp down instead of moving argc up.
33250 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33251
33252 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
33253
33254 [BZ #17506]
33255 * test-skeleton.c (main): Return successful if one of
33256 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33257 * string/tst-strcoll-overflow.c: Define expected status.
33258
33259 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
33260
33261 [BZ #17475]
33262 * locale/iso-639.def: Define Bhili and Tulu language codes.
33263
33264 2014-11-11 Alan Hayward <alan.hayward@arm.com>
33265
33266 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33267
33268 2014-11-10 Renlin Li <Renlin.Li@arm.com>
33269
33270 [BZ #17555]
33271 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33272
33273 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
33274
33275 * configure.ac: Updated check of minimal required version to
33276 2.22.
33277 * manual/install.texi (Tools for Compilation): Updated version
33278 number.
33279 * configure: Regenerated.
33280 * INSTALL: Likewise.
33281
33282 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
33283
33284 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33285 __tls_get_addr.
33286
33287 2014-11-07 Joseph Myers <joseph@codesourcery.com>
33288
33289 * include/sys/wait.h (__libc_waitpid): Remove declaration.
33290 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33291 (__waitpid): Don't define as alias. Use libc_hidden_def not
33292 libc_hidden_weak.
33293 (waitpid): Define as alias of __waitpid.
33294 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33295 __waitpid.
33296 (__waitpid): Don't define as alias. Use libc_hidden_def not
33297 libc_hidden_weak.
33298 (waitpid): Define as alias of __waitpid.
33299 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33300 __libc_waitpid alias.
33301 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33302 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33303 Likewise.
33304 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33305 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33306 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33307 alias.
33308 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33309 __waitpid.
33310 (__waitpid): Don't define as alias. Use libc_hidden_def not
33311 libc_hidden_weak.
33312 (waitpid): Define as alias of __waitpid.
33313
33314 2014-11-06 Carlos O'Donell <carlos@redhat.com>
33315
33316 * manual/llio.texi: Add comment that write safety has been
33317 fixed in Linux.
33318
33319 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33320 (localplt-build-dso): Add elf/ld.so.
33321 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33322 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33323 and free for ld.so.
33324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33325 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33327 Likewise.
33328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33329 Likewise.
33330 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33331 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33332 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33333 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33334 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33335 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33336 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33337 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33338 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33339 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33340 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33341
33342 2014-11-05 Joseph Myers <joseph@codesourcery.com>
33343
33344 [BZ #14132]
33345 * include/libc-symbols.h (INTUSE): Remove macro.
33346 (INTDEF): Likewise.
33347 (INTVARDEF): Likewise.
33348 (_INTVARDEF): Likewise.
33349 (INTDEF2): Likewise.
33350 (INTVARDEF2): Likewise.
33351 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33352 rtld_hidden_def instead of INTVARDEF.
33353 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33354 (_dl_starting_up_internal): Remove declaration.
33355 (_dl_starting_up): Use rtld_hidden_proto.
33356 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33357 declaration.
33358 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33359 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33360 _dl_starting_up.
33361 * elf/dl-writev.h (_dl_writev): Likewise.
33362 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33363 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33364 _dl_starting_up_internal.
33365
33366 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33367
33368 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33369 test-skeleton.c.
33370
33371 2014-11-05 Will Newton <will.newton@linaro.org>
33372
33373 * benchtests/Makefile: (bench-malloc): Add malloc thread
33374 scalability benchmark.
33375 * benchtests/bench-malloc-threads.c: New file.
33376
33377 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
33378
33379 * sysdeps/aarch64/strchrnul.S: New file.
33380
33381 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33382
33383 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33384 definition.
33385 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33386 Likewise.
33387 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33388 Likewise.
33389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33390 Likewise.
33391 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33392 Likewise.
33393 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33394 Likewise.
33395
33396 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
33397
33398 * catgets/test-gencat.c: Use test-skeleton.c.
33399 * catgets/tst-catgets.c: Likewise.
33400 * csu/tst-empty.c: Likewise.
33401 * elf/tst-audit2.c: Likewise.
33402 * elf/tst-global1.c: Likewise.
33403 * elf/tst-pathopt.c: Likewise.
33404 * elf/tst-piemod1.c: Likewise.
33405 * elf/tst-tls10.c: Likewise.
33406 * elf/tst-tls11.c: Likewise.
33407 * elf/tst-tls12.c: Likewise.
33408 * gnulib/tst-gcc.c: Likewise.
33409 * iconvdata/tst-e2big.c: Likewise.
33410 * iconvdata/tst-loading.c: Likewise.
33411 * iconv/tst-iconv1.c: Likewise.
33412 * iconv/tst-iconv2.c: Likewise.
33413 * inet/test-inet6_opt.c: Likewise.
33414 * inet/tst-gethnm.c: Likewise.
33415 * inet/tst-network.c: Likewise.
33416 * inet/tst-ntoa.c: Likewise.
33417 * intl/tst-codeset.c: Likewise.
33418 * intl/tst-gettext2.c: Likewise.
33419 * intl/tst-gettext3.c: Likewise.
33420 * intl/tst-ngettext.c: Likewise.
33421 * intl/tst-translit.c: Likewise.
33422 * io/test-stat.c: Likewise.
33423 * libio/test-fmemopen.c: Likewise.
33424 * libio/tst-freopen.c: Likewise.
33425 * libio/tst-sscanf.c: Likewise.
33426 * libio/tst-ungetwc1.c: Likewise.
33427 * libio/tst-ungetwc2.c: Likewise.
33428 * libio/tst-widetext.c: Likewise.
33429 * localedata/tst-ctype.c: Likewise.
33430 * localedata/tst-digits.c: Likewise.
33431 * localedata/tst-leaks.c: Likewise.
33432 * localedata/tst-mbswcs1.c: Likewise.
33433 * localedata/tst-mbswcs2.c: Likewise.
33434 * localedata/tst-mbswcs3.c: Likewise.
33435 * localedata/tst-mbswcs4.c: Likewise.
33436 * localedata/tst-mbswcs5.c: Likewise.
33437 * localedata/tst-setlocale.c: Likewise.
33438 * localedata/tst-trans.c: Likewise.
33439 * localedata/tst-wctype.c: Likewise.
33440 * localedata/tst-xlocale1.c: Likewise.
33441 * login/tst-grantpt.c: Likewise.
33442 * malloc/tst-calloc.c: Likewise.
33443 * malloc/tst-malloc.c: Likewise.
33444 * malloc/tst-mallocstate.c: Likewise.
33445 * malloc/tst-mcheck.c: Likewise.
33446 * malloc/tst-mtrace.c: Likewise.
33447 * malloc/tst-obstack.c: Likewise.
33448 * math/atest-exp2.c: Likewise.
33449 * math/atest-exp.c: Likewise.
33450 * math/atest-sincos.c: Likewise.
33451 * math/test-matherr.c: Likewise.
33452 * math/test-misc.c: Likewise.
33453 * math/test-powl.c: Likewise.
33454 * math/tst-definitions.c: Likewise.
33455 * misc/tst-dirname.c: Likewise.
33456 * misc/tst-efgcvt.c: Likewise.
33457 * misc/tst-fdset.c: Likewise.
33458 * misc/tst-hsearch.c: Likewise.
33459 * misc/tst-mntent2.c: Likewise.
33460 * nptl/tst-sem7.c: Likewise.
33461 * nptl/tst-sem8.c: Likewise.
33462 * nptl/tst-sem9.c: Likewise.
33463 * nss/test-netdb.c: Likewise.
33464 * posix/tst-fnmatch.c: Likewise.
33465 * posix/tst-getlogin.c: Likewise.
33466 * posix/tst-gnuglob.c: Likewise.
33467 * posix/tst-mmap.c: Likewise.
33468 * pwd/tst-getpw.c: Likewise.
33469 * resolv/tst-inet_ntop.c: Likewise.
33470 * rt/tst-timer.c: Likewise.
33471 * stdio-common/test-fseek.c: Likewise.
33472 * stdio-common/test-popen.c: Likewise.
33473 * stdio-common/test-vfprintf.c: Likewise.
33474 * stdio-common/tst-cookie.c: Likewise.
33475 * stdio-common/tst-fileno.c: Likewise.
33476 * stdio-common/tst-gets.c: Likewise.
33477 * stdio-common/tst-obprintf.c: Likewise.
33478 * stdio-common/tst-perror.c: Likewise.
33479 * stdio-common/tst-sprintf2.c: Likewise.
33480 * stdio-common/tst-sprintf3.c: Likewise.
33481 * stdio-common/tst-sprintf.c: Likewise.
33482 * stdio-common/tst-swprintf.c: Likewise.
33483 * stdio-common/tst-tmpnam.c: Likewise.
33484 * stdio-common/tst-unbputc.c: Likewise.
33485 * stdio-common/tst-wc-printf.c: Likewise.
33486 * stdlib/tst-environ.c: Likewise.
33487 * stdlib/tst-fmtmsg.c: Likewise.
33488 * stdlib/tst-limits.c: Likewise.
33489 * stdlib/tst-rand48-2.c: Likewise.
33490 * stdlib/tst-rand48.c: Likewise.
33491 * stdlib/tst-random2.c: Likewise.
33492 * stdlib/tst-random.c: Likewise.
33493 * stdlib/tst-strtol.c: Likewise.
33494 * stdlib/tst-strtoll.c: Likewise.
33495 * stdlib/tst-tls-atexit.c: Likewise.
33496 * stdlib/tst-xpg-basename.c: Likewise.
33497 * string/test-ffs.c: Likewise.
33498 * string/tst-bswap.c: Likewise.
33499 * string/tst-inlcall.c: Likewise.
33500 * string/tst-strtok.c: Likewise.
33501 * string/tst-strxfrm.c: Likewise.
33502 * sysdeps/x86_64/tst-audit10.c: Likewise.
33503 * sysdeps/x86_64/tst-audit3.c: Likewise.
33504 * sysdeps/x86_64/tst-audit4.c: Likewise.
33505 * sysdeps/x86_64/tst-audit5.c: Likewise.
33506 * time/tst-ftime_l.c: Likewise.
33507 * time/tst-getdate.c: Likewise.
33508 * time/tst-mktime3.c: Likewise.
33509 * time/tst-mktime.c: Likewise.
33510 * time/tst-posixtz.c: Likewise.
33511 * time/tst-strptime2.c: Likewise.
33512 * time/tst-strptime3.c: Likewise.
33513 * wcsmbs/tst-btowc.c: Likewise.
33514 * wcsmbs/tst-mbrtowc.c: Likewise.
33515 * wcsmbs/tst-mbsrtowcs.c: Likewise.
33516 * wcsmbs/tst-wchar-h.c: Likewise.
33517 * wcsmbs/tst-wcpncpy.c: Likewise.
33518 * wcsmbs/tst-wcrtomb.c: Likewise.
33519 * wcsmbs/tst-wcsnlen.c: Likewise.
33520 * wcsmbs/tst-wcstof.c: Likewise.
33521
33522 2014-11-04 Joseph Myers <joseph@codesourcery.com>
33523
33524 [BZ #14132]
33525 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33526 INTDEF.
33527 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33528 declaration.
33529 (_dl_mcount): Use rtld_hidden_proto.
33530 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33531 _dl_mcount.
33532 * elf/rtld.c (_rtld_global_ro): Likewise.
33533
33534 [BZ #14132]
33535 * elf/dl-init.c (_dl_init): Don't use INTDEF.
33536 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33537 of _dl_init_internal.
33538 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33539 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33540 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33541 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33542 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33543 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33544 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33545 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33546 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33547 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33548 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33549 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33550 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33551 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33552 * sysdeps/tile/dl-start.S (_start): Likewise.
33553 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33554 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33555
33556 [BZ #14132]
33557 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33558 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33559 (rtld_progname): Make macro definition unconditional.
33560 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33561 INTDEF.
33562 (dlmopen_doit): Do not use INTUSE with _dl_argv.
33563 (dl_main): Likewise.
33564 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33565 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33566 instead of _dl_argv_internal.
33567 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33568 __GI__dl_argv instead of INTUSE(_dl_argv).
33569 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33570 __GI__dl_argv instead of _dl_argv_internal.
33571
33572 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33573 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33574 macro.
33575 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33576 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33577 New macro.
33578 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33579 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33580 macro.
33581 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33582 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33583
33584 2014-11-04 Andreas Schwab <schwab@suse.de>
33585
33586 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33587
33588 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33589
33590 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33591 mtvsrd instruction in binary form.
33592
33593 2014-11-03 Andreas Schwab <schwab@suse.de>
33594
33595 [BZ #17522]
33596 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33597 for less than MB_LEN_MAX use a local buffer of that size.
33598 * libio/tst-fputws.c: New file.
33599 * libio/Makefile (tests): Add tst-fputws.
33600
33601 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
33602
33603 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33604 the size of the fpu_fr.fpu_dregs[] array.
33605
33606 2014-11-01 Joseph Myers <joseph@codesourcery.com>
33607
33608 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33609 (__nanosleep): Do not define as alias.
33610 (nanosleep): Define as alias of __nanosleep.
33611 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33612 __libc_nanosleep name.
33613
33614 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33615
33616 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33617 install.texi in comment.
33618
33619 2014-10-31 Torvald Riegel <triegel@redhat.com>
33620
33621 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33622 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33623 ... add here and use lwsync or sync ...
33624 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33625 ... and add here using lwsync.
33626
33627 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
33628
33629 * elf/dl-machine-reject-phdr.h: New file.
33630 * elf/dl-load.c: #include that.
33631 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33632 if that returned true.
33633
33634 2014-10-31 Roland McGrath <roland@hack.frob.com>
33635
33636 [BZ #17496]
33637 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33638 gen-as-const-headers chunk. Add a big scare comment after the last
33639 safe place to touch before-compile.
33640
33641 2014-10-31 Joseph Myers <joseph@codesourcery.com>
33642
33643 * manual/install.texi (Tools for Compilation): Update autoconf
33644 version requirements.
33645 * INSTALL: Regenerated.
33646
33647 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33648 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33649 (__libc_pselect): Likewise.
33650
33651 [BZ #14138]
33652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33656
33657 2014-10-31 Torvald Riegel <triegel@redhat.com>
33658
33659 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33660 correct barrier instruction.
33661 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33662 Likewise.
33663 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33664 Likewise.
33665
33666 2014-10-30 Roland McGrath <roland@hack.frob.com>
33667
33668 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33669 after defining inlines. Instead, just use parens to defeat macro
33670 expansion of __isctype in its declaration.
33671
33672 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33673
33674 * include/sys/uio.h (__libc_readv): Remove declaration.
33675 (__libc_writev): Likewise.
33676 * misc/readv.c (__libc_readv): Rename to __readv.
33677 (__readv): Do not define as alias.
33678 (readv): Define as alias of __readv.
33679 * misc/writev.c (__libc_writev): Rename to __writev.
33680 (__writev): Do not define as alias.
33681 (writev): Define as alias of __writev.
33682 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33683 (__readv): Do not define as alias.
33684 (readv): Define unconditionally as alias of __readv.
33685 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33686 (__writev): Do not define as alias.
33687 (writev): Define unconditionally as alias of __writev.
33688 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33689 name.
33690 (writev): Do not define __libc_writev name.
33691
33692 2014-10-30 Roland McGrath <roland@hack.frob.com>
33693
33694 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33695 (convert_charseq): New function, broken out of ...
33696 (use_from_charmap): ... here. Call it.
33697 (use_to_charmap): Use convert_charseq and free instead of duplicating
33698 its code with a variable-length stack struct.
33699
33700 2014-10-30 Joseph Myers <joseph@codesourcery.com>
33701
33702 * include/fcntl.h (__libc_creat): Remove declaration.
33703 * io/creat.c (__libc_creat): Rename to creat.
33704 (creat): Do not define as alias.
33705 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33706 of creat instead of __libc_creat.
33707 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33708 to creat.
33709 (creat): Do not define as alias.
33710 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33711 __libc_creat.
33712 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33713 __libc_creat name.
33714 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33715 Likewise.
33716
33717 2014-10-29 Carlos O'Donell <carlos@redhat.com>
33718
33719 * manual/llio.texi: Add comments discussing why write() may be
33720 considered MT-unsafe on Linux.
33721
33722 2014-10-28 Carlos O'Donell <carlos@redhat.com>
33723
33724 * dl-load.c (local_strdup): Remove.
33725 (expand_dynamic_string_token): Use __strdup.
33726 (decompose_rpath): Likewise.
33727 (_dl_map_object): Likewise.
33728
33729 2014-10-28 Joseph Myers <joseph@codesourcery.com>
33730
33731 [BZ #14132]
33732 * sysdeps/generic/unwind-dw2-fde.c
33733 (__register_frame_info_bases_internal): Do not declare.
33734 (__register_frame_info_table_bases_internal): Likewise.
33735 (__deregister_frame_info_bases_internal): Likewise.
33736 (__register_frame_info_bases): Declare and use hidden_proto before
33737 definition. Use hidden_def instead of INTDEF.
33738 (__register_frame_info_table_bases): Likewise.
33739 (__deregister_frame_info_bases): Likewise.
33740 (__register_frame_info): Do not use INTUSE.
33741 (__register_frame): Likewise.
33742 (__register_frame_info_table): Likewise.
33743 (__register_frame_table): Likewise.
33744 (__deregister_frame_info): Likewise.
33745 (__deregister_frame): Likewise.
33746
33747 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
33748
33749 * sysdeps/unix/sysv/linux/arm/kernel-features.h
33750 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33751 not undefine.
33752 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33753 Likewise.
33754 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33755 Likewise.
33756
33757 2014-10-27 Joseph Myers <joseph@codesourcery.com>
33758
33759 [BZ #14138]
33760 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33761 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33762 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33763 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33764 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33765 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33766 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33767 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33768 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33769 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33770 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33771 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33772 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33773 syscall.
33774 (setfsuid): Likewise.
33775 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33776 (setfsuid): Likewise.
33777 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33778 (setfsuid): Likewise.
33779 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33780 Likewise.
33781 (setfsuid): Likewise.
33782 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33783 (setfsuid): Likewise.
33784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33785 Likewise.
33786 (setfsuid): Likewise.
33787
33788 2014-10-27 Andreas Schwab <schwab@suse.de>
33789
33790 [BZ #17501]
33791 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33792 check for Slow_SSE4_2 feature bit.
33793 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33794 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33795 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33796 Likewise. Fix check for Fast_Unaligned_Load feature bit.
33797
33798 2014-10-24 Roland McGrath <roland@hack.frob.com>
33799
33800 * configure.ac: Validate compiler version with a empirical test of
33801 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33802 $CC -v output.
33803 * configure: Regenerated.
33804
33805 * inet/htons.c (htons): Prototypify.
33806 * inet/htonl.c (htonl): Likewise.
33807
33808 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33809
33810 * string/strncat.c (strncat): Improve performance by using strlen.
33811
33812 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33813
33814 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33815
33816 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33817
33818 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33819 Call libc_fetestexcept_aarch64.
33820
33821 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33822
33823 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33824 Call libc_feholdexcept_aarch64.
33825
33826 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33827
33828 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33829 Call get_rounding_mode.
33830
33831 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33832
33833 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33834 Simplify logic.
33835
33836 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
33837
33838 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33839 Simplify logic.
33840
33841 2014-10-24 Joseph Myers <joseph@codesourcery.com>
33842
33843 [BZ #14138]
33844 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33845 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33846 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33847 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33848 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33849 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33850 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33851 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33852 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33853 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33854 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33855 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33856 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33857 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33858 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33859 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33860 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33861 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33862 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33863 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33864 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33865 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33866 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33867 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33868 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33869 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33870 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33871 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33872 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33873 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33874 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33875 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33876 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33877 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33878 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33879 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33880 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33881 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33882 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33883 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33884 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33885 syscall.
33886 (geteuid): Likewise.
33887 (getgid): Likewise.
33888 (getuid): Likewise.
33889 (getresgid): Likewise.
33890 (getresuid): Likewise.
33891 (getgroups): Likewise.
33892 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33893 (geteuid): Likewise.
33894 (getgid): Likewise.
33895 (getuid): Likewise.
33896 (getresgid): Likewise.
33897 (getresuid): Likewise.
33898 (getgroups): Likewise.
33899 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33900 (geteuid): Likewise.
33901 (getgid): Likewise.
33902 (getuid): Likewise.
33903 (getresgid): Likewise.
33904 (getresuid): Likewise.
33905 (getgroups): Likewise.
33906 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33907 Likewise.
33908 (geteuid): Likewise.
33909 (getgid): Likewise.
33910 (getuid): Likewise.
33911 (getresgid): Likewise.
33912 (getresuid): Likewise.
33913 (getgroups): Likewise.
33914 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
33915 (geteuid): Likewise.
33916 (getgid): Likewise.
33917 (getuid): Likewise.
33918 (getresgid): Likewise.
33919 (getresuid): Likewise.
33920 (getgroups): Likewise.
33921 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
33922 Likewise.
33923 (geteuid): Likewise.
33924 (getgid): Likewise.
33925 (getuid): Likewise.
33926 (getgroups): Likewise.
33927
33928 [BZ #14138]
33929 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
33930 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
33931 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
33932 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33933 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
33934 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
33935 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
33936 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
33937 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
33938 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
33939 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
33940 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
33941 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
33942 __chown.
33943 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
33944 (lchown): Likewise.
33945 (fchown): Likewise.
33946 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
33947 Likewise.
33948 (lchown): Likewise.
33949 (fchown): Likewise.
33950 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
33951 (lchown): Likewise.
33952 (fchown): Likewise.
33953 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
33954 Likewise.
33955 (lchown): Likewise.
33956 (fchown): Likewise.
33957
33958 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33959
33960 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
33961 Simplify logic.
33962
33963 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33964
33965 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33966 Cleanup logic.
33967
33968 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33969
33970 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
33971 Remove unused include.
33972
33973 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
33974
33975 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
33976 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
33977 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
33978 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
33979
33980 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
33981 Helge Deller <deller@gmx.de>
33982
33983 [BZ #17508]
33984 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
33985 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
33986 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
33987
33988 2014-10-23 Joseph Myers <joseph@codesourcery.com>
33989
33990 [BZ #14132]
33991 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
33992 Remove macro definition.
33993 (__ashrdi3_v_glibc20): Likewise.
33994 (__lshrdi3_v_glibc20): Likewise.
33995 (__cmpdi2_v_glibc20): Likewise.
33996 (__ucmpdi2_v_glibc20): Likewise.
33997 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
33998 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
33999 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34000 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34001 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34002 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34003
34004 2014-10-22 Roland McGrath <roland@hack.frob.com>
34005
34006 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34007 old GNU extension [0] syntax.
34008 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34009 alloca rather than an array member with variable length.
34010 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34011 * nscd/nscd.c (invalidate_db): New function, broken out of ...
34012 (parse_opt): ... here. Likewise use alloca there.
34013 Validate the -i argument before checking for rootness.
34014 (send_shutdown): New function, broken out of ...
34015 (parse_opt): ... here.
34016
34017 2014-10-22 Roland McGrath <roland@hack.frob.com>
34018
34019 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34020 macro to get at the _rt_local_ro field.
34021 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34022 ([PIC] case) or _dl_hwcap ([!PIC] case).
34023 * sysdeps/arm/setjmp.S: Likewise.
34024
34025 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34026 * sysdeps/arm/configure.ac: New check to define it.
34027 * sysdeps/arm/configure: Regenerated.
34028 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34029 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34030 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34031 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34032 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34033 Use move/movt pair instead of a load.
34034 (LDST_GLOBAL): Macro removed.
34035 (LDR_GLOBAL): New macro replaces it.
34036 (LDR_HIDDEN): New macro.
34037 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34038 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34039
34040 * setjmp/tst-setjmp-static.c: New file.
34041 * setjmp/Makefile (tests): Add it.
34042 (tests-static): New variable.
34043
34044 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
34045
34046 [BZ #17485]
34047 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34048
34049 2014-10-21 Joseph Myers <joseph@codesourcery.com>
34050
34051 [BZ #14132]
34052 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34053
34054 2014-10-21 Roland McGrath <roland@hack.frob.com>
34055
34056 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34057
34058 2014-10-20 Roland McGrath <roland@hack.frob.com>
34059
34060 * io/fts.c (dirent_not_directory): New function.
34061 (fts_build): Call it.
34062
34063 2014-10-20 Roland McGrath <roland@hack.frob.com>
34064
34065 * nptl/version.c (__nptl_main): Use normal __write rather than
34066 INTERNAL_SYSCALL.
34067 (banner): Update copyright years.
34068
34069 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34070 gettimeofday.
34071 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34072 * nptl/pthread_cond_timedwait.c: Likewise.
34073 * nptl/pthread_mutex_timedlock.c: Likewise.
34074 * nptl/sem_timedwait.c: Likewise.
34075
34076 * sysdeps/nptl/bits/libc-lock.h
34077 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34078 (__libc_lock_init_recursive): Return void, not 0.
34079 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34080 (__libc_rwlock_init): Likewise.
34081 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34082
34083 2014-10-20 Torvald Riegel <triegel@redhat.com>
34084
34085 [BZ #15215]
34086 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34087 (__pthread_once_slow): ... here.
34088 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34089 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34090
34091 2014-10-20 Torvald Riegel <triegel@redhat.com>
34092
34093 [BZ #15215]
34094 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34095 __PTHREAD_ONCE_FORK_GEN_INCR): New.
34096 * sysdeps/nptl/fork.c (__libc_fork): Use them.
34097 * nptl/pthread_once.c (__pthread_once): Likewise.
34098 Update comments.
34099
34100 2014-10-20 Joseph Myers <joseph@codesourcery.com>
34101
34102 [BZ #14138]
34103 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34104 name.
34105 (writev): Use __libc_writev as strong name.
34106 * sysdeps/unix/sysv/linux/readv.c: Remove file.
34107 * sysdeps/unix/sysv/linux/writev.c: Likewise.
34108
34109 2014-10-17 Roland McGrath <roland@hack.frob.com>
34110
34111 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34112
34113 * sysdeps/i386/nptl/tls.h
34114 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34115 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34116 New macros.
34117 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34118 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34119 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34120 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34121 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34122 Call CHECK_THREAD_SYSINFO instead of doing an assert.
34123
34124 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34125 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34126 on [__NR_futex].
34127 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34128 broken out of ...
34129 (__pthread_mutex_init): ... here. Call it.
34130 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34131 Conditionalize PI cases on [__NR_futex].
34132 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34133 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34134 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34135
34136 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34137 conditional on [SIGSETXID].
34138 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34139 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34140 is defined. Likewise for SIGSETXID.
34141 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34142 Conditionalize definitions on [SIGSETXID].
34143 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34144 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34145 unblocking on [SIGCANCEL].
34146
34147 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34148 [__NR_set_robust_list].
34149
34150 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34151
34152 * string/strcoll_l.c (get_next_seq): Fix up formatting.
34153 (do_compare): Likewise.
34154
34155 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
34156
34157 [BZ #15884]
34158 * string/strcoll_l.c: Don't include stdio.h.
34159 (coll_seq): Remove members idxarr and rulearr.
34160 (get_next_seq_cached): Remove function.
34161 (get_next_seq): Likewise.
34162 (get_next_seq_nocache): Rename to get_next_seq.
34163 (do_compare): Remove function.
34164 (do_compare_nocache): Rename to do_compare.
34165 (STRCOLL): Remove weight and rules cache.
34166
34167 2014-10-16 Roland McGrath <roland@hack.frob.com>
34168
34169 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34170 * sysdeps/arm/sfp-machine.h: ... to here.
34171 * sysdeps/arm/Implies: Remove arm/soft-fp.
34172
34173 2014-10-14 Joseph Myers <joseph@codesourcery.com>
34174
34175 * conform/data/sys/utsname.h-data (*_t): Allow.
34176 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34177 [POSIX] (WEXITED): Do not expect constant.
34178 [POSIX] (WSTOPPED): Likewise.
34179 [POSIX] (WNOHANG): Likewise.
34180 [POSIX] (WNOWAIT): Likewise.
34181 [POSIX] (siginfo_t): Do not expect type or elements.
34182 [POSIX] (pid_t): Do not expect type.
34183 [POSIX] (signal.h): Do not allow header.
34184 [POSIX] (sys/resource.h): Likewise.
34185 [POSIX] (si_*): Do not allow pattern.
34186 [POSIX] (W*): Likewise.
34187 [POSIX] (P_*): Likewise.
34188 [POSIX] (BUS_*): Likewise.
34189 [POSIX] (CLD_*): Likewise.
34190 [POSIX] (FPE_*): Likewise.
34191 [POSIX] (ILL_*): Likewise.
34192 [POSIX] (POLL_*): Likewise.
34193 [POSIX] (SEGV_*): Likewise.
34194 [POSIX] (SI_*): Likewise.
34195 [POSIX] (TRAP_*): Likewise.
34196 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34197 variable.
34198
34199 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
34200
34201 [BZ #12926]
34202 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34203 infinite loop when __recvmsg returns 0.
34204
34205 2014-10-10 Joseph Myers <joseph@codesourcery.com>
34206
34207 * CANCEL-FCT-WAIVE: Remove file.
34208 * CANCEL-FILE-WAIVE: Likewise.
34209
34210 [BZ #14132]
34211 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34212 instead of INTVARDEF.
34213 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34214 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34215 rtld_hidden_data_def instead of INTVARDEF.
34216 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34217 * elf/dl-deps.c (expand_dst): Likewise.
34218 * elf/dl-load.c (_dl_dst_count): Likewise.
34219 (_dl_dst_substitute): Likewise.
34220 (decompose_rpath): Likewise.
34221 (_dl_init_paths): Likewise.
34222 (open_path): Likewise.
34223 (_dl_map_object): Likewise.
34224 * elf/rtld.c (dl_main): Likewise.
34225 (process_dl_audit): Likewise.
34226 (process_envvars): Likewise.
34227 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34228 Remove declaration.
34229 (__libc_enable_secure): Use rtld_hidden_proto.
34230
34231 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34232
34233 * elf/dl-load.c
34234 (add_path): New function broken out of _dl_rtld_di_serinfo.
34235 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
34236
34237 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34238
34239 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34240 parentheses around macro arguments.
34241 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34242 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34243 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34244 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34245 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34246 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34247 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34248 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34249 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34250 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34251 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34252 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34253 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34254 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34255 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34256 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34257 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34258 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34259 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34260 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34261 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34262 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34263 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34264 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34265 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34266 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34267 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34268 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34269 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34270 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34271 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34272 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34273 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34274 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34275 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34276 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34277 Likewise.
34278 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34279 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34280 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34281 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34282 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34283 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34284 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34285 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34286 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34287 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34288 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34289 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34290 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34291 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34292 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34293 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34294 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34295 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34296 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34297 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34298 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34299 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34300 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34301 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34302 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34303 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34304 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34305 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34306 (_FP_FRAC_SRS_1): Likewise.
34307 (_FP_FRAC_CLZ_1): Likewise.
34308 (_FP_MUL_MEAT_1_imm): Likewise.
34309 (_FP_MUL_MEAT_1_wide): Likewise.
34310 (_FP_MUL_MEAT_1_hard): Likewise.
34311 (_FP_SQRT_MEAT_1): Likewise.
34312 (_FP_FRAC_ASSEMBLE_1): Likewise.
34313 (_FP_FRAC_DISASSEMBLE_1): Likewise.
34314 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34315 (__FP_CLZ_2): Likewise.
34316 (_FP_MUL_MEAT_2_wide): Likewise.
34317 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34318 (_FP_MUL_MEAT_2_gmp): Likewise.
34319 (_FP_MUL_MEAT_2_120_240_double): Likewise.
34320 (_FP_SQRT_MEAT_2): Likewise.
34321 (_FP_FRAC_ASSEMBLE_2): Likewise.
34322 (_FP_FRAC_DISASSEMBLE_2): Likewise.
34323 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34324 (_FP_FRAC_CLZ_4): Likewise.
34325 (_FP_MUL_MEAT_4_wide): Likewise.
34326 (_FP_MUL_MEAT_4_gmp): Likewise.
34327 (_FP_SQRT_MEAT_4): Likewise.
34328 (_FP_FRAC_ASSEMBLE_4): Likewise.
34329 (_FP_FRAC_DISASSEMBLE_4): Likewise.
34330 * soft-fp/op-common.h (_FP_CMP): Likewise.
34331 (_FP_CMP_EQ): Likewise.
34332 (_FP_CMP_UNORD): Likewise.
34333 (_FP_TO_INT): Likewise.
34334 (_FP_FROM_INT): Likewise.
34335 [!__FP_CLZ] (__FP_CLZ): Likewise.
34336 (_FP_DIV_HELP_imm): Likewise.
34337 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34338 Likewise.
34339 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34340 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34341 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34342 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34343 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34344 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34345 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34346 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34347 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34348 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34349 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34350 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34351 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34352 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34353 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34354 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34355 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34356 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34357 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34358 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34359 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34360 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34361 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34362 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34363 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34364 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34365 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34366 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34367 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34368 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34369 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34370 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34371 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34372 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34373 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34374 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34375 (FP_UNPACK_RAW_SP): Likewise.
34376 (FP_PACK_RAW_S): Likewise.
34377 (FP_PACK_RAW_SP): Likewise.
34378 (FP_UNPACK_S): Likewise.
34379 (FP_UNPACK_SP): Likewise.
34380 (FP_UNPACK_SEMIRAW_S): Likewise.
34381 (FP_UNPACK_SEMIRAW_SP): Likewise.
34382 (FP_PACK_S): Likewise.
34383 (FP_PACK_SP): Likewise.
34384 (FP_PACK_SEMIRAW_S): Likewise.
34385 (FP_PACK_SEMIRAW_SP): Likewise.
34386 (_FP_SQRT_MEAT_S): Likewise.
34387 (FP_CMP_S): Likewise.
34388 (FP_CMP_EQ_S): Likewise.
34389 (FP_CMP_UNORD_S): Likewise.
34390 (FP_TO_INT_S): Likewise.
34391 (FP_FROM_INT_S): Likewise.
34392
34393 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34394
34395 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34396 (FP_EX_INVALID_IMZ): Likewise.
34397 (FP_EX_INVALID_IMZ_FMA): Likewise.
34398 (FP_EX_INVALID_ISI): Likewise.
34399 (FP_EX_INVALID_ZDZ): Likewise.
34400 (FP_EX_INVALID_IDI): Likewise.
34401 (FP_EX_INVALID_SQRT): Likewise.
34402 (FP_EX_INVALID_CVI): Likewise.
34403 (FP_EX_INVALID_VC): Likewise.
34404 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34405 "invalid" exceptions.
34406 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34407 (_FP_ADD_INTERNAL): Likewise.
34408 (_FP_MUL): Likewise.
34409 (_FP_FMA): Likewise.
34410 (_FP_DIV): Likewise.
34411 (_FP_CMP_CHECK_NAN): Likewise.
34412 (_FP_SQRT): Likewise.
34413 (_FP_TO_INT): Likewise.
34414 (FP_EXTEND): Likewise.
34415
34416 2014-10-09 Allan McRae <allan@archlinux.org>
34417
34418 * po/fr.po: Update French translation from translation project.
34419
34420 2014-10-09 Joseph Myers <joseph@codesourcery.com>
34421
34422 [BZ #14132]
34423 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34424 of INTDEF.
34425 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34426 (__cxa_atexit): Use libc_hidden_proto.
34427 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34428
34429 [BZ #14132]
34430 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34431 declaration.
34432 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34433 [!_ISOMAC] (__iswspace_l_internal): Likewise.
34434 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34435 [!_ISOMAC] (__iswctype_internal): Likewise.
34436 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34437 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34438 alias.
34439 (fcntl): Remove __fcntl_internal alias.
34440 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34441 __connect_internal alias.
34442 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34443 Likewise.
34444
34445 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34446 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34447 FP_DENORM_ZERO.
34448 (_FP_CHECK_FLUSH_ZERO): New macro.
34449 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34450 (_FP_CMP): Likewise.
34451 (_FP_CMP_EQ): Likewise.
34452 (_FP_TO_INT): Do not set inexact for subnormal arguments if
34453 FP_DENORM_ZERO.
34454 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34455 (FP_TRUNC): Likewise.
34456
34457 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34458 treated as invalid conversion, not as normal exponent.
34459
34460 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34461 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
34462 (_FP_CMP_EQ): Likewise.
34463 (_FP_CMP_UNORD): Likewise.
34464 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34465 (FP_CMP_EQ_D): Likewise.
34466 (FP_CMP_UNORD_D): Likewise.
34467 * soft-fp/extended.h (FP_CMP_E): Likewise.
34468 (FP_CMP_EQ_E): Likewise.
34469 (FP_CMP_UNORD_E): Likewise.
34470 * soft-fp/quad.h (FP_CMP_Q): Likewise.
34471 (FP_CMP_EQ_Q): Likewise.
34472 (FP_CMP_UNORD_Q): Likewise.
34473 * soft-fp/single.h (FP_CMP_S): Likewise.
34474 (FP_CMP_EQ_S): Likewise.
34475 (FP_CMP_UNORD_S): Likewise.
34476 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34477 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34478 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34479 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34480 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34481 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34482 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34483 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34484 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34485 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34486 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34487 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34488 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34489 to FP_CMP_Q.
34490 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34491 FP_CMP_Q.
34492 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34493 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34494 FP_CMP_EQ_Q.
34495 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34496 FP_CMP_Q.
34497 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34498 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34499 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34500 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34501 FP_CMP_EQ_Q.
34502 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34503 FP_CMP_Q.
34504 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34505 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34506 FP_CMP_EQ_Q.
34507 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34508 FP_CMP_Q.
34509 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34510 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34511 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34512 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34513 FP_CMP_EQ_Q.
34514
34515 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34516 a subnormal result, set the underflow exception if trapping on
34517 underflow is enabled.
34518 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34519 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34520 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34521 redefine to 0.
34522 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34523 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34524 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34525 * soft-fp/extendxftf2.c (__extendxftf2): Use
34526 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34527
34528 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34529 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34530 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34531 FP_HANDLE_EXCEPTIONS.
34532 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34533 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34534 FP_HANDLE_EXCEPTIONS.
34535 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34536 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34537 FP_HANDLE_EXCEPTIONS.
34538 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34539 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34540 FP_HANDLE_EXCEPTIONS.
34541
34542 2014-10-08 Joseph Myers <joseph@codesourcery.com>
34543
34544 [BZ #14132]
34545 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34546 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34547 use INTUSE.
34548 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34549 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34550 Remove alias.
34551 (__adjtimex): Define using libc_hidden_ver.
34552 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34553 Remove declaration.
34554 (ntp_gettime): Call __adjtimex directly.
34555 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34556 Remove declaration.
34557 (ntp_gettimex): Call __adjtimex directly.
34558 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34559 __adjtimex_internal alias.
34560
34561 2014-10-08 Roland McGrath <roland@hack.frob.com>
34562
34563 [BZ #17460]
34564 * nscd/nscd.c (more_help): Rewrite list of tables collection
34565 using xstrdup and asprintf.
34566
34567 * nscd/nscd_conf.c: Remove local xstrdup declaration.
34568
34569 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34570 Roland McGrath <roland@hack.frob.com>
34571
34572 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34573 (do_lookup_unique): ... local function 'enter' here; update callers.
34574
34575 2014-10-06 Joseph Myers <joseph@codesourcery.com>
34576
34577 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34578 compat_symbol calls on [SHARED].
34579 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34580 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34581 Remove.
34582 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34583 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34584 (oldsetrlimit): Remove.
34585 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34587 (lchown): New syscall entry.
34588 (oldsetrlimit): Remove.
34589 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34590 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34591 (oldsetrlimit): Remove.
34592 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34593
34594 [BZ #14138]
34595 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34596 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34597 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34598 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34599 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34600 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34601 (fchown): Likewise.
34602 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34603 (fchown): Likewise.
34604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34605 Likewise.
34606
34607 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34608
34609 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34610 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34611 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34612 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34613 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34614 Likewise.
34615 (__old_sem_post): Likewise.
34616
34617 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
34618
34619 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34620 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34621 HAVE_CLOCK_GETTIME_VSYSCALL macros.
34622 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34623 Use INLINE_VSYSCALL macro.
34624 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34625 __vdso_clock_gettime.
34626 * sysdeps/unix/sysv/linux/tile/init-first.c
34627 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34628 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34629 __vdso_clock_gettime.
34630
34631 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34632 to set up frame more cleanly.
34633
34634 * sysdeps/tile/memcmp.c: New file.
34635
34636 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34637
34638 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34639 * sysdeps/tile/tilegx/strcasestr.c: New file.
34640 * sysdeps/tile/tilegx/strnlen.c: New file.
34641 * sysdeps/tile/tilegx/strstr.c: New file.
34642
34643 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34644
34645 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
34646
34647 * nptl/tst-setuid3.c: Write errors to stdout.
34648
34649 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34650
34651 * elf/dl-deps.c
34652 (preload): New functions broken out of _dl_map_object_deps.
34653 (_dl_map_object_deps): Remove a nested function. Update call sites.
34654
34655 2014-10-01 Joseph Myers <joseph@codesourcery.com>
34656
34657 [BZ #14138]
34658 * sysdeps/unix/sysv/linux/execve.c: Remove file.
34659 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34660
34661 2014-10-01 Steve Ellcey <sellcey@mips.com>
34662
34663 * sysdeps/mips/strcmp.S: New.
34664
34665 2014-09-30 Joseph Myers <joseph@codesourcery.com>
34666
34667 [BZ #14138]
34668 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34669 (linkat): Likewise.
34670 (mkdirat): Likewise.
34671 (readlinkat): Likewise.
34672 (renameat): Likewise.
34673 (symlinkat): Likewise.
34674 (unlinkat): Likewise.
34675 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34676 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34677 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34678 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34679 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34680 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34681 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34682
34683 2014-09-30 Will Newton <will.newton@linaro.org>
34684
34685 * math/math.h: Define long double math functions if
34686 _LIBC_TEST is defined.
34687 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34688
34689 * localedata/Makefile: Move assignment to tests-special
34690 into an ifdef testing run-built-tests.
34691 * timezone/Makefile: Likewise.
34692
34693 2014-09-29 Joseph Myers <joseph@codesourcery.com>
34694
34695 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34696 with $(BASH) not $(SHELL).
34697
34698 2014-09-29 Carlos O'Donell <carlos@redhat.com>
34699 Matthew LeGendre <legendre1@llnl.gov>
34700
34701 [BZ #17411]
34702 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34703 l_reloc_result.
34704
34705 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
34706
34707 * stdio-common/printf_fp.c
34708 (hack_digit): New function, broken out of ...
34709 (__printf_fp): ... local function here. Update call sites.
34710 hack_digit now takes an additional parameter that is a pointer
34711 to a struct of the referenced locals. Those locals moved inside
34712 the struct and references updated.
34713
34714 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
34715
34716 * aclocal.m4: Require autoconf 2.69.
34717 * configure: Regenerated.
34718 * sysdeps/aarch64/configure: Likewise.
34719 * sysdeps/alpha/configure: Likewise.
34720 * sysdeps/arm/armv7/configure: Likewise.
34721 * sysdeps/arm/configure: Likewise.
34722 * sysdeps/ia64/configure: Likewise.
34723 * sysdeps/mach/configure: Likewise.
34724 * sysdeps/mips/configure: Likewise.
34725 * sysdeps/s390/configure: Likewise.
34726 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34728
34729 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34730 file.
34731 * sysdeps/ia64/configure.ac: Likewise.
34732
34733 2014-09-26 Joseph Myers <joseph@codesourcery.com>
34734
34735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34736 specify symbol version for ld.so. Do not include entry for
34737 libpthread.
34738 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34739 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34740 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34741
34742 [BZ #14171]
34743 * Makeconfig [$(build-shared) = yes]
34744 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34745 makefiles.
34746 [$(build-shared) = yes && $(soversions.mk-done) = t]
34747 ($(common-objpfx)gnu/lib-names.h): Remove rule.
34748 [$(build-shared) = yes && $(soversions.mk-done) = t]
34749 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
34750 to Makerules.
34751 [$(build-shared) = yes && $(soversions.mk-done) = t]
34752 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34753 here.
34754 [$(build-shared) = yes && $(soversions.mk-done) = t]
34755 (common-generated): Don't append gnu/lib-names.h and
34756 gnu/lib-names.stmp here.
34757 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34758 (lib-names-h-abi): New variable.
34759 [$(build-shared) = yes && $(soversions.mk-done) = t]
34760 (lib-names-stmp-abi): Likewise.
34761 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34762 abi-variants] (before-compile): Append
34763 $(common-objpfx)$(lib-names-h-abi).
34764 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34765 abi-variants] (common-generated): Append gnu/lib-names.h.
34766 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34767 abi-variants] (install-others-nosubdir): Depend on
34768 $(inst_includedir)/$(lib-names-h-abi).
34769 [$(build-shared) = yes && $(soversions.mk-done) = t &&
34770 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34771 [$(build-shared) = yes && $(soversions.mk-done) = t]
34772 ($(common-objpfx)$(lib-names-h-abi)): New rule.
34773 [$(build-shared) = yes && $(soversions.mk-done) = t]
34774 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34775 [$(build-shared) = yes && $(soversions.mk-done) = t]
34776 (common-generated): Append $(lib-names-h-abi) and
34777 $(lib-names-stmp-abi).
34778 * scripts/lib-names.awk: Do not handle multi being set.
34779 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34780 Remove variable.
34781 (abi-lp64_be-ld-soname): Likewise.
34782 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34783 Likewise.
34784 (abi-hard-ld-soname): Likewise.
34785 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34786 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34787 Remove variable.
34788 (abi-o32_hard-ld-soname): Likewise.
34789 (abi-o32_soft_2008-ld-soname): Likewise.
34790 (abi-o32_hard_2008-ld-soname): Likewise.
34791 (abi-n32_soft-ld-soname): Likewise.
34792 (abi-n32_hard-ld-soname): Likewise.
34793 (abi-n32_soft_2008-ld-soname): Likewise.
34794 (abi-n32_hard_2008-ld-soname): Likewise.
34795 (abi-n64_soft-ld-soname): Likewise.
34796 (abi-n64_hard-ld-soname): Likewise.
34797 (abi-n64_soft_2008-ld-soname): Likewise.
34798 (abi-n64_hard_2008-ld-soname): Likewise.
34799 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34800 Likewise.
34801 (abi-64-v2-ld-soname): Likewise.
34802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34803 ld.so entries.
34804 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34805 variable.
34806 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34807 entry.
34808 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34809 variable.
34810 (abi-64-ld-soname): Likewise.
34811 (abi-x32-ld-soname): Likewise.
34812 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34813 entry.
34814 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34815
34816 2014-09-23 Joseph Myers <joseph@codesourcery.com>
34817
34818 [BZ #14138]
34819 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34820 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34821 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34822 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34823 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34824 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34825 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34826 syscall entry for GLIBC_2.2 symbol version.
34827 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34828 Likewise.
34829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34830 (setrlimit): Likewise.
34831 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34832 Likewise.
34833
34834 2014-09-23 Will Newton <will.newton@linaro.org>
34835
34836 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34837 _LINUX_ARM_SYSDEP_H include guard too.
34838 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34839 define.
34840
34841 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
34842
34843 * sysdeps/unix/sysv/linux/eventfd.c:
34844 Make first argument unsigned.
34845 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34846 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34847
34848 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
34849
34850 [BZ #16852]
34851 * socket/recvmmsg.c (recvmmsg): Drop const argument.
34852 * socket/sys/socket.h: Likewise.
34853 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34854
34855 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34856
34857 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34858
34859 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
34860
34861 * time/tst-ftime.c: New test.
34862 * time/Makefile (tests): Add tst-ftime.
34863
34864 2014-09-17 Joseph Myers <joseph@codesourcery.com>
34865
34866 * soft-fp/extended.h: Fix comment formatting.
34867 * soft-fp/op-1.h: Likewise.
34868 * soft-fp/op-2.h: Likewise.
34869 * soft-fp/op-4.h: Likewise.
34870 * soft-fp/op-8.h: Likewise.
34871 * soft-fp/op-common.h: Likewise.
34872 * soft-fp/soft-fp.h: Likewise.
34873
34874 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34875
34876 2014-09-16 Joseph Myers <joseph@codesourcery.com>
34877
34878 [BZ #6652]
34879 * Makeconfig (soversions-default-setname): Remove variable.
34880 ($(common-objpfx)soversions.i): Don't pass default_setname to
34881 soversions.awk.
34882 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34883 oldest_abi to abi-versions.awk.
34884 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34885 * config.make.in (oldest-abi): Remove variable.
34886 * configure.ac (--enable-oldest-abi): Remove configure option.
34887 * configure: Regenerated.
34888 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34889 text.
34890 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34891 * scripts/soversions.awk: Do not handle default_setname variable.
34892 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34893 variable.
34894 * sysdeps/mach/hurd/configure: Regenerated.
34895 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34896 variable.
34897 * sysdeps/unix/sysv/linux/configure: Regenerated.
34898
34899 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34900
34901 * elf/Makefile (CFLAGS-interp.c): Remove.
34902 ($(elf-objpfx)runtime-linker.h): Generate header with linker
34903 path string.
34904 * elf/interp.c: Include generated runtime-linker.h
34905
34906 * Makerules (lib%.so): Don't include $(+interp) in
34907 prerequisites.
34908 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34909 * dlfcn/eval.c: Remove file.
34910
34911 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34912 macros.
34913
34914 [BZ #17266]
34915 * misc/sys/cdefs.h: Define __extern_always_inline for clang
34916 4.2 and newer.
34917
34918 [BZ #17370]
34919 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
34920
34921 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34922 Jakub Jelinek <jakub@redhat.com>
34923
34924 [BZ #17266]
34925 * libio/stdio.h: Check definition of __fortify_function
34926 instead of __extern_always_inline to include bits/stdio2.h.
34927 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
34928 check if __extern_always_inline is defined.
34929 [__USE_MISC || __USE_XOPEN]: Likewise.
34930 [__USE_ISOC99] Likewise.
34931 * misc/sys/cdefs.h (__fortify_function): Define only if
34932 __extern_always_inline is defined.
34933 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
34934 __extern_always_inline and __extern_inline only for g++-4.3
34935 and newer or a compatible gcc.
34936
34937 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
34938
34939 [BZ #17371]
34940 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34941 last change to handle zero prefix length.
34942
34943 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34944
34945 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
34946 _SC_REGEX_VERSION.
34947
34948 * posix/getconf.c (vars): Add _POSIX_IPV6 and
34949 _POSIX_RAW_SOCKETS.
34950
34951 2014-09-13 Allan McRae <allan@archlinux.org>
34952
34953 * po/ru.po: Update Russian translation from translation project.
34954
34955 2014-09-12 Roland McGrath <roland@hack.frob.com>
34956
34957 * locale/programs/locale.c (show_locale_vars): Inline local function
34958 into its sole call site. Clean up some style nits.
34959 (print_item): New function, broken out of ...
34960 (show_info): ... local function here. Clean up style nits.
34961
34962 * locale/programs/ld-ctype.c (set_one_default): New function, broken
34963 out of ...
34964 (set_class_defaults): ... local function set_default here.
34965 Define set_default as a macro locally to pass constant parameters.
34966 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
34967 rather than a shared local.
34968
34969 * stdlib/rpmatch.c (try): New function, broken out of ...
34970 (rpmatch): ... local function here. Also, prototypify definition.
34971
34972 2014-09-12 Joseph Myers <joseph@codesourcery.com>
34973
34974 * scripts/soversions.awk: Do not handle configuration names.
34975 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
34976 vendor and os variables to soversions.awk.
34977 * configure.ac: Do not modify gnu-* host_os.
34978 * configure: Regenerated
34979 * shlib-versions: Remove first column with configuration names.
34980 * nptl/shlib-versions: Likewise.
34981 * nptl_db/shlib-versions: Likewise.
34982 * sysdeps/hppa/shlib-versions: Likewise.
34983 * sysdeps/m68k/shlib-versions: Likewise.
34984 * sysdeps/mach/hurd/shlib-versions: Likewise.
34985 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
34986 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
34987 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
34988 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
34989 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
34990 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
34991 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
34992 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
34993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
34994 Likewise.
34995 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34996 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
34997 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
34998 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
34999 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35000 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35001 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35002 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35003
35004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35005 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35007 Regenerated.
35008 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35010 Condition symbol version definitions on [HAVE_ELFV2_ABI].
35011
35012 * shlib-versions: Remove OS-specific entries. Moved to files in
35013 sysdeps.
35014 * sysdeps/mach/hurd/shlib-versions: New file.
35015 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35016
35017 * nptl/shlib-versions: Remove architecture-specific entries.
35018 Moved to files in sysdeps.
35019 * shlib-versions: Likewise.
35020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35021 file.
35022 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35023 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35024 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35025 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35026
35027 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35028 (UDP_NO_CHECK6_RX): Likewise.
35029
35030 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35031
35032 * sysdeps/posix/sysconf.c (__sysconf): Spell
35033 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35034
35035 2014-08-12 Florian Weimer <fweimer@redhat.com>
35036
35037 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35038 loading.
35039 * iconv/Versions (__gconv_transliterate): Export for use from
35040 gconv modules.
35041 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35042 (struct __gconv_trans_data, __gconv_trans_fct,
35043 __gconv_trans_context_fct, __gconv_trans_query_fct,
35044 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35045 definitions.
35046 (struct __gconv_step_data): Remove __trans member.
35047 (__gconv_transliterate): Declaration moved from gconv_int.h. No
35048 longer hidden. Remove unused trans_data argument.
35049 * iconv/gconv_int.h (struct trans_struct): Remove definition.
35050 (__gconv_translit_find): Remove declaration.
35051 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
35052 prototype.
35053 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35054 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35055 trans_data argument. Add hidden definition.
35056 (__gconv_translit_find): Remove.
35057 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35058 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35059 * iconv/skeleton.c: Remove transliteration initialization.
35060 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35061 __gconv_step_data initialization.
35062 * libio/iofwide.c (__libio_translit_): Remove.
35063 (_IO_fwide): Adjust struct __gconv_step_data initialization.
35064 * wcsmbs/btowc.c (__btowc): Likewise.
35065 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35066 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35067 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35068 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35069 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35070 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35071 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35072 * wcsmbs/wctob.c (wctob): Likewise.
35073
35074 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35075
35076 [BZ #16194]
35077 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35078 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
35079 register usage.
35080 * sysdeps/x86/Makefile: Adjust.
35081
35082 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35083 Roland McGrath <roland@hack.frob.com>
35084
35085 * locale/weight.h: Add include guard.
35086 (findidx): Make static rather than auto; take new parameters
35087 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35088 * locale/weightwc.h: Likewise.
35089 * posix/fnmatch_loop.c
35090 (FCT): Change type of EXTRA from int32_t to wint_t.
35091 Don't include either header inside the function.
35092 Call FINDIDX rather than findidx, and pass new arguments.
35093 #undef FINDIDX at the end of the file.
35094 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35095 FINDIDX before including fnmatch_loop.c for the non-wide version.
35096 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35097 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35098 for the wide version.
35099 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35100 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35101 Pass new arguments to findidx.
35102 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35103 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35104 Don't #include it inside the function. Pass new arguments to findidx.
35105 * posix/regex_internal.h
35106 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35107 (re_string_elem_size_at): Don't #include it inside the function.
35108 Pass new arguments to findidx.
35109 * string/strcoll_l.c: #include WEIGHT_H at top level.
35110 (get_next_seq): Don't #include it inside the function.
35111 Pass new arguments to findidx.
35112 (get_next_seq_nocache): Likewise.
35113 * string/strxfrm_l.c: #include WEIGHT_H at top level.
35114 (STRXFRM): Don't #include it inside the function.
35115 Pass new arguments to findidx.
35116
35117 2014-09-11 Florian Weimer <fweimer@redhat.com>
35118
35119 [BZ #17344]
35120 * malloc/malloc.c (unlink): Turn asserts into a call to
35121 malloc_printerr.
35122
35123 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
35124
35125 [BZ #17370]
35126 * libio/wfileops (do_ftell_wide): Free OUT.
35127
35128 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
35129
35130 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35131
35132 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35133
35134 [BZ #17363]
35135 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35136 group if the current group is empty.
35137
35138 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35139
35140 * benchtests/bench-memset.c (test_main): Add more test from size
35141 from 32 to 512 bytes.
35142 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35143 Add POWER8 memset object.
35144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35145 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35146 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35147 implementation.
35148 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35149 Likewise.
35150 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35151 multiarch POWER8 memset optimization.
35152 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35153 POWER8 memset optimization.
35154
35155 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35156 Remove bzero multiarch objects.
35157 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35158 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35159 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35160 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35161 Remove define.
35162 [__bzero]: Redefine to specific name.
35163 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35164 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35165 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35166 define.
35167 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35168 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35169
35170 2014-09-10 Florian Weimer <fweimer@redhat.com>
35171
35172 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35173 warnings into errors.
35174
35175 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35176 __cxa_thread_atexit_impl prototype.
35177
35178 2014-09-09 Steve Ellcey <sellcey@mips.com>
35179
35180 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35181 Fix capitalization of error message.
35182
35183 2014-09-09 Steve Ellcey <sellcey@mips.com>
35184
35185 * sysdeps/mips/preconfigure: Modify ABI tests.
35186
35187 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
35188
35189 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35190
35191 2014-09-07 Roland McGrath <roland@hack.frob.com>
35192 Carlos O'Donell <carlos@systemhalted.org>
35193
35194 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35195 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35196 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35197 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35198 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35199 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35200 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35201 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35202 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35203 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35204 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35205 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35206 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35207 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35208 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35209 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35210 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35211 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35212 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35213 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35214 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35215 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35216 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35217 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35218 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35219 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35220 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35221 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35222 Deconditionalize the code that was previously under [RESET_PID].
35223 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35224 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35225 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35226 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35227 include sysdep.h.
35228
35229 2014-09-08 Allan McRae <allan@archlinux.org>
35230
35231 * version.h (RELEASE): Set to "development".
35232 (VERSION): Set to "2.20.90"
35233
35234 2014-09-07 Allan McRae <allan@archlinux.org
35235
35236 * version.h (RELEASE): Set to "stable".
35237 (VERSION): Set to "2.20"
35238 * include/features.h (__GLIBC_MINOR__): Set to 20.
35239
35240 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35241 Liebler.
35242
35243 * po/ko.po: Update Korean translation from translation project.
35244
35245 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
35246
35247 [BZ #17354]
35248 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35249 macro for handling signed relocations.
35250
35251 2014-09-03 Florian Weimer <fweimer@redhat.com>
35252
35253 [BZ #17325]
35254 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35255 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35256 assert.
35257 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35258 * iconvdata/ibm935.c (BODY): Likewise.
35259 * iconvdata/ibm937.c (BODY): Likewise.
35260 * iconvdata/ibm939.c (BODY): Likewise.
35261 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35262 assert.
35263 * iconvdata/Makefile (iconv-test.out): Pass module list to test
35264 script.
35265 * iconvdata/run-iconv-test.sh: New test loop for checking for
35266 decoder crashers.
35267
35268 2014-09-02 Khem Raj <raj.khem@gmail.com>
35269
35270 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35271 libm_hidden_ver.
35272
35273 2014-09-01 Allan McRae <allan@archlinux.org>
35274
35275 * po/eo.po: Update Esperanto translation from translation project.
35276
35277 * po/ca.po: Update Catalan translation from translation project.
35278
35279 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
35280
35281 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35282 __proc_dostop call.
35283
35284 2014-08-27 Mark Wielaard <mjw@redhat.com>
35285
35286 [BZ #17319]
35287 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35288 to call set_thread_area instead of hand written asm.
35289 (__NR_set_thread_area): Removed define.
35290 (TLS_FLAG_WRITABLE): Likewise.
35291 (__ASSUME_SET_THREAD_AREA): Remove check.
35292 (TLS_EBX_ARG): Remove define.
35293 (TLS_LOAD_EBX): Likewise.
35294
35295 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
35296
35297 Simplify atomicity of socket creation in bind.
35298
35299 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35300 looking up the name after linking the file.
35301
35302 2014-08-27 Allan McRae <allan@archlinux.org>
35303
35304 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35305
35306 2014-08-26 Florian Weimer <fweimer@redhat.com>
35307
35308 [BZ #17187]
35309 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35310 trans_compare, open_translit, __gconv_translit_find):
35311 Remove module loading code.
35312
35313 2014-08-26 Allan McRae <allan@archlinux.org>
35314
35315 * po/vi.po: Update Vietnamese translation from translation project.
35316
35317 * po/uk.po: Update Ukrainian translation from translation project.
35318
35319 * po/fr.po: Update French translation from translation project.
35320
35321 * po/ru.po: Update Russian translation from translation project.
35322
35323 * po/pl.po: Update Polish translation from translation project.
35324
35325 * po/cs.po: Update Czech translation from translation project.
35326
35327 * po/de.po: Update German translation from translation project.
35328
35329 * po/bg.po: Update Bulgarian translation from translation project.
35330
35331 * po/sv.po: Update Sweedish translation from translation project.
35332
35333 * po/nl.po: Update Dutch translation from translation project.
35334
35335 * po/es.po: Update Spanish translation from translation project.
35336
35337 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35338
35339 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35340
35341 * catgets/Makefile (CPPFLAGS-gencat): Remove.
35342 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35343 (CPPFLAGS-iconvconfig): Likewise.
35344 * timezone/Makefile (CPPFLAGS-zic): Likewise.
35345
35346 * include/libc-symbols.h: Remove unnecessary check for
35347 NOT_IN_libc.
35348 * nptl/pthreadP.h: Likewise.
35349 * sysdeps/aarch64/setjmp.S: Likewise.
35350 * sysdeps/alpha/setjmp.S: Likewise.
35351 * sysdeps/arm/sysdep.h: Likewise.
35352 * sysdeps/i386/setjmp.S: Likewise.
35353 * sysdeps/m68k/setjmp.c: Likewise.
35354 * sysdeps/posix/getcwd.c: Likewise.
35355 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35356 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35357 * sysdeps/s390/s390-32/setjmp.S: Likewise.
35358 * sysdeps/s390/s390-64/setjmp.S: Likewise.
35359 * sysdeps/sh/sh3/setjmp.S: Likewise.
35360 * sysdeps/sh/sh4/setjmp.S: Likewise.
35361 * sysdeps/unix/alpha/sysdep.h: Likewise.
35362 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35363 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35364 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35365 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35368 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35369 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35370 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35371 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35372 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35373 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35374 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35375 * sysdeps/x86_64/setjmp.S: Likewise.
35376
35377 2014-08-13 Joseph Myers <joseph@codesourcery.com>
35378
35379 [BZ #17263]
35380 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35381 <stdint.h>.
35382 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35383 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35384
35385 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35386
35387 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35388
35389 [BZ #17262]
35390 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35391 and __x86_64__ when disabling x87 inline functions.
35392
35393 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
35394
35395 [BZ #17259]
35396 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35397 asm statement with __cpuid_count.
35398
35399 2014-08-12 Mike Frysinger <vapier@gentoo.org>
35400
35401 * configure.ac: Change __ehdr_start code to dereference the struct.
35402 Run readelf on the output to look for relocations.
35403 * configure: Regenerated.
35404
35405 2014-08-12 Joseph Myers <joseph@codesourcery.com>
35406
35407 [BZ #17261]
35408 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35409 value to 0.
35410 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35411
35412 2014-08-12 Roland McGrath <roland@hack.frob.com>
35413
35414 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35415
35416 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
35417
35418 [BZ #16892]
35419 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35420 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35421
35422 2014-08-12 Sean Anderson <seanga2@gmail.com>
35423
35424 * malloc/malloc.c: Fix typo in comment.
35425
35426 2014-08-09 Allan McRae <allan@archlinux.org>
35427
35428 * Regenerate libc.po.
35429
35430 2014-08-08 Mike Frysinger <vapier@gentoo.org>
35431
35432 * intl/tst-gettext2.sh: Check every lang file for creation.
35433
35434 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35435
35436 * sysdeps/aarch64/fpu/math_private.h
35437 (libc_feholdsetround_noex_aarch64_ctx): New function.
35438
35439 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
35440
35441 * sysdeps/arm/armv6/strcpy.S (strcpy):
35442 Fix performance issue in misaligned cases.
35443
35444 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35445
35446 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35447 Move definition from termios.h.
35448 (struct termio): Likewise.
35449 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35450 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35451 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35452 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35453 Likewise.
35454 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35455 Move definition to ioctl-types.h
35456 (struct termio): Likewise.
35457 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35458 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35459 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35460 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35461 Likewise.
35462
35463 2014-08-05 Richard Henderson <rth@redhat.com>
35464
35465 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35466 exceptions.
35467 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35468 Add fraiseexcpt.
35469 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35470 Use __feraiseexcept.
35471 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35472 Protect libm symbols with IS_IN_libm.
35473
35474 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35475
35476 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
35477
35478 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35479
35480 2014-08-04 Will Newton <will.newton@linaro.org>
35481
35482 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35483 file.
35484
35485 2014-08-04 Mike Frysinger <vapier@gentoo.org>
35486
35487 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35488 variants for each function.
35489
35490 2014-08-04 Roland McGrath <roland@hack.frob.com>
35491
35492 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35493 appended ...
35494 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35495 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35496 appended ...
35497 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35498 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35499 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35500 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35501 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35502 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35503 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35504 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35505 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35506 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35507 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35508 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35509 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35510 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35511 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35512 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35513 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35514 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35515 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35516 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35517 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35518 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35519 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35520 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35521 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35522 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35523 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35524 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35525 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35526 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35527 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35528 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35529 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35530 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35531 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35532 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35533 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35534 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35535 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35536 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35537 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35538 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35539 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35540 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35541 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35542 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35543 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35544 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35545 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35546 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35547 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35548 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35549 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35550 Update #include.
35551 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35552 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35553
35554 2014-08-04 Roland McGrath <roland@hack.frob.com>
35555
35556 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35557 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35558 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35559 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35560 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35561 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35562
35563 2014-08-04 Roland McGrath <roland@hack.frob.com>
35564
35565 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35566 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35567 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35568 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35569
35570 2014-08-04 Roland McGrath <roland@hack.frob.com>
35571
35572 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35573 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35574 (__libc_vfork): Define function under this name.
35575 (__vfork): Define as an alias.
35576 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35577 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35578
35579 2014-08-04 Roland McGrath <roland@hack.frob.com>
35580
35581 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35582 that was previously under [RESET_PID].
35583 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35584
35585 2014-08-04 Andreas Schwab <schwab@suse.de>
35586
35587 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35588
35589 2014-08-03 Mike Frysinger <vapier@gentoo.org>
35590
35591 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35592 (main): Likewise.
35593
35594 2014-08-01 Roland McGrath <roland@hack.frob.com>
35595
35596 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35597
35598 2014-08-01 Richard Henderon <rth@redhat.com>
35599
35600 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35601 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35602 typo in exact zero test.
35603 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35604 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35606
35607 2014-08-01 Roland McGrath <roland@hack.frob.com>
35608
35609 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35610 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35611 * sysdeps/arm/sysdep.h: ... here.
35612 [!__ASSEMBLER__]: Include <stdint.h>.
35613
35614 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
35615
35616 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35617 (HAVE_WCTYPE_H): Likewise.
35618 (HAVE_ISWCTYPE): Likewise.
35619 (ENABLE_NLS): Likewise.
35620 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35621 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35622
35623 * posix/regex_internal.c: Check if DEBUG is defined and is
35624 set.
35625
35626 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35627 (HAVE_MBSRTOWCS): Likewise.
35628 * posix/fnmatch.c: Include string.h unconditionally.
35629
35630 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
35631
35632 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35633 reversal.
35634
35635 2014-07-31 Roland McGrath <roland@hack.frob.com>
35636
35637 * sysdeps/generic/safe-fatal.h: New file.
35638 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35639 * nptl/forward.c: Include it.
35640 (__pthread_unwind): Use __safe_fatal as default action, rather
35641 than a bogus use of INTERNAL_SYSCALL that could never work.
35642
35643 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35644 * configure.ac (libc_cv_builtin_trap): New test.
35645 * configure: Regenerated.
35646 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35647 (ABORT_INSTRUCTION): Define using __builtin_trap.
35648
35649 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35650 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35651 * sysdeps/nptl/nptl-signals.h: New file.
35652 * nptl/pthreadP.h: Include <nptl-signals.h>.
35653
35654 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35655
35656 * sysdeps/s390/s390-64/utf16-utf32-z9.c
35657 (ONE_DIRECTION): Define.
35658 * sysdeps/s390/s390-64/utf8-utf16-z9.c
35659 (ONE_DIRECTION): Define.
35660 * sysdeps/s390/s390-64/utf8-utf32-z9.c
35661 (ONE_DIRECTION): Define.
35662
35663 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
35664
35665 * sysdeps/s390/Makefile: Delete file.
35666 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35667 * sysdeps/s390/__longjmp.c: Delete file.
35668 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35669 Remove fields __flags and __reserved.
35670 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35671 and add versioning.
35672 * sysdeps/s390/rtld-__longjmp.c: Delete file.
35673 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35674 * sysdeps/s390/rtld-setjmp.S: Likewise.
35675 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35676 * sysdeps/s390/s390-32/__longjmp.c: ... here.
35677 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35678 * sysdeps/s390/s390-32/setjmp.S: ... here.
35679 Add versioning.
35680 (__sigsetjmp): Remove setting __flags field.
35681 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35682 * sysdeps/s390/s390-64/__longjmp.c: ... here.
35683 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35684 * sysdeps/s390/s390-64/setjmp.S: ... here.
35685 Add versioning.
35686 (__sigsetjmp): Remove setting __flags field.
35687 * sysdeps/s390/setjmp.S: Delete file.
35688 * sysdeps/s390/sigjmp.c: Likewise.
35689 * sysdeps/s390/v1-longjmp.c: Likewise.
35690 * sysdeps/s390/v1-setjmp.h: Likewise.
35691 * sysdeps/s390/v1-sigjmp.c: Likewise.
35692 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35693 Remove v1-longjmp_chk.
35694 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35695 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35696 Include debug/longjmp_chk.c and add versioning.
35697 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35698 Include nptl/pt-longjmp.c and add versioning.
35699 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35700 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35701 Include __longjmp.c.
35702 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35703 Move to ...
35704 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35705 (__getcontext): Remove setting __flags field.
35706 Add versioning.
35707 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35708 Don't restore upper high grps.
35709 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35710 Likewise.
35711 (__swapcontext): Remove setting uc_flags field.
35712 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35713 Delete file.
35714 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35715 Include __longjmp.c.
35716 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35717 Move to ...
35718 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35719 (__getcontext): Remove setting __flags field.
35720 Add versioning.
35721 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35722 (__swapcontext): Remove setting uc_flags field.
35723 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35724 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35725 Remove fields uc_high_gprs and __reserved.
35726 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35727 New file with reverted content.
35728 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35729 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35730 Regenerated.
35731 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35732 Regenerated.
35733
35734 2014-07-31 Andreas Schwab <schwab@suse.de>
35735
35736 * config.h.in (HAVE_IFUNC): Define to 0.
35737 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35738 definedness.
35739
35740 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
35741
35742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35743 memmove-avx-unaligned, memcpy-avx-unaligned and
35744 mempcpy-avx-unaligned.
35745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35746 Add tests for AVX memcpy functions.
35747 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35748 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35749 memcpy_chk.
35750 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35751 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35752 memmove_chk.
35753 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35754 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35755 mempcpy_chk.
35756 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35757 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35758 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35759
35760 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35761
35762 [BZ #17213]
35763 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35764 powerpc64le.
35765
35766 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
35767
35768 [BZ #16839]
35769 * manual/llio.texi: Add section about open file description locks.
35770 * manual/examples/ofdlocks.c: Example of open file description
35771 lock usage.
35772 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35773 F_OFD_SETLK, and F_OFD_SETLKW.
35774
35775 2014-07-23 Allan McRae <allan@archlinux.org>
35776
35777 * po/es.po: Update Spanish translation from translation project.
35778
35779 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
35780
35781 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35782
35783 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
35784
35785 [BZ #17078]
35786 * sysdeps/arm/dl-machine.h (elf_machine_rela)
35787 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35788 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35789
35790 2014-07-17 Joseph Myers <joseph@codesourcery.com>
35791
35792 [BZ #17088]
35793 * math/fesetenv.c (__fesetenv)
35794 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35795 * math/feupdateenv.c (__feupdateenv)
35796 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35797
35798 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35799 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35800 (__ASSUME_SOCKETCALL): Do not define.
35801
35802 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35803 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35804 (__ASSUME_SOCKETCALL): Do not define.
35805 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35806 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35807 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35808 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35809 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35810 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35811 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35812 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35813
35814 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35815 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35816 (__ASSUME_SOCKETCALL): Do not define.
35817 (__ASSUME_IPC64): Define unconditionally.
35818 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35819 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35820 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35821 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35822 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35823 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35824 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35825 Likewise.
35826
35827 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35828 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35829 (__ASSUME_SOCKETCALL): Do not define.
35830 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35831 (__ASSUME_FUTEX_LOCK_PI): Likewise.
35832 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35833 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35834 (__ASSUME_REQUEUE_PI): Define unconditionally.
35835 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35836 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35837 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35838 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35839 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35840 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35841
35842 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35843 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35844 (__ASSUME_SOCKETCALL): Do not define.
35845 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35846 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35847 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35848 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35849 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35850 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35851
35852 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35853 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35854 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35855 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35856 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35857 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35858 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35859 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35860 (__ASSUME_GETCPU_SYSCALL): Likewise.
35861
35862 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35863 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
35864 cases for individual architectures.
35865 * sysdeps/gnu/configure: Regenerated.
35866 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35867 LIBC_SLIBDIR_RTLDDIR.
35868 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35869 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35870 LIBC_SLIBDIR_RTLDDIR.
35871 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35873 LIBC_SLIBDIR_RTLDDIR.
35874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35875 Regenerated.
35876 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35877 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35878 file.
35879 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35880 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35881 file.
35882 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35883 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35884 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35885 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35886
35887 * sysdeps/aarch64/shlib-versions: Move to ...
35888 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35889 * sysdeps/alpha/shlib-versions: Move to ...
35890 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35891 * sysdeps/arm/shlib-versions: Move to ...
35892 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35893 * sysdeps/hppa/shlib-versions: Move all contents except for
35894 libgcc_s entry to ...
35895 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
35896 entry from ...
35897 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
35898 * sysdeps/ia64/shlib-versions: Move to ...
35899 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
35900 entry from ...
35901 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
35902 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35903 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35904 * sysdeps/microblaze/shlib-versions: Move to ...
35905 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35906 * sysdeps/mips/shlib-versions: Move to ...
35907 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
35908 entry from ...
35909 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
35910 * sysdeps/tile/shlib-versions: Move to ...
35911 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35912 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
35913 from ...
35914 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
35915 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
35916 entry from ...
35917 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
35918
35919 2014-07-17 Will Newton <will.newton@linaro.org>
35920
35921 * sysdeps/arm/bits/atomic.h
35922 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
35923 (__arch_compare_and_exchange_bool_16_int): Likewise.
35924 (__arch_compare_and_exchange_bool_64_int): Likewise.
35925
35926 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
35927 into an #else block.
35928
35929 2014-07-16 Roland McGrath <roland@hack.frob.com>
35930
35931 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
35932 just Linux configurations. Test empirically that the compiler sets
35933 __ARM_EABI__, rather than using the tuple to decide.
35934 * sysdeps/arm/preconfigure: Regenerated.
35935 * sysdeps/unix/sysv/linux/arm/configure: File removed.
35936 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
35937 contents appended ...
35938 * sysdeps/arm/configure.ac: ... here.
35939 * sysdeps/arm/configure: Regenerated.
35940
35941 2014-07-15 Roland McGrath <roland@hack.frob.com>
35942
35943 * nptl/pthread_kill.c: New file.
35944 * nptl/pthread_sigmask.c: New file.
35945 * nptl/pthread_sigqueue.c: New file.
35946
35947 * sysdeps/nptl/lowlevellock.h: New file.
35948 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
35949 * sysdeps/nptl/lowlevellock-futex.h: New file.
35950
35951 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
35952 Remove dead declarations.
35953
35954 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
35955
35956 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
35957 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
35958 config-cflags-avx2.
35959 * sysdeps/x86_64/configure.ac: Likewise.
35960 * sysdeps/i386/configure: Regenerated.
35961 * sysdeps/x86_64/configure: Likewise.
35962 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35963 memset-avx2 only if config-cflags-avx2 is yes.
35964 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35965 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
35966 defined.
35967 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
35968 only if HAVE_AVX2_SUPPORT is defined.
35969 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35970
35971 2014-07-14 Alan Modra <amodra@gmail.com>
35972
35973 [BZ #17153]
35974 * elf/elf.h (DT_PPC64_NUM): Correct value.
35975 * NEWS: Add to fixed bug list.
35976
35977 2014-07-13 Jim Meyering <meyering@fb.com>
35978
35979 [BZ 17150]
35980 regex: don't deref NULL upon heap allocation failure
35981 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
35982 failure in one more place.
35983 To trigger the segfault, configure grep -with-included-regex,
35984 build it, and run these commands:
35985 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
35986
35987 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
35988
35989 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35990
35991 2014-07-11 Richard Henderson <rth@redhat.com>
35992
35993 * sysdeps/aarch64/libm-test-ulps: Update.
35994
35995 2014-07-10 Florian Weimer <fweimer@redhat.com>
35996
35997 [BZ #17135]
35998 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
35999 * nptl/allocatestack.c (__nptl_setxid_error): New function.
36000 (__nptl_setxid): Initialize error member. Call
36001 __nptl_setxid_error.
36002 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36003 * nptl/descr.h (struct xid_command): Add error member.
36004 * nptl/tst-setuid3.c: New file.
36005 * nptl/Makefile (tests): Add it.
36006
36007 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36008
36009 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36010 New define.
36011 (__lll_trylock): Use __lll_base_trylock.
36012 (__lll_cond_trylock): Likewise.
36013
36014 2014-07-10 Roland McGrath <roland@hack.frob.com>
36015
36016 * nptl/pthread_create.c (start_thread): Use atomic_or and
36017 lll_futex_wake directly rather than lll_robust_dead.
36018 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36019 (lll_robust_dead): Macro removed.
36020 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36021 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36022 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36023 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36024 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36025 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36026 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36027 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36028 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36029 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36030 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36031 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36032 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36033 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36034 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36035
36036 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36037 Use atomic_compare_and_exchange_val_acq directly rather than
36038 lll_robust_trylock.
36039 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36040 (__lll_robust_trylock, lll_robust_trylock): Removed.
36041 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36042 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36043 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36044 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36045 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36046 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36047 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36048 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36049 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36050 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36051 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36052 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36053 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36054 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36055
36056 2014-07-02 Florian Weimer <fweimer@redhat.com>
36057
36058 * manual/locale.texi (Locale Names): New section documenting
36059 locale name syntax. Adjust menu and node chaining accordingly.
36060 (Choosing Locale): Reference Locale Names, Locale Categories.
36061 Mention setting LC_ALL=C. Reflect that name syntax is now
36062 documented.
36063 (Locale Categories): New section title. Reference Locale Names.
36064 LC_ALL is an environment variable, but not a category.
36065 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36066 description, now in Locale Name. Reference that section. Locale
36067 name syntax is now documented.
36068
36069 2014-07-02 Florian Weimer <fweimer@redhat.com>
36070
36071 [BZ #17137]
36072 * locale/findlocale.c (name_present, valid_locale_name): New
36073 functions.
36074 (_nl_find_locale): Use the loc_name variable to store name
36075 candidates. Call name_present and valid_locale_name to check and
36076 validate locale names. Return an error if the locale is invalid.
36077
36078 2014-07-02 Florian Weimer <fweimer@redhat.com>
36079
36080 * locale/setlocale.c (setlocale): Use strdup for allocating
36081 composite name copy.
36082
36083 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36084
36085 Sync up with gnulib.
36086 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36087 [!_LIBC && ENABLE_NLS]: Include gettext.h.
36088 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36089 and _GL_ARG_NONNULL.
36090 [USE_UNLOCKED_IO]: Include unlocked-io.h.
36091 [!_LIBC]: Include code for Windows and Cygwin.
36092 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36093 Include prototype for int strerror_r.
36094 [!_LIBC] (is_open): New function.
36095 (flush_stdout): New function.
36096 (print_errno_message): Use it.
36097 (error): Likewise.
36098 (error_at_line): Likewise.
36099 (error_tail) Add function attribute macros. Use
36100 __builtin_expect.
36101
36102 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36103
36104 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36105
36106 * io/ftw.c: Include sys/param.h unconditionally.
36107
36108 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36109
36110 [BZ #17125]
36111 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36112 libc_freeres_ptr.
36113 (freecache): New function to free CACHE on exit.
36114
36115 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36116 initialization.
36117
36118 2014-07-09 David S. Miller <davem@davemloft.net>
36119
36120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36121
36122 * sysdeps/sparc/nptl/internaltypes.h: Delete.
36123 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36124 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36125 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36126 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36127 * sysdeps/sparc/nptl/sem_init.c: Likewise.
36128 * sysdeps/sparc/nptl/sem_post.c: Likewise.
36129 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36130 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36131 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36132 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36133 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36134 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36135
36136 2014-07-09 Andreas Schwab <schwab@suse.de>
36137
36138 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36139 output.
36140 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36141 (do_test): Likewise.
36142
36143 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36144
36145 2014-07-09 Will Newton <will.newton@linaro.org>
36146
36147 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36148 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36149 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36150 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36151 * sysdeps/hppa/start.S (_start): Likewise.
36152
36153 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36154
36155 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36156
36157 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36158 defined.
36159
36160 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36161
36162 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36163 after checking that it is non-NULL.
36164
36165 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36166
36167 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36168
36169 * sysdeps/powerpc/memmove.c: Remove file.
36170 * sysdeps/powerpc/powerpc32/power4/memcopy.h
36171 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36172 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36173 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36174 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36175 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36176 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36177 string memmove instead of removed powerpc one.
36178
36179 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36180 [weak_alias]: Fix compiler warning due trailing data.
36181 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36182 [weak_alias]: Likewise.
36183 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36184 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36185
36186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36187 (__libc_ifunc_impl_list): Add memmove functions.
36188
36189 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36190
36191 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36192 Remove code.
36193 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36194 Likewise.
36195 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36196 Likewise.
36197 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36198 Likewise.
36199 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36200 Likewise.
36201 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36202 Likewise.
36203 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36204 Likewise.
36205 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36206 Likewise.
36207 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36208 Likewise.
36209 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36210 Likewise.
36211 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36212 Likewise.
36213 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36214 Likewise.
36215 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36216 Likewise.
36217 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36218 Likewise.
36219 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36220 Likewise.
36221 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36222 Likewise.
36223 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36224 Likewise.
36225
36226 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36227
36228 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36229 to avoid alignment traps in non-cacheable memory.
36230 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36231
36232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36233 multiarch objects.
36234 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36235 file: multiarch power7 memmove.
36236 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36237 multiarch default memmove.
36238 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36239 multiarch memove for powerpc32/power4.
36240
36241 * string/bcopy.c: Use full path to include memmove.c.
36242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36243 multiarch objects.
36244 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36245 bcopy for powerpc64.
36246 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36247 bcopy for powerpc64.
36248 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36249 and memmove implementations.
36250 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36251 optimized multiarch memmove for POWER7/powerpc64.
36252 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36253 default multiarch memmove for powerpc64.
36254 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36255 multiarch for powerpc64.
36256 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36257 for POWER7/powerpc64.
36258 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36259 memmove for POWER7/powerpc64.
36260
36261 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36262 glibc default one.
36263
36264 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36265 __ELF_NATIVE_CLASS equal to 64.
36266
36267 2014-07-07 Roland McGrath <roland@hack.frob.com>
36268
36269 * sysdeps/nptl/lowlevellock.h: File removed.
36270
36271 * NEWS: NPTL is no longer an add-on!
36272 * nptl/internaltypes.h: Moved ...
36273 * sysdeps/nptl/internaltypes.h: ... here.
36274 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36275 * sysdeps/nptl/fork.c: Likewise.
36276 * sysdeps/nptl/gai_misc.h: Likewise.
36277 * sysdeps/nptl/librt-cancellation.c: Likewise.
36278 * sysdeps/nptl/jmp-unwind.c: Likewise.
36279 * sysdeps/nptl/setxid.h: Likewise.
36280 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36281 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36282 * sysdeps/unix/sysv/linux/arm/Implies: New file.
36283 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36284 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36285 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36286 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36287 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36288 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36289 * sysdeps/unix/sysv/linux/mips/Implies: New file.
36290 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36291 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36292 * sysdeps/unix/sysv/linux/sh/Implies: New file.
36293 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36294 * sysdeps/unix/sysv/linux/tile/Implies: New file.
36295 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36296 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36297 * nptl/Makeconfig: Moved ...
36298 * sysdeps/nptl/Makeconfig: ... here.
36299 * nptl/configure: File removed.
36300 * nptl/ANNOUNCE: File removed.
36301 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36302 * sysdeps/unix/sysv/linux/configure: Regenerated.
36303
36304 * nptl/Makefile (routines): Add libc_pthread_init,
36305 libc_multiple_threads, register-atfork and unregister-atfork.
36306 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36307 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36308 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36309 pthread-pi-defines.sym, structsem.sym.
36310 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36311 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36312 [$(subdir) = nptl] (tests): Add tst-setgetname.
36313 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36314 * sysdeps/unix/sysv/linux/sigaction.c: Just include
36315 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36316 [!LIBC_SIGACTION]: Remove aliases.
36317 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36318 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36319 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36320 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36321 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36322 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36323 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36324 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36325 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36326 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36327 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36328 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36329 __libc_allocate_rtsig_private.
36330 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36331 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36332 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36333 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36334 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36335 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36336 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36337 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36338 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36339 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36340 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36341 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36342 * nptl/internaltypes.h: ... here.
36343 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36344 * sysdeps/nptl/jmp-unwind.c: ... here.
36345 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36346 * nptl/libc-lowlevellock.c: ... here.
36347 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36348 * nptl/libc_multiple_threads.c: ... here.
36349 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36350 * nptl/libc_pthread_init.c: ... here.
36351 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36352 * nptl/lowlevelbarrier.sym: ... here.
36353 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36354 * nptl/lowlevelcond.sym: ... here.
36355 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36356 * nptl/lowlevellock.c: ... here.
36357 * nptl/lowlevellock.h: Moved ...
36358 * sysdeps/nptl/lowlevellock.h: ... here.
36359 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36360 * nptl/lowlevelrobustlock.c: ... here.
36361 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36362 * nptl/lowlevelrobustlock.sym: ... here.
36363 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36364 * nptl/lowlevelrwlock.sym: ... here.
36365 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36366 * nptl/pt-fork.c: ... here.
36367 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36368 * nptl/pthread-pi-defines.sym: ... here.
36369 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36370 * nptl/pthread_attr_getaffinity.c: ... here.
36371 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36372 * nptl/pthread_attr_setaffinity.c: ... here.
36373 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36374 * nptl/pthread_mutex_cond_lock.c: ... here.
36375 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36376 Update #include.
36377 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36378 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36379 * nptl/pthread_once.c: ... here, replacing old file.
36380 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36381 * nptl/pthread_yield.c: ... here.
36382 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36383 * nptl/register-atfork.c: ... here.
36384 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36385 * nptl/sem_post.c: ... here.
36386 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36387 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36388 * nptl/sem_timedwait.c: ... here.
36389 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36390 * nptl/sem_trywait.c: ... here.
36391 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36392 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36393 * nptl/sem_wait.c: ... here.
36394 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36395 * nptl/structsem.sym: ... here.
36396 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36397 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36398 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36399 * nptl/unregister-atfork.c: ... here.
36400 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36401 * nptl/unwindbuf.sym: ... here.
36402 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36403 * sysdeps/nptl/fork.c: ... here.
36404 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36405 * sysdeps/nptl/fork.h: ... here.
36406 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36407 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36408 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36409 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36410 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36411 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36412 * sysdeps/unix/sysv/linux/getpid.c: ... here.
36413 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36414 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36415 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36416 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36417 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36418 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36419 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36420 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36421 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36422 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36423 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36424 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36425 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36426 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36427 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36428 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36429 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36430 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36431 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36432 * sysdeps/unix/sysv/linux/raise.c: ... here.
36433 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36434 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36435 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36436 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36437 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36438 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36439 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36440 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36441 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36442 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36443 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36444 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36445 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36446 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36447 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36448
36449 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36450
36451 * sysdeps/generic/memcopy.h: Add comment for
36452 MEMCPY_OK_FOR_FWD_MEMMOVE.
36453
36454 2014-07-04 Will Newton <will.newton@linaro.org>
36455
36456 * string/memchr.c: Merge from gnulib.
36457 [_LIBC]: Remove conditionals.
36458 (__ptr_t): Remove define.
36459 (LONG_MAX_32_BITS): Likewise.
36460 (LONG_MAX): Likewise.
36461 (MEMCHR): Use ANSI prototype and optimize algorithm.
36462
36463 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36464
36465 2014-07-03 Roland McGrath <roland@hack.frob.com>
36466
36467 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36468 (lll_futex_timed_wait_bitset): Fix syscall argument count.
36469
36470 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36471 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36472 in a bare environment with no <stdlib.h> installed.
36473 * sysdeps/nptl/configure: Regenerated.
36474
36475 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36476
36477 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36478 AC_EGREP_CPP for kernel header checks, so they only succeed if
36479 including <linux/version.h> actually works right.
36480 * sysdeps/unix/sysv/linux/configure: Regenerated.
36481
36482 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36483 value so it's not diagnosed as unused.
36484
36485 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36486 thing) with "ifeq ($(subdir),rt)".
36487
36488 2014-07-03 Richard Henderson <rth@redhat.com>
36489
36490 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36491 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36492 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36493
36494 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36495 (math_force_eval): New.
36496
36497 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36498 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36499
36500 * sysdeps/alpha/fpu/s_round.c: Remove file.
36501 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36502
36503 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36504 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36505 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36506 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36507 (_dl_start, print_statistics): Likewise.
36508 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36509 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36510
36511 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36512 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36513 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36514 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36515 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36516 (HP_SMALL_TIMING_AVAIL): Define.
36517 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36518 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36519 (HP_SMALL_TIMING_AVAIL): Define.
36520 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36521 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36522
36523 * sysdeps/aarch64/hp-timing.h: New file.
36524
36525 * sysdeps/generic/hp-timing.h: Remove dead comment.
36526 * sysdeps/generic/hp-timing-common.h: New file.
36527 * sysdeps/alpha/hp-timing.h: Include it.
36528 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36529 * sysdeps/i386/i686/hp-timing.h: Likewise.
36530 * sysdeps/ia64/hp-timing.h: Likewise.
36531 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36532 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36533 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36534 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36535 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36536 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36537 (hp_timing_t): New.
36538
36539 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36540 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36541 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36542 * elf/rtld.c (_dl_start_final): Likewise.
36543 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36544 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36545 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36546 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36547 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36548 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36549 (HP_TIMING_DIFF_INIT): Remove.
36550 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36551 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36552 (HP_TIMING_DIFF_INIT): Remove.
36553 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36554 * sysdeps/i386/i686/hp-timing.c: Remove file.
36555 * sysdeps/x86_64/hp-timing.c: Remove file.
36556 * sysdeps/ia64/hp-timing.c: Remove file.
36557 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36558 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36559 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36560 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36561
36562 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36563 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36564 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36565 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36566 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36567 (HP_TIMING_ACCUM): Remove.
36568 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36569 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36570 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36571
36572 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36573 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36574 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36575 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36576 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36577 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36578 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36579 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36580
36581 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36582
36583 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
36584
36585 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36586
36587 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36588
36589 Sync up with gettext.
36590 * intl/loadmsgcat.c: Define O_BINARY if not defined.
36591 [_MSC_VER]: Include malloc.h
36592 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36593 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36594 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
36595 TEMP_FAILURE_RETRY. Cast return of alloca.
36596 [!_LIBC] Call gl_rwlock_init.
36597 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36598
36599 2014-07-02 Roland McGrath <roland@hack.frob.com>
36600
36601 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36602 before checking its value.
36603
36604 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36605
36606 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36607
36608 * debug/memcpy_chk.c: Don't include pagecopy.h.
36609 * debug/mempcpy_chk.c: Likewise.
36610 * string/memcpy.c: Likewise.
36611 * string/memmove.c: Likewise.
36612 * sysdeps/powerpc/memmove.c: Likewise.
36613 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
36614 definition of PAGE_COPY_FWD_MAYBE here...
36615 * sysdeps/generic/pagecopy.h: ... from here.
36616 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36617
36618 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
36619 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36620
36621 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36623 optimizations.
36624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36625 (__libc_ifunc_impl_list): Likewise.
36626 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36627 multiarch strcat for PPC64.
36628 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36629 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36630
36631 2014-07-02 Roland McGrath <roland@hack.frob.com>
36632
36633 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36634
36635 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36636
36637 * intl/loadmsgcat.c: Remove declaration of
36638 get_sysdep_segment_value.
36639 (get_sysdep_segment_value): Use ISO C style.
36640 (_nl_load_domain): Use ISO C style. Get rid of redundant
36641 semicolon. Fix typo and formatting in comment.
36642 (_nl_unload_domain): Use ISO C style.
36643
36644 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36645
36646 2014-07-02 Will Newton <will.newton@linaro.org>
36647
36648 * malloc/obstack.c: Merge from gnulib master.
36649 [HAVE_CONFIG_H]: Remove conditional code.
36650 [!_LIBC]: Include config.h.
36651 [!ELIDE_CODE]: Don't include inttypes.h, include
36652 stdint.h unconditionally.
36653 (print_and_abort): Mark as _Noreturn.
36654 (_obstack_allocated_p): Mark as __attribute_pure__.
36655 (obstack_free): Rename to __obstack_free.
36656 [!__attribute__]: Remove conditional code.
36657 * malloc/obstack.h: Merge from gnulib master.
36658 [__cplusplus]: Move conditional down.
36659 [!__attribute_pure__]: Define __attribute_pure__ here
36660 if it is not already defined.
36661 (_obstack_memory_used): Mark as __attribute_pure__.
36662 [!__obstack_free]: Define as obstack_free.
36663 [__GNUC__]: Remove check for ancient NeXT gcc.
36664
36665 2014-07-02 Will Newton <will.newton@linaro.org>
36666 Paul Eggert <eggert@cs.ucla.edu>
36667
36668 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36669
36670 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36671
36672 * resolv/gethnamaddr.c: Add comment warning that the file is
36673 not maintained.
36674
36675 2014-07-01 Carlos O'Donell <carlos@redhat.com>
36676
36677 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36678 entries.
36679
36680 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36681 entry for aio_cancel and aio_cancel64.
36682 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36683 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36684 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36685 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36686 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36687 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36688 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36689 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36690 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36691 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36692 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36693 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36694 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36695
36696 2014-07-01 Roland McGrath <roland@hack.frob.com>
36697
36698 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36699 * nptl/pthread_mutex_lock.c: Likewise.
36700 * nptl/pthread_mutex_timedlock.c: Likewise.
36701 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36702
36703 2014-07-01 Richard henderson <rth@redhat.com>
36704
36705 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36706 (__isnan, __isnanl): Remove.
36707 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36708
36709 * sysdeps/alpha/fpu/libm-test-ulps: Update.
36710
36711 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36712
36713 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36714
36715 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36716
36717 * resolv/nss_dns/dns-host.c (getanswer_r)
36718 [MULTI_PTRS_ARE_ALIASES]: Remove code.
36719
36720 2014-07-01 Joseph Myers <joseph@codesourcery.com>
36721
36722 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36723 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36724 undefine.
36725 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36726 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36727
36728 2014-07-01 Roland McGrath <roland@hack.frob.com>
36729
36730 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36731 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36732
36733 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36734 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36735
36736 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36737 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36738 ... here.
36739 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36740 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36741
36742 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36743 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36744 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36745 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36746
36747 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36748 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36749 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36750 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36751 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36752 Moved ...
36753 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36754 ... here.
36755 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36756 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36757 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36758 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36759 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36760 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36761 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36762 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36763 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36764 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36765 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36766 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36767 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36768 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36769 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36770 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36771 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36772 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36773 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36774 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36775 ... here.
36776 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36777 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36778 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36779 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36780 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36781 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36782 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36783 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36784
36785 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
36786
36787 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36788 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36789 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36790 Add sysdep.
36791
36792 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36793
36794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36795
36796 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36797
36798 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36799 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36800
36801 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36802
36803 * sysdeps/arm/libm-test-ulps: Regenerated.
36804
36805 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36806 Roland McGrath <roland@hack.frob.com>
36807
36808 * test-skeleton.c (signal_handler): Kill the whole process group
36809 before killing the child individually.
36810 (main): Report any failure on `setpgid'.
36811
36812 2014-06-30 Roland McGrath <roland@hack.frob.com>
36813
36814 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36815 from _TLS_H to _ARM_NPTL_TLS_H.
36816 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36817 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36818
36819 2014-06-30 Joseph Myers <joseph@codesourcery.com>
36820
36821 [BZ #16539]
36822 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36823 (__expm1l): Return argument unchanged when small but not
36824 subnormal.
36825
36826 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36827 include macro name.
36828 (_FP_UNPACK_RAW_1_P): Likewise.
36829 (_FP_PACK_RAW_1): Likewise.
36830 (_FP_PACK_RAW_1_P): Likewise.
36831 (_FP_MUL_MEAT_1_wide): Likewise.
36832 (_FP_MUL_MEAT_DW_1_hard): Likewise.
36833 (_FP_MUL_MEAT_1_hard): Likewise.
36834 (_FP_DIV_MEAT_1_imm): Likewise.
36835 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36836 (_FP_DIV_MEAT_1_udiv): Likewise.
36837 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36838 (_FP_UNPACK_RAW_2): Likewise.
36839 (_FP_UNPACK_RAW_2_P): Likewise.
36840 (_FP_PACK_RAW_2): Likewise.
36841 (_FP_PACK_RAW_2_P): Likewise.
36842 (_FP_MUL_MEAT_DW_2_wide): Likewise.
36843 (_FP_MUL_MEAT_2_wide): Likewise.
36844 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36845 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36846 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36847 (_FP_MUL_MEAT_2_gmp): Likewise.
36848 (_FP_DIV_MEAT_2_udiv): Likewise.
36849 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36850 (_FP_FRAC_SRL_4): Likewise.
36851 (_FP_FRAC_SRST_4): Likewise.
36852 (_FP_FRAC_SRS_4): Likewise.
36853 (_FP_UNPACK_RAW_4): Likewise.
36854 (_FP_UNPACK_RAW_4_P): Likewise.
36855 (_FP_PACK_RAW_4): Likewise.
36856 (_FP_PACK_RAW_4_P): Likewise.
36857 (_FP_MUL_MEAT_DW_4_wide): Likewise.
36858 (_FP_MUL_MEAT_4_wide): Likewise.
36859 (_FP_MUL_MEAT_4_gmp): Likewise.
36860 (umul_ppppmnnn): Likewise.
36861 (_FP_DIV_MEAT_4_udiv): Likewise.
36862 (__FP_FRAC_ADD_4): Likewise.
36863 (__FP_FRAC_SUB_3): Likewise.
36864 (__FP_FRAC_SUB_4): Likewise.
36865 (__FP_FRAC_DEC_3): Likewise.
36866 (__FP_FRAC_DEC_4): Likewise.
36867 (__FP_FRAC_ADDI_4): Likewise.
36868 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36869 (_FP_FRAC_SRL_8): Likewise.
36870 (_FP_FRAC_SRS_8): Likewise.
36871
36872 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36873 include macro name.
36874 (FP_UNPACK_RAW_EP): Likewise.
36875 (FP_PACK_RAW_E): Likewise.
36876 (FP_PACK_RAW_EP): Likewise.
36877 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36878 (_FP_ISSIGNAN): Likewise.
36879 (_FP_ADD_INTERNAL): Likewise.
36880 (_FP_FMA): Likewise.
36881 (_FP_CMP): Likewise.
36882 (_FP_SQRT): Likewise.
36883 (_FP_TO_INT): Likewise.
36884 (_FP_FROM_INT): Likewise.
36885 (FP_EXTEND): Likewise.
36886 (_FP_DIV_MEAT_N_loop): Likewise.
36887
36888 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
36889
36890 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36891 throughout.
36892
36893 2014-06-29 Joseph Myers <joseph@codesourcery.com>
36894
36895 [BZ #17097]
36896 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36897 result with correct sign in case of exponents that produce
36898 overflow except for X very close to 1.
36899
36900 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
36901
36902 mktime: merge #if/#ifdef usage from glibc
36903 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36904 as that works with both Glibc's and Gnulib's style.
36905 See thread starting at Siddhesh Poyarekar's bug report at:
36906 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36907
36908 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36909
36910 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36911 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36912 * sysdeps/tile/tilegx/memmove.c: Remove file.
36913
36914 2014-06-27 Joseph Myers <joseph@codesourcery.com>
36915
36916 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
36917 abi-name definition.
36918 * scripts/soversions.awk: Do not handle or generate ABI lines.
36919 * shlib-versions: Remove ABI entries.
36920 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
36921 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
36922
36923 2014-06-27 Roland McGrath <roland@hack.frob.com>
36924
36925 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
36926 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
36927 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
36928 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
36929 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
36930 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
36931 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
36932 Moved ...
36933 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
36934 ... here.
36935 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
36936 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
36937 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
36938 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
36939 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
36940 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
36941 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
36942 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
36943 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
36944 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
36945 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
36946 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
36947 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
36948 Moved ...
36949 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
36950 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
36951 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
36952 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
36953 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
36954 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
36955 Moved ...
36956 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
36957 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
36958 Moved ...
36959 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
36960 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
36961 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
36962 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
36963 Moved ...
36964 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
36965 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
36966 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
36967 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
36968 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
36969 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
36970 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
36971 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
36972 Moved ...
36973 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
36974 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
36975 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
36976 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
36977 Moved ...
36978 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
36979 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
36980 Moved ...
36981 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
36982 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
36983 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
36984 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
36985 Moved ...
36986 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
36987 ... here.
36988 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
36989 Identical file removed.
36990 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
36991 Moved ...
36992 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
36993 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
36994 Identical file removed.
36995 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
36996 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
36997 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
36998 Moved ...
36999 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37000 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37001 Identical file removed.
37002 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37003 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37004 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37005 Identical file removed.
37006 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37007 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37008 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37009 Identical file removed.
37010 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37011 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37012 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37013 Identical file removed.
37014 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37015 Moved ...
37016 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37017 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37018 Identical file removed.
37019 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37020 Moved ...
37021 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37022 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37023 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37024 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37025 Identical file removed.
37026 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37027 Moved ...
37028 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37029 ... here.
37030 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37031 Identical file removed.
37032 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37033 Moved ...
37034 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37035 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37036 Identical file removed.
37037 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37038 Moved ...
37039 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37040 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37041 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37042 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37043 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37044 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37045 Moved ...
37046 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37047 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37048 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37049
37050 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37051 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37052 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37053 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37054 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37055
37056 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
37057
37058 [BZ #17092]
37059 * nscd/nscd.c (monitor_child): Return exit status of child
37060 instead of return value from wait syscall.
37061
37062 2014-06-27 Joseph Myers <joseph@codesourcery.com>
37063
37064 * configure.ac (libc_commonpagesize): Remove variable.
37065 (libc_relro_required): Likewise.
37066 (libc_cv_z_relro): Remove configure test.
37067 * configure: Regenerated.
37068 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37069 variable.
37070 (libc_relro_required): Likewise.
37071 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37072 (libc_relro_required): Likewise.
37073 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37074 (libc_relro_required): Likewise.
37075 * sysdeps/arm/preconfigure: Regenerated.
37076 * sysdeps/ia64/preconfigure: Remove file.
37077 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37078 variable.
37079 (libc_relro_required): Likewise.
37080
37081 [BZ #16561]
37082 [BZ #16562]
37083 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37084 (__ieee754_yn): Set FE_TONEAREST mode internally and then
37085 recompute overflowing results in original rounding mode.
37086 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37087 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37088 recompute overflowing results in original rounding mode.
37089 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37090 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37091 recompute overflowing results in original rounding mode.
37092 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37093 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37094 recompute overflowing results in original rounding mode.
37095 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37096 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37097 recompute overflowing results in original rounding mode.
37098 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37099 (libc_feholdsetround_ctx): New macro.
37100 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37101 * sysdeps/i386/fpu/libm-test-ulps: Update.
37102 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37103
37104 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37105
37106 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37107 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37108 corresponding .cpsetup call.
37109
37110 2014-06-26 Roland McGrath <roland@hack.frob.com>
37111
37112 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37113 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37114 * sysdeps/arm/Makefile [$(subdir) = csu]
37115 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37116 (static-only-routines): Add aeabi_read_tp here.
37117 (shared-only-routines): Add libc-aeabi_read_tp here.
37118 (CFLAGS-libc-start.c): Add -fexceptions here.
37119 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37120 (sysdep_routines, static-only-routines, shared-only-routines):
37121 Don't add to these here.
37122 (CFLAGS-libc-start.c): Likewise.
37123
37124 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37125 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37126 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37127 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37128 * sysdeps/arm/Makefile [$(subdir) = rt]
37129 (librt-sysdep_routines, librt-shared-only-routines):
37130 Append rt-aeabi_unwind_cpp_pr1 here.
37131 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37132 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37133 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37134 (libpthread-sysdep_routines, libpthread-shared-only-routines):
37135 Append nptl-aeabi_unwind_cpp_pr1 here.
37136 (tests): Filter out tst-cleanupx4 here.
37137 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37138 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37139 Don't do those here.
37140
37141 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37142
37143 * scripts/list-sources.sh: Do not handle ports specially.
37144
37145 2014-06-26 Roland McGrath <roland@hack.frob.com>
37146
37147 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37148 * sysdeps/arm/feupdateenv.c: Likewise.
37149
37150 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37151
37152 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37153
37154 * manual/texinfo.tex: Update to version 2014-05-05.10 with
37155 trailing whitespace removed.
37156 * scripts/config.guess: Update to version 2014-03-23.
37157 * scripts/config.sub: Update to version 2014-05-01
37158 * scripts/install-sh: Update to version 2013-12-25.23.
37159 * scripts/move-if-change: Update from gnulib.
37160
37161 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37162
37163 * debug/memmove_chk.c: Remove pagecopy.h include.
37164
37165 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
37166
37167 * time/mktime.c (leapyear): Remove inline keyword. The code is now
37168 identical to gnulib mktime.
37169
37170 2014-06-26 Joseph Myers <joseph@codesourcery.com>
37171
37172 * configure.ac: Do not test for machine being rs6000. Do not test
37173 for powerpc*-*soft.
37174 * configure: Regenerated.
37175
37176 [BZ #11505]
37177 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37178 test.
37179 * configure: Regenerated.
37180 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37181 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37182 Remove configure test.
37183 * sysdeps/arm/configure: Regenerated.
37184 * sysdeps/nptl/configure.ac: Do not check
37185 libc_cv_asm_cfi_directives.
37186 * sysdeps/nptl/configure: Regenerated.
37187 * sysdeps/x86_64/nptl/configure.ac: Remove file.
37188 * sysdeps/x86_64/nptl/configure: Remove generated file.
37189 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37190 unconditional.
37191 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37192
37193 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37194
37195 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37196 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37197 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37198 it is defined.
37199
37200 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37201 instead of whether it is defined.
37202 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37203 * sysdeps/hppa/dl-machine.h: Likewise.
37204 * sysdeps/ia64/dl-machine.h: Likewise.
37205 * sysdeps/m68k/dl-machine.h: Likewise.
37206 * sysdeps/microblaze/dl-machine.h: Likewise.
37207 * sysdeps/mips/dl-machine.: Likewise.
37208 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37209 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37210 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37211 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37212 * sysdeps/sh/dl-machine.h: Likewise.
37213 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37214 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37215 * sysdeps/tile/dl-machine.h: Likewise.
37216 * sysdeps/x86_64/dl-machine.h: Likewise.
37217
37218 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37219 code.
37220 (verify_persistent_db): Likewise.
37221
37222 2014-06-26 Roland McGrath <roland@hack.frob.com>
37223
37224 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37225 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37227 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37228 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37229 Moved ...
37230 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37231 ... here.
37232 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37233 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37235 Identical file removed.
37236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37237 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37238 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37239 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37240 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37241 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37242 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37243 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37244 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37245 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37247 Moved ...
37248 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37250 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37252 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37254 Moved ...
37255 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37257 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37259 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37261 Identical file removed.
37262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37263 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37264 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37265 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37266 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37267 Moved ...
37268 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37269 ... here.
37270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37271 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37273 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37275 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37277 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37278 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37279 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37280 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37281 Moved ...
37282 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37283 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37284 Moved ...
37285 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37286 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37287 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37289 Moved ...
37290 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37292 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37293
37294 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37295 folded into ...
37296 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37297 * sysdeps/unix/sysv/linux/s390/Versions
37298 (libpthread: GLIBC_2.19): New version set.
37299 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37300 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37301 (librt: GLIBC_2.3.3): New version set.
37302 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37303 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37304 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37305 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37306 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37307 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37308 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37309 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37310 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37311 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37312 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37313 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37314 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37315 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37316 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37317 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37318 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37319 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37320 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37321 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37322 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37323 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37324 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37325 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37326 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37327 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37328 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37329 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37330 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37331 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37332 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37333 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37335 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37336 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37337 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37338 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37339 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37340 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37341 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37342 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37343 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37344 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37345 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37346 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37347
37348 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37349 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37350 (__libc_vfork): Define the function under this name.
37351 [!NOT_IN_libc] (__vfork): Make this an alias.
37352 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37353 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37354 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37355 (__libc_vfork): Define the function under this name.
37356 [!NOT_IN_libc] (__vfork): Make this an alias.
37357 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37358 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37359 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37360 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37361 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37362 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37363
37364 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37365 code that was previously under [RESET_PID].
37366 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37367 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37368 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37369
37370 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37371 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37372 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37373 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37374 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37375 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37376 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37377 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37378 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37379 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37380 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37381 Moved ...
37382 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37383 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37384 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37385 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37386 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37387 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37388 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37389 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37390 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37391 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37392 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37393 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37394 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37395 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37396 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37397 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37398 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37399 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37400 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37401 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37402 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37403 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37404 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37405 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37406 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37407 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37408 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37409 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37410 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37411
37412 2014-06-25 Roland McGrath <roland@hack.frob.com>
37413
37414 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37415 that was previously under [RESET_PID].
37416 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37417
37418 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37419
37420 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37421 not undefine and redefine.
37422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37423 [O_CLOEXEC]: Make code unconditional.
37424 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37425 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37426 <kernel-features.h>.
37427 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37428 conditional variable definition.
37429 (shm_open) [O_CLOEXEC]: Make code unconditional.
37430 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37431 code.
37432
37433 * configure.ac (USE_REGPARMS): Don't define here.
37434 * configure: Regenerated.
37435 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37436 * sysdeps/i386/configure: Regenerated.
37437
37438 * nptl/createthread.c: Don't include kernel-features.h.
37439 * nptl/pthread_cancel.c: Likewise.
37440 * nptl/pthread_condattr_setclock.c: Likewise.
37441 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37442 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37443 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37444 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37445 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37446 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37447 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37448 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37449 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37450 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37451 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37452 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37453 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37454 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37455 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37456 * nscd/gai.c: Likewise.
37457 * nss/nss_db/db-open.c: Likewise.
37458 * sysdeps/generic/ldsodefs.h: Likewise.
37459 * sysdeps/sh/nptl/tls.h: Likewise.
37460 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37461 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37462 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37463 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37464 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37465 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37466 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37467 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37468 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37469 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37470 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37471 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37472 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37473 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37474 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37475 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37476 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37477 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37478 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37479 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37480 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37481 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37482 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37483 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37484 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37485 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37486 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37487 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37488 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37489 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37490 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37491 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37492 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37493 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37494 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37495 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37496 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37497 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37498 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37499 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37500 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37501 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37502 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37503 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37504 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37505 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37506 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37507 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37508 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37509 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37510 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37511 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37512 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37513 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37514 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37515 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37516 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37517 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37540 * sysdeps/unix/sysv/linux/pread.c: Likewise.
37541 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37542 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37543 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37544 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37545 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37546 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37547 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37548 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37549 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37550 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37551 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37552 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37553 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37554 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37555 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37556 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37557 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37558 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37559 * sysdeps/unix/sysv/linux/system.c: Likewise.
37560 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37561 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37562 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37563 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37564 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37565 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37566 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37567
37568 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37569 * configure: Regenerated.
37570 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37571
37572 * configure.ac (base_machine): Do not set specially for particular
37573 machines here.
37574 * configure: Regenerated.
37575 * sysdeps/powerpc/preconfigure: Move machine and base_machine
37576 settings from configure.ac.
37577 * sysdeps/i386/preconfigure: New file.
37578 * sysdeps/s390/preconfigure: Likewise.
37579 * sysdeps/sh/preconfigure: Likewise.
37580 * sysdeps/sparc/preconfigure: Likewise.
37581
37582 2014-06-25 Roland McGrath <roland@hack.frob.com>
37583
37584 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37585 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37586 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37587 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37588 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37589 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37590 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37591 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37592 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37593 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37594 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37595 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37596 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37597 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37598 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37599 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37600 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37601 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37602 * sysdeps/sparc/sparc64/Makefile: ... appended here.
37603
37604 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37605 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37606 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37607 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37608 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37609 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37610 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37611 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37612 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37613 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37614 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37615 * sysdeps/sparc/sparc32/sem_post.c: ... here.
37616 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37617 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37618 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37619 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37620 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37621 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37622 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37623 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37624 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37625 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37626 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37627 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37628 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37629 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37630 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37631 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37632 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37633 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37634 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37635 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37636 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37637 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37638 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37639 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37640 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37641 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37642
37643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37644 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37645 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37646 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37648 Moved ...
37649 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37650 ... here.
37651 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37652 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37654 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37656 Moved ...
37657 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37659 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37661 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37663 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37665 Moved ...
37666 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37667 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37668 Moved ...
37669 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37671 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37672 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37673 Moved ...
37674 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37676 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37678 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37680 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37682 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37684 Moved ...
37685 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37686 ... here.
37687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37688 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37689 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37690 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37691 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37692 Moved ...
37693 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37694 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37695 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37696 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37697 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37698 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37699 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37700 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37701 Moved ...
37702 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37704 Moved ...
37705 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37707 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37709 Moved ...
37710 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37712 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37714 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37715
37716 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37717
37718 * timezone/checktab.awk: Update from tzcode 2014e.
37719 * timezone/private.h: Likewise.
37720 * timezone/tzfile.h: Likewise.
37721 * timezone/zdump.c: Likewise.
37722 * timezone/zic.c: Likewise.
37723
37724 * sysdeps/unix/sysv/linux/kernel-features.h
37725 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37726 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37727 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37728 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37729 Remove conditional code.
37730
37731 2014-06-25 Will Newton <will.newton@linaro.org>
37732
37733 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37734 (_dl_arm_cap_flags): Add HWCAP2 values.
37735 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37736 (_DL_HWCAP_COUNT): Increase to 37.
37737 (_DL_HWCAP_LAST): New define.
37738 (_DL_HWCAP2_LAST): New define.
37739 (_dl_procinfo): Add support for printing
37740 AT_HWCAP2 entries.
37741 (_dl_string_hwcap): Use _dl_hwcap_string.
37742
37743 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37744
37745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37746
37747 2014-06-25 Joseph Myers <joseph@codesourcery.com>
37748
37749 * README: Do not mention ports directory.
37750
37751 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37752 Remove macro.
37753 * sysdeps/unix/sysv/linux/futimes.c: Do not include
37754 <kernel-features.h>.
37755 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37756 conditional variable definition.
37757 (__futimes): Update comment.
37758 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37759 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37760
37761 [BZ #16560]
37762 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37763 arguments close to 0.
37764 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37765 Likewise.
37766 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37767 Likewise.
37768 * math/auto-libm-test-in: Add more tests of exp10.
37769 * math/auto-libm-test-out: Regenerated.
37770 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37771
37772 * sysdeps/unix/sysv/linux/kernel-features.h
37773 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37774 * sysdeps/unix/sysv/linux/readv.c: Do not include
37775 <kernel-features.h>.
37776 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37777 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37778 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37779 unconditional.
37780 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37781 conditional code.
37782 * sysdeps/unix/sysv/linux/writev.c: Do not include
37783 <kernel-features.h>.
37784 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37785 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37786 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37787 unconditional.
37788 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37789 conditional code.
37790
37791 2014-06-25 Will Newton <will.newton@linaro.org>
37792
37793 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37794 comment changes throughout the file. Remove checks
37795 for HAVE_*_H definitions that are not required.
37796 (__gen_tempname): Call abort if an unknown kind value is
37797 passed.
37798
37799 2014-06-25 Andreas Schwab <schwab@suse.de>
37800
37801 [BZ #17086]
37802 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37803 scalbln, scalblnf, scalblnl in libc.
37804
37805 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37806
37807 [BZ #17086]
37808 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37809 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37810 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37811
37812 2014-06-24 Roland McGrath <roland@hack.frob.com>
37813
37814 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37815 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37816 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37817 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37818 Update #include.
37819 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37820 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37821 Update #include.
37822 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37823 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37824 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37825 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37826 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37827 * sysdeps/x86/bits/pthreadtypes.h: ... here.
37828 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37829 * sysdeps/x86/bits/semaphore.h: ... here.
37830 * sysdeps/x86/nptl/elide.h: Moved ...
37831 * sysdeps/x86/elide.h: ... here.
37832 * sysdeps/x86_64/nptl/Implies: File removed.
37833 * sysdeps/i386/nptl/Implies: File removed.
37834
37835 2014-06-24 Joseph Myers <joseph@codesourcery.com>
37836
37837 [BZ #16539]
37838 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37839 return the argument for normal arguments with exponent below -64.
37840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37841 Likewise.
37842 * math/auto-libm-test-in: Add another test of expm1.
37843 * math/auto-libm-test-out: Regenerated.
37844
37845 [BZ #16287]
37846 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37847 calling __erfcl for arguments at least 16.
37848 * math/auto-libm-test-in: Add more tests of erf.
37849 * math/auto-libm-test-out: Regenerated.
37850
37851 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37852 individual architectures.
37853 * sysdeps/unix/sysv/linux/configure: Regenerated.
37854 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37855 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37856 * sysdeps/unix/sysv/linux/powerpc/configure.ac
37857 (ldd_rewrite_script): Define variable.
37858 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37860 file.
37861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37862 generated file.
37863 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37864 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37865 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37866 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37867 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37868 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37869 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37870 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37871
37872 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37873
37874 [BZ #17084]
37875 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37876 Rename member __data.d to __data.__elision_data.
37877
37878 2014-06-24 Wilco <wdijkstr@arm.com>
37879
37880 * NEWS: Add 16918 to fixed bug list.
37881
37882 2014-06-24 Wilco <wdijkstr@arm.com>
37883
37884 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37885
37886 2014-06-24 Wilco <wdijkstr@arm.com>
37887
37888 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37889 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37890 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37891 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37892 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37893 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37894 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37895 Use _FPU_MASK_RM.
37896
37897 2014-06-24 Wilco <wdijkstr@arm.com>
37898
37899 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37900
37901 2014-06-24 Wilco <wdijkstr@arm.com>
37902
37903 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37904 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37905 * sysdeps/arm/fesetround.c (fesetround): Remove space.
37906 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37907
37908 2014-06-24 Wilco <wdijkstr@arm.com>
37909
37910 [BZ #16918]
37911 * sysdeps/arm/feupdateenv.c (feupdateenv):
37912 Rewrite to reduce FPSCR accesses and fix return value.
37913
37914 2014-06-24 Wilco <wdijkstr@arm.com>
37915
37916 * sysdeps/arm/fclrexcpt.c (feclearexcept):
37917 Optimize to avoid unnecessary FPSCR writes.
37918 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
37919 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
37920 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
37921 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
37922
37923 2014-06-24 Wilco <wdijkstr@arm.com>
37924
37925 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
37926 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
37927 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
37928 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
37929 Call libc_fetestexcept_vfp.
37930 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
37931 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
37932 __SOFTFP__ ifdef so that they can be built for softfp.
37933
37934 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37935
37936 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
37937 argument type signed char.
37938
37939 * Makerules (check-abi): Dump diff of symlist if the test
37940 fails.
37941
37942 2014-06-23 Roland McGrath <roland@hack.frob.com>
37943
37944 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
37945 using abort.
37946
37947 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37948 Remove unused variable ST.
37949
37950 2014-06-23 Joseph Myers <joseph@codesourcery.com>
37951
37952 [BZ #16354]
37953 [BZ #17061]
37954 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
37955 small arguments before calling __expm1.
37956 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
37957 small arguments before calling __expm1f.
37958 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
37959 small arguments before calling __expm1l.
37960 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37961 Likewise.
37962 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
37963 * math/auto-libm-test-in: Add more cosh tests. Do not allow
37964 spurious underflow for some cosh tests.
37965 * math/auto-libm-test-out: Regenerated.
37966 * sysdeps/i386/fpu/libm-test-ulps: Update.
37967
37968 [BZ #17050]
37969 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
37970 (__ieee754_y1): Set errno if return value overflows.
37971 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
37972 (__ieee754_y1f): Set errno if return value overflows.
37973 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
37974 (__ieee754_y1l): Set errno if return value overflows.
37975 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
37976 (__ieee754_y1l): Set errno if return value overflows.
37977 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
37978 * math/auto-libm-test-out: Regenerated.
37979
37980 * math/gen-auto-libm-tests.c: Document use of
37981 ignore-zero-inf-sign.
37982 (input_flag_type): Add value flag_ignore_zero_inf_sign.
37983 (input_flags): Add ignore-zero-inf-sign.
37984 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
37985 * math/gen-libm-test.pl (generate_testfile): Handle
37986 ignore-zero-inf-sign.
37987 * math/auto-libm-test-in: Mark some cpow tests with
37988 ignore-zero-inf-sign and some with xfail-rounding.
37989 * math/auto-libm-test-out: Regenerated.
37990 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
37991 * sysdeps/i386/fpu/libm-test-ulps: Update.
37992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37993
37994 [BZ #16315]
37995 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
37996 overflowing or underflowing operations take place with sign of
37997 result.
37998 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37999 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38000 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38001 (__ieee754_pow): Recompute overflowing and underflowing results in
38002 original rounding mode.
38003 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38004 (__powl_helper): Allow negative argument X and scale negated value
38005 as needed. Avoid passing value outside [-1, 1] to f2xm1.
38006 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38007 overflowing or underflowing operations take place with sign of
38008 result.
38009 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38010 Include <math.h>.
38011 * math/auto-libm-test-in: Add more tests of pow.
38012 * math/auto-libm-test-out: Regenerated.
38013 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38014 (pow_tonearest_test_data): Remove.
38015 (pow_test_tonearest): Likewise.
38016 (pow_towardzero_test_data): Likewise.
38017 (pow_test_towardzero): Likewise.
38018 (pow_downward_test_data): Likewise.
38019 (pow_test_downward): Likewise.
38020 (pow_upward_test_data): Likewise.
38021 (pow_test_upward): Likewise.
38022 (main): Don't call removed functions.
38023 * sysdeps/i386/fpu/libm-test-ulps: Update.
38024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38025
38026 2014-06-23 Roland McGrath <roland@hack.frob.com>
38027
38028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38029 Moved ...
38030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38032 Moved ...
38033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38035 Moved ...
38036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38038 Moved ...
38039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38041 File removed.
38042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38043 File removed.
38044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38045 File removed.
38046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38047 File removed.
38048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38049 File removed.
38050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38051 File removed.
38052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38053 File removed.
38054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38055 File removed.
38056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38057 File removed.
38058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38059 File removed.
38060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38061 File removed.
38062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38063 File removed.
38064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38065 Moved ...
38066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38068 Moved ...
38069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38070 ... here.
38071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38072 Moved ...
38073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38075 Moved ...
38076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38078 Moved ...
38079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38081 Moved ...
38082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38084 Moved ...
38085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38087 Moved ...
38088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38090 Moved ...
38091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38094 ... here.
38095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38096 Moved ...
38097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38099 Moved ...
38100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38101 ... here.
38102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38103 Moved ...
38104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38105 ... here.
38106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38107 Moved ...
38108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38109 ... here.
38110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38111 Moved ...
38112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38114 Moved ...
38115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38119 Moved ...
38120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38121 ... here.
38122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38123 Moved ...
38124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38125 ... here.
38126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38127 Moved ...
38128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38130 Moved ...
38131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38133 Moved ...
38134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38136 Moved ...
38137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38139 Moved ...
38140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38141 ... here.
38142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38143 Moved ...
38144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38146 Moved ...
38147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38149 Moved ...
38150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38152 Moved ...
38153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38157 Moved ...
38158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38160 Moved ...
38161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38163 Moved ...
38164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38165 ... here.
38166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38167 Moved ...
38168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38169 ... here.
38170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38171 Moved ...
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38173 ... here.
38174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38175 Moved ...
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38178 Moved ...
38179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38181 Moved ...
38182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38184 Moved ...
38185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38186 ... here.
38187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38188 Moved ...
38189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38190 ... here.
38191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38192 Moved ...
38193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38194 ... here.
38195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38196 Moved ...
38197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38199 Moved ...
38200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38201
38202 2014-06-23 Will Newton <will.newton@linaro.org>
38203 Wilco <wdijkstr@arm.com>
38204
38205 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38206 implementation. Include get-rounding-mode.h.
38207 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38208 [!libc_feholdsetround_noex_ctx]: Define
38209 libc_feholdsetround_noex_ctx.
38210 [!libc_feholdsetround_noexf_ctx]: Define
38211 libc_feholdsetround_noexf_ctx.
38212 [!libc_feholdsetround_noexl_ctx]: Define
38213 libc_feholdsetround_noexl_ctx.
38214 (libc_feholdsetround_ctx): New function.
38215 (libc_feresetround_ctx): New function.
38216 (libc_feholdsetround_noex_ctx): New function.
38217 (libc_feresetround_noex_ctx): New function.
38218
38219 2014-06-23 Roland McGrath <roland@hack.frob.com>
38220
38221 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38222 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38223 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38224 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38225 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38226 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38227
38228 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38229 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38230 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38231 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38232 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38233 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38234 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38235 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38236 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38237 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38238 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38239 Moved ...
38240 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38241 ... here.
38242 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38243 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38244 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38245 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38246 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38247 Moved ...
38248 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38249 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38250 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38251 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38252 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38253 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38254 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38255 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38256 Moved ...
38257 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38258 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38259 Moved ...
38260 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38261 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38262 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38263 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38264 Moved ...
38265 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38266 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38267 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38268 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38269 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38270 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38271 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38272 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38273 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38274 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38275 Moved ...
38276 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38277 ... here.
38278 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38279 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38280 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38281 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38282 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38283 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38284 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38285 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38286 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38287 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38288 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38289 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38290 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38291 Moved ...
38292 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38293 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38294 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38295 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38296 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38297 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38298 Moved ...
38299 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38300 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38301 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38302 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38303 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38304
38305 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38306 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38307 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38308 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38309 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38310 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38311 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38312 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38313 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38314 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38315 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38316 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38317 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38318 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38319 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38320 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38321 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38322 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38323 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38324 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38325 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38326 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38327 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38328 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38329 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38330 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38331 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38332 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38333
38334 2014-06-23 Joseph Myers <joseph@codesourcery.com>
38335
38336 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38337 (FALLOC_FL_COLLAPSE_RANGE): New macro.
38338 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38339 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38340 (IPV6_PMTUDISC_INTERFACE): Likewise.
38341 (IPV6_PMTUDISC_OMIT): Likewise.
38342
38343 2014-06-23 Andreas Schwab <schwab@suse.de>
38344
38345 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38346 Remove unused errout label.
38347
38348 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38349
38350 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38351 macro: hardware supports Vector Crypto instructions.
38352
38353 2014-06-23 Will Newton <will.newton@linaro.org>
38354
38355 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38356 rather than __builtin_expect.
38357
38358 * elf/dl-lookup.c (undefined_msg): Remove variable.
38359 (_dl_lookup_symbol_x): Replace undefined_msg with string
38360 literal.
38361
38362 * elf/dl-lookup.c (do_lookup_unique): New function.
38363 (do_lookup_x): Move STB_GNU_UNIQUE handling code
38364 to a separate function.
38365
38366 2014-06-23 Andreas Schwab <schwab@suse.de>
38367
38368 [BZ #17079]
38369 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38370 before reading the next line.
38371
38372 2014-06-23 Will Newton <will.newton@linaro.org>
38373
38374 * test-skeleton.c (signal_handler): Use printf and %m
38375 rather than perror. Use printf rather than fprintf to
38376 stderr. Use puts rather than fputs to stderr.
38377 (main): Likewise.
38378
38379 2014-06-22 Ludovic Courtès <ludo@gnu.org>
38380
38381 * nscd/nscd.c (thread_info_t): Remove typedef.
38382 (thread_info): Remove variable.
38383
38384 2014-06-21 Allan McRae <allan@archlinux.org>
38385
38386 * NEWS: Mention CVE-2014-4043.
38387
38388 2014-06-20 Roland McGrath <roland@hack.frob.com>
38389
38390 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38391 * nptl/smp.h: ... here.
38392
38393 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38394
38395 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38396 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38397 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38398 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38399
38400 * nptl/allocatestack.c: Include <stack-aliasing.h>.
38401 * nptl/stack-aliasing.h: New file.
38402 * sysdeps/i386/i686/stack-aliasing.h: New file.
38403 * sysdeps/i386/i686/nptl/Makefile: File removed.
38404 * sysdeps/x86_64/stack-aliasing.h: New file.
38405 * sysdeps/x86_64/nptl/Makefile
38406 (CFLAGS-pthread_create.c): Variable removed.
38407
38408 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38409 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38410 old file.
38411 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38412 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38413 old file.
38414
38415 2014-06-21 Joseph Myers <joseph@codesourcery.com>
38416
38417 * sysdeps/unix/sysv/linux/arm/kernel-features.h
38418 (__ASSUME_SIGFRAME_V2): Remove macro.
38419 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38420 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38421 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38422 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38423 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38424 Declare as function. Remove conditional macro definitions.
38425 (__default_rt_sa_restorer): Likewise.
38426 (__default_sa_restorer_v1): Remove declaration.
38427 (__default_sa_restorer_v2): Likewise.
38428 (__default_rt_sa_restorer_v1): Likewise.
38429 (__default_rt_sa_restorer_v2): Likewise.
38430 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38431 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38432 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38433
38434 2014-06-20 Roland McGrath <roland@hack.frob.com>
38435
38436 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38437 (libpthread-routines): Add sysdep.
38438 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38439 * sysdeps/unix/sysv/linux/sparc/Versions
38440 (libpthread: GLIBC_2.3.3): New version set.
38441 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38442 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38443 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38444 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38445 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
38446 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38447 Moved ...
38448 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38449 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38450 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38451 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38452 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38453 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38454 * sysdeps/sparc/nptl/sem_init.c: ... here.
38455 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38456 * sysdeps/sparc/nptl/sem_post.c: ... here.
38457 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38458 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38459 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38460 * sysdeps/sparc/nptl/sem_wait.c: ... here.
38461 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38462 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38463 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38464 (libpthread-routines): Add cpu_relax.
38465 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38466 File removed.
38467 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38468 (librt: GLIBC_2.3.3): New version set.
38469 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38470 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38471 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38472 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38473 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38474 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38475 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38476 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38477 Moved ...
38478 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38479 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38480 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38481 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38482 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38483 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38484 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38485 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38486 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38487 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38488 Moved ...
38489 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38490 Update #include.
38491 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38492 Moved ...
38493 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38494 Update #include.
38495 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38496 Moved ...
38497 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38498 Update #include.
38499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38500 Moved ...
38501 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38502 Update #include.
38503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38504 Moved ...
38505 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38506 Update #include.
38507 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38508 Moved ...
38509 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38510 Update #include.
38511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38512 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38514 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38516 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38518 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38520 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38522 Moved ...
38523 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38524 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38525 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38527 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38528
38529 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38530
38531 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38532 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38533 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38534 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38535 * nscd/nscd.c: Likewise.
38536 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38537 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38538 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38539 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38540
38541 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38542 <kernel-features.h>.
38543 (init_mq_netlink): Remove conditional have_sock_cloexec
38544 definitions. Remove code conditional on have_sock_cloexec < 0.
38545 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38546 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38547 * sysdeps/unix/sysv/linux/opensock.c: Do not include
38548 <kernel-features.h>.
38549 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38550 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38551
38552 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38553
38554 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38555 Add tests for memset_chk and memset.
38556
38557 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38558 with AVX2_Usable.
38559
38560 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38561
38562 [BZ #16046]
38563 * elf/tst-dl-iter-static.c: New file.
38564 * elf/Makefile (tests-static): Add tst-dl-iter-static.
38565
38566 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38567 error.
38568
38569 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38570
38571 * sysdeps/unix/sysv/linux/kernel-features.h
38572 (__ASSUME_F_GETOWN_EX): Remove macro.
38573 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38574 <kernel-features.h>.
38575 (miss_F_GETOWN_EX): Remove variable or macro.
38576 (do_fcntl): Do not check miss_F_GETOWN_EX.
38577 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38578
38579 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38580 Remove macro.
38581 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38582 [!__ASSUME_AT_RANDOM]: Remove conditional code.
38583 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38584
38585 * sysdeps/unix/sysv/linux/kernel-features.h
38586 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38587 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38588 [ADJ_OFFSET_SS_READ]: Make code unconditional.
38589 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38590
38591 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
38592
38593 [BZ #17075]
38594 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38595 Fix calculation of the symbol's value.
38596 * sysdeps/arm/tst-armtlsdescloc.c: New file.
38597 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38598 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38599 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38600 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38601 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38602 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38603 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38604 (modules-names): Add `tst-armtlsdescmod',
38605 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38606 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38607 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38608 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38609 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38610 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38611 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38612 ($(objpfx)tst-armtlsdescloc): New dependency.
38613 ($(objpfx)tst-armtlsdescextnow): Likewise.
38614 ($(objpfx)tst-armtlsdescextlazy): Likewise.
38615 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38616 TLS scheme support.
38617 * sysdeps/arm/configure: Regenerate.
38618
38619 2014-06-20 Joseph Myers <joseph@codesourcery.com>
38620
38621 * include/fcntl.h (__atfct_seterrno): Remove prototype.
38622 (__atfct_seterrno_2): Likewise.
38623 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38624 <kernel-features.h>.
38625 (__ASSUME_ATFCTS): Do not undefine and redefine.
38626 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38627 (__have_atfcts): Remove conditional definition.
38628 (__fxstatat([__NR_fstatat64]: Make code unconditional.
38629 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38630 unreachable if [__ASSUME_ATFCTS].
38631 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38632 not undefine and redefine.
38633 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38634 <kernel-features.h>.
38635 (faccessat) [__NR_faccessat]: Make code unconditional.
38636 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38637 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38638 <kernel-features.h>.
38639 (fchmodat) [__NR_fchmodat]: Make code unconditional.
38640 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38641 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38642 <kernel-features.h>.
38643 (fchownat) [__NR_fchownat]: Make code unconditional.
38644 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38645 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38646 <kernel-features.h>.
38647 (futimesat) [__NR_futimesat]: Make code unconditional.
38648 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38649 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38650 <kernel-features.h>.
38651 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38652 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38653 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38654 <kernel-features.h>.
38655 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38656 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38657 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38658 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38659 <kernel-features.h>.
38660 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38661 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38662 * sysdeps/unix/sysv/linux/linkat.c: Do not include
38663 <kernel-features.h>.
38664 (linkat) [__NR_linkat]: Make code unconditional.
38665 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38666 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38667 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38668 <kernel-features.h>.
38669 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38670 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38671 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38672 <kernel-features.h>.
38673 (mkdirat) [__NR_mkdirat]: Make code unconditional.
38674 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38675 * sysdeps/unix/sysv/linux/openat.c: Do not include
38676 <kernel-features.h>.
38677 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38678 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38679 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38680 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38681 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38682 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38683 <kernel-features.h>.
38684 (readlinkat) [__NR_readlinkat]: Make code unconditional.
38685 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
38686 result of INLINE_SYSCALL directly, not via int variable.
38687 * sysdeps/unix/sysv/linux/renameat.c: Do not include
38688 <kernel-features.h>.
38689 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38690 (renameat) [__NR_renameat]: Make code unconditional.
38691 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38692 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38693 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38694 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38695 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38696 (__ASSUME_ATFCTS): Do not undefine and redefine.
38697 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38698 <kernel-features.h>.
38699 (symlinkat) [__NR_symlinkat]: Make code unconditional.
38700 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38701 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38702 <kernel-features.h>.
38703 (unlinkat) [__NR_unlinkat]: Make code unconditional.
38704 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38705 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38706 (__ASSUME_ATFCTS): Do not undefine and redefine.
38707 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38708 <kernel-features.h>.
38709 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38710 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38711 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38712 <kernel-features.h>.
38713 (__xmknodat) [__NR_mknodat]: Make code unconditional.
38714 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38715
38716 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
38717
38718 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38719
38720 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
38721
38722 [BZ #17069]
38723 * posix/regcomp.c (parse_reg_exp): Deallocate partially
38724 constructed tree before returning error.
38725 * posix/bug-regexp36.c: Expand test case.
38726
38727 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
38728
38729 [BZ #6803]
38730 * math/libm-test.inc (scalbln_test_date):
38731 Add errno expectations.
38732 * math/w_scalblnf.c: New File.
38733 Add wrapper which checks for setting errno to ERANGE.
38734 Add weak_alias for corresponding scalbln function.
38735 * math/w_scalbln.c: Likewise.
38736 * math/w_scalblnl.c: Likewise.
38737 * math/Makefile (libm-calls): Add w_scalbln.
38738 * sysdeps/ieee754/flt-32/s_scalblnf.c:
38739 Remove weak_alias for corresponding scalbln function.
38740 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38742 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38743 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38744 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38745 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38746 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38747 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38748 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38749 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38750 Remove long_double_symbol for scalblnl function in libm, libc.
38751 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38752 Add wrapper which checks for setting errno to ERANGE.
38753 Add long_double_symbol for scalblnl function in libm, libc.
38754 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38755 Remove long_double_symbol for scalblnl in libm.
38756 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38757 Add wrapper which checks for setting errno to ERANGE.
38758 Add long_double_symbol for scalblnl function in libm.
38759 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38760 Do not use wrapper because of own implementation.
38761
38762 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
38763
38764 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38765 3 bytes for __pad1 for x32.
38766 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38767
38768 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
38769 H.J. Lu <hongjiu.lu@intel.com>
38770
38771 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38772 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38773 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38774 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38775 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38776
38777 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
38778
38779 [BZ #17069]
38780 * posix/regcomp.c (parse_expression): Deallocate partially
38781 constructed tree before returning error.
38782 * posix/Makefile.c (tests): Add bug-regex36.
38783 (generated): Add bug-regex36.mtrace.
38784 (tests-special): Add $(objpfx)bug-regex36-mem.out
38785 (bug-regex36-ENV): New variable.
38786 ($(objpfx)bug-regex36-mem.out): New rule.
38787 * posix/bug-regex36.c: New file.
38788
38789 2014-06-19 Will Newton <will.newton@linaro.org>
38790
38791 * malloc/malloc.c (systrim): If extra is zero then return
38792 early.
38793
38794 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38795
38796 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38797
38798 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
38799
38800 * sysdeps/aarch64/strchr.S: New file.
38801
38802 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38803
38804 [BZ #17022]
38805 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38806 from arguments -2 or below.
38807 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38808 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38809
38810 2014-06-18 Andreas Schwab <schwab@suse.de>
38811
38812 [BZ #17062]
38813 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38814 of a bracket expr not to run off the end of the string.
38815 * posix/Makefile (tests): Add tst-fnmatch3.
38816 * posix/tst-fnmatch3.c: New file.
38817
38818 2014-06-18 Joseph Myers <joseph@codesourcery.com>
38819
38820 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38821 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38822 [$(cross-compiling) = no]: Likewise.
38823 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38824 [$(cross-compiling) = no]: Likewise.
38825
38826 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38827
38828 [BZ #17031]
38829 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38830 double, adjusted for any remainder from the high double.
38831 * math/libm-test.inc (nearbyint): Add tests.
38832 (rint): Likewise.
38833
38834 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38835
38836 * nptl/sysdeps/powerpc/Makefile: Moved ...
38837 * sysdeps/powerpc/nptl/Makefile: ... here.
38838 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38839 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38840 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38841 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38842 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38843 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38844 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38845 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38846 * nptl/sysdeps/powerpc/tls.h: Moved ...
38847 * sysdeps/powerpc/nptl/tls.h: ... here.
38848
38849 2014-06-16 Joseph Myers <joseph@codesourcery.com>
38850
38851 [BZ #16681]
38852 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38853 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38854 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38855 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38856 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38857 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38858 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38859 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38860 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38861
38862 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
38863
38864 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38865
38866 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
38867
38868 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38869 defined operator.
38870
38871 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38872 $TIMEOUTFACTOR.
38873
38874 2014-06-16 Florian Weimer <fweimer@redhat.com>
38875
38876 [BZ #17058]
38877 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38878 non-executed part of the test.
38879
38880 2014-06-16 Andreas Schwab <schwab@suse.de>
38881
38882 * string/bits/string2.h (strdup, strndup): Update feature guard.
38883
38884 2014-06-14 David S. Miller <davem@davemloft.net>
38885
38886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38887
38888 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
38889
38890 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38891 that was previously under [RESET_PID].
38892 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38893
38894 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38895 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38896 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38897 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38898 (__libc_vfork): New strong alias.
38899 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38900
38901 2014-06-14 Andi Kleen <ak@linux.intel.com>
38902
38903 * sysdeps/generic/elide.h: New file.
38904
38905 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
38906
38907 * Makefile (installed-headers): Adjust path of pthread.h header.
38908
38909 2014-06-13 Roland McGrath <roland@hack.frob.com>
38910
38911 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38912 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
38913 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
38914 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
38915
38916 * nptl/sysdeps/s390/Makefile: Moved ...
38917 * sysdeps/s390/nptl/Makefile: ... here.
38918 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
38919 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
38920 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
38921 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
38922 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
38923 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
38924 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
38925 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
38926 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
38927 * sysdeps/s390/nptl/pthreaddef.h: ... here.
38928 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
38929 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
38930 * nptl/sysdeps/s390/tls.h: Moved ...
38931 * sysdeps/s390/nptl/tls.h: ... here.
38932
38933 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
38934 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
38935
38936 2014-06-13 David S. Miller <davem@davemloft.net>
38937
38938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
38939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
38940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
38941 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
38942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
38943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
38944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
38945 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
38946 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
38947 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
38948 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
38949 Remove RESET_PID cpp guards.
38950 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
38951 Remove RESET_PID cpp guards.
38952 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
38953
38954 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
38955
38956 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
38957 __sp to uintptr_t.
38958
38959 2014-06-13 Andi Kleen <ak@linux.intel.com>
38960
38961 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
38962 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
38963 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
38964 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
38965 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
38966 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
38967 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
38968 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
38969 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
38970 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
38971 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
38972 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
38973 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
38974 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
38975 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
38976 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
38977 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
38978 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
38979 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
38980 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
38981
38982 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
38983 (pthread_rwlock_rdlock): Add elision.
38984 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
38985 (pthread_rwlock_wrlock): Add elision.
38986 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
38987 (pthread_rwlock_trywrlock): Add elision.
38988 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
38989 (pthread_rwlock_tryrdlock): Add elision.
38990 * nptl/pthread_rwlock_unlock.c: Include elide.h.
38991 (pthread_rwlock_tryrdlock): Add elision unlock.
38992 * nptl/sysdeps/pthread/pthread.h:
38993 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
38994 (PTHREAD_RWLOCK_INITIALIZER,
38995 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
38996 Handle new elision field.
38997 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
38998 * sysdeps/arm/nptl/bits/pthreadtypes.h
38999 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39000 * sysdeps/sh/nptl/bits/pthreadtypes.h
39001 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39002 * sysdeps/tile/nptl/bits/pthreadtypes.h
39003 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39004 * sysdeps/a/nptl/bits/pthreadtypes.h
39005 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39006 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39007 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39008 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39009 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39010 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39011 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39012 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39013 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39014 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39015 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39016 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39017 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39018 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39019 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39020 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39021 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39022 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39023 (elision_init): Set try_xbegin to zero when no RTM.
39024 * sysdeps/x86/nptl/bits/pthreadtypes.h
39025 (pthread_rwlock_t): Change __pad1 to __rwelision.
39026 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39027
39028 2014-06-13 Andi Kleen <ak@linux.intel.com>
39029
39030 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39031 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39032 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39033 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39034
39035 2014-06-13 Meador Inge <meadori@codesourcery.com>
39036
39037 [BZ #16996]
39038 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39039 that the cached result has been set before returning it.
39040
39041 2014-06-12 Roland McGrath <roland@hack.frob.com>
39042
39043 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39044 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39045 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39046 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39047 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39048 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39049
39050 * nptl/sysdeps/sparc/Makefile: Moved ...
39051 * sysdeps/sparc/nptl/Makefile: ... here.
39052 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39053 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39054 * nptl/sysdeps/sparc/tls.h: Moved ...
39055 * sysdeps/sparc/nptl/tls.h: ... here.
39056 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39057 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39058 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39059 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39060 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39061 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39062 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39063 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39064 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39065 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39066 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39067 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39068 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39069 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39070 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39071 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39072 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39073 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39074 Update #include.
39075 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39076 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39077 Update #include.
39078 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39079 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39080 Update #include.
39081 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39082 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39083 Update #include.
39084
39085 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39086
39087 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39088 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39089
39090 * sysdeps/pthread/posix-timer.h: Include <list.h>.
39091 (struct list_links): Type removed.
39092 (struct thread_node, struct timer_node): Replace struct list_links
39093 with struct list_head.
39094 (list_unlink_ip): Likewise.
39095 * sysdeps/pthread/timer_routines.c
39096 (timer_free_list, thread_free_list, thread_active_list): Likewise.
39097 (list_append, list_insbefore): Likewise.
39098 (list_init): Function removed.
39099 (thread_init, init_module): Use INIT_LIST_HEAD instead.
39100 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39101 * sysdeps/pthread/Makefile: ... here, new file.
39102
39103 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39104 * sysdeps/nptl/Implies: ... here.
39105 * sysdeps/unix/sysv/linux/Implies: Add nptl.
39106 * nptl/sysdeps/pthread/list.h: Moved ...
39107 * include/list.h: ... here.
39108 * nptl/sysdeps/pthread/createthread.c: Moved ...
39109 * nptl/createthread.c: ... here.
39110 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39111 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39112 * nptl/pt-longjmp.c: ... here.
39113 * nptl/sysdeps/pthread/Makefile: Moved ...
39114 * sysdeps/nptl/Makefile: ... here.
39115 * nptl/sysdeps/pthread/Subdirs: Moved ...
39116 * sysdeps/nptl/Subdirs: ... here.
39117 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39118 * sysdeps/nptl/aio_misc.h: ... here.
39119 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39120 * sysdeps/nptl/bits/libc-lock.h: ... here.
39121 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39122 * sysdeps/nptl/bits/libc-lockP.h: ... here.
39123 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39124 * sysdeps/nptl/bits/stdio-lock.h: ... here.
39125 * nptl/sysdeps/pthread/configure: Moved ...
39126 * sysdeps/nptl/configure: ... here.
39127 * nptl/sysdeps/pthread/configure.ac: Moved ...
39128 * sysdeps/nptl/configure.ac: ... here.
39129 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39130 * sysdeps/nptl/gai_misc.h: ... here.
39131 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39132 * sysdeps/nptl/librt-cancellation.c: ... here.
39133 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39134 * sysdeps/nptl/malloc-machine.h: ... here.
39135 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39136 * sysdeps/nptl/pthread-functions.h: ... here.
39137 * nptl/sysdeps/pthread/pthread.h: Moved ...
39138 * sysdeps/nptl/pthread.h: ... here.
39139 * nptl/sysdeps/pthread/setxid.h: Moved ...
39140 * sysdeps/nptl/setxid.h: ... here.
39141 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39142 * sysdeps/nptl/sigfillset.c: ... here.
39143 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39144 * sysdeps/nptl/tcb-offsets.h: ... here.
39145 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39146 * sysdeps/nptl/tst-mqueue8x.c: ... here.
39147 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39148 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39149 * nptl/sysdeps/pthread/allocalim.h: Moved ...
39150 * sysdeps/pthread/allocalim.h: ... here.
39151 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39152 * sysdeps/pthread/bits/sigthread.h: ... here.
39153 * nptl/sysdeps/pthread/flockfile.c: Moved ...
39154 * sysdeps/pthread/flockfile.c: ... here.
39155 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39156 * sysdeps/pthread/ftrylockfile.c: ... here.
39157 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39158 * sysdeps/pthread/funlockfile.c: ... here.
39159 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39160 * sysdeps/pthread/posix-timer.h: ... here.
39161 * nptl/sysdeps/pthread/timer_create.c: Moved ...
39162 * sysdeps/pthread/timer_create.c: ... here.
39163 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39164 * sysdeps/pthread/timer_delete.c: ... here.
39165 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39166 * sysdeps/pthread/timer_getoverr.c: ... here.
39167 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39168 * sysdeps/pthread/timer_gettime.c: ... here.
39169 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39170 * sysdeps/pthread/timer_routines.c: ... here.
39171 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39172 * sysdeps/pthread/timer_settime.c: ... here.
39173 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39174 * sysdeps/pthread/tst-timer.c: ... here.
39175 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39176 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39177
39178 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39179 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39180
39181 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39182 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39183 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39184 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39185 Update #include target.
39186 * nptl/sysdeps/i386/i686/Makefile: Moved ...
39187 * sysdeps/i386/i686/nptl/Makefile: ... here.
39188 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39189 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39190 Update #include target.
39191 * nptl/sysdeps/i386/i686/tls.h: Moved ...
39192 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
39193 * nptl/sysdeps/i386/Makefile: Moved ...
39194 * sysdeps/i386/nptl/Makefile: ... here.
39195 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39196 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39197 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39198 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39199 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39200 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39201 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39202 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39203 * sysdeps/i386/nptl/pthreaddef.h: ... here.
39204 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39205 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39206 * nptl/sysdeps/i386/tls.h: Moved ...
39207 * sysdeps/i386/nptl/tls.h: ... here.
39208
39209 * sysdeps/sh/Makefile [$(subdir) = csu]
39210 (gen-as-const-headers): Add tcb-offsets.sym.
39211 * nptl/sysdeps/sh/Makefile: File removed.
39212 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39213 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39214 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39215 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39216 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39217 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39218 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39219 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39220 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39221 * sysdeps/sh/nptl/pthreaddef.h: ... here.
39222 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39223 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39224 * nptl/sysdeps/sh/tls.h: Moved ...
39225 * sysdeps/sh/nptl/tls.h: ... here.
39226 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39227 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39228 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39229 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39230 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39231 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39232 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39233 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39234 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39235 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39236 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39237 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39238 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39239 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39240 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39241 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39242 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39243 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39244 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39245 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39246 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39247 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39248 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39249 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39250 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39251 Moved ...
39252 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39253 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39254 Moved ...
39255 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39256 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39257 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39258 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39259 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39260 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39261 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39262 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39263 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39264 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39265 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39266 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39267 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39268 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39269 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39270 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39271 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39272 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39273 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39274
39275 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
39276
39277 * posix/spawn_faction_addopen.c: Include string.h.
39278
39279 2014-06-11 Roland McGrath <roland@hack.frob.com>
39280
39281 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39282 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39283 * nptl/sysdeps/x86_64/Makefile: Moved ...
39284 * sysdeps/x86_64/nptl/Makefile: ... here.
39285 * nptl/sysdeps/x86_64/configure: Moved ...
39286 * sysdeps/x86_64/nptl/configure: ... here.
39287 * nptl/sysdeps/x86_64/configure.ac: Moved ...
39288 * sysdeps/x86_64/nptl/configure.ac: ... here.
39289 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39290 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39291 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39292 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39293 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39294 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39295 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39296 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39297 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39298 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39299 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39300 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39301 * nptl/sysdeps/x86_64/tls.h: Moved ...
39302 * sysdeps/x86_64/nptl/tls.h: ... here.
39303 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39304 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39305 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39306 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39307
39308 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39309
39310 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39311
39312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39313
39314 2014-06-11 Joseph Myers <joseph@codesourcery.com>
39315
39316 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39317 type.
39318 [POSIX] (off_t): Likewise.
39319 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39320 [POSIX] (S_ISBLK): Require macro.
39321 [POSIX] (S_ISCHR): Likewise.
39322 [POSIX] (S_ISDIR): Likewise.
39323 [POSIX] (S_ISFIFO): Likewise.
39324 [POSIX] (S_ISREG): Likewise.
39325 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39326 optional-macro.
39327 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39328 type.
39329 [POSIX] (time_t): Likewise.
39330 [POSIX] (timer_t): Likewise.
39331
39332 2014-06-11 Florian Weimer <fweimer@redhat.com>
39333
39334 [BZ #17048]
39335 * posix/spawn_int.h (struct __spawn_action): Make the path string
39336 non-const to support deallocation.
39337 * posix/spawn_faction_addopen.c
39338 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39339 * posix/spawn_faction_destroy.c
39340 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
39341 path in all spawn_do_open actions.
39342 * posix/tst-spawn.c (do_test): Exercise the copy operation in
39343 posix_spawn_file_actions_addopen.
39344
39345 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
39346
39347 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39348 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39349 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39350 conditional code always true.
39351 (__libc_vfork): New alias.
39352
39353 2014-06-11 Roland McGrath <roland@hack.frob.com>
39354
39355 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39356 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39357
39358 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39359
39360 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39361 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39362
39363 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39364 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39365
39366 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39367 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39368
39369 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
39370
39371 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39372 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39373 multiarch strcmp for PPC64.
39374 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39375 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39377 multiarch optimizations.
39378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39379 (__libc_ifunc_impl_list): Likewise.
39380
39381 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39382
39383 * benchtests/scripts/validate_benchout.py: New script.
39384 * benchtests/Makefile (bench-func): Call it.
39385 * benchtests/scripts/benchout.schema.json: New file.
39386
39387 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
39388
39389 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39390 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39391 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39392 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39393 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39394 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39395 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39396 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39397 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39398 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39399 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39400 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39401 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39402 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39403 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39404 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39406 Moved ...
39407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39408 ... here.
39409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39410 Moved ...
39411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39412 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39413 Moved ...
39414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39415 ... here.
39416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39417 Moved ...
39418 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39419 ... here.
39420 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39421 Moved ...
39422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39423 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39424 Moved ...
39425 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39426 ... here.
39427 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39428 Moved ...
39429 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39430 ... here.
39431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39432 Moved ...
39433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39434 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39435 Moved ...
39436 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39437 ... here.
39438 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39439 Moved ...
39440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39441 ... here.
39442 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39443 Moved ...
39444 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39445 ... here.
39446 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39447 Moved ...
39448 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39450 Moved ...
39451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39452 ... here.
39453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39454 Moved ...
39455 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39456 ... here.
39457 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39458 Moved ...
39459 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39460 ... here.
39461 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39462 Moved ...
39463 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39464 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39465 Moved ...
39466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39467 ... here.
39468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39469 Moved ...
39470 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39471 ... here.
39472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39473 Moved ...
39474 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39475 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39476 Moved ...
39477 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39478 ... here.
39479 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39480 Moved ...
39481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39482 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39483 Moved ...
39484 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39485 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39486 Moved ...
39487 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39488 ... here.
39489 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39490 Moved ...
39491 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39492 ... here.
39493 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39494 Moved ...
39495 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39496 ... here.
39497 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39498 Moved ...
39499 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39500 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39501 Moved ...
39502 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39503 ... here.
39504 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39505 Moved ...
39506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39507 ... here.
39508 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39509 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39510 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39511 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39512 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39513 Moved ...
39514 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39515 ... here.
39516 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39517 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39518 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39519 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39520 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39521 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39522 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39523 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39524 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39525 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39526 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39527 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39528 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39529 Moved ...
39530 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39531 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39532 Moved ...
39533 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39534 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39535 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39536 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39537 Moved ...
39538 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39539 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39540 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39541 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39542 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39543 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39544 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39545
39546 2014-06-10 Wilco <wdijkstr@arm.com>
39547
39548 * math/test-fenv-return.c: New file.
39549 * math/Makefile: Add new test test-fenv-return.
39550
39551 2014-06-10 Joseph Myers <joseph@codesourcery.com>
39552
39553 [BZ #17042]
39554 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39555 when x - 1 is zero.
39556 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39557 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39558 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39559 0.0L for an argument of 1.0L.
39560 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39561 Likewise.
39562 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39563 value when x - 1 is zero.
39564 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39565 * sysdeps/i386/fpu/libm-test-ulps: Update.
39566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39567
39568 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
39569
39570 [BZ #15119]
39571 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39572
39573 2014-06-09 Roland McGrath <roland@hack.frob.com>
39574
39575 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39576 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39577
39578 2014-06-09 Roland McGrath <roland@hack.frob.com>
39579
39580 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39581 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39582
39583 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39584 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39585
39586 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39587 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39588
39589 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39590 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39591
39592 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39593 if not already defined.
39594 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39595 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39596 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39597 (TLS_INIT_TP): Use it.
39598 (TLS_DEFINE_INIT_TP): New macro.
39599 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39600
39601 2014-06-09 Joseph Myers <joseph@codesourcery.com>
39602
39603 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39604 constant.
39605 [POSIX] (IXANY): Likewise.
39606 [POSIX] (OLCUC): Likewise.
39607 [POSIX || POSIX2008] (CBAUD): Do not allow.
39608 [POSIX || POSIX2008] (DEFECHO): Likewise.
39609 [POSIX || POSIX2008] (ECHOCTL): Likewise.
39610 [POSIX || POSIX2008] (ECHOKE): Likewise.
39611 [POSIX || POSIX2008] (ECHOPRT): Likewise.
39612 [POSIX || POSIX2008] (EXTA): Likewise.
39613 [POSIX || POSIX2008] (EXTB): Likewise.
39614 [POSIX || POSIX2008] (FLUSHO): Likewise.
39615 [POSIX || POSIX2008] (LOBLK): Likewise.
39616 [POSIX || POSIX2008] (PENDIN): Likewise.
39617 [POSIX || POSIX2008] (SWTCH): Likewise.
39618 [POSIX || POSIX2008] (VDISCARD): Likewise.
39619 [POSIX || POSIX2008] (VDSUSP): Likewise.
39620 [POSIX || POSIX2008] (VLNEXT): Likewise.
39621 [POSIX || POSIX2008] (VREPRINT): Likewise.
39622 [POSIX || POSIX2008] (VSTATUS): Likewise.
39623 [POSIX || POSIX2008] (VWERASE): Likewise.
39624 (B*): Change to B[0123456789]*.
39625 * conform/data/time.h-data [POSIX || UNIX98]
39626 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39627 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39628 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39629 [POSIX] (tm_*): Do not allow.
39630
39631 2014-06-07 Joseph Myers <joseph@codesourcery.com>
39632
39633 * Makefile (install): Don't set LANGUAGE.
39634 * Makefile.in (install): Likewise.
39635 * assert/Makefile (test-assert-ENV): Remove variable.
39636 (test-assert-perr-ENV): Likewise.
39637 * elf/Makefile (neededtest4-ENV): Likewise.
39638 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39639 [$(cross-compiling) = no]: Don't set LANGUAGE.
39640 * io/ftwtest-sh (LANG): Remove variable.
39641 * libio/Makefile (tst-widetext-ENV): Likewise.
39642 * manual/install.texi (Running make install): Don't refer to
39643 environment settings for make install.
39644 * INSTALL: Regenerated.
39645 * nptl/tst-tls6.sh: Don't set LANG.
39646 * posix/globtest.sh (LANG): Remove variable.
39647 * string/Makefile (tester-ENV): Likewise.
39648 (inl-tester-ENV): Likewise.
39649 (noinl-tester-ENV): Likewise.
39650 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39651 [$(cross-compiling) = no]: Don't set LANGUAGE.
39652 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39653 without explicit environment settings.
39654
39655 2014-06-06 Roland McGrath <roland@hack.frob.com>
39656
39657 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39658 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39659 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39660 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39661
39662 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
39663
39664 * crypt/crypt-private.h [DOS]: Add some includes taken from the
39665 other files in the crypt directory.
39666 * crypt/crypt.c: Remove duplicate includes.
39667 * crypt/crypt-entry.c: Likewise.
39668 * crypt/crypt_util.c: Likewise.
39669
39670 2014-06-06 Joseph Myers <joseph@codesourcery.com>
39671
39672 * Makeconfig (run-program-env): New variable.
39673 (run-program-prefix-before-env): Likewise.
39674 (run-program-prefix-after-env): Likewise.
39675 (run-program-prefix): Define in terms of new variables.
39676 (built-program-cmd-before-env): New variable.
39677 (built-program-cmd-after-env): Likewise.
39678 (built-program-cmd): Define in terms of new variables.
39679 (test-program-prefix-before-env): New variable.
39680 (test-program-prefix-after-env): Likewise.
39681 (test-program-prefix): Define in terms of new variables.
39682 (test-program-cmd-before-env): New variable.
39683 (test-program-cmd-after-env): Likewise.
39684 (test-program-cmd): Define in terms of new variables.
39685 * Rules (make-test-out): Use $(run-program-env).
39686 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39687 (help): Do not mention environment variables. Mention
39688 --timeoutfactor option.
39689 (timeoutfactor): New variable.
39690 (blacklist_exports): Remove function.
39691 (exports): Remove variable.
39692 (command): Do not include ${exports}.
39693 * manual/install.texi (Configuring and compiling): Do not mention
39694 test wrappers preserving environment variables. Mention that last
39695 assignment to a variable must take precedence.
39696 * INSTALL: Regenerated.
39697 * benchtests/Makefile (run-bench): Use $(run-program-env).
39698 * catgets/Makefile ($(objpfx)test1.cat): Use
39699 $(built-program-cmd-before-env), $(run-program-env) and
39700 $(built-program-cmd-after-env).
39701 ($(objpfx)test2.cat): Do not specify environment variables
39702 explicitly.
39703 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39704 $(run-program-env) and $(built-program-cmd-after-env).
39705 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39706 $(run-program-env) and $(test-program-cmd-after-env).
39707 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39708 explicitly.
39709 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39710 run_program_env and test_program_cmd_after_env arguments.
39711 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39712 * elf/tst-pathopt.sh: Use run_program_env argument.
39713 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39714 $(test-wrapper-env) and $(run-program-env).
39715 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39716 run_program_env arguments.
39717 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39718 * intl/Makefile ($(objpfx)tst-gettext.out): Use
39719 $(test-program-prefix-before-env), $(run-program-env) and
39720 $(test-program-prefix-after-env).
39721 ($(objpfx)tst-gettext2.out): Likewise.
39722 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39723 run_program_env and test_program_prefix_after_env arguments.
39724 * intl/tst-gettext2.sh: Likewise.
39725 * intl/tst-gettext4.sh: Do not set environment variables
39726 explicitly.
39727 * intl/tst-gettext6.sh: Likewise.
39728 * intl/tst-translit.sh: Likewise.
39729 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39730 $(test-program-prefix-before-env), $(run-program-env) and
39731 $(test-program-prefix-after-env).
39732 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39733 run_program_env and test_program_prefix_after_env arguments.
39734 * math/Makefile (run-regen-ulps): Use $(run-program-env).
39735 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39736 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
39737 explicitly with each use of ${test_wrapper_env}.
39738 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39739 $(test-program-prefix-before-env), $(run-program-env) and
39740 $(test-program-prefix-after-env).
39741 * posix/tst-getconf.sh: Do not set environment variables
39742 explicitly.
39743 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39744 run_program_env and test_program_prefix_after_env arguments.
39745 * stdio-common/tst-printf.sh: Do not set environment variables
39746 explicitly.
39747 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39748 $(test-program-prefix-before-env), $(run-program-env) and
39749 $(test-program-prefix-after-env).
39750 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39751 run_program_env and test_program_prefix_after_env arguments.
39752 Split $test calls into $test_pre and $test.
39753 * timezone/Makefile (build-testdata): Use
39754 $(built-program-cmd-before-env), $(run-program-env) and
39755 $(built-program-cmd-after-env).
39756
39757 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39758
39759 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39760 strlen for non SHARED builds.
39761
39762 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39763
39764 * nptl/allocatestack.c (check_list): Inlined function...
39765 (__reclaim_stacks): ... here.
39766
39767 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39768
39769 [BZ #15698]
39770 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39771 memory overrun.
39772
39773 2014-06-05 Joseph Myers <joseph@codesourcery.com>
39774
39775 * Rules (make-test-out): Include
39776 LOCPATH=$(common-objpfx)localedata in default environment.
39777 * debug/Makefile (tst-chk1-ENV): Remove variable.
39778 (tst-chk2-ENV): Likewise.
39779 (tst-chk3-ENV): Likewise.
39780 (tst-chk4-ENV): Likewise.
39781 (tst-chk5-ENV): Likewise.
39782 (tst-chk6-ENV): Likewise.
39783 (tst-lfschk1-ENV): Likewise.
39784 (tst-lfschk2-ENV): Likewise.
39785 (tst-lfschk3-ENV): Likewise.
39786 (tst-lfschk4-ENV): Likewise.
39787 (tst-lfschk5-ENV): Likewise.
39788 (tst-lfschk6-ENV): Likewise.
39789 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39790 (tst-iconv7-ENV): Likewise.
39791 * intl/Makefile (LOCPATH-ENV): Likewise.
39792 (tst-codeset-ENV): Likewise.
39793 (tst-gettext3-ENV): Likewise.
39794 (tst-gettext5-ENV): Likewise.
39795 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39796 (tst-fopenloc-ENV): Likewise.
39797 (tst-fgetws-ENV): Remove variable.
39798 (tst-ungetwc1-ENV): Likewise.
39799 (tst-ungetwc2-ENV): Likewise.
39800 (bug-ungetwc2-ENV): Likewise.
39801 (tst-swscanf-ENV): Likewise.
39802 (bug-ftell-ENV): Likewise.
39803 (tst-fgetwc-ENV): Likewise.
39804 (tst-fseek-ENV): Likewise.
39805 (tst-ftell-partial-wide-ENV): Likewise.
39806 (tst-ftell-active-handler-ENV): Likewise.
39807 (tst-ftell-append-ENV): Likewise.
39808 * posix/Makefile (tst-fnmatch-ENV): Likewise.
39809 (tst-regexloc-ENV): Likewise.
39810 (bug-regex1-ENV): Likewise.
39811 (tst-regex-ENV): Likewise.
39812 (tst-regex2-ENV): Likewise.
39813 (bug-regex5-ENV): Likewise.
39814 (bug-regex6-ENV): Likewise.
39815 (bug-regex17-ENV): Likewise.
39816 (bug-regex18-ENV): Likewise.
39817 (bug-regex19-ENV): Likewise.
39818 (bug-regex20-ENV): Likewise.
39819 (bug-regex22-ENV): Likewise.
39820 (bug-regex23-ENV): Likewise.
39821 (bug-regex25-ENV): Likewise.
39822 (bug-regex26-ENV): Likewise.
39823 (bug-regex30-ENV): Likewise.
39824 (bug-regex32-ENV): Likewise.
39825 (bug-regex33-ENV): Likewise.
39826 (bug-regex34-ENV): Likewise.
39827 (bug-regex35-ENV): Likewise.
39828 (tst-rxspencer-ENV): Likewise.
39829 (tst-rxspencer-no-utf8-ENV): Likewise.
39830 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39831 (tst-sscanf-ENV): Likewise.
39832 (tst-swprintf-ENV): Likewise.
39833 (tst-swscanf-ENV): Likewise.
39834 (test-vfprintf-ENV): Likewise.
39835 (scanf13-ENV): Likewise.
39836 (bug14-ENV): Likewise.
39837 (tst-grouping-ENV): Likewise.
39838 * stdlib/Makefile (tst-strtod-ENV): Likewise.
39839 (tst-strtod3-ENV): Likewise.
39840 (tst-strtod4-ENV): Likewise.
39841 (tst-strtod5-ENV): Likewise.
39842 (testmb2-ENV): Likewise./
39843 * string/Makefile (tst-strxfrm-ENV): Likewise.
39844 (tst-strxfrm2-ENV): Likewise.
39845 (bug-strcoll1-ENV): Likewise.
39846 (test-strcasecmp-ENV): Likewise.
39847 (test-strncasecmp-ENV): Likewise.
39848 * time/Makefile (tst-strptime-ENV): Likewise.
39849 (tst-ftime_l-ENV): Likewise.
39850 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39851 (tst-mbrtowc-ENV): Likewise.
39852 (tst-wcrtomb-ENV): Likewise.
39853 (tst-mbrtowc2-ENV): Likewise.
39854 (tst-c16c32-1-ENV): Likewise.
39855 (tst-mbsnrtowcs-ENV): Likewise.
39856
39857 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
39858
39859 * manual/resource.texi (How to get information about the memory
39860 subsystem?): Fix typo.
39861 Reported by Peon de la Parra Ivan <peon@keba.com>
39862
39863 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
39864
39865 [BZ #16882]
39866 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39867 (pthread_spin_lock): Branch out of spin loop to proper location.
39868 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39869 (pthread_spin_lock): Likewise.
39870
39871 * nptl/tst-spin4.c: New test.
39872 * nptl/Makefile (tests): Add tst-spin4.
39873
39874 2014-06-03 Andreas Schwab <schwab@suse.de>
39875
39876 [BZ #15946]
39877 * resolv/res_send.c (send_dg): Reload file descriptor after
39878 calling reopen.
39879
39880 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
39881
39882 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39883
39884 2014-06-03 Richard Henderson <rth@redhat.com>
39885
39886 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39887 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39888 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39889 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
39890 in the SAVE_PID block.
39891 (__libc_vfork): New alias.
39892 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39893
39894 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39895 child in registers, not on the stack. Remove RESET_PID conditionals.
39896 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39897
39898 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
39899
39900 * sysdeps/aarch64/libm-test-ulps: Regenerate.
39901
39902 2014-06-03 Wilco <wdijkstr@arm.com>
39903
39904 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39905 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39906 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39907 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39908 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39909 Likewise.
39910
39911 2014-06-03 Wilco <wdijkstr@arm.com>
39912
39913 * sysdeps/aarch64/fpu/math_private.h
39914 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
39915 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
39916 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
39917 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39918 Fix declarations.
39919
39920 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
39921
39922 * crypt/crypt-private.h: Include ufc-crypt.h.
39923 (__b64_from_24bit): Declare extern.
39924 * crypt/crypt_util.c(__b64_from_24bit): New function.
39925 (b64t): New static const variable.
39926 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
39927 (b64t): Remove variable.
39928 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
39929 * crypt/sha256-crypt.c: Include crypt-private.h.
39930 (b64t): Remove variable.
39931 (__sha256_crypt_r): Remove b64_from_24bit and replace
39932 with __b64_from_24bit.
39933 * crypt/sha512-crypt.c: Likewise.
39934
39935 2014-06-02 Roland McGrath <roland@hack.frob.com>
39936
39937 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
39938 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
39939 Label the code __libc_vfork rather than __vfork.
39940 [!NOT_IN_libc] (vfork): Define as weak alias.
39941 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
39942 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
39943 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
39944
39945 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39946
39947 * malloc/malloc.c (malloc_info): Fix format specifier for
39948 n_mmaps.
39949
39950 2014-06-02 Wilco <wdijkstr@arm.com>
39951
39952 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
39953 FPCR write.
39954
39955 2014-06-02 Wilco <wdijkstr@arm.com>
39956
39957 [BZ #17009]
39958 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
39959 Rewrite to reduce FPCR/FPSR accesses.
39960
39961 2014-06-01 David S. Miller <davem@davemloft.net>
39962
39963 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39964
39965 2014-05-31 David S. Miller <davem@davemloft.net>
39966
39967 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
39968 to occur in round to nearest mode when |x| >= 2.0
39969
39970 2014-05-30 Richard Henderson <rth@twiddle.net>
39971
39972 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
39973 (PSEUDO_RET_NOERRNO): Remove.
39974 (ret): Don't redefine.
39975 (ret_NOERRNO): Define in terms of ret.
39976 (ret_ERRVAL): Likewise.
39977
39978 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
39979 use of PSEUDO_RET; perform the error check directly.
39980
39981 2014-05-30 Marko Myllynen <myllynen@redhat.com>
39982
39983 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
39984 with __int128_t.
39985
39986 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39987
39988 * malloc/malloc (malloc_info): Fix formatting.
39989
39990 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
39991 Roland McGrath <roland@hack.frob.com>
39992
39993 * malloc/malloc (malloc_info): Also print mmapped statistics.
39994
39995 2014-05-30 Roland McGrath <roland@hack.frob.com>
39996
39997 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
39998 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
39999
40000 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
40001
40002 * malloc/malloc.c (malloc_info): Inline mi_arena.
40003
40004 2014-05-29 Richard Henderson <rth@twiddle.net>
40005
40006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40007 Remove comma before expanding ASM_ARGS_##nr.
40008 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40009 Make _x0 a strict output; make _x8 a strict input; adjust expansion
40010 of ASM_ARGS_##nr.
40011 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40012 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40013 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40014 (ASM_ARGS_1): Add leading comma.
40015
40016 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40017 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40018 to __errno_location.
40019 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40020 Remove the expected plt for __errno_location.
40021
40022 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40023 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40024 call to __read_tp.
40025
40026 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40027 Always allocate 64 bytes of stack frame. Use ldp/stp to create
40028 it and break it down.
40029 (DOCARGS_0, DOCARGS_1): Do nothing.
40030 (DOCARGS_2): Update to store into the new stack frame.
40031 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40032 (UNDOCARGS_1): Update to restore from the new stack frame.
40033 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40034 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40035
40036 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40037 (SINGLE_THREAD_P): New parameter for result regno.
40038 (PSEUDO): Update to match; use cbz instead of beq.
40039
40040 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40041 Use ENTRY to define the _nocancel entry point. Share the syscall
40042 and syscall error check paths with the cancel path.
40043 (PSEUDO_END): New.
40044
40045 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40046 whitespace; tabs before and after asm mnemonics.
40047
40048 2014-05-29 Eric Wong <normalperson@yhbt.net>
40049
40050 [BZ #15132]
40051 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40052 Call fstat64 or stat64 internally, depending on arguments passed.
40053 Replace stat buffer argument with file descriptor argument.
40054 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40055 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40056 Pass fd to __internal_statvfs instead of calling fstat64.
40057 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40058 Pass fd to __internal_statvfs64 instead of calling fstat64.
40059 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40060 Pass -1 to __internal_statvfs instead of calling stat64.
40061 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40062 Pass -1 to __internal_statvfs64 instead of calling stat64.
40063
40064 2014-05-28 Roland McGrath <roland@hack.frob.com>
40065
40066 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40067 that was previously under [RESET_PID].
40068 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40069
40070 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40071 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40072
40073 2014-05-27 Roland McGrath <roland@hack.frob.com>
40074
40075 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40076
40077 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40078 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40079
40080 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
40081
40082 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40083
40084 2014-05-27 Andreas Schwab <schwab@suse.de>
40085
40086 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40087 TLS_INIT_TP macro.
40088 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40089 * elf/rtld.c (init_tls, dl_main): Likewise.
40090 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40091 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40092 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40093 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40094 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40095 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40096 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40097 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40098 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40099 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40100 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40101 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40102 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40103 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40104 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40105 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40106 * sysdeps/generic/tls.h: Update description.
40107
40108 2014-05-27 Will Newton <will.newton@linaro.org>
40109
40110 [BZ #16990]
40111 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40112 and restore r2 rather than just restoring.
40113
40114 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40115
40116 [BZ #16724]
40117 * libio/tst-ftell-append.c: New test case.
40118 * libio/Makefile (tests): Add test case.
40119 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40120 append mode.
40121 * libio/wfileops.c (do_ftell_wide): Likewise.
40122
40123 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40124
40125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40126
40127 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40128 ...
40129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40131 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40132 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40133 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40134 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40135 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40136 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40137 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40138 Moved ...
40139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40140 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40141 Moved ...
40142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40143 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40144 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40145 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40146 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40147 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40148 ...
40149 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40150 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40151 Moved ...
40152 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40153 here.
40154 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40155 ...
40156 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40157 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40158 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40159
40160 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40161 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40162 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40163 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40164
40165 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40166 merge into ...
40167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40168 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40169 ...
40170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40171 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40172 ...
40173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40174 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40175 Moved ...
40176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40177 here.
40178 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40179 Moved ...
40180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40181 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40182 Moved ...
40183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40184
40185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40186 conditional [RESET_PID].
40187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40188 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40189 removed.
40190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40191 removed.
40192
40193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40194 <tcb-offsets.h>.
40195 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40196 (__libc_vfork): New strong alias.
40197 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40198 removed.
40199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40200 Removed.
40201
40202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40203 <tcb-offsets.h>.
40204 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40205 (__libc_vfork): New strong alias.
40206 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40207 removed.
40208 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40209 removed.
40210
40211 2014-05-26 Carlos O'Donell <carlos@redhat.com>
40212
40213 * malloc/malloc.c (mi_arena): New function.
40214 (malloc_info): Remove nested function mi_arena. Call non-nosted
40215 function mi_arena.
40216
40217 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40218
40219 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40220 by insrwi.
40221 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40222 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40223 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40224 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40225 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40226 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40227 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40228
40229 2014-05-26 Andreas Schwab <schwab@suse.de>
40230
40231 [BZ #16984]
40232 * locale/programs/repertoire.c (repertoire_read): Add slash
40233 between I18NPATH element and file name.
40234 * locale/programs/locfile.c (locfile_read): Likewise.
40235
40236 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40237
40238 * nptl/pthread_mutexattr_settype.c
40239 (__pthread_mutexattr_settype):
40240 Disable lock elision for PTHREAD_MUTEX_NORMAL.
40241
40242 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
40243
40244 * nptl/tst-mutex5 (do_test):
40245 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40246
40247 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40248
40249 * benchtests/README: Document 'init' directive.
40250 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40251 BENCH_INIT.
40252 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40253 (parse_file): Recognize 'init' directive.
40254
40255 2014-05-26 Kyle McMartin <kyle@redhat.com>
40256
40257 [BZ #16796]
40258 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40259 alignment of struct pthread.
40260
40261 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40262
40263 [BZ #16878]
40264 * nscd/netgroupcache.c (addgetnetgrentX): Look for
40265 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40266 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40267 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40268
40269 2014-05-25 Richard Henderson <rth@twiddle.net>
40270
40271 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40272 (SINGLE_THREAD_P_PIC): Remove.
40273 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40274 (SINGLE_THREAD_P_PIC): Remove.
40275
40276 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40277 branch to syscall error ...
40278 (PSEUDO): ... here.
40279 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40280 from __local_syscall_error to .Lsyscall_error.
40281 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40282 (SYSCALL_ERROR): Update label name.
40283
40284 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40285 Do not use DOARGS/UNDOARGS.
40286 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40287 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40288 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40289 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40290 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40291
40292 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40293 block comment.
40294
40295 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40296 define if !NOT_IN_libc.
40297 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40298 define with non-default symbol versions.
40299
40300 2014-05-23 Richard Henderson <rth@twiddle.net>
40301
40302 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40303 (vfork, __vfork): Define via compat_symbol.
40304
40305 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40306 [!HAVE_IFUNC] (vfork_compat): Remove.
40307 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40308
40309 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40310
40311 [BZ #16978]
40312 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40313 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40314 variable.
40315
40316 2014-05-23 Richard Henderson <rth@twiddle.net>
40317
40318 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40319 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40320 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40321 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40322
40323 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40324 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40325 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40326 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40327 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40328 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40329 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40330 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40331 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40332 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40333 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40334 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40335 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40336 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40337 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40338 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40339 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40340 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40341 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40342 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40343 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40344 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40345 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40346 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40347 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40348 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40349 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40350 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40351 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40352 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40353 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40354 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40355 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40356 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40357 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40358 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40359 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40360 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40361 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40362 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40363 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40364 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40365 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40366 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40367 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40368 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40369 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40370 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40371 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40372 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40373 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40374 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40375 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40376 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40377 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40378 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40379
40380 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40381 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40382 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
40383 before exiting on error.
40384 (__libc_vfork): New strong alias.
40385 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40386 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40387
40388 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40389 that was previously under [RESET_PID].
40390 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40391
40392 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40393
40394 2014-05-23 Joseph Myers <joseph@codesourcery.com>
40395
40396 [BZ #16977]
40397 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40398 value when x - 1 is zero.
40399 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40400 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40401 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40402 0.0L for an argument of 1.0L.
40403 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40404 Likewise.
40405 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40406 value when x - 1 is zero.
40407 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40408 * sysdeps/i386/fpu/libm-test-ulps: Update.
40409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40410
40411 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
40412
40413 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40414 alphasort and versionsort.
40415
40416 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40417
40418 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40419 macro.
40420 [copysignf]: Likewise.
40421
40422 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
40423
40424 * crypt/md5-crypt.c: Fix formatting.
40425
40426 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
40427
40428 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40429 (b64_from_24bit): New function.
40430
40431 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40432
40433 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40434 libc_hidden_builtin_def to ifunc.
40435 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40436 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40437
40438 2014-05-21 Roland McGrath <roland@hack.frob.com>
40439
40440 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40441 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40442
40443 2014-05-21 Joseph Myers <joseph@codesourcery.com>
40444
40445 * nscd/Depend (linuxthreads): Remove.
40446 (nptl): Add.
40447 * resolv/Depend (linuxthreads): Remove.
40448 * rt/Depend (linuxthreads): Remove.
40449
40450 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40451 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40452 $(common-objpfx)elf/.
40453 (link-libc-before-gnulib): Likewise.
40454 (elfobjdir): Remove variable.
40455 * Makefile (install): Use $(elf-objpfx) instead of
40456 $(common-objpfx)elf/.
40457 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40458 $(elfobjdir)/.
40459 (link-libc-deps): Likewise.
40460 ($(common-objpfx)libc.so): Likewise.
40461 ($(common-objpfx)linkobj/libc.so): Likewise.
40462 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40463 instead of $(common-objpfx)elf/.
40464 (symbolic-link-list): Likewise.
40465 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40466 [$(cross-compiling) = no]: Likewise.
40467 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40468 $(elfobjdir)/.
40469 (static-gnulib-arch): Likewise.
40470 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40471 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40472 $(common-objpfx)elf/.
40473
40474 2014-05-21 Richard Henderson <rth@redhat.com>
40475
40476 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40477 (SINGLE_THREAD_P): Use the correct width load. Fold
40478 into the ldr offset.
40479
40480 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40481 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40482
40483 2014-05-20 Joseph Myers <joseph@codesourcery.com>
40484
40485 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40486 (libgcc_s_resume): Use __attribute_used__.
40487 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40488 Likewise.
40489
40490 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40491
40492 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40493 optimization when used with float constants.
40494
40495 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40496
40497 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
40498
40499 [BZ #16915]
40500 * locale/nl_langinfo_l.c: Make direct reference to every
40501 _nl_current_CATEGORY symbol.
40502 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40503 (tests-static): Add tst-langinfo-static.
40504 (tests-special): Add tst-langinfo-static.out.
40505 ($(objpfx)tst-langinfo.out): Redirect output.
40506 ($(objpfx)tst-langinfo-static.out): New.
40507 * localedata/tst-langinfo.sh: Send output to stdout.
40508 * localedata/tst-langinfo-static.c: New file.
40509
40510 [BZ #16965]
40511 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40512 when the shift amount is modulo the limb size.
40513
40514 2014-05-20 Richard Henderson <rth@redhat.com>
40515
40516 [BZ #16967]
40517 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40518 Change type of sa_flags from unsigned int to int.
40519
40520 [BZ #16966]
40521 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40522
40523 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40524
40525 2014-05-20 Will Newton <will.newton@linaro.org>
40526
40527 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40528 Test the return value of the system call in the nocancel case.
40529
40530 2014-05-20 Will Newton <will.newton@linaro.org>
40531 Yvan Roux <yvan.roux@linaro.org>
40532
40533 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40534 #include of asm/ptrace.h.
40535 (PTRACE_GET_THREAD_AREA): Remove #undef.
40536 (PTRACE_GETHBPREGS): Likewise.
40537 (PTRACE_SETHBPREGS): Likewise.
40538 (struct user_regs_struct): New structure.
40539 (struct user_fpsimd_struct): New structure.
40540 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40541 #include of asm/ptrace.h and second #include of sys/user.h.
40542 (PTRACE_GET_THREAD_AREA): Remove #undef.
40543 (PTRACE_GETHBPREGS): Likewise.
40544 (PTRACE_SETHBPREGS): Likewise.
40545 (ELF_NGREG): Use new struct user_regs_struct.
40546 (elf_fpregset_t): Use new struct user_fpsimd_struct.
40547
40548 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40549
40550 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40551 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40552
40553 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
40554
40555 [BZ #16958]
40556 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40557 membar to avoid block loads/stores to overlap previous stores.
40558
40559 2014-05-17 Richard Henderson <rth@redhat.com>
40560
40561 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40562 Create the __##syscall_name##_nocancel entry point.
40563 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40564 Remove; let the sysdep-cancel.h code create it.
40565
40566 2014-05-17 David S. Miller <davem@davemloft.net>
40567
40568 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40569 Protect with __USE_GNU.
40570 (TIOCSET_TEMPT): Likewise.
40571 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40572 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40573 these are already provided in bits/ioctl-types.h
40574
40575 2014-05-16 Roland McGrath <roland@hack.frob.com>
40576
40577 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40578 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40579
40580 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40581 Use wait4 regardless of [__NR_waitpid].
40582
40583 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
40584
40585 PR libgcc/60166
40586 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40587 (_FP_NANSIGN_Q): Set the quiet bit.
40588
40589 2014-05-16 Joseph Myers <joseph@codesourcery.com>
40590
40591 * benchtests/Makefile
40592 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40593 not $(common-objpfx)math/libm.so.
40594 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40595 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40596 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40597 $(common-objpfx)dlfcn/libdl.so.
40598 ($(objpfx)tst-audit8): Depend on $(libm), not
40599 $(common-objpfx)math/libm.so.
40600 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40601 not $(common-objpfx)dlfcn/libdl.so.
40602 * math/Makefile
40603 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40604 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
40605 [$(build-shared) = yes].
40606 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40607 $(common-objpfx)nptl/libpthread.so.
40608 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40609 $(common-objpfx)math/libm.so$(libm.so-version) or
40610 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40611 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40612 $(common-objpfx)dlfcn/libdl.so.
40613 * setjmp/Makefile (link-libm): Remove variable.
40614 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40615 * stdio-common/Makefile (link-libm): Remove variable.
40616 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40617 * stdlib/Makefile (link-libm): Remove variable.
40618 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40619 ($(objpfx)tst-strtod-round): Likewise.
40620 ($(objpfx)tst-tininess): Likewise.
40621 ($(objpfx)tst-strtod-underflow): Likewise.
40622 ($(objpfx)tst-strtod6): Likewise.
40623 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40624 $(libdl), not $(common-objpfx)nptl/libpthread.so and
40625 $(common-objpfx)dlfcn/libdl.so.
40626
40627 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40628
40629 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40630 BSD terminal modes definitions.
40631
40632 2014-05-16 Roland McGrath <roland@hack.frob.com>
40633
40634 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40635 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40636
40637 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40638 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40639 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40640 Don't do #include_next.
40641 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40642 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40643 Don't do #include_next.
40644 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40645 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40646 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40647 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40648
40649 2014-05-16 Allan McRae <allan@archlinux.org>
40650
40651 * po/sv.po: Update Swedish translation from translation project.
40652
40653 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40654 in sed expression.
40655
40656 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
40657
40658 [BZ #16917]
40659 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40660 errno if the TIOCGPTN ioctl fails with an error different than
40661 EINVAL.
40662 * login/tst-ptsname.c: New file.
40663 * login/Makefile (tests): Add tst-ptsname.
40664
40665 [BZ #16943]
40666 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40667 and prlimit64.
40668
40669 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40670
40671 [BZ #16849]
40672 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40673 herrno to return EAI_AGAIN.
40674
40675 2014-05-14 Roland McGrath <roland@hack.frob.com>
40676
40677 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40678 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40679 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40680 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40681 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40682 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40683 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40684 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40685 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40686 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40687 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40688 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40689 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40690 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40691 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40692 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40693 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40694 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40695 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40696 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40697 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40698 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40699 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40700 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40701 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40702 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40703 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40704 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40705 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40706 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40707 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40708 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40709 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40710 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40711 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40712 Moved ...
40713 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40714 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40715 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40717 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40718 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40719 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40721 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40722 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40723 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40725 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40727 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40729 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40731 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40733 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40735 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40737 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40739 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40741 Moved ...
40742 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40744 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40746 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40748 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40749 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40750 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40751 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40752 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40753 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40754 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40756 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40758 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40760 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40761 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40762 Moved ...
40763 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40765 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40766
40767 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40768 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40769 (libpthread-sysdep_routines): Add elision-related stuff here instead.
40770 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40771 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40772 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40773 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40774 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40775 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40776 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40777 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40778 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40779 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40780 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40781 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40782 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40783 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40784 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40785 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40786 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40787 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40788 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40789 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40790 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40791 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40792 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40793 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40794 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40795 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40796 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40797 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40798
40799 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40800 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40801
40802 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40803 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40804 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40805 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40806 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40807 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40808 Moved ...
40809 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40810 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40811 Moved ...
40812 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40813 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40814 Moved ...
40815 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40816 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40817 Moved ...
40818 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40819 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40820 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40821 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40822 Moved ...
40823 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40824 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40825 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40826 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40827 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40828 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40829 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40830 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40831 Moved ...
40832 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40833 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40834 Moved ...
40835 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40836 ... here.
40837 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40838 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40839 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40840 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40841 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40842 Moved ...
40843 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40844 ... here.
40845 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40846 Moved ...
40847 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40848 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40849 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40850 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40851 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40852 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40853 Moved ...
40854 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40855 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40856 Moved ...
40857 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40858 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40859 Moved ...
40860 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40861 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40862 Moved ...
40863 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40864 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40865 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40866 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40867 Moved ...
40868 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40869 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40870 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40871 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40872 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40873 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40874 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40875 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40876 Moved ...
40877 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40878 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40879 Moved ...
40880 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40881 ... here.
40882 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40883 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40884 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40885 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40886 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40887 Moved ...
40888 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40889 ... here.
40890 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40891 Moved ...
40892 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40893 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40894 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40895 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40896 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40897 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40898 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40899 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40900 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40901 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40902 Moved ...
40903 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40904 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40905 Moved ...
40906 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40907 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40908 Moved ...
40909 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40910 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40911 Moved ...
40912 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
40913 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
40914 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
40915 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
40916 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
40917 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
40918 Moved ...
40919 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
40920 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
40921 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
40922 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
40923 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
40924 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
40925 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
40926 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
40927 Moved ...
40928 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
40929 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40930 Moved ...
40931 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40932 ... here.
40933 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
40934 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
40935 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
40936 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
40937 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40938 Moved ...
40939 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40940 ... here.
40941 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
40942 Moved ...
40943 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
40944 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
40945 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
40946 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
40947 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
40948 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
40949 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
40950 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
40951 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
40952 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
40953 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
40954
40955 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
40956 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
40957
40958 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
40959 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
40960
40961 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
40962 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
40963 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
40964 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
40965 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
40966 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
40967 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
40968 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
40969 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
40970 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
40971 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
40972 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
40973 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
40974 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
40975 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
40976 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
40977 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
40978 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
40979 Moved ...
40980 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
40981 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
40982 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
40983 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
40984 Moved ...
40985 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
40986 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
40987 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
40988 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
40989 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
40990 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
40991 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
40992 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
40993 Moved ...
40994 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
40995 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
40996 Moved ...
40997 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
40998 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
40999 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41000 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41001 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41002 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41003 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41004 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41005 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41006 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41007 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41008 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41009 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41010 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41011 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41012 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41013 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41014
41015 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41016 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41017 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41018 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41019 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41020
41021 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41022 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41023 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41024 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41025 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41026 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41027 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41028 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41029 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41030 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41031
41032 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41033 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41034
41035 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41036 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41037 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41038 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41039 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41040 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41041 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41042 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41043 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41044 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41045 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41046 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41047 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41048 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41049 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41050 Update #include.
41051 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41052 Likewise.
41053 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41054 Likewise.
41055 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41056 Likewise.
41057 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41058 Likewise.
41059 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41060 Likewise.
41061 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41062 Likewise.
41063 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41064 Likewise.
41065 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41066 Likewise.
41067 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41068 Likewise.
41069 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41070 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41071 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41072 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41073 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41074 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41075 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41076 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41077 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41078 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41079 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41080 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41081 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41082 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
41083 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
41084
41085 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41086 that was previously under [RESET_PID].
41087 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41088 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41089 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41090
41091 * sysdeps/i386/nptl/Implies: New file.
41092 * sysdeps/x86_64/nptl/Implies: New file.
41093 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41094 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41095 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41096 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41097
41098 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41099 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41100 (__libc_vfork): New strong alias.
41101 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41102 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41103
41104 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41105 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41106 (__libc_vfork): New strong alias.
41107 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41108 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41109
41110 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41111 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41112 (__libc_vfork): New strong alias.
41113 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41114 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41115 * nptl/pt-vfork.c: New file.
41116 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41117 (libpthread: GLIBC_2.20): New version set (empty).
41118
41119 2014-05-14 Will Newton <will.newton@linaro.org>
41120
41121 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41122 rather than #if.
41123
41124 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41125
41126 [BZ #16564]
41127 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41128 arguments with exponent 65 or above.
41129 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41130 arguments 0x1p113L or above.
41131 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41132 to arguments 0x1p107L or above.
41133 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41134 positive arguments with exponent 65 or above.
41135 * math/auto-libm-test-in: Add more tests of log1p.
41136 * math/auto-libm-test-out: Regenerated.
41137
41138 [BZ #16928]
41139 * math/s_cacos.c (__cacos): Ensure zero real part of result from
41140 non-finite arguments is +0.
41141 * math/s_cacosf.c (__cacosf): Likewise.
41142 * math/s_cacosl.c (__cacosl): Likewise.
41143 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41144 * sysdeps/i386/fpu/libm-test-ulps: Update.
41145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41146
41147 [BZ #16927]
41148 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41149 value.
41150 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41151 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41152 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41153 for explicit high bit of mantissa when testing for argument equal
41154 to 1.
41155 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41156 * sysdeps/i386/fpu/libm-test-ulps: Update.
41157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41158
41159 [BZ #16516]
41160 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41161 (__erf): Scale by 16 instead of 8 in potentially underflowing
41162 case. Ensure exception if result actually underflows.
41163 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41164 (__erff): Scale by 16 instead of 8 in potentially underflowing
41165 case. Ensure exception if result actually underflows.
41166 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41167 (efx8): Remove variable.
41168 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41169 case. Ensure exception if result actually underflows.
41170 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41171 (efx8): Remove variable.
41172 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41173 case. Ensure exception if result actually underflows.
41174 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41175 (efx8): Remove variable.
41176 (__erfl): Scale by 16 instead of 8 in potentially underflowing
41177 case. Ensure exception if result actually underflows.
41178 * math/auto-libm-test-in: Add more tests of erf.
41179 * math/auto-libm-test-out: Regenerated.
41180
41181 2014-05-14 Andreas Schwab <schwab@suse.de>
41182
41183 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41184 Remove code conditionalized on USE___THREAD.
41185
41186 * config.h.in (HAVE_PT_CHOWN): Define as 0.
41187 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41188 not definedness.
41189
41190 2014-05-14 Joseph Myers <joseph@codesourcery.com>
41191
41192 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41193 Define unconditionally.
41194 (__ASSUME_O_CLOEXEC): Likewise.
41195 (__ASSUME_SOCK_CLOEXEC): Likewise.
41196 (__ASSUME_IN_NONBLOCK): Likewise.
41197 (__ASSUME_PIPE2): Likewise.
41198 (__ASSUME_EVENTFD2): Likewise.
41199 (__ASSUME_SIGNALFD4): Likewise.
41200 (__ASSUME_DUP3): Likewise.
41201 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41202 (__ASSUME_DUP3): Do not define.
41203 (__ASSUME_EVENTFD2): Likewise.
41204 (__ASSUME_IN_NONBLOCK): Likewise.
41205 (__ASSUME_O_CLOEXEC): Likewise.
41206 (__ASSUME_PIPE2): Likewise.
41207 (__ASSUME_SIGNALFD4): Likewise.
41208 (__ASSUME_SOCK_CLOEXEC): Likewise.
41209 (__ASSUME_UTIMES): Undefine.
41210 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41211 (__ASSUME_UTIMES): Do not define.
41212 (__ASSUME_O_CLOEXEC): Likewise.
41213 (__ASSUME_SOCK_CLOEXEC): Likewise.
41214 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41215 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41216 0x020621].
41217 (__ASSUME_PIPE2): Likewise.
41218 (__ASSUME_EVENTFD2): Likewise.
41219 (__ASSUME_SIGNALFD4): Likewise.
41220 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41221 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41222 Do not define.
41223 (__ASSUME_EVENTFD2): Likewise.
41224 (__ASSUME_SIGNALFD4): Likewise.
41225 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41226 (__ASSUME_32BITUIDS): Likewise.
41227 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41228 (__ASSUME_IPC64): Likewise.
41229 (__ASSUME_ST_INO_64_BIT): Likewise.
41230 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41231 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41232 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41233 (__ASSUME_UTIMES): Do not define.
41234 (__ASSUME_PSELECT): Likewise.
41235 (__ASSUME_PPOLL): Likewise.
41236 (__ASSUME_O_CLOEXEC): Likewise.
41237 (__ASSUME_SOCK_CLOEXEC): Likewise.
41238 (__ASSUME_IN_NONBLOCK): Likewise.
41239 (__ASSUME_PIPE2): Likewise.
41240 (__ASSUME_EVENTFD2): Likewise.
41241 (__ASSUME_SIGNALFD4): Likewise.
41242 (__ASSUME_DUP3): Likewise.
41243 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41244 (__ASSUME_UTIMES): Likewise.
41245 (__ASSUME_O_CLOEXEC): Likewise.
41246 (__ASSUME_SOCK_CLOEXEC): Likewise.
41247 (__ASSUME_IN_NONBLOCK): Likewise.
41248 (__ASSUME_PIPE2): Likewise.
41249 (__ASSUME_EVENTFD2): Likewise.
41250 (__ASSUME_SIGNALFD4): Likewise.
41251 (__ASSUME_DUP3): Likewise.
41252 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41253 (__ASSUME_UTIMES): Likewise.
41254 (__ASSUME_O_CLOEXEC): Likewise.
41255 (__ASSUME_SOCK_CLOEXEC): Likewise.
41256 (__ASSUME_IN_NONBLOCK): Likewise.
41257 (__ASSUME_PIPE2): Likewise.
41258 (__ASSUME_EVENTFD2): Likewise.
41259 (__ASSUME_SIGNALFD4): Likewise.
41260 (__ASSUME_DUP3): Likewise.
41261 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41262 Likewise.
41263 (__ASSUME_UTIMES): Likewise.
41264 (__ASSUME_EVENTFD2): Likewise.
41265 (__ASSUME_SIGNALFD4): Likewise.
41266 * sysdeps/unix/sysv/linux/tile/kernel-features.h
41267 (__ASSUME_O_CLOEXEC): Likewise.
41268 (__ASSUME_SOCK_CLOEXEC): Likewise.
41269 (__ASSUME_IN_NONBLOCK): Likewise.
41270 (__ASSUME_PIPE2): Likewise.
41271 (__ASSUME_EVENTFD2): Likewise.
41272 (__ASSUME_SIGNALFD4): Likewise.
41273 (__ASSUME_DUP3): Likewise.
41274 (__ASSUME_UTIMES): Undefine.
41275
41276 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41277 feclearexcept. Remove symbol versioning code.
41278 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
41279 symbol versioning code.
41280 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
41281 symbol versioning code.
41282 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41283 feupdateenv. Remove symbol versioning code.
41284 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41285 fegetexceptflag. Remove symbol versioning code.
41286 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41287 fesetexceptflag. Remove symbol versioning code.
41288 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41289 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
41290 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41291 (__posix_fadvise64_l32): Remove prototype.
41292 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41293 code.
41294
41295 2014-05-13 Roland McGrath <roland@hack.frob.com>
41296
41297 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41298 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41299 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41300 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41301
41302 2014-05-13 Sami Kerola <kerolasa@iki.fi>
41303
41304 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41305 current working directory
41306
41307 2014-05-13 Roland McGrath <roland@hack.frob.com>
41308
41309 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41310 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41311 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41312 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41313 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41314 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41315 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41316 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41317 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41318 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41319 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41320 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41321 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41322 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41323 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41324 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41325 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41326 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41327 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41328 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41329 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41330 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41331 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41332 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41333 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41334 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41335 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41336 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41337 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41338 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41339 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41340 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41341 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41342 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41343 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41344 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41345 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41346 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41347 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41348 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41349 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41350 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41351
41352 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41353 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41354
41355 * sysdeps/unix/sysv/linux/arm/Makefile
41356 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41357 Add rt-aeabi_unwind_cpp_pr1.
41358 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41359 Add nptl-aeabi_unwind_cpp_pr1.
41360 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41361 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41362 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41363 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41364 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41365 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41366
41367 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41368 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41369 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41370 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41371
41372 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41373 Deconditionalize the code that was previously under [RESET_PID].
41374 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41375
41376 * sysdeps/generic/exit-thread.h: New file.
41377 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41378 * include/unistd.h (__exit_thread): Remove declaration.
41379 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41380 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41381 * csu/libc-start.c: Include <exit-thread.h>.
41382 (LIBC_START_MAIN): Pass no argument to __exit_thread.
41383 * nptl/pthread_create.c: Include <exit-thread.h>.
41384 (start_thread): Call __exit_thread in place of __exit_thread_inline.
41385 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41386 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41387 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41388 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41389 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41390 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41391 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41392 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41393 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41394 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41395 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41396 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41397 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41398 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41399 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41400 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41401
41402 2014-05-13 Andreas Schwab <schwab@suse.de>
41403
41404 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41405
41406 2014-05-12 Joseph Myers <joseph@codesourcery.com>
41407
41408 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41409 (__ASSUME_UTIMES): Do not condition on kernel version.
41410 (__ASSUME_PSELECT): Define unconditionally.
41411 (__ASSUME_PPOLL): Likewise.
41412 (__ASSUME_ATFCTS): Likewise.
41413 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41414 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41415 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41416 (__ASSUME_UTIMENSAT): Define unconditionally.
41417 (__ASSUME_PRIVATE_FUTEX): Likewise.
41418 (__ASSUME_FALLOCATE): Likewise.
41419 (__ASSUME_O_CLOEXEC): Likewise.
41420 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41421 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41422 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41423 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41424 (__ASSUME_IN_NONBLOCK): Likewise.
41425 (__ASSUME_PIPE2): Likewise.
41426 (__ASSUME_EVENTFD2): Likewise.
41427 (__ASSUME_SIGNALFD4): Likewise.
41428 (__ASSUME_DUP3): Likewise.
41429 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41430 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41431 (__ASSUME_AT_RANDOM): Likewise.
41432 (__ASSUME_PREADV): Likewise.
41433 (__ASSUME_PWRITEV): Likewise.
41434 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41435 (__ASSUME_F_GETOWN_EX): Define unconditionally.
41436 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41437 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41438 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41439 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41440 (__ASSUME_O_CLOEXEC): Define unconditionally.
41441 (__ASSUME_PSELECT): Do not undefine conditionally.
41442 (__ASSUME_PPOLL): Likewise.
41443 (__ASSUME_ATFCTS): Likewise.
41444 (__ASSUME_SET_ROBUST_LIST): Likewise.
41445 (__ASSUME_UTIMENSAT): Likewise.
41446 (__ASSUME_FDATASYNC): Define unconditionally.
41447 * sysdeps/unix/sysv/linux/arm/kernel-features.h
41448 (__ASSUME_SIGFRAME_V2): Likewise.
41449 )__ASSUME_EVENTFD2): Likewise.
41450 (__ASSUME_SIGNALFD4): Likewise.
41451 (__ASSUME_PSELECT): Do not undefine conditionally.
41452 (__ASSUME_PPOLL): Likewise.
41453 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41454 (__ASSUME_PSELECT): Define unconditionally.
41455 (__ASSUME_PPOLL): Likewise.
41456 (__ASSUME_O_CLOEXEC): Likewise.
41457 (__ASSUME_SOCK_CLOEXEC): Likewise.
41458 (__ASSUME_IN_NONBLOCK): Likewise.
41459 (__ASSUME_PIPE2): Likewise.
41460 (__ASSUME_EVENTFD2): Likewise.
41461 (__ASSUME_SIGNALFD4): Likewise.
41462 (__ASSUME_DUP3): Likewise.
41463 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41464 (__ASSUME_O_CLOEXEC): Likewise.
41465 (__ASSUME_SOCK_CLOEXEC): Likewise.
41466 (__ASSUME_IN_NONBLOCK): Likewise.
41467 (__ASSUME_PIPE2): Likewise.
41468 (__ASSUME_EVENTFD2): Likewise.
41469 (__ASSUME_SIGNALFD4): Likewise.
41470 (__ASSUME_DUP3): Likewise.
41471 * sysdeps/unix/sysv/linux/mips/kernel-features.h
41472 (__ASSUME_EVENTFD2): Likewise.
41473 (__ASSUME_SIGNALFD4): Likewise.
41474 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41475
41476 2014-05-12 Andreas Schwab <schwab@suse.de>
41477
41478 [BZ #16932]
41479 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41480 (_nss_nis_gethostbyname4_r): Return error if item length is larger
41481 than maximum RPC packet size.
41482 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41483 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41484 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41485 (_nss_nis_getservbyport_r): Likewise.
41486
41487 2014-05-12 Will Newton <will.newton@linaro.org>
41488
41489 * malloc/Makefile (tests): Add tst-mallopt.
41490 * malloc/tst-mallopt.c: New file.
41491
41492 2014-05-09 Roland McGrath <roland@hack.frob.com>
41493
41494 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41495 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41496
41497 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41498
41499 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41500 (tst-tlsmod6.so): Likewise.
41501
41502 2014-05-09 Roland McGrath <roland@hack.frob.com>
41503
41504 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41505
41506 2014-05-09 Joseph Myers <joseph@codesourcery.com>
41507
41508 [BZ #16064]
41509 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41510 and <dl-procinfo.h>.
41511 (__fegetenv): Save SSE state in envp->__eip if supported.
41512 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41513 envp->__eip if supported.
41514 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41515 and <dl-procinfo.h>.
41516 (__fesetenv): Always set __eip, __cs_selector, __opcode,
41517 __data_offset and __data_selector in environment to 0. Set SSE
41518 state if supported.
41519 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41520 test-fenv-sse.
41521 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41522 -mfpmath=sse.
41523 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41524
41525 2014-05-09 Will Newton <will.newton@linaro.org>
41526
41527 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41528 and libc_relro_required for ARM.
41529 * sysdeps/arm/preconfigure: Regenerate.
41530
41531 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
41532 Stefan Liebler <stli@linux.vnet.ibm.com>
41533
41534 * config.make.in (enable-lock-elision): New Makefile variable.
41535 * configure.ac: Likewise.
41536 * configure: Regenerate.
41537 * sysdeps/s390/configure.ac:
41538 Add check for gcc transactions support.
41539 * sysdeps/s390/configure: Regenerate.
41540 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41541 Build elision files if enabled.
41542 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41543 Add lock elision support for s390.
41544 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41545 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41546 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41547 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41548 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41549 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41550 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41551 Likewise.
41552 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41553 Likewise.
41554 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41555 Likewise.
41556 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41557 Likewise.
41558 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41559 (__lll_timedlock_elision, __lll_lock_elision)
41560 (__lll_unlock_elision, __lll_trylock_elision)
41561 (lll_timedlock_elision, lll_lock_elision)
41562 (lll_unlock_elision, lll_trylock_elision): Add.
41563 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41564 (pthread_mutex_t): Add lock elision support for s390.
41565
41566 2014-05-14 Wilco <wdijkstr@arm.com>
41567
41568 * sysdeps/arm/fclrexcpt.c: Cleanup.
41569 * sysdeps/arm/fedisblxcpt.c: Cleanup.
41570 * sysdeps/arm/feenablxcpt.c: Cleanup.
41571 * sysdeps/arm/fegetenv.c: Cleanup.
41572 * sysdeps/arm/fegetexcept.c: Cleanup.
41573 * sysdeps/arm/fegetround.c: Cleanup.
41574 * sysdeps/arm/feholdexcpt.c: Cleanup.
41575 * sysdeps/arm/fesetenv.c: Cleanup.
41576 * sysdeps/arm/fesetround.c: Cleanup.
41577 * sysdeps/arm/feupdateenv.c: Cleanup.
41578 * sysdeps/arm/fgetexcptflg.c: Cleanup.
41579 * sysdeps/arm/fraiseexcpt.c: Cleanup.
41580 * sysdeps/arm/fsetexcptflg.c: Cleanup.
41581 * sysdeps/arm/ftestexcept.c: Cleanup.
41582 * sysdeps/arm/get-rounding-mode.h: Cleanup.
41583 * sysdeps/arm/setfpucw.c: Cleanup.
41584
41585 2014-05-09 Will Newton <will.newton@linaro.org>
41586
41587 * sysdeps/arm/armv7/strcmp.S: New file.
41588 * NEWS: Mention addition of ARMv7 optimized strcmp.
41589
41590 2014-05-08 Roland McGrath <roland@hack.frob.com>
41591
41592 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41593 look for %.ac rather than %.in.
41594
41595 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41596 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41597 * sysdeps/mach/hurd/configure: Regenerated.
41598 * sysdeps/unix/sysv/linux/configure: Regenerated.
41599
41600 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41601
41602 2014-05-07 Steve Ellcey <sellcey@mips.com>
41603
41604 [BZ# 16922]
41605 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41606 (LONG_SUB): Ditto.
41607 (PTR_SUB): Ditto.
41608
41609 2014-05-07 Andreas Schwab <schwab@suse.de>
41610
41611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41612 when skipping over non-matching result from nscd.
41613
41614 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
41615
41616 [BZ #16876]
41617 * nptl/sockperf.c (client): Check socket return value.
41618
41619 [BZ #16877]
41620 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41621 nscd security class.
41622
41623 2014-05-06 Roland McGrath <roland@hack.frob.com>
41624
41625 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41626 * sysdeps/arm/unwind.h: ... here.
41627
41628 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
41629
41630 [BZ# 16916]
41631 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41632 Define.
41633
41634 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
41635
41636 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41637 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41638 multiarch strncpy for PPC64.
41639 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41640 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41642 multiarch optimizations.
41643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41644 (__libc_ifunc_impl_list): Likewise.
41645 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41646 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41647 multiarch stpncpy for PPC64.
41648 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41649 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41650
41651 2014-05-06 Andreas Schwab <schwab@suse.de>
41652
41653 [BZ #16912]
41654 * gmon/mcount.c (_MCOUNT_DECL): Use
41655 atomic_compare_and_exchange_bool_acq instead of
41656 catomic_compare_and_exchange_bool_acq.
41657
41658 2014-05-05 Roland McGrath <roland@hack.frob.com>
41659
41660 * elf/Makefile (others, install-bin): Remove pldd.
41661 (pldd-modules): Variable removed.
41662 ($(objpfx)pldd): Target removed.
41663 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41664 (others, install-bin): Append pldd here.
41665 ($(objpfx)pldd): New target.
41666
41667 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41668 to 0, so the first #if test emitted later doesn't see it undefined.
41669 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41670 * sysdeps/gnu/errlist.c: Regenerated.
41671
41672 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41673
41674 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41675 [libc_hidden_builtin_def]: Define to empty value.
41676 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41677 [libc_hidden_builtin_def]: Likewise.
41678 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41679 [libc_hidden_builtin_def]: Likewise.
41680 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41681 [libc_hidden_builtin_def]: Likewise.
41682 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41683 __redirect_memcpy and define ifunc as default hidden symbol.
41684 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41685 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41686
41687 2014-05-04 Adam Conrad <adconrad@0c3.net>
41688
41689 * locale/iso-4217.def: Reintroduce XDR currency.
41690
41691 2014-05-04 Allan McRae <allan@archlinux.org>
41692
41693 * po/eo.po: Update Esperanto translation from translation project.
41694
41695 2014-05-02 Carlos O'Donell <carlos@redhat.com>
41696
41697 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41698 and FEATURE_INDEX_MAX to 1.
41699 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41700
41701 2014-05-01 Steve Ellcey <sellcey@mips.com>
41702
41703 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41704 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41705 * iconvdata/big5.c (ONE_DIRECTION): Define.
41706 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41707 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41708 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41709 * iconvdata/cp932.c (ONE_DIRECTION): Define.
41710 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41711 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41712 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41713 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41714 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41715 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41716 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41717 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41718 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41719 * iconvdata/gbk.c (ONE_DIRECTION): Define.
41720 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41721 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41722 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41723 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41724 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41725 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41726 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41727 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41728 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41729 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41730 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41731 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41732 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41733 * iconvdata/iso646.c (ONE_DIRECTION): Define.
41734 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41735 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41736 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41737 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41738 * iconvdata/johab.c (ONE_DIRECTION): Define.
41739 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41740 * iconvdata/sjis.c (ONE_DIRECTION): Define.
41741 * iconvdata/t.61.c (ONE_DIRECTION): Define.
41742 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41743 * iconvdata/tscii.c (ONE_DIRECTION): Define.
41744 * iconvdata/uhc.c (ONE_DIRECTION): Define.
41745 * iconvdata/unicode.c (ONE_DIRECTION): Define.
41746 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41747 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41748 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41749
41750 2014-05-01 Roland McGrath <roland@hack.frob.com>
41751
41752 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41753 (_IO_JUMPS_OFFSET): Define to 0.
41754
41755 * nptl/sysdeps/pthread/bits/libc-lock.h
41756 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41757 (__libc_lock_define_initialized_recursive): Always define using
41758 initializer. Modern compilers treat uninitialized (implicit zero) and
41759 explicit zero initializers the same (i.e. put the datum in bss).
41760
41761 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41762
41763 * nscd/nscd-client.h: Include <string.h>.
41764
41765 2014-05-01 David S. Miller <davem@davemloft.net>
41766
41767 [BZ #16885]
41768 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41769 multiple zero bytes exist at the end of a string.
41770 Reported by Aurelien Jarno <aurelien@aurel32.net>
41771
41772 * string/test-strcmp.c (check): Add explicit test for situations where
41773 there are multiple zero bytes after the first.
41774
41775 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
41776
41777 [BZ #16890]
41778 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41779 when compiling wprintf.
41780 * stdio-common/tstdiomisc.c (t3): New function.
41781 (main): Call it.
41782
41783 2014-05-01 Steve Ellcey <sellcey@mips.com>
41784
41785 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41786 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41787 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41788 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41789
41790 2014-05-01 Steve Ellcey <sellcey@mips.com>
41791
41792 * stdlib/longlong.h: Updated from GCC.
41793
41794 2014-05-01 Will Newton <will.newton@linaro.org>
41795 Bernard Ogden <bernie.ogden@linaro.org>
41796
41797 * NEWS: Update fixed bug list.
41798
41799 [BZ #15119]
41800 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41801
41802 2014-04-30 David S. Miller <davem@davemloft.net>
41803
41804 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41805 (libc_feholdexcept_setround_sparc_ctx): New function.
41806 (libc_fesetenv_sparc_ctx): Likewise.
41807 (libc_feupdateenv_sparc_ctx): Likewise.
41808 (libc_feholdsetround_sparc_ctx): Likewise.
41809 (libc_feholdexcept_setround_ctx): Define.
41810 (libc_feholdexcept_setroundf_ctx): Likewise.
41811 (libc_feholdexcept_setroundl_ctx): Likewise.
41812 (libc_fesetenv_ctx): Likewise.
41813 (libc_fesetenvf_ctx): Likewise.
41814 (libc_fesetenvl_ctx): Likewise.
41815 (libc_feupdateenv_ctx): Likewise.
41816 (libc_feupdateenvf_ctx): Likewise.
41817 (libc_feupdateenvl_ctx): Likewise.
41818 (libc_feresetround_ctx): Likewise.
41819 (libc_feresetroundf_ctx): Likewise.
41820 (libc_feresetroundl_ctx): Likewise.
41821 (libc_feholdsetround_ctx): Likewise.
41822 (libc_feholdsetroundf_ctx): Likewise.
41823 (libc_feholdsetroundl_ctx): Likewise.
41824
41825 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41826 with __USE_GNU instead of XOPEN cpp guards.
41827
41828 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41829 0.
41830
41831 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41832 with XOPEN cpp guards.
41833
41834 2014-04-30 Julian Brown <julian@codesourcery.com>
41835
41836 [BZ #16888]
41837 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41838 handling.
41839
41840 2014-04-30 Joseph Myers <joseph@codesourcery.com>
41841
41842 [BZ #9894]
41843 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41844 Change to 2.6.32.
41845 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41846 * sysdeps/unix/sysv/linux/configure: Regenerated.
41847 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41848 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41849 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41850 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41851 * README: Update reference to required Linux kernel version.
41852 * manual/install.texi (Linux): Update reference to required Linux
41853 kernel headers version.
41854 * INSTALL: Regenerated.
41855
41856 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41857 header inclusion.
41858 [POSIX] (limits.h): Likewise.
41859 [POSIX] (math.h): Likewise.
41860 [POSIX] (sys/wait.h): Likewise.
41861 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41862 function.
41863 [POSIX] (stddef.h): Do not allow header inclusion.
41864
41865 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41866
41867 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41868
41869 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
41870
41871 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41872 Return immediately after lll_futex_wake.
41873
41874 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41875
41876 [BZ #16791]
41877 * nscd/nscd-client.h (datahead_init_common): Initialize entire
41878 structure.
41879 (datahead_init_pos): Call datahead_init_common early.
41880 (datahead_init_neg): Likewise.
41881
41882 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41883 datahead_init_neg): New functions.
41884 * nscd/aicache.c (addhstaiX): Use them.
41885 * nscd/grpcache.c (cache_addgr): Likewise.
41886 * nscd/hstcache.c (cache_addhst): Likewise.
41887 * nscd/initgrcache.c (addinitgroupsX): Likewise.
41888 * nscd/netgroupcache.c (do_notfound): Likewise.
41889 (addgetnetgrentX): Likewise.
41890 (addinnetgrX): Likewise.
41891 * nscd/pwdcache.c (cache_addpw): Likewise.
41892 * nscd/servicescache.c (cache_addserv): Likewise.
41893
41894 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41895 Atsushi Onoe <atsushi@onoe.org>
41896
41897 [BZ #14308]
41898 [BZ #12994]
41899 [BZ #13651]
41900 * resolv/res_query.c (__libc_res_nsearch): Return if at least
41901 one response is valid.
41902 * resolv/res_send.c (send_dg): Check for validity of other
41903 response if the current response is a referral.
41904
41905 2014-04-29 Steve Ellcey <sellcey@mips.com>
41906
41907 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41908
41909 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
41910
41911 [BZ #16823]
41912 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
41913 Always divide by positive zero when computing -Inf result.
41914 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41915 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
41916
41917 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41918
41919 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
41920 FPSCR if value do not change.
41921 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41922 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
41923 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41924 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41925 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
41926 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
41927 function.
41928
41929 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
41930
41931 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
41932 * sysdeps/unix/sysv/linux/hppa: Move directory from
41933 ports/systeps/unix/sysv/linux/hppa.
41934 * README: Update listing for hppa-*-linux-gnu.
41935
41936 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
41937
41938 [BZ #16754]
41939 * manual/stdio.texi (Hook functions): Fix types of stream hook
41940 functions.
41941 [BZ #16854]
41942 * socket/sys/socket.h: Fix typo in comment.
41943
41944 2014-04-28 Wilco <wdijkstr@arm.com>
41945
41946 * sysdeps/arm/fenv_private.h: New file.
41947 * sysdeps/arm/math_private.h: New file.
41948 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
41949
41950 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
41951
41952 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
41953 with __int128_t.
41954 (La_x86_64_retval): Likewise.
41955
41956 2014-04-24 Ian Bolton <ian.bolton@arm.com>
41957
41958 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
41959 fpsr if value didn't change.
41960 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
41961 to fpcr if value didn't change.
41962 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
41963 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
41964 fpsr or fpcr if value didn't change.
41965 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41966 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
41967 fpcr if value didn't change.
41968 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
41969 to fpsr if value didn't change.
41970
41971 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
41972
41973 * nptl/tst-sem3.c: Use test-skeleton.c
41974 (main): Rename to do_test. Use return instead of
41975 exit.
41976 * nptl/tst-sem4.c: Use test-skeleton.c
41977 (main): Rename to do_test.
41978
41979 2014-04-22 David S. Miller <davem@davemloft.net>
41980
41981 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
41982 (struct sigaction): New struct member __glibc_reserved0, change
41983 type of sa_flags to int.
41984
41985 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
41986
41987 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
41988 (COUNT_LEADING_ZEROS_0): Define for AArch64.
41989
41990 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41991
41992 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
41993 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
41994
41995 2014-04-22 Will Newton <will.newton@linaro.org>
41996 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
41997
41998 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
41999 (__longjmp): Add longjmp and longjmp_target SystemTap
42000 probes.
42001 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42002 (__sigsetjmp): Add setjmp SystemTap probe.
42003
42004 2014-04-17 Carlos O'Donell <carlos@redhat.com>
42005
42006 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42007 match manual order.
42008
42009 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42010
42011 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42012
42013 * sysdeps/powerpc/fpu/fenv_private.h
42014 (libc_feholdexcept_setroundl_ctx): Define to
42015 libc_feholdexcept_setround_ppc_ctx.
42016 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42017 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42018 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42019 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42020
42021 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42022
42023 * sysdeps/aarch64/math-tests.h: New file.
42024
42025 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
42026
42027 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42028 New.
42029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42030 Check and set bit_AVX2_Usable.
42031 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42032 macro.
42033 (bit_AVX2): Likewise.
42034 (index_AVX2_Usable): Likewise.
42035 (CPUID_AVX2): Likewise.
42036 (HAS_AVX2): Likewise.
42037
42038 2014-04-17 Will Newton <will.newton@linaro.org>
42039
42040 * manual/setjmp.texi (System V contexts): Add note that
42041 calling setcontext on a context created by a call to a
42042 signal handler is undefined. Update text to note that
42043 setcontext from a signal handler is possible but not
42044 recommended.
42045
42046 [BZ #16629]
42047 * stdlib/tst-setcontext.c: Include signal.h.
42048 (main): Check that the signal stack before and
42049 after swapcontext is the same.
42050
42051 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42052 Re-implement to restore registers in user code and avoid
42053 rt_sigreturn system call.
42054
42055 2014-04-17 Wilco <wdijkstr@arm.com>
42056
42057 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42058 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42059 * math/test-fenv.c: Skip exception trap tests on targets which only
42060 support non-stop mode.
42061
42062 2014-04-17 Ian Bolton <ian.bolton@arm.com>
42063 Wilco Dijkstra <wilco.dijkstra@arm.com>
42064
42065 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42066 (libc_feholdsetround_aarch64_ctx)
42067 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42068 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42069 (libc_feresetround_ctx, libc_feresetroundf_ctx)
42070 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42071 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42072 (libc_feresetround_noexl_ctx): Define.
42073
42074 2014-04-16 Richard Henderson <rth@redhat.com>
42075
42076 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42077
42078 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42079 unwind tables.
42080
42081 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42082 const from the non-libc, non-ldso copy.
42083
42084 * sysdeps/alpha/libm-test-ulps: Regenerate.
42085
42086 2014-04-16 Ian Bolton <ian.bolton@arm.com>
42087 Wilco Dijkstra <wilco.dijkstra@arm.com>
42088
42089 * sysdeps/aarch64/fpu/math_private.h: New file.
42090
42091 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
42092
42093 * sysdeps/aarch64/libm-test-ulps: Regenerate.
42094
42095 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
42096
42097 [BZ #16275]
42098 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42099 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42101 Intel MPX bound registers before _dl_profile_fixup.
42102 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42103 registers after _dl_profile_fixup. Save and restore bound
42104 registers bnd0/bnd1 when calling _dl_call_pltexit.
42105 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42106 (LR_BND_OFFSET): Likewise.
42107 (LRV_BND0_OFFSET): Likewise.
42108 (LRV_BND1_OFFSET): Likewise.
42109
42110 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42111
42112 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42113 to...
42114 * sysdeps/mach/hurd/i386/tls.h: ... here.
42115 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42116 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42117 fields.
42118
42119 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
42120
42121 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42122
42123 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42124
42125 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42126
42127 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
42128
42129 [BZ #14770]
42130 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42131 * sysdeps/s390/configure: Regenerate.
42132
42133 [BZ #16824]
42134 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42135 Set round-to-nearest internally to reduce error accumulation.
42136
42137 2014-04-16 Alan Modra <amodra@gmail.com>
42138
42139 [BZ #16740]
42140 [BZ #16619]
42141 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42142 * math/libm-test.inc (frexp_test_data): Add tests.
42143 * NEWS: Update fixed bug list.
42144
42145 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
42146
42147 * benchtests/Makefile: Depend on libraries in build directory.
42148 (bench-math): Separate out math tests.
42149 (bench-pthread): Separate out pthread tests.
42150 (bench): Include math and pthread tests.
42151
42152 2014-04-14 Carlos O'Donell <carlos@redhat.com>
42153
42154 [BZ #16831]
42155 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42156 _dl_debug_initialize.
42157
42158 * configure.ac: Remove SELinux header check.
42159 * configure: Regenerate.
42160 * nscd/selinux.c (perms): Array of const char* to permission names.
42161 (nscd_request_avc_has_perm): Call security_deny_unknown to find
42162 default policy. Call string_to_security_class and string_to_av_perm to
42163 translate strings. Enforce default policy and call avs_has_perm with
42164 results of translated strings.
42165
42166 2014-04-13 David S. Miller <davem@davemloft.net>
42167
42168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42169
42170 2014-04-12 Allan McRae <allan@archlinux.org>
42171
42172 [BZ #16838]
42173 * manual/string.texi (Collation Functions): Fix qsort argument
42174 order in example.
42175 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42176
42177 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
42178
42179 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42180 Make the test a no-op if there are no exceptions defined.
42181
42182 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
42183
42184 * elf/Makefile (tests): make tst-dlopen-aout conditional on
42185 enable-hardcoded-path-in-tests
42186
42187 2014-04-11 Will Newton <will.newton@linaro.org>
42188
42189 * benchtests/Makefile (extra-objs): Add json-lib.o.
42190 (bench-func): Tidy up JSON output.
42191 * benchtests/bench-skeleton.c: Include json-lib.h.
42192 (main): Use JSON library functions to do output of
42193 benchmark results.
42194 * benchtests/bench-timing-type.c (main): Output the
42195 timing type simply, leaving formatting to the user.
42196 * benchtests/json-lib.c: New file.
42197 * benchtests/json-lib.h: Likewise.
42198
42199 2014-04-11 Torvald Riegel <triegel@redhat.com>
42200
42201 [BZ #15215]
42202 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42203 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
42204 memory barriers. Add comments.
42205 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42206 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42207 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42208 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42209 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42210 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42211
42212 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
42213
42214 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42215 * sysdeps/s390/s390-64/configure.ac: ... this ...
42216 * sysdeps/s390/configure.ac: ... to here.
42217 * sysdeps/s390/s390-32/configure: Delete file.
42218 * sysdeps/s390/s390-64/configure: Delete file.
42219 * sysdeps/s390/configure: Regenerate.
42220
42221 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
42222
42223 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42224
42225 2014-04-11 Will Newton <will.newton@linaro.org>
42226
42227 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42228 to zero if it is not defined elsewhere. (mtrim): Test
42229 the value of MALLOC_DEBUG with #if rather than #ifdef.
42230
42231 2014-04-10 Torvald Riegel <triegel@redhat.com>
42232
42233 * benchtests/pthread_once-inputs: New file.
42234 * benchtests/pthread_once-source.c: New file.
42235 * benchtests/README: Update documentation.
42236
42237 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
42238 H.J. Lu <hongjiu.lu@intel.com>
42239
42240 [BZ #16275]
42241 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42242 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42243 * sysdeps/x86_64/configure: Regenerated.
42244 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42245 macro.
42246 (REGISTER_SAVE_RAX): Likewise.
42247 (REGISTER_SAVE_RCX): Likewise.
42248 (REGISTER_SAVE_RDX): Likewise.
42249 (REGISTER_SAVE_RSI): Likewise.
42250 (REGISTER_SAVE_RDI): Likewise.
42251 (REGISTER_SAVE_R8): Likewise.
42252 (REGISTER_SAVE_R9): Likewise.
42253 (REGISTER_SAVE_BND0): Likewise.
42254 (REGISTER_SAVE_BND1): Likewise.
42255 (REGISTER_SAVE_BND2): Likewise.
42256 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
42257 bound registers when calling _dl_fixup.
42258
42259 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42260
42261 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42262 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42263 of its definition.
42264 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42265 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42266 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42267 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42268 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42269 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42270 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42271
42272 2014-04-09 Peter Brett <peter@peter-b.co.uk>
42273
42274 [BZ #15514]
42275 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42276 pathconf(_PC_NAME_MAX).
42277
42278 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42279
42280 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42281 Remove macro usage.
42282 (__PTHREAD_SPINS): Move definition to ...
42283 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42284 (__PTHREAD_SPINS): ... here.
42285 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42286 (__PTHREAD_SPIN): Likewise.
42287 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42288 (__PTHREAD_SPIN): Likewise.
42289 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42290 (__PTHREAD_SPIN): Likewise.
42291 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42292 (__PTHREAD_SPIN): Likewise.
42293 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42294 (__PTHREAD_SPIN): Likewise.
42295 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42296 (__PTHREAD_SPIN): Likewise.
42297 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42298 (__PTHREAD_SPIN): Likewise.
42299 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42300 (__PTHREAD_SPIN): Likewise.
42301 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42302 (__PTHREAD_SPIN): Likewise.
42303 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42304 (__PTHREAD_SPIN): Likewise.
42305 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42306 (__PTHREAD_SPIN): Likewise.
42307 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42308 (__PTHREAD_SPIN): Likewise.
42309
42310 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42311 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42312 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42313 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42314 imply folder.
42315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42316 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42317 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42318 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42319 correct imply path.
42320 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42321 strlen symbol for non multi-arch builds.
42322 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42323 missing hidden_def and weak_alias.
42324
42325 2014-04-08 Carlos O'Donell <carlos@redhat.com>
42326
42327 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42328
42329 2014-04-07 Will Newton <will.newton@linaro.org>
42330
42331 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42332 and contents. [!_LIBC] Remove #ifndef and contents.
42333 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
42334 * string/memccpy.c (__memccpy): Use ANSI prototype.
42335 * string/memfrob.c (memfrob): Likewise.
42336 * string/strcoll.c (STRCOLL): Likewise.
42337 * string/strlen.c (strlen): Likewise.
42338 * string/strtok.c (STRTOK): Likewise.
42339 * string/strcat.c: Remove unused #include of memcopy.h.
42340 (strcat): Use ANSI prototype.
42341 * string/strchr.c: Remove unused #include of memcopy.h.
42342 (strchr): Use ANSI prototype.
42343 * string/strcmp.c: Remove unused #include of memcopy.h.
42344 (strcmp): Use ANSI prototype.
42345 * string/strcpy.c: Remove unused #include of memcopy.h.
42346 (strcpy): Use ANSI prototype.
42347
42348 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42349
42350 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42351 * config.make.in (config-extra-cppflags): Set it from
42352 libc_extra_cppflags.
42353 * configure.ac (libc_extra_cflags): Make it accumulate over
42354 configure fragments.
42355 (libc_extra_cppflags): New flag.
42356 * configure. Regenerate.
42357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42358 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42359 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42361
42362 [BZ #16815]
42363 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42364 result for FE_DOWNWARD rounding mode.
42365 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42366 Likewise.
42367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42368
42369 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
42370
42371 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42372 in function argument name.
42373
42374 2014-04-03 David Svoboda <svoboda@cert.org>
42375
42376 [BZ #5666]
42377 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42378 explicitly.
42379
42380 2014-04-03 Roland McGrath <roland@hack.frob.com>
42381
42382 * elf/dl-unmap-segments.h: New file.
42383 * sysdeps/generic/ldsodefs.h
42384 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42385 * elf/dl-close.c: Include <dl-unmap-segments.h>.
42386 * elf/dl-fptr.c: Likewise.
42387 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42388 * sysdeps/aarch64/tlsdesc.c: Likewise.
42389 * sysdeps/arm/tlsdesc.c: Likewise.
42390 * sysdeps/i386/tlsdesc.c: Likewise.
42391 * sysdeps/tile/dl-runtime.c: Likewise.
42392 * sysdeps/x86_64/tlsdesc.c: Likewise.
42393 * elf/dl-load.h: New file.
42394 * elf/dl-load.c: Include it.
42395 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42396 Macros moved to dl-load.h.
42397 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42398 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42399 Use _dl_unmap_segments in place of __munmap.
42400 Break out segment-mapping loop into ...
42401 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42402
42403 2014-04-03 Will Newton <will.newton@linaro.org>
42404
42405 * elf/dl-lookup.c (do_lookup_x): Remove comment
42406 referring to nested function and move variable
42407 declarations down to before first use.
42408
42409 2014-04-02 Joseph Myers <joseph@codesourcery.com>
42410
42411 [BZ #16799]
42412 [BZ #16800]
42413 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42414 with 0 numerator.
42415 * math/s_catanf.c (__catanf): Likewise.
42416 * math/s_catanh.c (__catanh): Likewise.
42417 * math/s_catanhf.c (__catanhf): Likewise.
42418 * math/s_catanhl.c (__catanhl): Likewise.
42419 * math/s_catanl.c (__catanl): Likewise.
42420 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42421 by positive zero when computing -Inf result.
42422 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42423 (catanh_test): Likewise.
42424 * sysdeps/i386/fpu/libm-test-ulps: Update.
42425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42426
42427 [BZ #16789]
42428 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42429 instead of using underflowing value in computing result.
42430 * math/s_clog10.c (__clog10): Likewise.
42431 * math/s_clog10f.c (__clog10f): Likewise.
42432 * math/s_clog10l.c (__clog10l): Likewise.
42433 * math/s_clogf.c (__clogf): Likewise.
42434 * math/s_clogl.c (__clogl): Likewise.
42435 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42436 (clog10_test): Likewise.
42437 * sysdeps/i386/fpu/libm-test-ulps: Update.
42438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42439
42440 2014-04-02 Alan Modra <amodra@gmail.com>
42441
42442 [BZ #16739]
42443 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42444 output when value is near a power of two. Use int64_t for lx and
42445 remove casts. Use decimal rather than hex exponent constants.
42446 Don't use long double multiplication when double will suffice.
42447 * math/libm-test.inc (nextafter_test_data): Add tests.
42448 * NEWS: Add 16739 and 16786 to bug list.
42449
42450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42451
42452 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42453
42454 2014-04-01 Will Newton <will.newton@linaro.org>
42455
42456 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42457 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
42458
42459 2014-04-01 Florian Weimer <fweimer@redhat.com>
42460
42461 [BZ #13347]
42462 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42463 * nptl/tst-setuid2.c: New file.
42464 * nptl/Makefile (xtests): Add tst-setuid2.
42465
42466 2014-04-01 Alan Modra <amodra@gmail.com>
42467
42468 [BZ #16786]
42469 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42470
42471 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42472
42473 [BZ #6803]
42474 [BZ #6804]
42475 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42476 set errno as appropriate.
42477 * math/w_scalbf.c (__scalbf): Likewise.
42478 * math/w_scalbl.c (__scalbl): Likewise.
42479 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42480 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42481 * math/libm-test.inc (scalb_test_data): Add errno expectations.
42482 Add more NaN tests.
42483
42484 [BZ #16349]
42485 * math/w_atan2.c: Include <errno.h>.
42486 (__atan2): Set errno for result underflowing to zero.
42487 * math/w_atan2f.c: Include <errno.h>.
42488 (__atan2f): Set errno for result underflowing to zero.
42489 * math/w_atan2l.c: Include <errno.h>.
42490 (__atan2l): Set errno for result underflowing to zero.
42491 * math/auto-libm-test-in: Don't allow missing errno for some atan2
42492 tests.
42493 * math/auto-libm-test-out: Regenerated.
42494
42495 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42496
42497 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42498 Encode instruction correctly in little endian.
42499 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42500 Likewise.
42501 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42502 Likewise.
42503 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42504 Likewise.
42505 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42506 Likewise.
42507
42508 2014-03-31 Joseph Myers <joseph@codesourcery.com>
42509
42510 [BZ #9894]
42511 * sysdeps/unix/sysv/linux/kernel-features.h
42512 [__sparc__ && !__arch64__ && !__sparc_v9__]
42513 (__ASSUME_SET_ROBUST_LIST): Do not define.
42514 [__sparc__ && !__arch64__ && !__sparc_v9__]
42515 (__ASSUME_FUTEX_LOCK_PI): Likewise.
42516 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42517 Likewise.
42518 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42519 (__ASSUME_FUTEX_LOCK_PI): Undefine.
42520 (__ASSUME_REQUEUE_PI): Likewise.
42521 (__ASSUME_SET_ROBUST_LIST): Likewise.
42522 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42523 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42524 Undefine.
42525 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42526 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42527 Likewise.
42528 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42529 Likewise.
42530 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42531 Likewise.
42532 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42533 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42534 Undefine.
42535 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42536 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42537 Likewise.
42538
42539 [BZ #16648]
42540 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42541 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42542 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42543
42544 2014-03-31 Will Newton <will.newton@linaro.org>
42545
42546 * benchtests/Makefile (bench): Add ffs and ffsll to list
42547 of tests.
42548 * benchtests/ffs-inputs: New file.
42549 * benchtests/ffsll-inputs: Likewise.
42550
42551 2014-03-29 Joseph Myers <joseph@codesourcery.com>
42552
42553 [BZ #16770]
42554 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42555 too large before casting to int.
42556 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42557 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42558 * math/libm-test.inc (scalb_test_data): Add more tests.
42559
42560 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42561
42562 * benchtests/Makefile (DETAILED_OPT): New make option.
42563 (bench-func): Run benchmark program with -d if DETAILED_OPT is
42564 set.
42565 * benchtests/bench-skeleton.c: Include stdbool.h.
42566 (main): Store and print timings per input.
42567 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42568 member to each argument value.
42569 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42570 (_print_arg_data): Initialize per-input timing to 0.
42571
42572 * benchtests/Makefile (timing-type): New binary.
42573 (bench-clean): Also remove bench-timing-type.
42574 (bench): New target for timing-type.
42575 (bench-func): Print output in JSON format.
42576 * benchtests/bench-skeleton.c (main): Print output in JSON
42577 format.
42578 * benchtests/bench-timing-type.c: New file.
42579 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42580 (TIMING_PRINT_STATS): Remove.
42581 * benchtests/scripts/bench.py (_print_arg_data): Store variant
42582 name separately.
42583
42584 * benchtests/bench-modf.c: Remove.
42585 * benchtests/modf-inputs: New inputs file.
42586
42587 2014-03-28 Joseph Myers <joseph@codesourcery.com>
42588
42589 [BZ #16362]
42590 * math/s_clog10.c (M_PI_LOG10E): New macro.
42591 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42592 imaginary parts are 0.
42593 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42594 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42595 imaginary parts are 0.
42596 * math/s_clog10l.c (M_PI_LOG10El): New macro.
42597 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42598 imaginary parts are 0.
42599 * math/libm-test.inc (clog10_test_data): Update expected results
42600 for when real and imaginary parts are 0.
42601
42602 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
42603
42604 * elf/dl-load.c: Finish conversion of __builtin_expect into
42605 __glibc_{un}likely.
42606
42607 2014-03-27 Joseph Myers <joseph@codesourcery.com>
42608
42609 [BZ #16348]
42610 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42611 1+x for argument with exponent below -67.
42612 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42613 Likewise.
42614 * math/auto-libm-test-in: Add more tests of exp.
42615 * math/auto-libm-test-out: Regenerated.
42616
42617 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42618
42619 [BZ #16759]
42620 * inet/getnetgrent_r.c (get_nonempty_val): New function.
42621 (nscd_getnetgrent): Use it.
42622
42623 [BZ #16760]
42624 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42625 of stpcpy.
42626
42627 2014-03-27 Andi Kleen <ak@linux.intel.com>
42628
42629 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42630 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42631 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42632 (lll_robust_unlock): Remove out of line section. Use cfi
42633 intrinsics.
42634 (LLL_STUB_UNWIND_INFO*): Remove.
42635 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42636 (lll_robust_lock, lll_cond_lock, lll_timedlock)
42637 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42638 (lll_robust_unlock): Remove out of line section. Use cfi
42639 intrinsics.
42640 (LLL_STUB_UNWIND_INFO*): Remove.
42641
42642 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42643
42644 [BZ #16758]
42645 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42646 blank values.
42647
42648 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
42649
42650 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42651
42652 2014-03-26 Joseph Myers <joseph@codesourcery.com>
42653
42654 [BZ #16198]
42655 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42656 fnstenv.
42657 * math/test-fenv-preserve.c: New file.
42658 * math/Makefile (tests): Add test-fenv-preserve.
42659
42660 2014-03-26 Will Newton <will.newton@linaro.org>
42661
42662 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42663
42664 2014-03-25 Roland McGrath <roland@hack.frob.com>
42665
42666 * scripts/versionlist.awk: Partition the version sets and emit all
42667 GLIBC_* (sorted) before all others (sorted).
42668
42669 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42670
42671 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42672 GLIBC_2.2.5 version.
42673
42674 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42675
42676 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42677 calls.
42678
42679 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42680 previous change.
42681
42682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42683
42684 2014-03-25 Andreas Schwab <schwab@suse.de>
42685
42686 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42687 label to be used after in6ailist is initialized.
42688
42689 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42690
42691 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42692 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42693
42694 2014-03-25 Joseph Myers <joseph@codesourcery.com>
42695
42696 [BZ #16357]
42697 [BZ #16599]
42698 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42699 min_plus_half.
42700 (fp_formats): Update initializers.
42701 (init_fp_formats): Initialize new field.
42702 (output_for_one_input_case): Allow underflow for results up to
42703 min_plus_half.
42704 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42705 * math/auto-libm-test-in: Don't mark some underflows from asin and
42706 atanh as spurious.
42707 * math/auto-libm-test-out: Regenerated.
42708 * sysdeps/i386/fpu/libm-test-ulps: Update.
42709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42710
42711 2014-03-25 Andreas Schwab <schwab@suse.de>
42712
42713 * libio/Makefile (tst-ftell-partial-wide-ENV)
42714 (tst-ftell-active-handler-ENV): Define.
42715
42716 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
42717
42718 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42719
42720 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42721
42722 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42723
42724 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42725
42726 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42727 * sysdeps/x86_64/fpu/multiarch/e_exp.c
42728 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42729
42730 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
42731
42732 [BZ #16634]
42733 * elf/dl-load.c (open_verify): Add mode parameter.
42734 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42735 (open_path): Change from boolean 'secure' to complete flag 'mode'
42736 (_dl_map_object): Adjust.
42737 * elf/Makefile (tests): Add tst-dlopen-aout.
42738 * elf/tst-dlopen-aout.c: New test.
42739
42740 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
42741
42742 [BZ #16714]
42743 * sysdeps/unix/sysv/linux/s390/bits/stat.h
42744 (struct stat): Rename member pad0 to __glibc_reserved0.
42745
42746 [BZ #16712]
42747 * sysdeps/s390/s390-32/bits/wordsize.h
42748 (__WORDSIZE32_SIZE_ULONG): New define.
42749 * sysdeps/s390/s390-64/bits/wordsize.h
42750 (__WORDSIZE32_SIZE_ULONG): Likewise.
42751 * sysdeps/generic/stdint.h (SIZE_MAX):
42752 Define as UL if __WORDSIZE32_SIZE_ULONG.
42753
42754 [BZ #16713]
42755 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42756 (__glibc_reserved0): New variable.
42757 (sa_flags): Change type to int.
42758
42759 * posix/Makefile (before-compile): Use += before-compile instead
42760 of a :=.
42761
42762 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42763 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42764
42765 2014-03-20 Andreas Schwab <schwab@suse.de>
42766
42767 [BZ #16743]
42768 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42769 non-matching result from nscd.
42770
42771 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
42772
42773 * scripts/bench.py: Moved to ...
42774 * benchtests/scripts/bench.py: ... here.
42775 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42776
42777 2014-03-24 Andreas Schwab <schwab@suse.de>
42778
42779 [BZ #16002]
42780 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42781 alloca_account and account alloca use for struct in6ailist.
42782
42783 2014-03-24 Joseph Myers <joseph@codesourcery.com>
42784
42785 [BZ #16284]
42786 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42787 rounding mode to recompute results that overflow to infinity or
42788 underflow to zero.
42789 * math/auto-libm-test-in: Don't mark tests as expected to fail for
42790 bug 16284.
42791 * math/auto-libm-test-out: Regenerated.
42792 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42793 (ccosh_test): Likewise.
42794 (csin_test_data): Use plus_oflow.
42795 (csin_test): Use ALL_RM_TEST.
42796 (csinh_test_data): Use plus_oflow.
42797 (csinh_test): Use ALL_RM_TEST.
42798 * sysdeps/i386/fpu/libm-test-ulps: Update.
42799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42800
42801 2014-03-21 Joseph Myers <joseph@codesourcery.com>
42802
42803 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42804 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42805 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42806
42807 [BZ #16731]
42808 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42809 when x - 1 is zero.
42810 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42811 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42812 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42813 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42814 argument is 1.
42815 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42816 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42817 zero.
42818 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42819 * sysdeps/i386/fpu/libm-test-ulps: Update.
42820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42821
42822 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
42823
42824 * scripts/bench.pl: Remove file.
42825 * scripts/bench.py: New benchmark script.
42826 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42827 * benchtests/README: Mention python dependency.
42828 * scripts/pylintrc: New file.
42829 * scripts/pylint: New file.
42830
42831 * bits/mathdef.h: Use #ifdef instead of #if.
42832 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42833 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42834 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42835 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42836 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42837 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42838
42839 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42840 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42841
42842 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42844 and strpbrk-ppc64 objects.
42845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42846 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42847 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42848 multiarch strpbrk for POWER7.
42849 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42850 multiarch strpbrk for PPC64.
42851 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42852 ifunc selector.
42853 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42854 strpbrk for POWER7.
42855
42856 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42857
42858 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42859 (atan_test): Likewise.
42860 (atanh_test_data): Use NO_TEST_INLINE for two tests.
42861 (atanh_test): Use ALL_RM_TEST.
42862 (atan2_test_data): Likewise.
42863 (cabs_test): Likewise.
42864 (cacosh_test): Likewise.
42865 (carg_test): Likewise.
42866 (casin_test): Likewise.
42867 (casinh_test): Likewise.
42868 (cbrt_test): Likewise.
42869 (csqrt_test): Likewise.
42870 (erf_test): Likewise.
42871 (erfc_test): Likewise.
42872 (pow10_test): Likewise.
42873 (exp2_test): Likewise.
42874 (hypot_test): Likewise.
42875 (j0_test): Likewise.
42876 (j1_test): Likewise.
42877 (lgamma_test): Likewise.
42878 (gamma_test): Likewise.
42879 (sincos_test): Likewise.
42880 (tanh_test): Likewise.
42881 (y0_test): Likewise.
42882 (y1_test): Likewise.
42883 * sysdeps/i386/fpu/libm-test-ulps: Update.
42884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42885
42886 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42887
42888 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42889 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42890 and strcspn-ppc64 objects.
42891 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42892 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42893 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42894 multiarch strcspn for POWER7.
42895 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42896 multiarch strcspn for PPC64.
42897 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42898 ifunc selector.
42899 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42900 strcspn for POWER7.
42901
42902 2014-03-20 Joseph Myers <joseph@codesourcery.com>
42903
42904 * math/gen-libm-test.pl (generate_testfile): Expect only function
42905 name as argument to AUTO_TESTS_* and pass results for all rounding
42906 modes to parse_args.
42907 (parse_auto_input): Separate inputs of automatic tests from
42908 outputs before storing in %auto_tests.
42909 * math/libm-test.inc (acos_test_data): Update call to
42910 AUTO_TESTS_f_f.
42911 (acos_test): Use ALL_RM_TEST.
42912 (acos_tonearest_test_data): Remove.
42913 (acos_test_tonearest): Likewise.
42914 (acos_towardzero_test_data): Likewise.
42915 (acos_test_towardzero): Likewise.
42916 (acos_downward_test_data): Likewise.
42917 (acos_test_downward): Likewise.
42918 (acos_upward_test_data): Likewise.
42919 (acos_test_upward): Likewise.
42920 (acosh_test_data): Update call to AUTO_TESTS_f_f.
42921 (asin_test_data): Likewise.
42922 (asin_test): Use ALL_RM_TEST.
42923 (asin_tonearest_test_data): Remove.
42924 (asin_test_tonearest): Likewise.
42925 (asin_towardzero_test_data): Likewise.
42926 (asin_test_towardzero): Likewise.
42927 (asin_downward_test_data): Likewise.
42928 (asin_test_downward): Likewise.
42929 (asin_upward_test_data): Likewise.
42930 (asin_test_upward): Likewise.
42931 (asinh_test_data): Update call to AUTO_TESTS_f_f.
42932 (atan_test_data): Likewise.
42933 (atanh_test_data): Likewise.
42934 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
42935 (cabs_test_data): Update call to AUTO_TESTS_c_f.
42936 (carg_test_data): Likewise.
42937 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
42938 (ccos_test_data): Update call to AUTO_TESTS_c_c.
42939 (ccosh_test_data): Likewise.
42940 (cexp_test_data): Likewise.
42941 (clog_test_data): Likewise.
42942 (clog10_test_data): Likewise.
42943 (cos_test_data): Update call to AUTO_TESTS_f_f.
42944 (cos_test): Use ALL_RM_TEST.
42945 (cos_tonearest_test_data): Remove.
42946 (cos_test_tonearest): Likewise.
42947 (cos_towardzero_test_data): Likewise.
42948 (cos_test_towardzero): Likewise.
42949 (cos_downward_test_data): Likewise.
42950 (cos_test_downward): Likewise.
42951 (cos_upward_test_data): Likewise.
42952 (cos_test_upward): Likewise.
42953 (cosh_test_data): Update call to AUTO_TESTS_f_f.
42954 (cosh_test): Use ALL_RM_TEST.
42955 (cosh_tonearest_test_data): Remove.
42956 (cosh_test_tonearest): Likewise.
42957 (cosh_towardzero_test_data): Likewise.
42958 (cosh_test_towardzero): Likewise.
42959 (cosh_downward_test_data): Likewise.
42960 (cosh_test_downward): Likewise.
42961 (cosh_upward_test_data): Likewise.
42962 (cosh_test_upward): Likewise.
42963 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
42964 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
42965 (ctan_test_data): Likewise.
42966 (ctan_test): Use ALL_RM_TEST.
42967 (ctan_tonearest_test_data): Remove.
42968 (ctan_test_tonearest): Likewise.
42969 (ctan_towardzero_test_data): Likewise.
42970 (ctan_test_towardzero): Likewise.
42971 (ctan_downward_test_data): Likewise.
42972 (ctan_test_downward): Likewise.
42973 (ctan_upward_test_data): Likewise.
42974 (ctan_test_upward): Likewise.
42975 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
42976 (ctanh_test): Use ALL_RM_TEST.
42977 (ctanh_tonearest_test_data): Remove.
42978 (ctanh_test_tonearest): Likewise.
42979 (ctanh_towardzero_test_data): Likewise.
42980 (ctanh_test_towardzero): Likewise.
42981 (ctanh_downward_test_data): Likewise.
42982 (ctanh_test_downward): Likewise.
42983 (ctanh_upward_test_data): Likewise.
42984 (ctanh_test_upward): Likewise.
42985 (erf_test_data): Update call to AUTO_TESTS_f_f.
42986 (erfc_test_data): Likewise.
42987 (exp_test_data): Likewise.
42988 (exp_test): Use ALL_RM_TEST.
42989 (exp_tonearest_test_data): Remove.
42990 (exp_test_tonearest): Likewise.
42991 (exp_towardzero_test_data): Likewise.
42992 (exp_test_towardzero): Likewise.
42993 (exp_downward_test_data): Likewise.
42994 (exp_test_downward): Likewise.
42995 (exp_upward_test_data): Likewise.
42996 (exp_test_upward): Likewise.
42997 (exp10_test_data): Update call to AUTO_TESTS_f_f.
42998 (exp10_test): Use ALL_RM_TEST.
42999 (exp10_tonearest_test_data): Remove.
43000 (exp10_test_tonearest): Likewise.
43001 (exp10_towardzero_test_data): Likewise.
43002 (exp10_test_towardzero): Likewise.
43003 (exp10_downward_test_data): Likewise.
43004 (exp10_test_downward): Likewise.
43005 (exp10_upward_test_data): Likewise.
43006 (exp10_test_upward): Likewise.
43007 (exp2_test_data): Update call to AUTO_TESTS_f_f.
43008 (expm1_test_data): Likewise.
43009 (expm1_test): Use ALL_RM_TEST.
43010 (expm1_tonearest_test_data): Remove.
43011 (expm1_test_tonearest): Likewise.
43012 (expm1_towardzero_test_data): Likewise.
43013 (expm1_test_towardzero): Likewise.
43014 (expm1_downward_test_data): Likewise.
43015 (expm1_test_downward): Likewise.
43016 (expm1_upward_test_data): Likewise.
43017 (expm1_test_upward): Likewise.
43018 (fma_test_data): Update call to AUTO_TESTS_fff_f.
43019 (fma_test): Use ALL_RM_TEST.
43020 (fma_towardzero_test_data): Remove.
43021 (fma_test_towardzero): Likewise.
43022 (fma_downward_test_data): Likewise.
43023 (fma_test_downward): Likewise.
43024 (fma_upward_test_data): Likewise.
43025 (fma_test_upward): Likewise.
43026 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43027 (j0_test_data): Update call to AUTO_TESTS_f_f.
43028 (j1_test_data): Likewise.
43029 (jn_test_data): Update call to AUTO_TESTS_if_f.
43030 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43031 (log_test_data): Update call to AUTO_TESTS_f_f.
43032 (log10_test_data): Likewise.
43033 (log1p_test_data): Likewise.
43034 (log2_test_data): Likewise.
43035 (pow_test_data): Update call to AUTO_TESTS_ff_f.
43036 (pow_tonearest_test_data): Likewise.
43037 (sin_test_data): Update call to AUTO_TESTS_f_f.
43038 (sin_test): Use ALL_RM_TEST.
43039 (sin_tonearest_test_data): Remove.
43040 (sin_test_tonearest): Likewise.
43041 (sin_towardzero_test_data): Likewise.
43042 (sin_test_towardzero): Likewise.
43043 (sin_downward_test_data): Likewise.
43044 (sin_test_downward): Likewise.
43045 (sin_upward_test_data): Likewise.
43046 (sin_test_upward): Likewise.
43047 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43048 (sinh_test_data): Update call to AUTO_TESTS_f_f.
43049 (sinh_test): Use ALL_RM_TEST.
43050 (sinh_tonearest_test_data): Remove.
43051 (sinh_test_tonearest): Likewise.
43052 (sinh_towardzero_test_data): Likewise.
43053 (sinh_test_towardzero): Likewise.
43054 (sinh_downward_test_data): Likewise.
43055 (sinh_test_downward): Likewise.
43056 (sinh_upward_test_data): Likewise.
43057 (sinh_test_upward): Likewise.
43058 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43059 (sqrt_test): Use ALL_RM_TEST.
43060 (sqrt_tonearest_test_data): Remove.
43061 (sqrt_test_tonearest): Likewise.
43062 (sqrt_towardzero_test_data): Likewise.
43063 (sqrt_test_towardzero): Likewise.
43064 (sqrt_downward_test_data): Likewise.
43065 (sqrt_test_downward): Likewise.
43066 (sqrt_upward_test_data): Likewise.
43067 (sqrt_test_upward): Likewise.
43068 (tan_test_data): Update call to AUTO_TESTS_f_f.
43069 (tan_test): Use ALL_RM_TEST.
43070 (tan_tonearest_test_data): Remove.
43071 (tan_test_tonearest): Likewise.
43072 (tan_towardzero_test_data): Likewise.
43073 (tan_test_towardzero): Likewise.
43074 (tan_downward_test_data): Likewise.
43075 (tan_test_downward): Likewise.
43076 (tan_upward_test_data): Likewise.
43077 (tan_test_upward): Likewise.
43078 (tanh_test_data): Update call to AUTO_TESTS_f_f.
43079 (tgamma_test_data): Likewise.
43080 (y0_test_data): Likewise.
43081 (y1_test_data): Likewise.
43082 (yn_test_data): Update call to AUTO_TESTS_if_f.
43083 (main): Do not call removed functions.
43084
43085 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43086
43087 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43088 (ldexp_test_data): Remove.
43089 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
43090 scalbn_test_data.
43091 (scalb_test): Use ALL_RM_TEST.
43092
43093 2014-03-19 Andreas Schwab <schwab@suse.de>
43094
43095 * nscd/nscd.service: Also invalidate netgroup cache on reload.
43096
43097 2014-03-19 Joseph Myers <joseph@codesourcery.com>
43098
43099 [BZ #16649]
43100 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43101 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43102 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43103 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43104 (__ASSUME_PREADV): Undefine.
43105 (__ASSUME_PWRITEV): Likewise.
43106
43107 2014-03-18 Roland McGrath <roland@hack.frob.com>
43108
43109 * bits/mman-linux.h: Add comment about non-Linux use.
43110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43111 bits/mman-linux.h resting place.
43112
43113 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43114 * bits/mman-linux.h: ... here.
43115
43116 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43117
43118 * conform/conformtest.pl: Add standard definition when calling C
43119 preprocessor on data files.
43120 (checknamespace): Remove unused variable.
43121
43122 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43123
43124 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43125 minus_oflow, plus_uflow and minus_uflow in expected results.
43126 * math/libm-test.inc (scalbn_test_data): Add more tests of
43127 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
43128 minus_uflow.
43129 (scalbn_test): Use ALL_RM_TEST.
43130 (scalbln_test_data): Add more tests of negative arguments. Use
43131 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43132 (scalbln_test): Use ALL_RM_TEST.
43133
43134 2014-03-18 Roland McGrath <roland@hack.frob.com>
43135
43136 * scripts/abilist.awk: Ignore symbols marked with .hidden.
43137
43138 2014-03-18 Will Newton <will.newton@linaro.org>
43139
43140 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43141 inaccurate comment.
43142
43143 2014-03-18 Joseph Myers <joseph@codesourcery.com>
43144
43145 * Makerules [!subdir] (check-abi): Exit with error status if a
43146 test failed.
43147
43148 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43149
43150 * math/libm-test.inc (nearbyint_test_data): Include all tests used
43151 for rint. Include results for all rounding modes.
43152 (nearbyint_test): Use ALL_RM_TEST.
43153 (rint_test_data): Include all tests used for nearbyint.
43154
43155 2014-03-17 Will Newton <will.newton@linaro.org>
43156
43157 * nptl/sysdeps/pthread/pthread.h: Revert previous
43158 change.
43159
43160 * sysdeps/generic/ldsodefs.h: Revert previous
43161 change.
43162
43163 * libio/genops.c: Revert previous change.
43164 * libio/libioP.h: Likewise.
43165 * stdio-common/vfprintf.c: Likewise.
43166
43167 * sysdeps/generic/math_private.h: Revert previous
43168 change.
43169
43170 * sysdeps/generic/math_private.h: Check whether
43171 HAVE_RM_CTX is defined with #ifdef rather
43172 than #if.
43173
43174 * argp/argp-fmtstream.h: Check whether
43175 __STRICT_ANSI__ is defined with #ifdef rather
43176 than #if.
43177 * argp/argp.h: Likewise.
43178
43179 * libio/genops.c: Check whether
43180 _IO_JUMPS_OFFSET is defined with #ifdef rather
43181 than #if.
43182 * libio/libioP.h: Likewise.
43183 * stdio-common/vfprintf.c: Likewise.
43184
43185 * sysdeps/generic/ldsodefs.h: Check whether
43186 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43187 than #if.
43188
43189 * nptl/sysdeps/pthread/pthread.h: Check
43190 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43191 its value.
43192
43193 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
43194
43195 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43196 setting O_APPEND.
43197 * libio/tst-ftell-active-handler.c (do_append_test): Add a
43198 test case.
43199
43200 [BZ #16680]
43201 * libio/fileops.c (_IO_file_open): Seek to end of file but
43202 don't cache the offset.
43203 (get_file_offset): Remove function.
43204 (do_ftell): Use cached offset when available.
43205 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43206 don't cache the offset.
43207 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43208 case.
43209 (do_one_test): Call it.
43210 (do_ftell_test): Fix up expected old offset for a+ mode.
43211 * libio/wfileops.c (do_ftell_wide): Used cached offset when
43212 available.
43213
43214 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43215 up test status with function return status.
43216 (do_write_test): Likewise.
43217 (do_append_test): Likewise.
43218
43219 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43220 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43221 Remove.
43222
43223 2014-03-17 Joseph Myers <joseph@codesourcery.com>
43224
43225 * math/gen-libm-test.pl (parse_args): Handle results specified for
43226 each rounding mode separately.
43227 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43228 tests and results from lrint_tonearest_test_data,
43229 lrint_towardzero_test_data, lrint_downward_test_data and
43230 lrint_upward_test_data.
43231 (lrint_test): Use ALL_RM_TEST.
43232 (lrint_tonearest_test_data): Remove.
43233 (lrint_test_tonearest): Likewise.
43234 (lrint_towardzero_test_data): Likewise.
43235 (lrint_test_towardzero): Likewise.
43236 (lrint_downward_test_data): Likewise.
43237 (lrint_test_downward): Likewise.
43238 (lrint_upward_test_data): Likewise.
43239 (lrint_test_upward): Likewise.
43240 (llrint_test_data): Merge in per-rounding-mode tests and results
43241 from llrint_tonearest_test_data, llrint_towardzero_test_data,
43242 llrint_downward_test_data and llrint_upward_test_data.
43243 (llrint_test): Use ALL_RM_TEST.
43244 (llrint_tonearest_test_data): Remove.
43245 (llrint_test_tonearest): Likewise.
43246 (llrint_towardzero_test_data): Likewise.
43247 (llrint_test_towardzero): Likewise.
43248 (llrint_downward_test_data): Likewise.
43249 (llrint_test_downward): Likewise.
43250 (llrint_upward_test_data): Likewise.
43251 (llrint_test_upward): Likewise.
43252 (rint_test_data): Merge in per-rounding-mode tests and results
43253 from rint_tonearest_test_data, rint_towardzero_test_data,
43254 rint_downward_test_data and rint_upward_test_data. Add
43255 per-rounding-mode results for tests not in those arrays.
43256 (rint_test): Use ALL_RM_TEST.
43257 (rint_tonearest_test_data): Remove.
43258 (rint_test_tonearest): Likewise.
43259 (rint_towardzero_test_data): Likewise.
43260 (rint_test_towardzero): Likewise.
43261 (rint_downward_test_data): Likewise.
43262 (rint_test_downward): Likewise.
43263 (rint_upward_test_data): Likewise.
43264 (rint_test_upward): Likewise.
43265 (main): Don't call removed functions.
43266
43267 2014-03-14 Roland McGrath <roland@hack.frob.com>
43268
43269 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43270 "Compiled on ..." crapola. It is anti-useful.
43271
43272 2014-03-14 Joseph Myers <joseph@codesourcery.com>
43273
43274 * scripts/evaluate-test.sh: Handle fourth argument to determine
43275 whether test run should stop on failure.
43276 * Makeconfig (stop-on-test-failure): New variable.
43277 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43278 $(stop-on-test-failure).
43279 * Makefile (tests): Give a summary of results from testing and
43280 exit with failure status if they include an ERROR or FAIL.
43281 (xtests): Likewise.
43282 * manual/install.texi (Configuring and compiling): Mention
43283 stop-on-test-failure=y.
43284 * INSTALL: Regenerated.
43285
43286 2014-03-14 Roland McGrath <roland@hack.frob.com>
43287
43288 * scripts/versionlist.awk: New file.
43289 * Makerules [$(build-shared) = yes]
43290 (postclean-generated): Add Versions.def, not Versions.def.v and
43291 Versions.def.v.i.
43292 ($(common-objpfx)Versions.def.v.i): Target removed.
43293 ($(common-objpfx)Versions.def): New target.
43294 ($(common-objpfx)Versions.all): Depend on that rather that
43295 $(common-objpfx)Versions.def.v.
43296 * Versions.def: File removed.
43297
43298 * Makeconfig (+gccwarn): Add -Wundef.
43299 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43300 a dl-sysdep.h breaking its contract.
43301 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43302 * include/stackinfo.h: New file.
43303 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43304 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43305 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43306 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43307 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43308 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43309 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43310 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43311 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43312 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43313 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43314 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43315 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43316 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43317 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43318
43319 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43320
43321 [BZ #16707]
43322 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43323 implementation.
43324 * math/libm-test.inc (round_test_data): Add more tests.
43325
43326 [BZ #16706]
43327 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43328 implementation.
43329 * math/libm-test.inc (nearbyint_test_data): Add more tests.
43330
43331 [BZ #16701]
43332 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43333 implementation.
43334 * math/libm-test.inc (ceil_test_data): Add more tests.
43335
43336 * math/libm-test.inc (trunc_test_data): Add more tests related to
43337 BZ#16414.
43338
43339 2014-03-14 Roland McGrath <roland@hack.frob.com>
43340
43341 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43342 with #if rather than #ifdef.
43343 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43344
43345 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
43346
43347 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43348 first. Disable AVX-512 GCC support if assembler doesn't support
43349 it.
43350 * sysdeps/x86_64/configure: Regenerated.
43351
43352 2014-03-13 Carlos O'Donell <carlos@redhat.com>
43353
43354 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43355 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43356 (__old_pthread_attr_setstack): Likewise.
43357 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43358 [!_STACK_GROWS_DOWN]: Likewise.
43359
43360 2014-03-13 Mike Frysinger <vapier@gentoo.org>
43361
43362 * config.make.in (have-bash2): Delete.
43363 * configure.ac (libc_cv_have_bash2): Delete.
43364 * configure: Regenerate.
43365 * elf/Makefile (common-ldd-rewrite): Rename to ...
43366 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
43367 (sh-ldd-rewrite): Delete.
43368 (bash-ldd-rewrite): Delete.
43369 (have-bash2): Delete checks.
43370 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43371 ldd-rewrite.
43372
43373 * config.make.in (have-ksh): Delete.
43374 (KSH): Delete.
43375 * configure.ac (libc_cv_have_ksh): Delete.
43376 * configure: Regenerate.
43377
43378 * elf/Makefile: Delete $(have-ksh) check.
43379 ($(objpfx)sotruss): Change KSH to BASH.
43380 * elf/sotruss.ksh: Rename to ...
43381 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
43382 function style to match POSIX. Drop ksh vim mode setting.
43383
43384 * manual/time.texi (Specifying the Time Zone with TZ): Change
43385 Tuesday to Thursday.
43386
43387 * debug/tst-longjmp_chk2.c: Update header comment.
43388 (stackoverflow_handler): Add comment. Call assert on pass value.
43389
43390 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
43391
43392 [BZ #16194]
43393 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43394 (HAVE_AVX512_ASM_SUPPORT): Likewise.
43395 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43396 (La_x86_64_vector): Add zmm.
43397 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43398 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43399 ($(objpfx)tst-audit10): New target.
43400 ($(objpfx)tst-audit10.out): Likewise.
43401 (tst-audit10-ENV): New.
43402 (AVX512-CFLAGS): Likewise.
43403 (CFLAGS-tst-audit10.c): Likewise.
43404 (CFLAGS-tst-auditmod10a.c): Likewise.
43405 (CFLAGS-tst-auditmod10b.c): Likewise.
43406 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43407 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43408 * sysdeps/x86_64/configure: Regenerated.
43409 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43410 AVX-512 zmm register support.
43411 (_dl_x86_64_save_sse): Likewise.
43412 (_dl_x86_64_restore_sse): Likewise.
43413 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43414 size vector registers.
43415 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43416 (ZMM_SIZE): Likewise.
43417 * sysdeps/x86_64/tst-audit10.c: New file.
43418 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43419 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43420
43421 2014-03-13 Roland McGrath <roland@hack.frob.com>
43422
43423 * configure.ac (HAVE_EHDR_START): New check.
43424 * configure: Regenerated.
43425 * config.h.in (HAVE_EHDR_START): New #undef.
43426 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43427 assuming the lowest-addressed segment maps the start of the file.
43428
43429 2014-03-13 Joseph Myers <joseph@codesourcery.com>
43430
43431 * INSTALL: Regenerated.
43432
43433 2014-03-13 Will Newton <will.newton@linaro.org>
43434
43435 * manual/setjmp.texi (System V contexts): Improve
43436 clarity and grammar of documentation.
43437
43438 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
43439
43440 [BZ #16381]
43441 * elf/Makefile (tests): Add tst-pie2.
43442 (tests-pie): Add tst-pie2.
43443 * elf/tst-pie2.c: New file.
43444 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43445 for ET_EXEC.
43446 * elf/rtld.c (map_doit): Load executable as lt_executable.
43447 (dl_main): Likewise.
43448
43449 2014-03-12 Joseph Myers <joseph@codesourcery.com>
43450
43451 [BZ #16642]
43452 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43453 (__ASSUME_PSELECT): Undefine.
43454
43455 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43456
43457 [BZ #16689]
43458 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43459 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43460 static build.
43461 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43462 selector for static builds.
43463
43464 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
43465
43466 [BZ #16695]
43467 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43468 key in the buffer.
43469
43470 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43471
43472 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43473 IFUNC selector for static builds.
43474
43475 2014-03-11 Joseph Myers <joseph@codesourcery.com>
43476
43477 * sysdeps/mips/math_private.h [__mips_hard_float]
43478 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43479 libc_feresetround_mips_ctx.
43480 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43481 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43482 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43483
43484 [BZ #16677]
43485 * math/s_nextafter.c (__nextafter): Do not return value from
43486 overflowing computation.
43487 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43488 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43489 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43490 Likewise.
43491 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43492 Likewise.
43493 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43494 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43495
43496 2014-03-11 Roland McGrath <roland@hack.frob.com>
43497
43498 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43499 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43500 Move sfi_sp use from the load-multiple (that no longer sets sp) to
43501 the new mov targetting sp.
43502
43503 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43504
43505 [BZ #16683]
43506 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43507 Define it for static builds as well.
43508 (NO_BZERO_IMPL): Likewise.
43509
43510 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43511
43512 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43513 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43514 multiarch strspn for PPC64.
43515 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43516 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43518 (__libc_ifunc_impl_list): Likewise.
43519 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43520 multiarch optimizations
43521 * string/strspn.c (strspn): Using macro to redefine symbol name.
43522
43523 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43524 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43525
43526 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43527 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43528 multiarch strncat for PPC64.
43529 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43530 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43531 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43532 (__libc_ifunc_impl_list): Likewise.
43533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43534 multiarch optimizations
43535
43536 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43537
43538 [BZ #16639]
43539 * nscd/nscd.service: Make service type forking.
43540
43541 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43542
43543 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43544 sign in non default rounding modes.
43545 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43546
43547 2014-03-08 Joseph Myers <joseph@codesourcery.com>
43548
43549 * math/libm-test.inc (ALL_RM_TEST): New macro.
43550 (ceil_test): Use ALL_RM_TEST.
43551 (cimag_test): Likewise.
43552 (conj_test): Likewise.
43553 (copysign_test): Likewise.
43554 (cproj_test): Likewise.
43555 (creal_test): Likewise.
43556 (fabs_test): Likewise.
43557 (floor_test): Likewise.
43558 (fmax_test): Likewise.
43559 (fmin_test): Likewise.
43560 (fmod_test): Likewise.
43561 (fpclassify_test): Likewise.
43562 (frexp_test): Likewise.
43563 (ilogb_test): Likewise.
43564 (isfinite_test): Likewise.
43565 (finite_test): Likewise.
43566 (isgreater_test): Likewise.
43567 (isgreaterequal_test): Likewise.
43568 (isinf_test): Likewise.
43569 (isless_test): Likewise.
43570 (islessequal_test): Likewise.
43571 (islessgreater_test): Likewise.
43572 (isnan_test): Likewise.
43573 (isnormal_test): Likewise.
43574 (issignaling_test): Likewise.
43575 (isunordered_test): Likewise.
43576 (logb_test): Likewise.
43577 (logb_downward_test_data): Remove.
43578 (logb_test_downward): Likewise.
43579 (lround_test): Use ALL_RM_TEST.
43580 (llround_test): Likewise.
43581 (modf_test): Likewise.
43582 (nexttoward_test): Likewise.
43583 (remainder_test): Likewise.
43584 (drem_test): Likewise.
43585 (remainder_tonearest_test_data): Likewise.
43586 (remainder_test_tonearest): Likewise.
43587 (drem_test_tonearest): Likewise.
43588 (remainder_towardzero_test_data): Likewise.
43589 (remainder_test_towardzero): Likewise.
43590 (drem_test_towardzero): Likewise.
43591 (remainder_downward_test_data): Likewise.
43592 (remainder_test_downward): Likewise.
43593 (drem_test_downward): Likewise.
43594 (remainder_upward_test_data): Likewise.
43595 (remainder_test_upward): Likewise.
43596 (drem_test_upward): Likewise.
43597 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
43598 (round_test): Use ALL_RM_TEST.
43599 (signbit_test): Likewise.
43600 (trunc_test): Likewise.
43601 (significand_test): Likewise.
43602 (main): Don't call removed functions.
43603
43604 2014-03-07 Joseph Myers <joseph@codesourcery.com>
43605
43606 [BZ #16674]
43607 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43608 || __USE_XOPEN2K8].
43609 (ILL_ILLOPN): Likewise.
43610 (ILL_ILLADR): Likewise.
43611 (ILL_ILLTRP): Likewise.
43612 (ILL_PRVOPC): Likewise.
43613 (ILL_PRVREG): Likewise.
43614 (ILL_COPROC): Likewise.
43615 (ILL_BADSTK): Likewise.
43616 (FPE_INTDIV): Likewise.
43617 (FPE_INTOVF): Likewise.
43618 (FPE_FLTDIV): Likewise.
43619 (FPE_FLTOVF): Likewise.
43620 (FPE_FLTUND): Likewise.
43621 (FPE_FLTRES): Likewise.
43622 (FPE_FLTINV): Likewise.
43623 (FPE_FLTSUB): Likewise.
43624 (SEGV_MAPERR): Likewise.
43625 (SEGV_ACCERR): Likewise.
43626 (BUS_ADRALN): Likewise.
43627 (BUS_ADRERR): Likewise.
43628 (BUS_OBJERR): Likewise.
43629 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43630 (TRAP_TRACE): Likewise.
43631 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43632 __USE_XOPEN2K8].
43633 (CLD_KILLED): Likewise.
43634 (CLD_DUMPED): Likewise.
43635 (CLD_TRAPPED): Likewise.
43636 (CLD_STOPPED): Likewise.
43637 (CLD_CONTINUED): Likewise.
43638 (POLL_IN): Likewise.
43639 (POLL_OUT): Likewise.
43640 (POLL_MSG): Likewise.
43641 (POLL_ERR): Likewise.
43642 (POLL_PRI): Likewise.
43643 (POLL_HUP): Likewise.
43644 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43645 Likewise.
43646 (ILL_ILLOPN): Likewise.
43647 (ILL_ILLADR): Likewise.
43648 (ILL_ILLTRP): Likewise.
43649 (ILL_PRVOPC): Likewise.
43650 (ILL_PRVREG): Likewise.
43651 (ILL_COPROC): Likewise.
43652 (ILL_BADSTK): Likewise.
43653 (FPE_INTDIV): Likewise.
43654 (FPE_INTOVF): Likewise.
43655 (FPE_FLTDIV): Likewise.
43656 (FPE_FLTOVF): Likewise.
43657 (FPE_FLTUND): Likewise.
43658 (FPE_FLTRES): Likewise.
43659 (FPE_FLTINV): Likewise.
43660 (FPE_FLTSUB): Likewise.
43661 (SEGV_MAPERR): Likewise.
43662 (SEGV_ACCERR): Likewise.
43663 (BUS_ADRALN): Likewise.
43664 (BUS_ADRERR): Likewise.
43665 (BUS_OBJERR): Likewise.
43666 (BUS_MCEERR_AR): Likewise.
43667 (BUS_MCEERR_AO): Likewise.
43668 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43669 (TRAP_TRACE): Likewise.
43670 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43671 __USE_XOPEN2K8].
43672 (CLD_KILLED): Likewise.
43673 (CLD_DUMPED): Likewise.
43674 (CLD_TRAPPED): Likewise.
43675 (CLD_STOPPED): Likewise.
43676 (CLD_CONTINUED): Likewise.
43677 (POLL_IN): Likewise.
43678 (POLL_OUT): Likewise.
43679 (POLL_MSG): Likewise.
43680 (POLL_ERR): Likewise.
43681 (POLL_PRI): Likewise.
43682 (POLL_HUP): Likewise.
43683 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43684 (ILL_ILLOPN): Likewise.
43685 (ILL_ILLADR): Likewise.
43686 (ILL_ILLTRP): Likewise.
43687 (ILL_PRVOPC): Likewise.
43688 (ILL_PRVREG): Likewise.
43689 (ILL_COPROC): Likewise.
43690 (ILL_BADSTK): Likewise.
43691 (FPE_INTDIV): Likewise.
43692 (FPE_INTOVF): Likewise.
43693 (FPE_FLTDIV): Likewise.
43694 (FPE_FLTOVF): Likewise.
43695 (FPE_FLTUND): Likewise.
43696 (FPE_FLTRES): Likewise.
43697 (FPE_FLTINV): Likewise.
43698 (FPE_FLTSUB): Likewise.
43699 (SEGV_MAPERR): Likewise.
43700 (SEGV_ACCERR): Likewise.
43701 (BUS_ADRALN): Likewise.
43702 (BUS_ADRERR): Likewise.
43703 (BUS_OBJERR): Likewise.
43704 (BUS_MCEERR_AR): Likewise.
43705 (BUS_MCEERR_AO): Likewise.
43706 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43707 (TRAP_TRACE): Likewise.
43708 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43709 __USE_XOPEN2K8].
43710 (CLD_KILLED): Likewise.
43711 (CLD_DUMPED): Likewise.
43712 (CLD_TRAPPED): Likewise.
43713 (CLD_STOPPED): Likewise.
43714 (CLD_CONTINUED): Likewise.
43715 (POLL_IN): Likewise.
43716 (POLL_OUT): Likewise.
43717 (POLL_MSG): Likewise.
43718 (POLL_ERR): Likewise.
43719 (POLL_PRI): Likewise.
43720 (POLL_HUP): Likewise.
43721 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43722 Likewise.
43723 (ILL_ILLOPN): Likewise.
43724 (ILL_ILLADR): Likewise.
43725 (ILL_ILLTRP): Likewise.
43726 (ILL_PRVOPC): Likewise.
43727 (ILL_PRVREG): Likewise.
43728 (ILL_COPROC): Likewise.
43729 (ILL_BADSTK): Likewise.
43730 (ILL_BADIADDR): Likewise.
43731 (ILL_BREAK): Likewise.
43732 (FPE_INTDIV): Likewise.
43733 (FPE_INTOVF): Likewise.
43734 (FPE_FLTDIV): Likewise.
43735 (FPE_FLTOVF): Likewise.
43736 (FPE_FLTUND): Likewise.
43737 (FPE_FLTRES): Likewise.
43738 (FPE_FLTINV): Likewise.
43739 (FPE_FLTSUB): Likewise.
43740 (FPE_DECOVF): Likewise.
43741 (FPE_DECDIV): Likewise.
43742 (FPE_DECERR): Likewise.
43743 (FPE_INVASC): Likewise.
43744 (FPE_INVDEC): Likewise.
43745 (SEGV_MAPERR): Likewise.
43746 (SEGV_ACCERR): Likewise.
43747 (SEGV_PSTKOVF): Likewise.
43748 (BUS_ADRALN): Likewise.
43749 (BUS_ADRERR): Likewise.
43750 (BUS_OBJERR): Likewise.
43751 (BUS_MCEERR_AR): Likewise.
43752 (BUS_MCEERR_AO): Likewise.
43753 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43754 (TRAP_TRACE): Likewise.
43755 (TRAP_BRANCH): Likewise.
43756 (TRAP_HWBKPT): Likewise.
43757 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43758 __USE_XOPEN2K8].
43759 (CLD_KILLED): Likewise.
43760 (CLD_DUMPED): Likewise.
43761 (CLD_TRAPPED): Likewise.
43762 (CLD_STOPPED): Likewise.
43763 (CLD_CONTINUED): Likewise.
43764 (POLL_IN): Likewise.
43765 (POLL_OUT): Likewise.
43766 (POLL_MSG): Likewise.
43767 (POLL_ERR): Likewise.
43768 (POLL_PRI): Likewise.
43769 (POLL_HUP): Likewise.
43770 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43771 (ILL_ILLOPN): Likewise.
43772 (ILL_ILLADR): Likewise.
43773 (ILL_ILLTRP): Likewise.
43774 (ILL_PRVOPC): Likewise.
43775 (ILL_PRVREG): Likewise.
43776 (ILL_COPROC): Likewise.
43777 (ILL_BADSTK): Likewise.
43778 (FPE_INTDIV): Likewise.
43779 (FPE_INTOVF): Likewise.
43780 (FPE_FLTDIV): Likewise.
43781 (FPE_FLTOVF): Likewise.
43782 (FPE_FLTUND): Likewise.
43783 (FPE_FLTRES): Likewise.
43784 (FPE_FLTINV): Likewise.
43785 (FPE_FLTSUB): Likewise.
43786 (SEGV_MAPERR): Likewise.
43787 (SEGV_ACCERR): Likewise.
43788 (BUS_ADRALN): Likewise.
43789 (BUS_ADRERR): Likewise.
43790 (BUS_OBJERR): Likewise.
43791 (BUS_MCEERR_AR): Likewise.
43792 (BUS_MCEERR_AO): Likewise.
43793 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43794 (TRAP_TRACE): Likewise.
43795 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43796 __USE_XOPEN2K8].
43797 (CLD_KILLED): Likewise.
43798 (CLD_DUMPED): Likewise.
43799 (CLD_TRAPPED): Likewise.
43800 (CLD_STOPPED): Likewise.
43801 (CLD_CONTINUED): Likewise.
43802 (POLL_IN): Likewise.
43803 (POLL_OUT): Likewise.
43804 (POLL_MSG): Likewise.
43805 (POLL_ERR): Likewise.
43806 (POLL_PRI): Likewise.
43807 (POLL_HUP): Likewise.
43808 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43809 (ILL_ILLOPN): Likewise.
43810 (ILL_ILLADR): Likewise.
43811 (ILL_ILLTRP): Likewise.
43812 (ILL_PRVOPC): Likewise.
43813 (ILL_PRVREG): Likewise.
43814 (ILL_COPROC): Likewise.
43815 (ILL_BADSTK): Likewise.
43816 (FPE_INTDIV): Likewise.
43817 (FPE_INTOVF): Likewise.
43818 (FPE_FLTDIV): Likewise.
43819 (FPE_FLTOVF): Likewise.
43820 (FPE_FLTUND): Likewise.
43821 (FPE_FLTRES): Likewise.
43822 (FPE_FLTINV): Likewise.
43823 (FPE_FLTSUB): Likewise.
43824 (SEGV_MAPERR): Likewise.
43825 (SEGV_ACCERR): Likewise.
43826 (BUS_ADRALN): Likewise.
43827 (BUS_ADRERR): Likewise.
43828 (BUS_OBJERR): Likewise.
43829 (BUS_MCEERR_AR): Likewise.
43830 (BUS_MCEERR_AO): Likewise.
43831 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43832 (TRAP_TRACE): Likewise.
43833 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43834 __USE_XOPEN2K8].
43835 (CLD_KILLED): Likewise.
43836 (CLD_DUMPED): Likewise.
43837 (CLD_TRAPPED): Likewise.
43838 (CLD_STOPPED): Likewise.
43839 (CLD_CONTINUED): Likewise.
43840 (POLL_IN): Likewise.
43841 (POLL_OUT): Likewise.
43842 (POLL_MSG): Likewise.
43843 (POLL_ERR): Likewise.
43844 (POLL_PRI): Likewise.
43845 (POLL_HUP): Likewise.
43846 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43847 (ILL_ILLOPN): Likewise.
43848 (ILL_ILLADR): Likewise.
43849 (ILL_ILLTRP): Likewise.
43850 (ILL_PRVOPC): Likewise.
43851 (ILL_PRVREG): Likewise.
43852 (ILL_COPROC): Likewise.
43853 (ILL_BADSTK): Likewise.
43854 (FPE_INTDIV): Likewise.
43855 (FPE_INTOVF): Likewise.
43856 (FPE_FLTDIV): Likewise.
43857 (FPE_FLTOVF): Likewise.
43858 (FPE_FLTUND): Likewise.
43859 (FPE_FLTRES): Likewise.
43860 (FPE_FLTINV): Likewise.
43861 (FPE_FLTSUB): Likewise.
43862 (SEGV_MAPERR): Likewise.
43863 (SEGV_ACCERR): Likewise.
43864 (BUS_ADRALN): Likewise.
43865 (BUS_ADRERR): Likewise.
43866 (BUS_OBJERR): Likewise.
43867 (BUS_MCEERR_AR): Likewise.
43868 (BUS_MCEERR_AO): Likewise.
43869 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43870 (TRAP_TRACE): Likewise.
43871 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43872 __USE_XOPEN2K8].
43873 (CLD_KILLED): Likewise.
43874 (CLD_DUMPED): Likewise.
43875 (CLD_TRAPPED): Likewise.
43876 (CLD_STOPPED): Likewise.
43877 (CLD_CONTINUED): Likewise.
43878 (POLL_IN): Likewise.
43879 (POLL_OUT): Likewise.
43880 (POLL_MSG): Likewise.
43881 (POLL_ERR): Likewise.
43882 (POLL_PRI): Likewise.
43883 (POLL_HUP): Likewise.
43884 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43885 (ILL_ILLOPN): Likewise.
43886 (ILL_ILLADR): Likewise.
43887 (ILL_ILLTRP): Likewise.
43888 (ILL_PRVOPC): Likewise.
43889 (ILL_PRVREG): Likewise.
43890 (ILL_COPROC): Likewise.
43891 (ILL_BADSTK): Likewise.
43892 (ILL_DBLFLT): Likewise.
43893 (ILL_HARDWALL): Likewise.
43894 (FPE_INTDIV): Likewise.
43895 (FPE_INTOVF): Likewise.
43896 (FPE_FLTDIV): Likewise.
43897 (FPE_FLTOVF): Likewise.
43898 (FPE_FLTUND): Likewise.
43899 (FPE_FLTRES): Likewise.
43900 (FPE_FLTINV): Likewise.
43901 (FPE_FLTSUB): Likewise.
43902 (SEGV_MAPERR): Likewise.
43903 (SEGV_ACCERR): Likewise.
43904 (BUS_ADRALN): Likewise.
43905 (BUS_ADRERR): Likewise.
43906 (BUS_OBJERR): Likewise.
43907 (BUS_MCEERR_AR): Likewise.
43908 (BUS_MCEERR_AO): Likewise.
43909 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43910 (TRAP_TRACE): Likewise.
43911 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43912 __USE_XOPEN2K8].
43913 (CLD_KILLED): Likewise.
43914 (CLD_DUMPED): Likewise.
43915 (CLD_TRAPPED): Likewise.
43916 (CLD_STOPPED): Likewise.
43917 (CLD_CONTINUED): Likewise.
43918 (POLL_IN): Likewise.
43919 (POLL_OUT): Likewise.
43920 (POLL_MSG): Likewise.
43921 (POLL_ERR): Likewise.
43922 (POLL_PRI): Likewise.
43923 (POLL_HUP): Likewise.
43924 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
43925 (ILL_ILLOPN): Likewise.
43926 (ILL_ILLADR): Likewise.
43927 (ILL_ILLTRP): Likewise.
43928 (ILL_PRVOPC): Likewise.
43929 (ILL_PRVREG): Likewise.
43930 (ILL_COPROC): Likewise.
43931 (ILL_BADSTK): Likewise.
43932 (FPE_INTDIV): Likewise.
43933 (FPE_INTOVF): Likewise.
43934 (FPE_FLTDIV): Likewise.
43935 (FPE_FLTOVF): Likewise.
43936 (FPE_FLTUND): Likewise.
43937 (FPE_FLTRES): Likewise.
43938 (FPE_FLTINV): Likewise.
43939 (FPE_FLTSUB): Likewise.
43940 (SEGV_MAPERR): Likewise.
43941 (SEGV_ACCERR): Likewise.
43942 (BUS_ADRALN): Likewise.
43943 (BUS_ADRERR): Likewise.
43944 (BUS_OBJERR): Likewise.
43945 (BUS_MCEERR_AR): Likewise.
43946 (BUS_MCEERR_AO): Likewise.
43947 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43948 (TRAP_TRACE): Likewise.
43949 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43950 __USE_XOPEN2K8].
43951 (CLD_KILLED): Likewise.
43952 (CLD_DUMPED): Likewise.
43953 (CLD_TRAPPED): Likewise.
43954 (CLD_STOPPED): Likewise.
43955 (CLD_CONTINUED): Likewise.
43956 (POLL_IN): Likewise.
43957 (POLL_OUT): Likewise.
43958 (POLL_MSG): Likewise.
43959 (POLL_ERR): Likewise.
43960 (POLL_PRI): Likewise.
43961 (POLL_HUP): Likewise.
43962 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
43963 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
43964
43965 [BZ #16670]
43966 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
43967 before #include of <time.h>.
43968 [!__USE_XOPEN2K] (__need_timespec): Likewise.
43969 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
43970 (test-xfail-UNIX98/sched.h/conform): Likewise.
43971
43972 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
43973
43974 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
43975 error absence of trapping exception support.
43976 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43977
43978 2014-03-07 Joseph Myers <joseph@codesourcery.com>
43979
43980 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
43981 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
43982 * timezone/Makefile (testdata): Move definition above include of
43983 Rules.
43984 (test-zones): New variable.
43985 (tests-special): Add zone files.
43986 (build-testdata): Use $(evaluate-test).
43987
43988 * elf/Makefile (tests-special): Rename tests to end with .out.
43989 ($(objpfx)noload-mem): Likewise.
43990 ($(objpfx)tst-leaks1-mem): Likewise.
43991 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
43992 * iconv/Makefile (xtests-special): Change test-iconvconfig to
43993 $(objpfx)test-iconvconfig.out.
43994 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
43995 set -e inside subshell and redirect output to file.
43996 * iconvdata/Makefile (generated): Rename tests to end with .out.
43997 Correct type.
43998 (tests-special): Rename tests to end with .out.
43999 ($(objpfx)mtrace-tst-loading): Likewise.
44000 * intl/Makefile (generated): Likewise.
44001 (tests-special): Likewise.
44002 ($(objpfx)mtrace-tst-gettext): Likewise.
44003 * misc/Makefile (generated): Likewise.
44004 (tests-special): Likewise.
44005 ($(objpfx)tst-error1-mem): Likewise.
44006 * nptl/Makefile (tests-special): Likewise.
44007 ($(objpfx)tst-stack3-mem): Likewise.
44008 (generated): Likewise.
44009 * posix/Makefile (generated): Likewise.
44010 (tests-special): Likewise.
44011 (xtests-special): Likewise.
44012 ($(objpfx)tst-fnmatch-mem): Likewise.
44013 ($(objpfx)bug-regex2-mem): Likewise.
44014 ($(objpfx)bug-regex14-mem): Likewise.
44015 ($(objpfx)bug-regex21-mem): Likewise.
44016 ($(objpfx)bug-regex31-mem): Likewise.
44017 ($(objpfx)tst-vfork3-mem): Likewise.
44018 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44019 ($(objpfx)tst-pcre-mem): Likewise.
44020 ($(objpfx)tst-boost-mem): Likewise.
44021 ($(objpfx)bug-ga2-mem): Likewise.
44022 ($(objpfx)bug-glob2-mem): Likewise.
44023 * resolv/Makefile (generate): Likewise.
44024 (tests-special): Likewise.
44025 (xtests-special): Likewise.
44026 (generated): Likewise.
44027 ($(objpfx)mtrace-tst-leaks): Likewise.
44028 ($(objpfx)mtrace-tst-leaks2): Likewise.
44029
44030 * scripts/merge-test-results.sh: New file.
44031 * Makefile (tests-special-notdir): New variable.
44032 (tests): Run merge-test-results.sh.
44033 (xtests): Likewise.
44034 * Rules (tests-special-notdir): New variable.
44035 (xtests-special-notdir): Likewise.
44036 (tests): Run merge-test-results.sh
44037 (xtests): Likewise.
44038
44039 * Makeconfig (test-xfail-name): New variable.
44040 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44041 compute variable name for expected failures.
44042 * conform/Makefile (conformtest-headers-data): New variable.
44043 (conformtest-standards): Likewise.
44044 (conformtest-headers-ISO): Likewise.
44045 (conformtest-headers-ISO99): Likewise.
44046 (conformtest-headers-ISO11): Likewise.
44047 (conformtest-headers-POSIX): Likewise.
44048 (conformtest-headers-XPG3): Likewise.
44049 (conformtest-headers-XPG4): Likewise.
44050 (conformtest-headers-UNIX98): Likewise.
44051 (conformtest-headers-XOPEN2K): Likewise.
44052 (conformtest-headers-POSIX2008): Likewise.
44053 (conformtest-headers-XOPEN2K8): Likewise.
44054 (conformtest-header-list-base): Likewise.
44055 (conformtest-header-list-tests): Likewise.
44056 (conformtest-header-base): Likewise.
44057 (conformtest-header-tests): Likewise.
44058 (tests-special): Add $(conformtest-header-list-tests). If
44059 [$(fast-check) && !$(cross-compiling)], add
44060 $(conformtest-header-tests) instead of
44061 $(objpfx)run-conformtest.out.
44062 (generated): Add $(conformtest-header-list-base). If
44063 [$(fast-check) && !$(cross-compiling)], add
44064 $(conformtest-header-base). Remove previous setting.
44065 ($(conformtest-header-list-tests)): New target.
44066 (test-xfail-run-conformtest): Remove variable.
44067 ($(objpfx)run-conformtest.out): Remove target.
44068 (test-xfail-ISO11/complex.h/conform): New variable.
44069 (test-xfail-ISO11/stdalign.h/conform): Likewise.
44070 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44071 (test-xfail-XPG3/varargs.h/conform): Likewise.
44072 (test-xfail-XPG4/varargs.h/conform): Likewise.
44073 (test-xfail-UNIX98/varargs.h/conform): Likewise.
44074 (test-xfail-XPG4/ndbm.h/conform): Likewise.
44075 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44076 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44077 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44078 (test-xfail-XPG3/fcntl.h/conform): Likewise.
44079 (test-xfail-XPG3/ftw.h/conform): Likewise.
44080 (test-xfail-XPG3/grp.h/conform): Likewise.
44081 (test-xfail-XPG3/langinfo.h/conform): Likewise.
44082 (test-xfail-XPG3/limits.h/conform): Likewise.
44083 (test-xfail-XPG3/pwd.h/conform): Likewise.
44084 (test-xfail-XPG3/search.h/conform): Likewise.
44085 (test-xfail-XPG3/signal.h/conform): Likewise.
44086 (test-xfail-XPG3/stdio.h/conform): Likewise.
44087 (test-xfail-XPG3/stdlib.h/conform): Likewise.
44088 (test-xfail-XPG3/string.h/conform): Likewise.
44089 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44090 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44091 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44092 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44093 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44094 (test-xfail-XPG3/sys/types.h/conform): Likewise.
44095 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44096 (test-xfail-XPG3/termios.h/conform): Likewise.
44097 (test-xfail-XPG3/time.h/conform): Likewise.
44098 (test-xfail-XPG3/unistd.h/conform): Likewise.
44099 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44100 (test-xfail-XPG4/fcntl.h/conform): Likewise.
44101 (test-xfail-XPG4/langinfo.h/conform): Likewise.
44102 (test-xfail-XPG4/netdb.h/conform): Likewise.
44103 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44104 (test-xfail-XPG4/signal.h/conform): Likewise.
44105 (test-xfail-XPG4/stdio.h/conform): Likewise.
44106 (test-xfail-XPG4/stdlib.h/conform): Likewise.
44107 (test-xfail-XPG4/stropts.h/conform): Likewise.
44108 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44109 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44110 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44111 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44112 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44113 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44114 (test-xfail-XPG4/sys/time.h/conform): Likewise.
44115 (test-xfail-XPG4/sys/types.h/conform): Likewise.
44116 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44117 (test-xfail-XPG4/termios.h/conform): Likewise.
44118 (test-xfail-XPG4/ucontext.h/conform): Likewise.
44119 (test-xfail-XPG4/unistd.h/conform): Likewise.
44120 (test-xfail-XPG4/utmpx.h/conform): Likewise.
44121 (test-xfail-POSIX/sched.h/conform): Likewise.
44122 (test-xfail-POSIX/signal.h/conform): Likewise.
44123 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44124 (test-xfail-POSIX/tar.h/conform): Likewise.
44125 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44126 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44127 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44128 (test-xfail-UNIX98/netdb.h/conform): Likewise.
44129 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44130 (test-xfail-UNIX98/sched.h/conform): Likewise.
44131 (test-xfail-UNIX98/signal.h/conform): Likewise.
44132 (test-xfail-UNIX98/stdio.h/conform): Likewise.
44133 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44134 (test-xfail-UNIX98/stropts.h/conform): Likewise.
44135 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44136 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44137 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44138 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44139 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44140 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44141 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44142 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44143 (test-xfail-UNIX98/unistd.h/conform): Likewise.
44144 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44145 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44146 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44147 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44148 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44149 (test-xfail-XOPEN2K/math.h/conform): Likewise.
44150 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44151 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44152 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44153 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44154 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44155 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44156 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44157 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44158 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44159 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44160 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44161 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44162 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44163 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44164 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44165 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44166 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44167 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44168 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44169 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44170 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44171 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44172 (test-xfail-POSIX2008/signal.h/conform): Likewise.
44173 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44174 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44175 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44176 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44177 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44178 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44179 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44180 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44181 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44182 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44183 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44184 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44185 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44186 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44187 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44188 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44189 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44190 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44191 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44192 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44193 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44194 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44195 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44196 (conformtest-cc-flags): Likewise.
44197 ($(conformtest-header-tests): New target.
44198 * conform/check-header-lists.sh: New file.
44199 * conform/run-conformtest.sh: Remove.
44200
44201 * conform/conformtest.pl: Allow ' and \ in values given for
44202 constants.
44203 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44204 inclusion.
44205 [POSIX] (sys/types.h): Likewise.
44206 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44207 inclusion.
44208 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44209 inclusion.
44210 * conform/data/signal.h-data (SIGIO): Remove expectation.
44211 [XPG3] (SIGBUS): Do not expect.
44212 [POSIX || XPG3] (SIGPOLL): Likewise.
44213 [POSIX || XPG3] (SIGPROF): Likewise.
44214 [POSIX || XPG3] (SIGSYS): Likewise.
44215 [XPG3] (SIGTRAP): Likewise.
44216 [POSIX || XPG3] (SIGURG): Likewise.
44217 [POSIX || XPG3] (SIGVTALRM): Likewise.
44218 [POSIX || XPG3] (SIGXCPU): Likewise.
44219 [POSIX || XPG3] (SIGXFSZ): Likewise.
44220 [POSIX] (SA_SIGINFO): Expect.
44221 [XPG3] (siginfo_t): Do not expect type or contents.
44222 [POSIX] (si_pid): Do not expect element.
44223 [POSIX] (si_uid): Likewise.
44224 [POSIX] (si_addr): Likewise.
44225 [POSIX] (si_status): Likewise.
44226 [POSIX] (si_band): Likewise.
44227 [XPG4] (si_value): Likewise.
44228 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44229 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44230 [POSIX || XPG3] (ILL_ILLADR): Likewise.
44231 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44232 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44233 [POSIX || XPG3] (ILL_PRVREG): Likewise.
44234 [POSIX || XPG3] (ILL_COPROC): Likewise.
44235 [POSIX || XPG3] (ILL_BADSTK): Likewise.
44236 [POSIX || XPG3] (FPE_INTDIV): Likewise.
44237 [POSIX || XPG3] (FPE_INTOVF): Likewise.
44238 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44239 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44240 [POSIX || XPG3] (FPE_FLTUND): Likewise.
44241 [POSIX || XPG3] (FPE_FLTRES): Likewise.
44242 [POSIX || XPG3] (FPE_FLTINV): Likewise.
44243 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44244 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44245 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44246 [POSIX || XPG3] (BUS_ADRALN): Likewise.
44247 [POSIX || XPG3] (BUS_ADRERR): Likewise.
44248 [POSIX || XPG3] (BUS_OBJERR): Likewise.
44249 [POSIX || XPG3] (CLD_EXITED): Likewise.
44250 [POSIX || XPG3] (CLD_KILLED): Likewise.
44251 [POSIX || XPG3] (CLD_DUMPED): Likewise.
44252 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44253 [POSIX || XPG3] (CLD_STOPPED): Likewise.
44254 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44255 [POSIX || XPG3] (POLL_IN): Likewise.
44256 [POSIX || XPG3] (POLL_OUT): Likewise.
44257 [POSIX || XPG3] (POLL_MSG): Likewise.
44258 [POSIX || XPG3] (POLL_ERR): Likewise.
44259 [POSIX || XPG3] (POLL_PRI): Likewise.
44260 [POSIX || XPG3] (POLL_HUP): Likewise.
44261 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44262 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44263 (SIG*): Do not allow.
44264 [XPG3] (si_*): Likewise.
44265 [XPG3] (SI_*): Likewise.
44266 [XPG3 || XPG4] (sigev_*): Likewise.
44267 [XPG3 || XPG4] (SIGEV_*): Likewise.
44268 [XPG3 || XPG4] (sival_*): Likewise.
44269 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44270 [POSIX || XPG3] (BUS_*): Likewise.
44271 [POSIX || XPG3] (CLD_*): Likewise.
44272 [POSIX || XPG3] (FPE_*): Likewise.
44273 [POSIX || XPG3] (ILL_*): Likewise.
44274 [POSIX || XPG3] (POLL_*): Likewise.
44275 [POSIX || XPG3] (SEGV_*): Likewise.
44276 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44277 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44278 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44279 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44280 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44281 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44282 Specify type and value.
44283 (TVERSLEN): Likewise.
44284 (REGTYPE): Likewise.
44285 (AREGTYPE): Likewise.
44286 (LNKTYPE): Likewise.
44287 (SYMTYPE): Likewise.
44288 (CHRTYPE): Likewise.
44289 (BLKTYPE): Likewise.
44290 (DIRTYPE): Likewise.
44291 (FIFOTYPE): Likewise.
44292 (CONTTYPE): Likewise.
44293 (TSUID): Likewise.
44294 (TSGID): Likewise.
44295 (TSVTX): Likewise.
44296 (TUREAD): Likewise.
44297 (TUWRITE): Likewise.
44298 (TUEXEC): Likewise.
44299 (TGREAD): Likewise.
44300 (TGWRITE): Likewise.
44301 (TGEXEC): Likewise.
44302 (TOREAD): Likewise.
44303 (TOWRITE): Likewise.
44304 (TOEXEC): Likewise.
44305 [POSIX] (TSVTX): Expect constant.
44306
44307 2014-03-06 Joseph Myers <joseph@codesourcery.com>
44308
44309 * Makefile (tests): Change dependencies to ....
44310 (tests-special): ... additions to this variable.
44311 (tests): Depend on $(tests-special).
44312 * Makerules (check-abi-list): New variable.
44313 (check-abi): Depend on $(check-abi-list).
44314 [$(subdir) = elf] (tests-special): Add
44315 $(objpfx)check-abi-libc.out.
44316 [$(build-shared) = yes && subdir] (tests-special): Add
44317 $(check-abi-list).
44318 [$(build-shared) = yes && subdir] (tests): Do not depend on
44319 check-abi.
44320 * Rules (tests): Depend on $(tests-special).
44321 (xtests): Depend on $(xtests-special).
44322 * catgets/Makefile (tests): Change dependencies to ....
44323 (tests-special): ... additions to this variable.
44324 * conform/Makefile (tests): Change dependencies to ....
44325 (tests-special): ... additions to this variable.
44326 * elf/Makefile (tests): Change dependencies to ....
44327 (tests-special): ... additions to this variable.
44328 * grp/Makefile (tests): Change dependencies to ....
44329 (tests-special): ... additions to this variable.
44330 * iconv/Makefile (xtests): Change dependencies to ....
44331 (xtests-special): ... additions to this variable.
44332 * iconvdata/Makefile (tests): Change dependencies to ....
44333 (tests-special): ... additions to this variable.
44334 * intl/Makefile (tests): Change dependencies to ....
44335 (tests-special): ... additions to this variable. Also add
44336 $(objpfx)tst-gettext.out.
44337 * io/Makefile (tests): Change dependencies to ....
44338 (tests-special): ... additions to this variable.
44339 * libio/Makefile (tests): Change dependencies to ....
44340 (tests-special): ... additions to this variable.
44341 * malloc/Makefile (tests): Change dependencies to ....
44342 (tests-special): ... additions to this variable.
44343 * misc/Makefile (tests): Change dependencies to ....
44344 (tests-special): ... additions to this variable.
44345 * nptl/Makefile (tests): Change dependencies to ....
44346 (tests-special): ... additions to this variable.
44347 * nptl_db/Makefile (tests): Change dependencies to ....
44348 (tests-special): ... additions to this variable.
44349 * posix/Makefile (tests): Change dependencies to ....
44350 (tests-special): ... additions to this variable.
44351 (xtests): Change dependencies to ....
44352 (xtests-special): ... additions to this variable.
44353 * resolv/Makefile (tests): Change dependencies to ....
44354 (tests-special): ... additions to this variable.
44355 (xtests): Change dependencies to ....
44356 (xtests-special): ... additions to this variable.
44357 * stdio-common/Makefile (tests): Change dependencies to ....
44358 (tests-special): ... additions to this variable.
44359 (do-tst-unbputc): Remove target.
44360 (do-tst-printf): Likewise.
44361 * stdlib/Makefile (tests): Change dependencies to ....
44362 (tests-special): ... additions to this variable.
44363 * string/Makefile (tests): Change dependencies to ....
44364 (tests-special): ... additions to this variable.
44365 * sysdeps/x86/Makefile (tests): Change dependencies to ....
44366 (tests-special): ... additions to this variable.
44367
44368 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44369 whole file.
44370 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44371 whole file.
44372 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44373 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44374
44375 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44376 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44377 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44378 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44379 * conform/data/libgen.h-data [XPG3]: Likewise.
44380 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44381 * conform/data/ndbm.h-data [XPG3]: Likewise.
44382 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44383 * conform/data/netdb.h-data [XPG3]: Likewise.
44384 * conform/data/netinet/in.h-data [XPG3]: Likewise.
44385 * conform/data/poll.h-data [XPG3]: Likewise.
44386 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44387 * conform/data/strings.h-data [XPG3]: Likewise.
44388 * conform/data/stropts.h-data [XPG3]: Likewise.
44389 * conform/data/sys/mman.h-data [XPG3]: Likewise.
44390 * conform/data/sys/resource.h-data [XPG3]: Likewise.
44391 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44392 Likewise.
44393 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44394 * conform/data/sys/time.h-data [XPG3]: Likewise.
44395 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44396 * conform/data/sys/uio.h-data [XPG3]: Likewise.
44397 * conform/data/sys/un.h-data [XPG3]: Likewise.
44398 * conform/data/syslog.h-data [XPG3]: Likewise.
44399 * conform/data/ucontext.h-data [XPG3]: Likewise.
44400 * conform/data/utmpx.h-data [XPG3]: Likewise.
44401 * conform/data/varargs.h-data [UNIX98]: Enable file.
44402
44403 * manual/Makefile (INSTALL_INFO): Remove variable setting.
44404
44405 * math/libm-test.inc (struct test_f_f_data): Move expected results
44406 into structure for each rounding mode.
44407 (struct test_ff_f_data): Likewise.
44408 (struct test_ff_f_data_nexttoward): Likewise.
44409 (struct test_fi_f_data): Likewise.
44410 (struct test_fl_f_data): Likewise.
44411 (struct test_if_f_data): Likewise.
44412 (struct test_fff_f_data): Likewise.
44413 (struct test_c_f_data): Likewise.
44414 (struct test_f_f1_data): Likewise.
44415 (struct test_fF_f1_data): Likewise.
44416 (struct test_ffI_f1_data): Likewise.
44417 (struct test_c_c_data): Likewise.
44418 (struct test_cc_c_data): Likewise.
44419 (struct test_f_i_data): Likewise.
44420 (struct test_ff_i_data): Likewise.
44421 (struct test_f_l_data): Likewise.
44422 (struct test_f_L_data): Likewise.
44423 (struct test_fFF_11_data): Likewise.
44424 (RM_): New macro.
44425 (RM_FE_DOWNWARD): Likewise.
44426 (RM_FE_TONEAREST): Likewise.
44427 (RM_FE_TOWARDZERO): Likewise.
44428 (RM_FE_UPWARD): Likewise.
44429 (RUN_TEST_LOOP_f_f): Update references to expected results.
44430 (RUN_TEST_LOOP_2_f): Likewise.
44431 (RUN_TEST_LOOP_fff_f): Likewise.
44432 (RUN_TEST_LOOP_c_f): Likewise.
44433 (RUN_TEST_LOOP_f_f1): Likewise.
44434 (RUN_TEST_LOOP_fF_f1): Likewise.
44435 (RUN_TEST_LOOP_fI_f1): Likewise.
44436 (RUN_TEST_LOOP_ffI_f1): Likewise.
44437 (RUN_TEST_LOOP_c_c): Likewise.
44438 (RUN_TEST_LOOP_cc_c): Likewise.
44439 (RUN_TEST_LOOP_f_i): Likewise.
44440 (RUN_TEST_LOOP_f_i_tg): Likewise.
44441 (RUN_TEST_LOOP_ff_i_tg): Likewise.
44442 (RUN_TEST_LOOP_f_b): Likewise.
44443 (RUN_TEST_LOOP_f_b_tg): Likewise.
44444 (RUN_TEST_LOOP_f_l): Likewise.
44445 (RUN_TEST_LOOP_f_L): Likewise.
44446 (RUN_TEST_LOOP_fFF_11): Likewise.
44447 * math/gen-libm-test.pl (parse_args): Output four copies of
44448 expected results for each test.
44449
44450 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44451 (__ASSUME_UTIMES): Remove.
44452 * sysdeps/unix/sysv/linux/tile/kernel-features.h
44453 (__ASSUME_UTIMES): Likewise.
44454
44455 * math/gen-auto-libm-tests.c: Update comment on output format.
44456 (output_for_one_input_case): Generate before-rounding and
44457 after-rounding information as conditions on output flags not
44458 floating-point format.
44459 * math/auto-libm-test-out: Regenerated.
44460 * math/gen-libm-test.pl (cond_value): New function.
44461 (or_cond_value): Use cond_value.
44462 (generate_testfile): Handle conditional exceptions.
44463
44464 2014-03-05 Joseph Myers <joseph@codesourcery.com>
44465
44466 * math/libm-test.inc (max_valid_error): New variable.
44467 (init_max_error): Take new argument specifying whether function
44468 results are exactly determined. Set max_valid_error and bound
44469 other variables for errors based on this argument.
44470 (set_max_error): Do not record results above max_valid_error.
44471 (check_float_internal): Only accept errors of up to 0.5ulps if
44472 also at most max_valid_error.
44473 (START): Take new argument EXACT and pass it to init_max_error.
44474 (acos_test): Update call to START.
44475 (acos_test_tonearest): Likewise.
44476 (acos_test_towardzero): Likewise.
44477 (acos_test_downward): Likewise.
44478 (acos_test_upward): Likewise.
44479 (acosh_test): Likewise.
44480 (asin_test): Likewise.
44481 (asin_test_tonearest): Likewise.
44482 (asin_test_towardzero): Likewise.
44483 (asin_test_downward): Likewise.
44484 (asin_test_upward): Likewise.
44485 (asinh_test): Likewise.
44486 (atan_test): Likewise.
44487 (atanh_test): Likewise.
44488 (atan2_test): Likewise.
44489 (cabs_test): Likewise.
44490 (cacos_test): Likewise.
44491 (cacosh_test): Likewise.
44492 (carg_test): Likewise.
44493 (casin_test): Likewise.
44494 (casinh_test): Likewise.
44495 (catan_test): Likewise.
44496 (catanh_test): Likewise.
44497 (cbrt_test): Likewise.
44498 (ccos_test): Likewise.
44499 (ccosh_test): Likewise.
44500 (ceil_test): Likewise.
44501 (cexp_test): Likewise.
44502 (cimag_test): Likewise.
44503 (clog_test): Likewise.
44504 (clog10_test): Likewise.
44505 (conj_test): Likewise.
44506 (copysign_test): Likewise.
44507 (cos_test): Likewise.
44508 (cos_test_tonearest): Likewise.
44509 (cos_test_towardzero): Likewise.
44510 (cos_test_downward): Likewise.
44511 (cos_test_upward): Likewise.
44512 (cosh_test): Likewise.
44513 (cosh_test_tonearest): Likewise.
44514 (cosh_test_towardzero): Likewise.
44515 (cosh_test_downward): Likewise.
44516 (cosh_test_upward): Likewise.
44517 (cpow_test): Likewise.
44518 (cproj_test): Likewise.
44519 (creal_test): Likewise.
44520 (csin_test): Likewise.
44521 (csinh_test): Likewise.
44522 (csqrt_test): Likewise.
44523 (ctan_test): Likewise.
44524 (ctan_test_tonearest): Likewise.
44525 (ctan_test_towardzero): Likewise.
44526 (ctan_test_downward): Likewise.
44527 (ctan_test_upward): Likewise.
44528 (ctanh_test): Likewise.
44529 (ctanh_test_tonearest): Likewise.
44530 (ctanh_test_towardzero): Likewise.
44531 (ctanh_test_downward): Likewise.
44532 (ctanh_test_upward): Likewise.
44533 (erf_test): Likewise.
44534 (erfc_test): Likewise.
44535 (exp_test): Likewise.
44536 (exp_test_tonearest): Likewise.
44537 (exp_test_towardzero): Likewise.
44538 (exp_test_downward): Likewise.
44539 (exp_test_upward): Likewise.
44540 (exp10_test): Likewise.
44541 (exp10_test_tonearest): Likewise.
44542 (exp10_test_towardzero): Likewise.
44543 (exp10_test_downward): Likewise.
44544 (exp10_test_upward): Likewise.
44545 (pow10_test): Likewise.
44546 (exp2_test): Likewise.
44547 (expm1_test): Likewise.
44548 (expm1_test_tonearest): Likewise.
44549 (expm1_test_towardzero): Likewise.
44550 (expm1_test_downward): Likewise.
44551 (expm1_test_upward): Likewise.
44552 (fabs_test): Likewise.
44553 (fdim_test): Likewise.
44554 (floor_test): Likewise.
44555 (fma_test): Likewise.
44556 (fma_test_towardzero): Likewise.
44557 (fma_test_downward): Likewise.
44558 (fma_test_upward): Likewise.
44559 (fmax_test): Likewise.
44560 (fmin_test): Likewise.
44561 (fmod_test): Likewise.
44562 (fpclassify_test): Likewise.
44563 (frexp_test): Likewise.
44564 (hypot_test): Likewise.
44565 (ilogb_test): Likewise.
44566 (isfinite_test): Likewise.
44567 (finite_test): Likewise.
44568 (isgreater_test): Likewise.
44569 (isgreaterequal_test): Likewise.
44570 (isinf_test): Likewise.
44571 (isless_test): Likewise.
44572 (islessequal_test): Likewise.
44573 (islessgreater_test): Likewise.
44574 (isnan_test): Likewise.
44575 (isnormal_test): Likewise.
44576 (issignaling_test): Likewise.
44577 (isunordered_test): Likewise.
44578 (j0_test): Likewise.
44579 (j1_test): Likewise.
44580 (jn_test): Likewise.
44581 (ldexp_test): Likewise.
44582 (lgamma_test): Likewise.
44583 (gamma_test): Likewise.
44584 (lrint_test): Likewise.
44585 (lrint_test_tonearest): Likewise.
44586 (lrint_test_towardzero): Likewise.
44587 (lrint_test_downward): Likewise.
44588 (lrint_test_upward): Likewise.
44589 (llrint_test): Likewise.
44590 (llrint_test_tonearest): Likewise.
44591 (llrint_test_towardzero): Likewise.
44592 (llrint_test_downward): Likewise.
44593 (llrint_test_upward): Likewise.
44594 (log_test): Likewise.
44595 (log10_test): Likewise.
44596 (log1p_test): Likewise.
44597 (log2_test): Likewise.
44598 (logb_test): Likewise.
44599 (logb_test_downward): Likewise.
44600 (lround_test): Likewise.
44601 (llround_test): Likewise.
44602 (modf_test): Likewise.
44603 (nearbyint_test): Likewise.
44604 (nextafter_test): Likewise.
44605 (nexttoward_test): Likewise.
44606 (pow_test): Likewise.
44607 (pow_test_tonearest): Likewise.
44608 (pow_test_towardzero): Likewise.
44609 (pow_test_downward): Likewise.
44610 (pow_test_upward): Likewise.
44611 (remainder_test): Likewise.
44612 (drem_test): Likewise.
44613 (remainder_test_tonearest): Likewise.
44614 (drem_test_tonearest): Likewise.
44615 (remainder_test_towardzero): Likewise.
44616 (drem_test_towardzero): Likewise.
44617 (remainder_test_downward): Likewise.
44618 (drem_test_downward): Likewise.
44619 (remainder_test_upward): Likewise.
44620 (drem_test_upward): Likewise.
44621 (remquo_test): Likewise.
44622 (rint_test): Likewise.
44623 (rint_test_tonearest): Likewise.
44624 (rint_test_towardzero): Likewise.
44625 (rint_test_downward): Likewise.
44626 (rint_test_upward): Likewise.
44627 (round_test): Likewise.
44628 (scalb_test): Likewise.
44629 (scalbn_test): Likewise.
44630 (scalbln_test): Likewise.
44631 (signbit_test): Likewise.
44632 (sin_test): Likewise.
44633 (sin_test_tonearest): Likewise.
44634 (sin_test_towardzero): Likewise.
44635 (sin_test_downward): Likewise.
44636 (sin_test_upward): Likewise.
44637 (sincos_test): Likewise.
44638 (sinh_test): Likewise.
44639 (sinh_test_tonearest): Likewise.
44640 (sinh_test_towardzero): Likewise.
44641 (sinh_test_downward): Likewise.
44642 (sinh_test_upward): Likewise.
44643 (sqrt_test): Likewise.
44644 (sqrt_test_tonearest): Likewise.
44645 (sqrt_test_towardzero): Likewise.
44646 (sqrt_test_downward): Likewise.
44647 (sqrt_test_upward): Likewise.
44648 (tan_test): Likewise.
44649 (tan_test_tonearest): Likewise.
44650 (tan_test_towardzero): Likewise.
44651 (tan_test_downward): Likewise.
44652 (tan_test_upward): Likewise.
44653 (tanh_test): Likewise.
44654 (tgamma_test): Likewise.
44655 (trunc_test): Likewise.
44656 (y0_test): Likewise.
44657 (y1_test): Likewise.
44658 (yn_test): Likewise.
44659 (significand_test): Likewise.
44660
44661 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44662 individual tests in comment.
44663 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44664 (prev_max_error): New variable.
44665 (prev_real_max_error): Likewise.
44666 (prev_imag_max_error): Likewise.
44667 (compare_ulp_data): Don't refer to test names in comment.
44668 (find_test_ulps): Remove function.
44669 (find_function_ulps): Likewise.
44670 (find_complex_function_ulps): Likewise.
44671 (init_max_error): Take function name as argument. Look up ulps
44672 for that function.
44673 (print_ulps): Remove function.
44674 (print_max_error): Use prev_max_error instead of calling
44675 find_function_ulps.
44676 (print_complex_max_error): Use prev_real_max_error and
44677 prev_imag_max_error instead of calling find_complex_function_ulps.
44678 (check_float_internal): Take max_ulp parameter instead of calling
44679 find_test_ulps. Don't call print_ulps.
44680 (check_float): Update call to check_float_internal.
44681 (check_complex): Update calls to check_float_internal.
44682 (START): Pass argument to init_max_error.
44683 * math/gen-libm-test.pl (%results): Don't include "kind"
44684 information.
44685 (parse_ulps): Don't handle ulps of individual tests.
44686 (print_ulps_file): Likewise.
44687 (output_ulps): Likewise.
44688 * math/README.libm-test: Update.
44689 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44690 individual tests.
44691 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44692 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44693 * sysdeps/arm/libm-test-ulps: Likewise.
44694 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44695 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44696 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44697 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44698 * sysdeps/microblaze/libm-test-ulps: Likewise.
44699 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44700 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44701 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44702 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44703 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44704 * sysdeps/sh/libm-test-ulps: Likewise.
44705 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44706 * sysdeps/tile/libm-test-ulps: Likewise.
44707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44708
44709 2014-03-04 Joseph Myers <joseph@codesourcery.com>
44710
44711 * math/libm-test.inc (print_complex_max_error): Check separately
44712 whether real and imaginary errors are within allowed range and
44713 pass 0 to print_complex_function_ulps instead of value within
44714 allowed range.
44715
44716 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
44717
44718 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44719 formatting.
44720 (get_handles_fopen): Likewise.
44721 (do_write_test): Likewise.
44722
44723 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44724
44725 * libio/fileops.c (do_ftell): Use cached offset when
44726 available.
44727 * libio/iofwide.c (do_ftell_wide): Likewise.
44728 * libio/iofdopen.c (_IO_new_fdopen): Don't use
44729 _IO_file_attach.
44730 * libio/wfileops.c (_IO_fwide): Don't cache offset.
44731
44732 [BZ #16532]
44733 * libio/libioP.h (get_file_offset): New function.
44734 * libio/fileops.c (get_file_offset): Likewise.
44735 (do_ftell): Likewise.
44736 (_IO_new_file_seekoff): Split out ftell logic.
44737 * libio/wfileops.c (do_ftell_wide): Likewise.
44738 (_IO_wfile_seekoff): Split out ftell logic.
44739 * libio/tst-ftell-active-handler.c: New test case.
44740 * libio/Makefile (tests): Add it.
44741
44742 2014-03-03 Roland McGrath <roland@hack.frob.com>
44743
44744 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44745 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44746
44747 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
44748
44749 [BZ #16639]
44750 * nscd/connections.c (nscd_init): Call do_exit.
44751 (start_threads): Call do_exit and notify_parent.
44752 (begin_drop_privileges): Call do_exit.
44753 (finish_drop_privileges): Likewise.
44754 * nscd/selinux.c (preserve_capabilities): Likewise.
44755 (install_real_capabilities): Likewise.
44756 (nscd_selinux_enabled): Likewise.
44757 (avc_create_thread): Likewise.
44758 (avc_alloc_lock): Likewise.
44759 (nscd_avc_init): Likewise.
44760 * nscd/nscd.c (parent_fd): New static variable.
44761 (main): Create a pipe between parent and child processes.
44762 Skip closing parent_fd.
44763 (monitor_child): New function.
44764 (do_exit): Likewise.
44765 (notify_parent): Likewise.
44766 * nscd/nscd.h (notify_parent): Likewise.
44767 (do_exit): Likewise.
44768
44769 2014-03-03 Carlos O'Donell <carlos@redhat.com>
44770
44771 * malloc/malloc.c (__libc_calloc): Revert last change.
44772
44773 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44774
44775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44776
44777 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44778
44779 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44781 implementation.
44782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44783 (__libc_ifunc_impl_list): Likewise.
44784 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44785 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44786 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44787 * string/strrchr.c: Define STRRCHR.
44788
44789 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
44790
44791 * benchtest/bench-strtok.c (simple_strtok): Delete.
44792 (strtok_string): Use as benchmark.
44793 * string/strtok (STRTOK): New macro.
44794
44795 2014-02-28 Carlos O'Donell <carlos@redhat.com>
44796
44797 * manual/threads.texi: Add header and standard comments to all
44798 functions.
44799
44800 * elf/dl-lookup.c (check_match): New function.
44801 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44802 (do_lookup_x): Remove nested function check_match. Use non-nested
44803 function check_match.
44804
44805 2014-02-28 Roland McGrath <roland@hack.frob.com>
44806
44807 * csu/Makefile (generated, before-compile): Use += rather than =.
44808 * catgets/Makefile (generated, generated-dirs): Likewise.
44809 * debug/Makefile (generated): Likewise.
44810 * dlfcn/Makefile (generated): Likewise.
44811 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44812 * iconvdata/Makefile (before-compile, generated): Likewise.
44813 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44814 * libio/Makefile (generated): Likewise.
44815 * malloc/Makefile (generated): Likewise.
44816 * manual/Makefile (generated, generated-dirs): Likewise.
44817 * misc/Makefile (generated): Likewise.
44818 * posix/Makefile (generated): Likewise.
44819 * resolv/Makefile (generated): Likewise.
44820 * sunrpc/Makefile (generated, generated-dirs): Likewise.
44821 * timezone/Makefile (generated, generated-dirs): Likewise.
44822
44823 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44824
44825 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44826
44827 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44828 power8 implementation.
44829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44830 file: POWER8 llround ifunc implementation.
44831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44832 (__lllround): Add POWER8 implementation.
44833 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44834 POWER8 llround implementation.
44835
44836 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44837 power8 implementation.
44838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44839 file: POWER8 llrint ifunc implementation.
44840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44841 Add POWER8 implementation.
44842 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44843 POWER8 llrint implementation.
44844
44845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44846 power8 implementation.
44847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44848 file: POWER8 finite ifunc implementation.
44849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44850 Add POWER8 implementation.
44851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44852 Likewise.
44853 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44854 POWER8 finite implementation.
44855 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44856
44857 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44858 power8 implementation.
44859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44860 file: POWER8 isinf ifunc implementation.
44861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44862 POWER8 implementation.
44863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44864 Likewise.
44865 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44866 isinf implementation.
44867 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44868
44869 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44870 (INIT_ARCH): Add hwcap2 initialization.
44871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44872 power8 implementation.
44873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44874 file: POWER8 isnan ifunc implementation.
44875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44876 POWER8 implementation.
44877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44878 Likewise.
44879 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44880 isnan implementation.
44881 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44882
44883 2014-02-27 Joey Ye <joey.ye@arm.com>
44884
44885 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44886 (_FP_NANFRAC_Q): Set to zero.
44887
44888 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44889
44890 [BZ #16623]
44891 * math/auto-libm-test-in: New test inputs.
44892 * math/auto-libm-test-out: Regenerate.
44893 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44894 and DA.
44895 (__cos): Likewise.
44896 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44897
44898 2014-02-27 Joseph Myers <joseph@codesourcery.com>
44899
44900 * scripts/evaluate-test.sh: Take new argument indicating whether
44901 failure is expected.
44902 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44903 indicating whether failure is expected.
44904 * conform/Makefile (test-xfail-run-conformtest): New variable.
44905 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44906 level.
44907 * posix/Makefile (test-xfail-annexc): New variable.
44908 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44909
44910 2014-02-26 Joseph Myers <joseph@codesourcery.com>
44911
44912 * argp/Makefile: Include Makeconfig immediately after defining
44913 subdir.
44914 * assert/Makefile: Likewise.
44915 * benchtests/Makefile: Likewise.
44916 * catgets/Makefile: Likewise.
44917 * conform/Makefile: Likewise.
44918 * crypt/Makefile: Likewise.
44919 * csu/Makefile: Likewise.
44920 (all): Remove target.
44921 * ctype/Makefile: Include Makeconfig immediately after defining
44922 subdir.
44923 * debug/Makefile: Likewise.
44924 * dirent/Makefile: Likewise.
44925 * dlfcn/Makefile: Likewise.
44926 * gmon/Makefile: Likewise.
44927 * gnulib/Makefile: Likewise.
44928 * grp/Makefile: Likewise.
44929 * gshadow/Makefile: Likewise.
44930 * hesiod/Makefile: Likewise.
44931 * hurd/Makefile: Likewise.
44932 (all): Remove target.
44933 * iconvdata/Makefile: Include Makeconfig immediately after
44934 defining subdir.
44935 * inet/Makefile: Likewise.
44936 * intl/Makefile: Likewise.
44937 * io/Makefile: Likewise.
44938 * libio/Makefile: Likewise.
44939 (all): Remove target.
44940 * locale/Makefile: Include Makeconfig immediately after defining
44941 subdir.
44942 * login/Makefile: Likewise.
44943 * mach/Makefile: Likewise.
44944 (all): Remove target.
44945 * malloc/Makefile: Include Makeconfig immediately after defining
44946 subdir.
44947 (all): Remove target.
44948 * manual/Makefile: Include Makeconfig immediately after defining
44949 subdir.
44950 * math/Makefile: Likewise.
44951 * misc/Makefile: Likewise.
44952 * nis/Makefile: Likewise.
44953 * nss/Makefile: Likewise.
44954 * po/Makefile: Likewise.
44955 (all): Remove target.
44956 * posix/Makefile: Include Makeconfig immediately after defining
44957 subdir.
44958 * pwd/Makefile: Likewise.
44959 * resolv/Makefile: Likewise.
44960 * resource/Makefile: Likewise.
44961 * rt/Makefile: Likewise.
44962 * setjmp/Makefile: Likewise.
44963 * shadow/Makefile: Likewise.
44964 * signal/Makefile: Likewise.
44965 * socket/Makefile: Likewise.
44966 * soft-fp/Makefile: Likewise.
44967 * stdio-common/Makefile: Likewise.
44968 * stdlib/Makefile: Likewise.
44969 * streams/Makefile: Likewise.
44970 * string/Makefile: Likewise.
44971 * sunrpc/Makefile: Likewise.
44972 (all): Remove target.
44973 * sysvipc/Makefile: Include Makeconfig immediately after defining
44974 subdir.
44975 * termios/Makefile: Likewise.
44976 * time/Makefile: Likewise.
44977 * timezone/Makefile: Likewise.
44978 (all): Remove target.
44979 * wcsmbs/Makefile: Include Makeconfig immediately after defining
44980 subdir.
44981 * wctype/Makefile: Likewise.
44982
44983 2014-02-26 Steve Ellcey <sellcey@mips.com>
44984
44985 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
44986 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
44987 (libc_feholdexcept_setround_mips): Ditto.
44988 (libc_feholdsetround): New.
44989 (libc_feholdsetroundf): New.
44990 (libc_feholdsetroundl): New.
44991 (libc_feupdateenv_test_mips): New.
44992 (libc_feupdateenv_test): New.
44993 (libc_feupdateenv_testf): New.
44994 (libc_feupdateenv_testl): New.
44995 (libc_feresetround): New.
44996 (libc_feresetroundf): New.
44997 (libc_feresetroundl): New.
44998 (libc_fetestexcept_mips): New.
44999 (libc_fetestexcept): New.
45000 (libc_fetestexceptf): New.
45001 (libc_fetestexceptl): New.
45002 (HAVE_RM_CTX): New.
45003 (libc_feholdexcept_setround_mips_ctx): New.
45004 (libc_feholdexcept_setround_ctx): New.
45005 (libc_feholdexcept_setroundf_ctx): New.
45006 (libc_feholdexcept_setroundl_ctx): New.
45007 (libc_fesetenv_mips_ctx): New.
45008 (libc_fesetenv_ctx): New.
45009 (libc_fesetenv_ctxf): New.
45010 (libc_fesetenv_ctxl): New.
45011 (libc_feupdateenv_mips_ctx): New.
45012 (libc_feupdateenv_ctx): New.
45013 (libc_feupdateenvf_ctx): New.
45014 (libc_feupdateenvl_ctx): New.
45015 (libc_feholdsetround_mips_ctx): New.
45016 (libc_feholdsetround_ctx): New.
45017 (libc_feholdsetroundf_ctx): New.
45018 (libc_feholdsetroundl_ctx): New.
45019 (libc_feresetround_mips_ctx): New.
45020 (libc_feresetround_ctx): New.
45021 (libc_feresetroundf_ctx): New.
45022 (libc_feresetroundl_ctx): New.
45023
45024 2014-02-26 Carlos O'Donell <carlos@redhat.com>
45025
45026 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45027
45028 * manual/ipc.texi: New file.
45029 * manual/Makefile (chapters): Add ipc.
45030 * manual/job.texi: Add "Inter-Process Communication" to next.
45031 * manual/process.texi: Add "Inter-Process Communication" to prev.
45032
45033 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45034
45035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45036
45037 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
45038
45039 * malloc/malloc.c (__libc_calloc): Simplify implementation.
45040
45041 * manual/arith.texi: Fix spaces after sentences.
45042 * manual/charset.texi: Likewise.
45043 * manual/errno.texi: Likewise.
45044 * manual/install.texi: Likewise.
45045 * manual/llio.texi: Likewise.
45046 * manual/locale.texi: Likewise.
45047 * manual/maint.texi: Likewise.
45048 * manual/math.texi: Likewise.
45049 * manual/memory.texi: Likewise.
45050 * manual/message.texi: Likewise.
45051 * manual/probes.texi: Likewise.
45052 * manual/resource.texi: Likewise.
45053 * manual/signal.texi: Likewise.
45054 * manual/socket.texi: Likewise.
45055 * manual/stdio.texi: Likewise.
45056 * manual/string.texi: Likewise.
45057 * manual/time.texi: Likewise.
45058 * manual/users.texi: Likewise.
45059
45060 2014-02-25 Carlos O'Donell <carlos@redhat.com>
45061
45062 [BZ #16632]
45063 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45064 _DEFAULT_SOURCE is defined.
45065
45066 2014-02-25 Ulrich Drepper <drepper@gmail.com>
45067 Carlos O'Donell <carlos@redhat.com>
45068
45069 [BZ #16613]
45070 * elf/dl-tls.c (_dl_count_modids): New function.
45071 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45072 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45073 audit library and increment generation counter.
45074 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45075 * elf/tst-audit9.c: New file.
45076 * elf/tst-auditmod9a.c: New file.
45077 * elf/tst-auditmod9b.c: New file.
45078 * elf/Makefile: Add rules to build and run tst-audit9.
45079
45080 2014-02-25 Florian Weimer <fweimer@redhat.com>
45081
45082 [BZ #15347]
45083 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45084
45085 2014-02-25 Will Newton <will.newton@linaro.org>
45086
45087 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45088 (__longjmp): Restore sp and lr before restoring callee
45089 saved registers. Add longjmp and longjmp_target
45090 SystemTap probe point.
45091 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45092 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45093 Define to zero to match jmpbuf layout.
45094 * sysdeps/arm/setjmp.S: Include stap-probe.h.
45095 (__sigsetjmp): Save sp and lr before saving callee
45096 saved registers. Add setjmp SystemTap probe point.
45097
45098 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
45099
45100 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45101
45102 2014-02-24 Andreas Schwab <schwab@suse.de>
45103
45104 [BZ #15804]
45105 * elf/pldd.c (wait_for_ptrace_stop): New function.
45106 (main): Call it after attaching.
45107
45108 2014-02-22 Roland McGrath <roland@hack.frob.com>
45109
45110 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45111 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45112 Versions files is now verboten.
45113 * hurd/Versions (libc: GLIBC_2.0):
45114 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45115 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45116 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45117 * mach/Versions: Likewise.
45118
45119 * csu/Versions: Remove unused %include.
45120 * resolv/Versions: Likewise.
45121
45122 2014-02-21 Joseph Myers <joseph@codesourcery.com>
45123
45124 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45125 ($(objpfx)check-local-headers.out): Likewise.
45126 ($(objpfx)begin-end-check.out): Likewise.
45127 * Makerules (check-abi-%.out): Likewise.
45128 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45129 ($(objpfx)test2.cat): Likewise.
45130 ($(objpfx)de/libc.cat): Likewise.
45131 ($(objpfx)test-gencat.out): Likewise.
45132 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45133 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45134 ($(objpfx)noload-mem): Likewise.
45135 ($(objpfx)tst-pathopt.out): Likewise.
45136 ($(objpfx)tst-rtld-load-self.out): Likewise.
45137 ($(objpfx)tst-array1-cmp.out): Likewise.
45138 ($(objpfx)tst-array1-static-cmp.out): Likewise.
45139 ($(objpfx)tst-array2-cmp.out): Likewise.
45140 ($(objpfx)tst-array3-cmp.out): Likewise.
45141 ($(objpfx)tst-array4-cmp.out): Likewise.
45142 ($(objpfx)tst-array5-cmp.out): Likewise.
45143 ($(objpfx)tst-array5-static-cmp.out): Likewise.
45144 ($(objpfx)check-textrel.out): Likewise.
45145 ($(objpfx)check-execstack.out): Likewise.
45146 ($(objpfx)check-localplt.out): Likewise.
45147 ($(objpfx)order2-cmp.out): Likewise.
45148 ($(objpfx)tst-leaks1-mem): Likewise.
45149 ($(objpfx)tst-leaks1-static-mem): Likewise.
45150 ($(objpfx)tst-initorder-cmp.out): Likewise.
45151 ($(objpfx)tst-initorder2-cmp.out): Likewise.
45152 ($(objpfx)tst-unused-dep.out): Likewise.
45153 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45154 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45155 * iconv/Makefile (test-iconvconfig): Likewise.
45156 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45157 ($(objpfx)iconv-test.out): Likewise.
45158 ($(objpfx)tst-tables.out): Likewise.
45159 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45160 ($(objpfx)tst-gettext.out): Likewise.
45161 ($(objpfx)tst-translit.out): Likewise.
45162 ($(objpfx)tst-gettext2.out): Likewise.
45163 ($(objpfx)tst-gettext4.out): Likewise.
45164 ($(objpfx)tst-gettext6.out): Likewise.
45165 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45166 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45167 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45168 ($(objpfx)tst-fopenloc-mem.out): Likewise.
45169 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45170 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45171 * posix/Makefile ($(objpfx)globtest.out): Likewise.
45172 ($(objpfx)wordexp-tst.out): Likewise.
45173 ($(objpfx)annexc.out): Likewise.
45174 ($(objpfx)tst-fnmatch-mem): Likewise.
45175 ($(objpfx)bug-regex2-mem): Likewise.
45176 ($(objpfx)bug-regex14-mem): Likewise.
45177 ($(objpfx)bug-regex21-mem): Likewise.
45178 ($(objpfx)bug-regex31-mem): Likewise.
45179 ($(objpfx)tst-vfork3-mem): Likewise.
45180 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45181 ($(objpfx)tst-pcre-mem): Likewise.
45182 ($(objpfx)tst-boost-mem): Likewise.
45183 ($(objpfx)tst-getconf.out): Likewise.
45184 ($(objpfx)bug-ga2-mem): Likewise.
45185 ($(objpfx)bug-glob2-mem): Likewise.
45186 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45187 ($(objpfx)mtrace-tst-leaks2): Likewise.
45188 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45189 ($(objpfx)tst-printf.out): Likewise.
45190 ($(objpfx)tst-setvbuf1.out): Likewise.
45191 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45192 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45193 ($(objpfx)tst-fmtmsg.out): Likewise.
45194 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45195 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45196
45197 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45198 * bits/sigaction.h [__USE_MISC]: Likewise.
45199 * bits/waitstatus.h: Update #endif comments.
45200 * ctype/ctype.h: Likewise.
45201 * dirent/dirent.h: Likewise.
45202 [__USE_MISC]: Remove redundant conditionals.
45203 * grp/grp.h: Update #endif comments.
45204 [__USE_GNU]: Remove redundant conditionals.
45205 [__USE_MISC]: Likewise.
45206 * inet/netinet/in.h [__USE_GNU]: Likewise.
45207 * io/sys/stat.h [__USE_MISC]: Likewise.
45208 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45209 * libio/bits/stdio.h: Update #endif comments.
45210 [__USE_MISC]: Remove redundant conditionals.
45211 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45212 * libio/stdio.h: Update #endif comments.
45213 [__USE_MISC]: Remove redundant conditionals.
45214 * math/bits/math-finite.h [__USE_MISC]: Likewise.
45215 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45216 * math/math.h: Update #else and #endif comments.
45217 [__USE_MISC]: Remove redundant conditionals.
45218 * misc/sys/uio.h: Update #endif comments.
45219 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45220 * posix/glob.h [__USE_MISC]: Likewise.
45221 * posix/sys/types.h: Update #endif comments.
45222 [__USE_MISC]: Remove redundant conditionals.
45223 * posix/sys/wait.h: Update #endif comments.
45224 [__USE_MISC]: Remove redundant conditionals.
45225 * posix/unistd.h: Update #endif comments.
45226 [__USE_MISC]: Remove redundant conditionals.
45227 * pwd/pwd.h [__USE_GNU]: Likewise.
45228 [__USE_MISC]: Likewise.
45229 * resolv/netdb.h [__USE_GNU]: Likewise.
45230 * signal/signal.h: Update #endif comments.
45231 [__USE_MISC]: Remove redundant conditionals.
45232 * stdlib/stdlib.h: Update #else and #endif comments.
45233 [__USE_MISC]: Remove redundant conditionals.
45234 [__USE_GNU]: Likewise.
45235 * string/bits/string2.h [__USE_MISC]: Likewise.
45236 * string/string.h: Update #endif comments.
45237 [__USE_MISC]: Remove redundant conditionals.
45238 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45239 Likewise.
45240 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45241 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45242 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45243 Likewise.
45244 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45245 Likewise.
45246 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45247 comments.
45248 [__USE_MISC]: Remove redundant conditionals.
45249 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45250 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45251 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45252 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45253 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45254 Likewise.
45255 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45256 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45257 Likewise.
45258 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45259 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45260 Likewise.
45261 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45262 Likewise.
45263 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45264 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45265 Likewise.
45266 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45267 Likewise.
45268 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45269 * sysdeps/x86/bits/string.h: Update #endif comments.
45270 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45271 conditionals.
45272 * time/sys/time.h: Update #endif comments.
45273 * time/time.h: Likewise.
45274 [__USE_MISC]: Remove redundant conditionals.
45275
45276 2014-02-21 Yury Gribov <y.gribov@samsung.com>
45277
45278 [BZ #16600]
45279 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45280
45281 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
45282
45283 * Versions.def (librt): Add GLIBC_2.17.
45284
45285 2014-02-21 Adam Conrad <adconrad@0c3.net>
45286
45287 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45288 synonym for _SYS_AUXV_H to allow direct inclusion.
45289 * sysdeps/sparc/bits/hwcap.h: Likewise.
45290 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45291 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45292 * sysdeps/sparc/sysdep.h: Likewise.
45293
45294 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
45295
45296 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45297
45298 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45299
45300 * benchtests/bench-strrchr.c: Print length instead of position.
45301
45302 2014-02-20 Joseph Myers <joseph@codesourcery.com>
45303
45304 [BZ #16611]
45305 * sysdeps/unix/sysv/linux/kernel-features.h
45306 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45307 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45308 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45309 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45310 Likewise.
45311 [__i386__ || __powerpc__ || __sh__ || __sparc__]
45312 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45313 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45314 (__ASSUME_SENDMMSG): Define instead of using previous
45315 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45316 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45317 (__ASSUME_SENDMMSG_SYSCALL): Define.
45318 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45319 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45320 Likewise.
45321 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45322 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45323 Likewise.
45324 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45325 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45326 Likewise.
45327 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45328 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45329 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45330 [__ASSUME_SENDMMSG]: Change conditionals to
45331 [__ASSUME_SENDMMSG_SOCKETCALL].
45332 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45333 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45334 Define.
45335 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45336 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45337 Likewise.
45338 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45339 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45340 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45341 [!__ASSUME_SENDMMSG]: Change conditional to
45342 [!__ASSUME_SENDMMSG_SOCKETCALL].
45343 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45344 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45345 Define.
45346
45347 [BZ #16610]
45348 * sysdeps/unix/sysv/linux/kernel-features.h
45349 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45350 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45351 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45352 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45353 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45354 [__i386__ || __sparc__]
45355 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45356 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45357 (__ASSUME_RECVMMSG): Define instead of using previous
45358 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45359 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45360 (__ASSUME_RECVMMSG_SYSCALL): Define.
45361 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45362 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45363 Likewise.
45364 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45365 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45366 Likewise.
45367 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45368 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45369 Likewise.
45370 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45371 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45372 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45373 [__ASSUME_RECVMMSG]: Change condition to
45374 [__ASSUME_RECVMMSG_SOCKETCALL].
45375 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45376 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45377 Define.
45378 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45379 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45380 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45381 Likewise.
45382 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45383 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45384 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45385 [!__ASSUME_RECVMMSG]: Change condition to
45386 [!__ASSUME_RECVMMSG_SOCKETCALL].
45387 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45388 (__ASSUME_RECVMMSG_SYSCALL): Define.
45389
45390 [BZ #16609]
45391 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45392 __powerpc__ || __s390__ || __sh__ || __sparc__]
45393 (__ASSUME_SOCKETCALL): Define.
45394 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45395 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45396 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45397 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45398 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45399 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45400 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45401 (__ASSUME_ACCEPT4): Define instead of using previous
45402 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45403 __powerpc__ || __sparc__ || __s390__)] condition.
45404 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45405 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45406 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45407 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45408 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45409 [!__ASSUME_ACCEPT4]: Change condition to
45410 [!__ASSUME_ACCEPT4_SOCKETCALL].
45411 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45412 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
45413 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45414 * sysdeps/unix/sysv/linux/arm/kernel-features.h
45415 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45416 __ASSUME_ACCEPT4_SYSCALL.
45417 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45418 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45419 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45420 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45421 __ASSUME_ACCEPT4_SYSCALL.
45422 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45423 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45424 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45425 [__ASSUME_ACCEPT4]: Change condition to
45426 [__ASSUME_ACCEPT4_SOCKETCALL].
45427 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45428 (__ASSUME_SOCKETCALL): Define.
45429 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45430 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45431 (__ASSUME_SOCKETCALL): Define.
45432 (__ASSUME_ACCEPT4): Remove.
45433 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45434 Define.
45435 * sysdeps/unix/sysv/linux/mips/kernel-features.h
45436 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45437 Likewise.
45438 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45439 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45440
45441 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45442 macro.
45443 (HWCAP_ARM_LPAE): Likewise.
45444 (HWCAP_ARM_EVTSTRM): Likewise.
45445 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45446 Add vpfd32, lpae and evtstrm.
45447 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45448 Increase to 22.
45449
45450 2014-02-19 Joseph Myers <joseph@codesourcery.com>
45451
45452 * math/auto-libm-test-in: Add tests of clog10.
45453 * math/auto-libm-test-out: Regenerated.
45454 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45455 * sysdeps/i386/fpu/libm-test-ulps: Update.
45456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45457
45458 2014-02-18 Andreas Schwab <schwab@suse.de>
45459
45460 [BZ #16574]
45461 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45462 Store non-zero if the second buffer was newly allocated.
45463 (send_dg): Likewise.
45464 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45465 to send_vc and send_dg.
45466 (res_nsend): Pass NULL for ansp2_malloced.
45467 * resolv/res_query.c (__libc_res_nquery): Add parameter
45468 answerp2_malloced and pass it down to __libc_res_nsend.
45469 (res_nquery): Pass additional NULL to __libc_res_nquery.
45470 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45471 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
45472 second answer buffer if answerp2_malloced was set.
45473 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45474 (__libc_res_nquerydomain): Add parameter
45475 answerp2_malloced and pass it down to __libc_res_nquery.
45476 (res_nquerydomain): Pass additional NULL to
45477 __libc_res_nquerydomain.
45478 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45479 additional NULL to __libc_res_nsend and __libc_res_nquery.
45480 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45481 additional NULL to __libc_res_nsearch.
45482 (_nss_dns_gethostbyname4_r): Revert last change. Use new
45483 parameter of __libc_res_nsearch to check for separately allocated
45484 second buffer.
45485 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45486 __libc_res_nquery.
45487 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45488 additional NULL to __libc_res_nquery.
45489 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45490 __libc_res_nsearch.
45491 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45492 * include/resolv.h: Update prototypes of __libc_res_nquery,
45493 __libc_res_nsearch, __libc_res_nsend.
45494
45495 2014-02-18 Joseph Myers <joseph@codesourcery.com>
45496
45497 * math/auto-libm-test-in: Add tests of fma.
45498 * math/auto-libm-test-out: Regenerated.
45499 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45500 (fma_towardzero_test_data): Likewise.
45501 (fma_downward_test_data): Likewise.
45502 (fma_upward_test_data): Likewise.
45503 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45504 mpc_mode.
45505 (rounding_modes): Add values for new field.
45506 (func_calc_method): Add value mpfr_fff_f.
45507 (func_calc_desc): Add mpfr_fff_f union field.
45508 (test_function): Add field exact_args.
45509 (FUNC): Add macro argument EXACT_ARGS.
45510 (FUNC_mpfr_f_f): Update call to FUNC.
45511 (FUNC_mpfr_f_f): Likewise.
45512 (FUNC_mpfr_ff_f): Likewise.
45513 (FUNC_mpfr_if_f): Likewise.
45514 (FUNC_mpc_c_f): Likewise.
45515 (FUNC_mpc_c_c): Likewise.
45516 (test_functions): Add fma. Update calls to FUNC.
45517 (handle_input_arg): Add argument exact_args.
45518 (add_test): Update call to handle_input_arg.
45519 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
45520 (output_for_one_input_case): Update call to calc_generic_results.
45521 Recalculate exact zero results in each rounding mode.
45522
45523 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45524 non-negative before setting low bit.
45525 * math/auto-libm-test-in: Mark one asin test possibly having
45526 spurious underflow.
45527 * math/auto-libm-test-out: Regenerated.
45528 * sysdeps/i386/fpu/libm-test-ulps: Update.
45529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45530
45531 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
45532
45533 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45534 * sysdeps/unix/sysv/linux/microblaze: Move directory from
45535 ports/sysdeps/unix/sysv/linux/microblaze.
45536 * README: Add missing listing for microblaze*-*-linux-gnu.
45537
45538 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
45539
45540 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45541 duplicate code
45542
45543 2014-02-16 Mike Frysinger <vapier@gentoo.org>
45544
45545 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45546 * sysdeps/unix/sysv/linux/ia64: Move directory from
45547 ports/sysdeps/unix/sysv/linux/ia64.
45548 * README: Update listing for ia64-*-linux-gnu.
45549
45550 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
45551 Joseph Myers <joseph@codesourcery.com>
45552
45553 * Makeconfig (test-name): New variable.
45554 (evaluate-test): Likewise.
45555 * Makerules (do-test-clean): Remove .test-result files.
45556 (common-mostlyclean): Likewise.
45557 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45558 * scripts/evaluate-test.sh: New file.
45559
45560 2014-02-14 Joseph Myers <joseph@codesourcery.com>
45561
45562 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45563 separate $(objpfx)tst-fopenloc-cmp.out and
45564 $(objpfx)tst-fopenloc-mem.out targets.
45565 (tests): Update dependencies.
45566 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45567 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45568 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45569 (tst-rxspencer-no-utf8-ARGS): New variable.
45570 (tst-rxspencer-no-utf8-ENV): Likewise.
45571 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45572 instead of $(objpfx)tst-rxspencer-mem.
45573 ($(objpfx)tst-rxspencer-mem): Change target to
45574 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
45575 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45576 * posix/tst-rxspencer-no-utf8.c: New file.
45577
45578 * elf/Makefile ($(objpfx)order.out): Remove rule.
45579 [$(run-built-tests) = yes] (tests): Depend on
45580 $(objpfx)order-cmp.out.
45581 ($(objpfx)order-cmp.out): New rule.
45582 [$(run-built-tests) = yes] (tests): Depend on
45583 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45584 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45585 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45586 $(objpfx)tst-array5-static-cmp.out.
45587 ($(objpfx)tst-array1.out): Remove rule.
45588 ($(objpfx)tst-array1-cmp.out): New rule.
45589 ($(objpfx)tst-array1-static.out): Remove rule.
45590 ($(objpfx)tst-array1-static-cmp.out): New rule.
45591 ($(objpfx)tst-array2.out): Remove rule.
45592 ($(objpfx)tst-array2-cmp.out): New rule.
45593 ($(objpfx)tst-array3.out): Remove rule.
45594 ($(objpfx)tst-array3-cmp.out): New rule.
45595 ($(objpfx)tst-array4.out): Remove rule.
45596 ($(objpfx)tst-array4-cmp.out): New rule.
45597 ($(objpfx)tst-array5.out): Remove rule.
45598 ($(objpfx)tst-array5-cmp.out): New rule.
45599 ($(objpfx)tst-array5-static.out): Remove rule.
45600 ($(objpfx)tst-array5-static-cmp.out): New rule.
45601 [$(run-built-tests) = yes] (tests): Depend on
45602 $(objpfx)order2-cmp.out.
45603 ($(objpfx)order2.out): Remove rule.
45604 ($(objpfx)order2-cmp.out): New rule.
45605 ($(objpfx)tst-initorder.out): Remove rule.
45606 [$(run-built-tests) = yes] (tests): Depend on
45607 $(objpfx)tst-initorder-cmp.out.
45608 ($(objpfx)tst-initorder-cmp.out): New rule.
45609 ($(objpfx)tst-initorder2.out): Remove rule.
45610 [$(run-built-tests) = yes] (tests): Depend on
45611 $(objpfx)tst-initorder2-cmp.out.
45612 ($(objpfx)tst-initorder2-cmp.out): New rule.
45613 [$(run-built-tests) = yes] (tests): Depend on
45614 $(objpfx)tst-unused-dep-cmp.out.
45615 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45616 ($(objpfx)tst-unused-dep-cmp.out): New rule.
45617 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45618 on $(objpfx)tst-setvbuf1-cmp.out.
45619 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45620 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45621 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45622 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45623 ($(objpfx)tst-svc.out): Remove rule.
45624 ($(objpfx)tst-svc-cmp.out): New rule.
45625
45626 2014-02-13 Joseph Myers <joseph@codesourcery.com>
45627
45628 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45629 * ctype/ctype.h [__USE_MISC]: Likewise.
45630 * dirent/dirent.h [__USE_MISC]: Likewise.
45631 * grp/grp.h [__USE_MISC]: Likewise.
45632 * io/fcntl.h [__USE_MISC]: Likewise.
45633 * io/sys/stat.h [__USE_MISC]: Likewise.
45634 * libio/stdio.h [__USE_MISC]: Likewise.
45635 * posix/unistd.h [__USE_MISC]: Likewise.
45636 * pwd/pwd.h [__USE_MISC]: Likewise.
45637 * stdlib.h [__USE_MISC]: Likewise.
45638 * string/bits/string2.h [__USE_MISC]: Likewise.
45639 * string/string.h [__USE_MISC]: Likewise.
45640 * time/time.h [__USE_MISC]: Likewise.
45641
45642 2014-02-13 Andreas Schwab <schwab@suse.de>
45643
45644 [BZ #16574]
45645 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45646 second answer buffer if it was separately allocated.
45647
45648 2014-02-12 Joseph Myers <joseph@codesourcery.com>
45649
45650 * sysdeps/mips/math-tests.h: Include <features.h>.
45651 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45652 (ROUNDING_TESTS_long_double): Do not define.
45653 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45654 (EXCEPTION_TESTS_long_double): Likewise.
45655 * sysdeps/mips/mips64/libm-test-ulps: Update.
45656
45657 * include/features.h (__USE_BSD): Remove macro definitions.
45658 (__USE_SVID): Likewise.
45659 (_BSD_SOURCE): Likewise.
45660 (_SVID_SOURCE): Likewise.
45661 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45662 from definition of _DEFAULT_SOURCE.
45663 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45664 [_DEFAULT_SOURCE].
45665 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45666 * bits/mman.h [__USE_BSD]: Likewise.
45667 * bits/termios.h [__USE_BSD]: Likewise.
45668 * bits/waitstatus.h [__USE_BSD]: Likewise.
45669 * ctype/ctype.h [__USE_SVID]: Likewise.
45670 * dirent/dirent.h [__USE_BSD]: Likewise.
45671 * grp/grp.h [__USE_SVID]: Likewise.
45672 [__USE_BSD]: Likewise.
45673 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45674 * io/fcntl.h [__USE_BSD]: Likewise.
45675 * io/ftw.h [__USE_BSD]: Likewise.
45676 * io/sys/stat.h [__USE_BSD]: Likewise.
45677 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45678 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45679 * libio/stdio.h [__USE_SVID]: Likewise.
45680 [__USE_BSD]: Likewise.
45681 * math/math.h [__USE_SVID]: Likewise.
45682 [__USE_BSD]: Likewise.
45683 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45684 * misc/bits/syslog.h [__USE_BSD]: Likewise.
45685 * misc/search.h [__USE_SVID]: Likewise.
45686 * misc/sys/mman.h [__USE_BSD]: Likewise.
45687 * misc/sys/syslog.h [__USE_BSD]: Likewise.
45688 * misc/sys/uio.h [__USE_BSD]: Likewise.
45689 * posix/bits/unistd.h [__USE_BSD]: Likewise.
45690 * posix/glob.h [__USE_BSD]: Likewise.
45691 * posix/regex.h [__USE_BSD]: Likewise.
45692 * posix/sys/types.h [__USE_BSD]: Likewise.
45693 [__USE_SVID]: Likewise.
45694 * posix/sys/utsname.h [__USE_SVID]: Likewise.
45695 * posix/sys/wait.h [__USE_BSD]: Likewise.
45696 [__USE_SVID]: Likewise.
45697 * posix/unistd.h [__USE_BSD]: Likewise.
45698 [__USE_SVID]: Likewise.
45699 * pwd/pwd.h [__USE_SVID]: Likewise.
45700 * resolv/netdb.h [__USE_BSD]: Likewise.
45701 * setjmp/setjmp.h [__USE_BSD]: Likewise.
45702 * signal/signal.h [__USE_BSD]: Likewise.
45703 [__USE_SVID]: Likewise.
45704 * socket/sys/socket.h [__USE_BSD]: Likewise.
45705 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45706 * stdlib/stdlib.h [__USE_BSD]: Likewise.
45707 [__USE_SVID]: Likewise.
45708 * string/bits/string2.h [__USE_BSD]: Likewise.
45709 [__USE_SVID]: Likewise.
45710 * string/bits/string3.h [__USE_BSD]: Likewise.
45711 * string/endian.h [__USE_BSD]: Likewise.
45712 * string/string.h [__USE_SVID]: Likewise.
45713 [__USE_BSD]: Likewise.
45714 * string/strings.h [__USE_BSD]: Likewise.
45715 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45716 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45717 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45718 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45719 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45720 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45721 Likewise.
45722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45723 Likewise.
45724 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45725 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45726 Likewise.
45727 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45728 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45729 Likewise.
45730 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45731 Likewise.
45732 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45733 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45734 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45735 Likewise.
45736 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45737 Likewise.
45738 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45739 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45740 * termios/termios.h [__USE_BSD]: Likewise.
45741 * time/sys/time.h [__USE_BSD]: Likewise.
45742 * time/time.h [__USE_BSD]: Likewise.
45743 [__USE_SVID]: Likewise.
45744
45745 * Makefile (subdir_targets): Remove subdir_lint.out.
45746
45747 * stdio-common/Makefile (do-tst-unbputc): Remove target.
45748 (do-tst-printf): Likewise.
45749 (tests): Depend directly on $(objpfx)tst-unbputc.out and
45750 $(objpfx)tst-printf.out.
45751
45752 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45753
45754 * Makerules (check-abi-%): Change target to
45755 $(objpfx)check-abi-%.out.
45756 (check-abi target): Update dependencies.
45757 (check-abi-pattern variable): Redirect output of diff to $@.
45758 (check-abi variable): Likewise.
45759 * elf/Makefile (check-abi): Update dependencies.
45760
45761 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45762 unused.
45763 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45764 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45765 subnormal range.
45766 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45767 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45768 value has largest subnormal exponent.
45769 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45770 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45771 * sysdeps/aarch64/soft-fp/sfp-machine.h
45772 (_FP_TININESS_AFTER_ROUNDING): New macro.
45773 * sysdeps/alpha/soft-fp/sfp-machine.h
45774 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45775 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45776 Likewise.
45777 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45778 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45779 * sysdeps/mips/soft-fp/sfp-machine.h
45780 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45781 * sysdeps/powerpc/soft-fp/sfp-machine.h
45782 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45783 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45784 Likewise.
45785 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45786 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45787 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45788 (_FP_TININESS_AFTER_ROUNDING): Likewise.
45789 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45790 Likewise.
45791
45792 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
45793
45794 [BZ #16545]
45795 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45796 model 1.
45797
45798 2014-02-12 Richard Henderson <rth@redhat.com>
45799
45800 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45801 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45802 * sysdeps/unix/sysv/linux/alpha: Move directory from
45803 ports/sysdeps/unix/sysv/linux/alpha.
45804 * README: Update listing for alpha-*-linux-gnu.
45805
45806 2014-02-11 Joseph Myers <joseph@codesourcery.com>
45807
45808 * include/features.h: Update comment documenting feature test
45809 macros.
45810 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
45811 _DEFAULT_SOURCE.
45812 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45813 (_SVID_SOURCE): Likewise.
45814 (_DEFAULT_SOURCE): Update description of default features.
45815 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45816 with _GNU_SOURCE.
45817 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45818 (S_ISVTX): Likewise.
45819 * manual/math.texi (Mathematical Constants): Likewise.
45820 * manual/signal.texi (Interrupted Primitives): Likewise.
45821 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45822 * math/test-matherr.c (_SVID_SOURCE): Do not define.
45823 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45824 Don't refer to _SVID_SOURCE in warning text.
45825
45826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45827
45828 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45829 already defined.
45830 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45831 * sysdeps/mips/dl-lookup.c: Remove.
45832 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45833
45834 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
45835
45836 [BZ #16447]
45837 * math/auto-libm-test-in: Add testcase for expl.
45838 * math/auto-libm-test-out: Regenerate.
45839 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45840 calculation of unsafe.
45841 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45842
45843 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
45844
45845 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45846 * sysdeps/unix/sysv/linux/aarch64: Move directory from
45847 ports/sysdeps/unix/sysv/linux/aarch64.
45848 * README: Update listing for aarch64*-*-linux-gnu.
45849
45850 2014-02-11 Will Newton <will.newton@linaro.org>
45851
45852 * manual/probes.texi (Mathematical Function Probes): Use
45853 "triggered" instead of "hit".
45854
45855 * manual/probes.texi (Internal Probes): Add documentation
45856 of setjmp, longjmp and longjmp_target probes.
45857
45858 * include/stap-probe.h: Add comment about probe argument
45859 format.
45860
45861 * malloc/mtrace.c (attribute_hidden): Remove unused macro
45862 definition. (tr_where, tr_freehook, tr_mallochook,
45863 tr_reallochook, tr_memalignhook): Use ANSI protoype.
45864
45865 2014-02-11 David S. Miller <davem@davemloft.net>
45866
45867 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45868 processing int_tests.
45869
45870 2014-02-10 Joseph Myers <joseph@codesourcery.com>
45871
45872 * sysdeps/mips: Move directory from ports/sysdeps/mips.
45873 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45874 * sysdeps/unix/sysv/linux/mips: Move directory from
45875 ports/sysdeps/unix/sysv/linux/mips.
45876 * README: Update listing for mips-*-linux-gnu and
45877 mips64-*-linux-gnu.
45878
45879 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
45880
45881 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45882 * sysdeps/unix/sysv/linux/m68k: Move directory from
45883 ports/sysdeps/unix/sysv/linux/m68k.
45884 * README: Update listing for m68k-*-linux-gnu.
45885
45886 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
45887
45888 * sysdeps/tile: Move directory from ports/sysdeps/tile.
45889 * sysdeps/unix/sysv/linux/generic: Move directory from
45890 ports/sysdeps/unix/sysv/linux/generic.
45891 * sysdeps/unix/sysv/linux/tile: Move directory from
45892 ports/sysdeps/unix/sysv/linux/tile.
45893 * README: Update listing for tile*-*-linux-gnu.
45894
45895 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
45896
45897 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45898 __builtin_expect.
45899 * benchtests/bench-memmem.c (simple_memmem): Likewise.
45900 * catgets/open_catalog.c (__open_catalog): Likewise.
45901 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45902 * debug/confstr_chk.c: Likewise.
45903 * debug/fread_chk.c (__fread_chk): Likewise.
45904 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45905 * debug/getgroups_chk.c: Likewise.
45906 * debug/mbsnrtowcs_chk.c: Likewise.
45907 * debug/mbsrtowcs_chk.c: Likewise.
45908 * debug/mbstowcs_chk.c: Likewise.
45909 * debug/memcpy_chk.c: Likewise.
45910 * debug/memmove_chk.c: Likewise.
45911 * debug/mempcpy_chk.c: Likewise.
45912 * debug/memset_chk.c: Likewise.
45913 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45914 * debug/strcat_chk.c (__strcat_chk): Likewise.
45915 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
45916 * debug/strncat_chk.c (__strncat_chk): Likewise.
45917 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
45918 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
45919 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
45920 * debug/wcpncpy_chk.c: Likewise.
45921 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45922 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
45923 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
45924 * debug/wcsncpy_chk.c: Likewise.
45925 * debug/wcsnrtombs_chk.c: Likewise.
45926 * debug/wcsrtombs_chk.c: Likewise.
45927 * debug/wcstombs_chk.c: Likewise.
45928 * debug/wmemcpy_chk.c: Likewise.
45929 * debug/wmemmove_chk.c: Likewise.
45930 * debug/wmempcpy_chk.c: Likewise.
45931 * debug/wmemset_chk.c: Likewise.
45932 * dirent/scandirat.c (SCANDIRAT): Likewise.
45933 * dlfcn/dladdr1.c (dladdr1): Likewise.
45934 * dlfcn/dladdr.c (dladdr): Likewise.
45935 * dlfcn/dlclose.c (dlclose_doit): Likewise.
45936 * dlfcn/dlerror.c (__dlerror): Likewise.
45937 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
45938 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
45939 * dlfcn/dlopen.c (dlopen_doit): Likewise.
45940 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
45941 * dlfcn/dlsym.c (dlsym_doit): Likewise.
45942 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
45943 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
45944 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
45945 Likewise.
45946 * elf/dl-conflict.c: Likewise.
45947 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
45948 * elf/dl-dst.h: Likewise.
45949 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
45950 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
45951 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
45952 * elf/dl-init.c (call_init, _dl_init): Likewise.
45953 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
45954 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
45955 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
45956 Likewise.
45957 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
45958 Likewise.
45959 * elf/dl-minimal.c (__libc_memalign): Likewise.
45960 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
45961 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45962 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
45963 * elf/dl-sym.c (do_sym): Likewise.
45964 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
45965 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
45966 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
45967 * elf/dl-writev.h (_dl_writev): Likewise.
45968 * elf/ldconfig.c (search_dir): Likewise.
45969 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
45970 (dl_main): Likewise.
45971 * elf/setup-vdso.h (setup_vdso): Likewise.
45972 * grp/compat-initgroups.c (compat_call): Likewise.
45973 * grp/fgetgrent.c (fgetgrent): Likewise.
45974 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
45975 * grp/putgrent.c (putgrent): Likewise.
45976 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45977 Likewise.
45978 * hurd/hurdinit.c: Likewise.
45979 * iconvdata/8bit-gap.c (struct): Likewise.
45980 * iconvdata/ansi_x3.110.c : Likewise.
45981 * iconvdata/big5.c : Likewise.
45982 * iconvdata/big5hkscs.c : Likewise.
45983 * iconvdata/cp1255.c: Likewise.
45984 * iconvdata/cp1258.c : Likewise.
45985 * iconvdata/cp932.c : Likewise.
45986 * iconvdata/euc-cn.c: Likewise.
45987 * iconvdata/euc-jisx0213.c : Likewise.
45988 * iconvdata/euc-jp.c: Likewise.
45989 * iconvdata/euc-jp-ms.c : Likewise.
45990 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
45991 * iconvdata/gb18030.c : Likewise.
45992 * iconvdata/gbbig5.c (const): Likewise.
45993 * iconvdata/gbgbk.c: Likewise.
45994 * iconvdata/gbk.c : Likewise.
45995 * iconvdata/ibm1364.c : Likewise.
45996 * iconvdata/ibm930.c : Likewise.
45997 * iconvdata/ibm932.c: Likewise.
45998 * iconvdata/ibm933.c : Likewise.
45999 * iconvdata/ibm935.c : Likewise.
46000 * iconvdata/ibm937.c : Likewise.
46001 * iconvdata/ibm939.c : Likewise.
46002 * iconvdata/ibm943.c: Likewise.
46003 * iconvdata/iso_11548-1.c: Likewise.
46004 * iconvdata/iso-2022-cn.c : Likewise.
46005 * iconvdata/iso-2022-cn-ext.c : Likewise.
46006 * iconvdata/iso-2022-jp-3.c: Likewise.
46007 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46008 * iconvdata/iso-2022-kr.c : Likewise.
46009 * iconvdata/iso646.c (gconv_end): Likewise.
46010 * iconvdata/iso_6937-2.c : Likewise.
46011 * iconvdata/iso_6937.c : Likewise.
46012 * iconvdata/iso8859-1.c: Likewise.
46013 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46014 * iconvdata/shift_jisx0213.c : Likewise.
46015 * iconvdata/sjis.c : Likewise.
46016 * iconvdata/t.61.c : Likewise.
46017 * iconvdata/tcvn5712-1.c : Likewise.
46018 * iconvdata/tscii.c: Likewise.
46019 * iconvdata/uhc.c : Likewise.
46020 * iconvdata/unicode.c (gconv_end): Likewise.
46021 * iconvdata/utf-16.c (gconv_end): Likewise.
46022 * iconvdata/utf-32.c (gconv_end): Likewise.
46023 * iconvdata/utf-7.c (base64): Likewise.
46024 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46025 * iconv/gconv_close.c (__gconv_close): Likewise.
46026 * iconv/gconv_open.c (__gconv_open): Likewise.
46027 * iconv/gconv_simple.c (internal_ucs4_loop_single)
46028 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46029 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46030 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46031 (ucs4le_internal_loop_single): Likewise.
46032 * iconv/iconv.c (iconv): Likewise.
46033 * iconv/iconv_close.c: Likewise.
46034 * iconv/loop.c (SINGLE): Likewise.
46035 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46036 * include/atomic.h: Likewise.
46037 * inet/inet6_option.c (option_alloc): Likewise.
46038 * intl/bindtextdom.c (set_binding_values): Likewise.
46039 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46040 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46041 * intl/localealias.c (read_alias_file): Likewise.
46042 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46043 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46044 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46045 * libio/fmemopen.c (fmemopen): Likewise.
46046 * libio/iofgets.c (_IO_fgets): Likewise.
46047 * libio/iofgets_u.c (fgets_unlocked): Likewise.
46048 * libio/iofgetws.c (fgetws): Likewise.
46049 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46050 * libio/iogetdelim.c (_IO_getdelim): Likewise.
46051 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46052 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46053 * locale/findlocale.c (_nl_find_locale): Likewise.
46054 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46055 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46056 Likewise.
46057 * locale/setlocale.c (setlocale): Likewise.
46058 * login/programs/pt_chown.c (main): Likewise.
46059 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46060 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46061 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46062 (mmap, mmap64, mremap, munmap): Likewise.
46063 * math/e_exp2l.c: Likewise.
46064 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46065 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46066 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46067 * math/s_catan.c (__catan): Likewise.
46068 * math/s_catanf.c (__catanf): Likewise.
46069 * math/s_catanh.c (__catanh): Likewise.
46070 * math/s_catanhf.c (__catanhf): Likewise.
46071 * math/s_catanhl.c (__catanhl): Likewise.
46072 * math/s_catanl.c (__catanl): Likewise.
46073 * math/s_ccosh.c (__ccosh): Likewise.
46074 * math/s_ccoshf.c (__ccoshf): Likewise.
46075 * math/s_ccoshl.c (__ccoshl): Likewise.
46076 * math/s_cexp.c (__cexp): Likewise.
46077 * math/s_cexpf.c (__cexpf): Likewise.
46078 * math/s_cexpl.c (__cexpl): Likewise.
46079 * math/s_clog10.c (__clog10): Likewise.
46080 * math/s_clog10f.c (__clog10f): Likewise.
46081 * math/s_clog10l.c (__clog10l): Likewise.
46082 * math/s_clog.c (__clog): Likewise.
46083 * math/s_clogf.c (__clogf): Likewise.
46084 * math/s_clogl.c (__clogl): Likewise.
46085 * math/s_csin.c (__csin): Likewise.
46086 * math/s_csinf.c (__csinf): Likewise.
46087 * math/s_csinh.c (__csinh): Likewise.
46088 * math/s_csinhf.c (__csinhf): Likewise.
46089 * math/s_csinhl.c (__csinhl): Likewise.
46090 * math/s_csinl.c (__csinl): Likewise.
46091 * math/s_csqrt.c (__csqrt): Likewise.
46092 * math/s_csqrtf.c (__csqrtf): Likewise.
46093 * math/s_csqrtl.c (__csqrtl): Likewise.
46094 * math/s_ctan.c (__ctan): Likewise.
46095 * math/s_ctanf.c (__ctanf): Likewise.
46096 * math/s_ctanh.c (__ctanh): Likewise.
46097 * math/s_ctanhf.c (__ctanhf): Likewise.
46098 * math/s_ctanhl.c (__ctanhl): Likewise.
46099 * math/s_ctanl.c (__ctanl): Likewise.
46100 * math/w_pow.c: Likewise.
46101 * math/w_powf.c: Likewise.
46102 * math/w_powl.c: Likewise.
46103 * math/w_scalb.c (sysv_scalb): Likewise.
46104 * math/w_scalbf.c (sysv_scalbf): Likewise.
46105 * math/w_scalbl.c (sysv_scalbl): Likewise.
46106 * misc/error.c (error_tail): Likewise.
46107 * misc/pselect.c (__pselect): Likewise.
46108 * nis/nis_callback.c (__nis_create_callback): Likewise.
46109 * nis/nis_call.c (__nisfind_server): Likewise.
46110 * nis/nis_creategroup.c (nis_creategroup): Likewise.
46111 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46112 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46113 * nis/nis_getservlist.c (nis_getservlist): Likewise.
46114 * nis/nis_lookup.c (nis_lookup): Likewise.
46115 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46116 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46117 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46118 * nis/nis_xdr.c (xdr_endpoint): Likewise.
46119 * nis/nss_compat/compat-grp.c (getgrent_next_file)
46120 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46121 * nis/nss_compat/compat-initgroups.c (add_group)
46122 (internal_getgrent_r): Likewise.
46123 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46124 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46125 * nis/nss_compat/compat-spwd.c (getspent_next_file)
46126 (internal_getspnam_r): Likewise.
46127 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46128 (_nss_nis_getaliasbyname_r): Likewise.
46129 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46130 (_nss_nis_getntohost_r): Likewise.
46131 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46132 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46133 (_nss_nis_getgrgid_r): Likewise.
46134 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46135 (internal_nis_gethostent_r, internal_gethostbyname2_r)
46136 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46137 (_nss_nis_gethostbyname4_r): Likewise.
46138 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46139 (initgroups_netid): Likewise.
46140 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46141 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46142 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46143 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46144 (_nss_nis_getprotobynumber_r): Likewise.
46145 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46146 (_nss_nis_getsecretkey): Likewise.
46147 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46148 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46149 (_nss_nis_getpwuid_r): Likewise.
46150 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46151 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46152 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46153 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46154 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46155 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46156 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46157 Likewise.
46158 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46159 (_nss_nisplus_getntohost_r): Likewise.
46160 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46161 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46162 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46163 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46164 Likewise.
46165 * nis/nss_nisplus/nisplus-initgroups.c
46166 (_nss_nisplus_initgroups_dyn): Likewise.
46167 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46168 (_nss_nisplus_getnetbyaddr_r): Likewise.
46169 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46170 (_nss_nisplus_getprotobynumber_r): Likewise.
46171 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46172 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46173 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46174 Likewise.
46175 * nis/nss_nisplus/nisplus-service.c
46176 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46177 (_nss_nisplus_getservbyport_r): Likewise.
46178 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46179 (_nss_nisplus_getspnam_r): Likewise.
46180 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46181 Likewise.
46182 * nscd/aicache.c (addhstaiX): Likewise.
46183 * nscd/cache.c (cache_search, prune_cache): Likewise.
46184 * nscd/connections.c (register_traced_file, send_ro_fd)
46185 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46186 (main_loop_epoll): Likewise.
46187 * nscd/grpcache.c (addgrbyX): Likewise.
46188 * nscd/hstcache.c (addhstbyX): Likewise.
46189 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46190 * nscd/mem.c (gc, mempool_alloc): Likewise.
46191 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46192 (addinnetgrX): Likewise.
46193 * nscd/nscd-client.h (__nscd_acquire_maplock)
46194 (__nscd_drop_map_ref): Likewise.
46195 * nscd/nscd_getai.c (__nscd_getai): Likewise.
46196 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46197 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46198 Likewise.
46199 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46200 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46201 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46202 (__nscd_get_map_ref): Likewise.
46203 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46204 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46205 Likewise.
46206 * nscd/pwdcache.c (addpwbyX): Likewise.
46207 * nscd/selinux.c (preserve_capabilities): Likewise.
46208 * nscd/servicescache.c (addservbyX): Likewise.
46209 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46210 * posix/fnmatch.c (fnmatch): Likewise.
46211 * posix/getopt.c (_getopt_internal_r): Likewise.
46212 * posix/glob.c (glob, glob_in_dir): Likewise.
46213 * posix/wordexp.c (exec_comm_child): Likewise.
46214 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46215 (getanswer_r, gaih_getanswer_slice): Likewise.
46216 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46217 * resolv/res_init.c: Likewise.
46218 * resolv/res_mkquery.c (res_nmkquery): Likewise.
46219 * resolv/res_query.c (__libc_res_nquery): Likewise.
46220 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46221 Likewise.
46222 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46223 * stdio-common/perror.c (perror): Likewise.
46224 * stdio-common/printf_fp.c (___printf_fp): Likewise.
46225 * stdio-common/tmpnam.c (tmpnam): Likewise.
46226 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46227 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46228 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46229 Likewise.
46230 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46231 * stdlib/putenv.c (putenv): Likewise.
46232 * stdlib/setenv.c (__add_to_environ): Likewise.
46233 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46234 * stdlib/strtol_l.c (INTERNAL): Likewise.
46235 * string/memmem.c (memmem): Likewise.
46236 * string/strerror.c (strerror): Likewise.
46237 * string/strnlen.c (__strnlen): Likewise.
46238 * string/test-memmem.c (simple_memmem): Likewise.
46239 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46240 * sunrpc/pm_getport.c (__get_socket): Likewise.
46241 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46242 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46243 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46244 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46245 Likewise.
46246 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46247 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46248 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46249 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46250 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46251 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46252 Likewise.
46253 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46254 Likewise.
46255 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46256 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46257 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46258 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46259 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46261 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46262 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46263 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46264 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46265 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46266 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46267 Likewise.
46268 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46269 Likewise.
46270 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46271 Likewise.
46272 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46273 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46274 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46275 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46276 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46277 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46278 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46279 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46280 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46281 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46282 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46283 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46284 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46285 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46286 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46287 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46288 Likewise.
46289 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46290 Likewise.
46291 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46292 Likewise.
46293 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46294 Likewise.
46295 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46296 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46297 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46298 Likewise.
46299 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46300 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46301 * sysdeps/posix/opendir.c (__opendirat): Likewise.
46302 * sysdeps/posix/sleep.c: Likewise.
46303 * sysdeps/posix/tempname.c: Likewise.
46304 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46305 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46306 Likewise.
46307 * sysdeps/powerpc/powerpc32/dl-machine.h
46308 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46309 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46310 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46311 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46312 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46313 Likewise.
46314 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46315 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46316 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46317 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46318 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46319 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46320 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46321 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46322 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46323 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46324 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46325 (elf_machine_lazy_rel): Likewise.
46326 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46327 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46328 (elf_machine_lazy_rel): Likewise.
46329 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46330 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46331 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46332 * sysdeps/unix/grantpt.c (grantpt): Likewise.
46333 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46334 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46335 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46336 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46337 Likewise.
46338 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46339 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46340 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46341 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46342 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46343 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46344 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46345 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46346 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46347 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46348 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46349 Likewise.
46350 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46351 (__posix_fallocate64_l64): Likewise.
46352 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46353 (posix_fallocate): Likewise.
46354 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46355 Likewise.
46356 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46357 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46358 (getifaddrs_internal): Likewise.
46359 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46360 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46361 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46362 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46363 * sysdeps/unix/sysv/linux/posix_fallocate64.c
46364 (__posix_fallocate64_l64): Likewise.
46365 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46366 Likewise.
46367 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46368 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46369 (__get_clockfreq): Likewise.
46370 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46371 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46372 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46373 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46374 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46375 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46376 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46377 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46378 Likewise.
46379 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46380 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46381 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46382 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46383 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46384 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46385 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46386 Likewise.
46387 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46388 (posix_fallocate): Likewise.
46389 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46390 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46391 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46392 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46393 (elf_machine_rela, elf_machine_rela_relative)
46394 (elf_machine_lazy_rel): Likewise.
46395 * time/asctime.c (asctime_internal): Likewise.
46396 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46397 * time/tzset.c (__tzset_parse_tz): Likewise.
46398 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46399 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46400 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46401 * wcsmbs/wcsmbsload.h: Likewise.
46402
46403 [BZ #15894]
46404 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46405
46406 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46407 (arena_get2): Remove THREAD_STATS conditionals.
46408 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46409 (__malloc_stats, int): Likewise.
46410
46411 2014-02-08 Mike Frysinger <vapier@gentoo.org>
46412
46413 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46414 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
46415
46416 * manual/setjmp.texi: Fix typos/grammar errors.
46417
46418 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46419 Only return early when n is <= 0. Delete unused return statement.
46420
46421 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46422 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46423 * debug/tst-longjmp_chk3.c: New file.
46424
46425 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46426 (test_main): Replace code with set_fortify_handler call.
46427 * debug/test-strcpy_chk.c: Likewise.
46428 * debug/tst-chk1.c: Likewise.
46429 * debug/tst-longjmp_chk.c: Likewise.
46430 * test-skeleton.c: Include fcntl.h & paths.h
46431 (set_fortify_handler): Define.
46432
46433 * debug/tst-longjmp_chk.c: Add header comment and include
46434 ../test-skeleton.c.
46435 (do_test): Mark static.
46436 (TEST_FUNCTION): Define.
46437
46438 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46439 (IP_PMTUDISC_INTERFACE): Likewise.
46440 (IP_MULTICAST_IF): Likewise.
46441 (IP_MULTICAST_TTL): Likewise.
46442 (IP_MULTICAST_LOOP): Likewise.
46443 (IP_ADD_MEMBERSHIP): Likewise.
46444 (IP_DROP_MEMBERSHIP): Likewise.
46445 (IP_UNBLOCK_SOURCE): Likewise.
46446 (IP_BLOCK_SOURCE): Likewise.
46447 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46448 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46449 (IP_MSFILTER): Likewise.
46450 (MCAST_JOIN_GROUP): Likewise.
46451 (MCAST_BLOCK_SOURCE): Likewise.
46452 (MCAST_UNBLOCK_SOURCE): Likewise.
46453 (MCAST_LEAVE_GROUP): Likewise.
46454 (MCAST_JOIN_SOURCE_GROUP): Likewise.
46455 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46456 (MCAST_MSFILTER): Likewise.
46457 (IP_MULTICAST_ALL): Likewise.
46458 (IP_UNICAST_IF): Likewise.
46459
46460 * timezone/Makefile: Delete $(have-ksh) check.
46461 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46462 * timezone/tzselect.ksh: Add +x mode bits.
46463
46464 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46465 (ANON_INODE_FS_MAGIC): Likewise.
46466 (BDEVFS_MAGIC): Likewise.
46467 (BINFMTFS_MAGIC): Likewise.
46468 (BTRFS_TEST_MAGIC): Likewise.
46469 (CRAMFS_MAGIC_WEND): Likewise.
46470 (DEBUGFS_MAGIC): Likewise.
46471 (ECRYPTFS_SUPER_MAGIC): Likewise.
46472 (EXT3_SUPER_MAGIC): Likewise.
46473 (EXT4_SUPER_MAGIC): Likewise.
46474 (FUTEXFS_SUPER_MAGIC): Likewise.
46475 (HOSTFS_SUPER_MAGIC): Likewise.
46476 (HUGETLBFS_MAGIC): Likewise.
46477 (MINIX3_SUPER_MAGIC): Likewise.
46478 (MTD_INODE_FS_MAGIC): Likewise.
46479 (NILFS_SUPER_MAGIC): Likewise.
46480 (OPENPROM_SUPER_MAGIC): Likewise.
46481 (PIPEFS_MAGIC): Likewise.
46482 (PSTOREFS_MAGIC): Likewise.
46483 (QNX6_SUPER_MAGIC): Likewise.
46484 (RAMFS_MAGIC): Likewise.
46485 (REISERFS_SUPER_MAGIC_STRING): Likewise.
46486 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46487 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46488 (SECURITYFS_MAGIC): Likewise.
46489 (SELINUX_MAGIC): Likewise.
46490 (SMACK_MAGIC): Likewise.
46491 (SOCKFS_MAGIC): Likewise.
46492 (SQUASHFS_MAGIC): Likewise.
46493 (STACK_END_MAGIC): Likewise.
46494 (TMPFS_MAGIC): Likewise.
46495 (USBDEVICE_SUPER_MAGIC): Likewise.
46496 (V9FS_MAGIC): Likewise.
46497 (XENFS_SUPER_MAGIC): Likewise.
46498 (CRAMFS_MAGIC): Fix typo in comment.
46499 (EXT2_SUPER_MAGIC): Update comment.
46500 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46501
46502 2014-02-08 Joseph Myers <joseph@codesourcery.com>
46503
46504 * sysdeps/arm: Move directory from ports/sysdeps/arm.
46505 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46506 * sysdeps/unix/sysv/linux/arm: Move directory from
46507 ports/sysdeps/unix/sysv/linux/arm.
46508 * README: Update listing for arm-*-linux-gnueabi.
46509
46510 * README: Remove mention of am33.
46511
46512 2014-02-07 Roland McGrath <roland@hack.frob.com>
46513
46514 * bits/sigset.h (__sigemptyset): Use a statement expression rather
46515 than the comma operator, to avoid "rhs of comma has no effect"
46516 compiler warnings.
46517 (__sigfillset, __sigandset, __sigorset): Likewise.
46518 * include/signal.h (__sigemptyset): Likewise.
46519 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46520
46521 2014-02-07 Allan McRae <allan@archlinux.org>
46522
46523 * version.h (RELEASE): Set to "development".
46524 (VERSION): Set to "2.19.90"
46525 * NEWS: Add 2.20 section.
46526
46527 2014-02-06 Carlos O'Donell <carlos@redhat.com>
46528
46529 [BZ #16529]
46530 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46531
46532 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
46533
46534 * manual/contrib.texi: Update entry for Carlos O'Donell,
46535 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46536
46537 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
46538
46539 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46540
46541 * sysdeps/unix/sysv/linux/kernel-features.h
46542 [__LINUX_KERNEL_VERSION >= 0x020621]
46543 (__ASSUME_PROC_PID_TASK_COMM): Define.
46544
46545 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46546
46547 [BZ #16398]
46548 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46549 conversion when destination buffer does not have enough space.
46550 * libio/tst-ftell-partial-wide.c: New test case.
46551 * libio/Makefile (tests): Add tst-ftell-partial-wide.
46552
46553 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46554 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
46555 Leonard and Allan McRae.
46556
46557 2014-02-04 David S. Miller <davem@davemloft.net>
46558
46559 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46560 32-bit.
46561
46562 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46563
46564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46565 New file
46566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46567 New file
46568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46569 New file.
46570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46571 New file.
46572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46573 New file.
46574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46575 New file.
46576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46577 New file.
46578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46579 New file.
46580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46581 New file.
46582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46583 New file.
46584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46585 New file.
46586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46587 New file.
46588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46589 New file.
46590
46591 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46592
46593 * nptl/shlib-versions: Change powerpc*le start to 2.17.
46594 * shlib-versions: Likewise.
46595
46596 2014-02-04 Roland McGrath <roland@hack.frob.com>
46597 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46598
46599 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46600 (abilist-pattern): New variable, set to %-le.abilist.
46601
46602 * Makerules (abilist-pattern): New variable.
46603 (vpath): Use $(abilist-pattern) in place of %.abilist.
46604 (check-abi-% pattern rule): Likewise.
46605 (check-abi, update-abi): Likewise.
46606
46607 2014-02-04 Eric Wong <normalperson@yhbt.net>
46608
46609 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46610
46611 2014-02-03 Carlos O'Donell <carlos@redhat.com>
46612
46613 * manual/startup.texi: Add next, previous, and top entries for
46614 the `Program Arguments' and `Environment Variables' nodes.
46615
46616 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
46617
46618 * manual/macros.texi: Add comments before MTASC-safety macros.
46619
46620 * manual/users.texi: Document MTASC-safety properties.
46621
46622 * manual/threads.texi (pthread_key_create, pthread_key_delete)
46623 (pthread_getspecific, pthread_setspecific): Format with
46624 @deftypefun, and add @safety note.
46625 * manual/signal.texi: Move comments that analyze the above
46626 functions to their home place.
46627
46628 2014-02-03 Allan McRae <allan@archlinux.org>
46629
46630 * po/sl.po: Update Slovenian translation from translation project.
46631
46632 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
46633
46634 * manual/time.texi (timegm): Add missing blank after @c.
46635 Reported by Joseph Myers <joseph@codesourcery.com>.
46636
46637 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
46638
46639 * manual/check-safety.sh: New.
46640 * manual/Makefile ($(objpfx)stamp-summary): Run it.
46641
46642 * manual/terminal.texi: Document MTASC-safety properties.
46643
46644 * manual/filesys.texi: Document MTASC-safety properties.
46645
46646 * manual/errno.texi: Document MTASC-safety properties.
46647
46648 * manual/intro.texi: Document safety identifiers and
46649 conditionals.
46650
46651 * manual/string.texi (wcstok): Fix prototype.
46652 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46653
46654 * manual/time.texi: Document MTASC-safety properties.
46655
46656 * manual/string.texi: Document MTASC-safety properties.
46657
46658 * manual/threads.texi: Document MTASC-safety properties.
46659
46660 * manual/stdio.texi: Document MTASC-safety properties.
46661
46662 * manual/syslog.texi: Document MTASC-safety properties.
46663
46664 * manual/sysinfo.texi: Document MTASC-safety properties.
46665
46666 * manual/startup.texi: Document MTASC-safety properties.
46667
46668 * manual/socket.texi: Document MTASC-safety properties.
46669
46670 * manual/signal.texi: Document MTASC-safety properties.
46671
46672 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
46673
46674 * manual/setjmp.texi: Document MTASC-safety properties.
46675
46676 * manual/search.texi: Document MTASC-safety properties.
46677
46678 * manual/resource.texi: Document MTASC-safety properties.
46679
46680 * manual/process.texi: Document MTASC-safety properties.
46681
46682 * manual/platform.texi: Document MTASC-safety properties.
46683
46684 * manual/pipe.texi: Document MTASC-safety properties.
46685
46686 * manual/pattern.texi: Document MTASC-safety properties.
46687
46688 * manual/message.texi: Document MTASC-safety properties.
46689
46690 [BZ #12751]
46691 * manual/memory.texi: Document MTASC-safety properties.
46692
46693 * manual/math.texi: Document MTASC-safety properties.
46694
46695 * manual/locale.texi: Document MTASC-safety properties.
46696
46697 * manual/llio.texi: Document MTASC-safety properties.
46698
46699 * manual/libdl.texi: New.
46700
46701 * manual/lang.texi: Document MTASC-safety properties.
46702
46703 * manual/job.texi: Document MTASC-safety properties.
46704
46705 * manual/getopt.texi: Document MTASC-safety properties.
46706
46707 * manual/ctype.texi: Document MTASC-safety properties.
46708
46709 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
46710
46711 [BZ #16046]
46712 * csu/libc-tls.c (static_map): Remove variable.
46713 (__libc_setup_tls): Use main executable's link map for TLS data.
46714 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46715 casing for LM_ID_BASE and GL(dl_nns).
46716 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46717 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
46718 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46719 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46720 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46721 member.
46722 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46723 l_phnum members.
46724
46725 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
46726
46727 * manual/debug.texi: Document MTASC-safety properties.
46728
46729 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
46730
46731 [BZ #16510]
46732 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46733 of __x86_64__ when disabling x87 inline functions.
46734
46735 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
46736
46737 * manual/charset.texi: Document MTASC-safety properties.
46738
46739 * manual/crypt.texi: Document MTASC-safety properties.
46740
46741 * manual/conf.texi: Document MTASC-safety properties.
46742
46743 * manual/arith.texi: Document MTASC-safety properties.
46744
46745 * manual/argp.texi: Document MTASC-safety properties.
46746
46747 * manual/macros.texi: Introduce macros to document multi
46748 thread, asynchronous signal and asynchronous cancellation
46749 safety properties.
46750 * manual/intro.texi: Introduce the properties themselves.
46751
46752 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46753
46754 * sysdeps/sh/sh4/Makefile: New file.
46755
46756 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
46757
46758 * math/gen-libm-test.pl ($srcdir): New variable.
46759 ($auto_input): Use it.
46760
46761 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46762
46763 [BZ #16506]
46764 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46765 access beyond array bounds when parsing netgroups file.
46766
46767 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46768 the old buffer before realloc.
46769
46770 2014-01-27 Allan McRae <allan@archlinux.org>
46771
46772 * po/fr.po: Update French translation from translation project.
46773
46774 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46775
46776 * sysdeps/sh/libm-test-ulps: Regenerate.
46777
46778 2014-01-24 David S. Miller <davem@davemloft.net>
46779
46780 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46781
46782 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46783
46784 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46785 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46786
46787 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
46788
46789 [BZ #16474]
46790 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46791 string pointers after reallocation.
46792
46793 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46794
46795 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46796 __SH4A__ instead of __SH_FPU_ANY__.
46797
46798 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46799
46800 * sysdeps/sh/fpu_control.h: New file.
46801 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46802 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46803 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46804 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46805 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46806 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46807 * sysdeps/sh/sys/ucontext.h: Remove.
46808 * sysdeps/sh/sys: Remove directory.
46809
46810 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46811
46812 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46813 s390/sys/ucontext.h.
46814 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46815 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46816
46817 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
46818
46819 [BZ #15605]
46820 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46821
46822 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46823
46824 [BZ#16431]
46825 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46826 Adjust the vDSO correctly for internal calls.
46827 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46828
46829 2014-01-20 Allan McRae <allan@archlinux.org>
46830
46831 * po/ca.po: Update Catalan translation from translation project.
46832
46833 2014-01-16 Mike Frysinger <vapier@gentoo.org>
46834
46835 * sysdeps/s390/sotruss-lib.c: New file.
46836
46837 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46838
46839 [BZ#16430]
46840 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46841 (__GI___gettimeofday): Alias for a different internal symbol to avoid
46842 local calls issues by not having a PLT stub required for IFUNC calls.
46843 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46844
46845 2014-01-16 Joseph Myers <joseph@codesourcery.com>
46846
46847 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46848 * math/test-fpucw-static.c: Likewise.
46849
46850 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
46851
46852 [BZ #16453]
46853 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46854
46855 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46856
46857 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46858 implementation for powerpc.
46859
46860 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
46861
46862 [BZ #14782]
46863 * sysdeps/posix/system.c (__libc_system): Do not enable
46864 asynchronous cancellation.
46865
46866 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46867
46868 [BZ #16427]
46869 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46870 handling only for numbers special also in the IEEE case.
46871
46872 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46873
46874 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46875
46876 2014-01-11 Allan McRae <allan@archlinux.org>
46877
46878 * po/bg.po: Update Bulgarian translation from translation project.
46879
46880 * po/de.po: Update German translation from translation project.
46881
46882 2014-01-10 Roland McGrath <roland@hack.frob.com>
46883
46884 * sysdeps/generic/gcc-compat.h: New file.
46885
46886 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46887
46888 * benchtests/asin-inputs: Correct slow inputs.
46889 * benchtests/acos-inputs: Likewise.
46890
46891 2014-01-10 Allan McRae <allan@archlinux.org>
46892
46893 * po:sv.po: Update Swedish translation from translation project.
46894
46895 * po/vi.po: Update Vietnamese translation from translation project.
46896
46897 * po/eo.po: Update Esperanto translation from translation project.
46898
46899 * po/cs.po: Update Czech translation from translation project.
46900
46901 * po/nl.po: Update Dutch translation from translation project.
46902
46903 * po/pl.po: Update Polish translation from translation project.
46904
46905 * po/ru.po: Update Russian translation from translation project.
46906
46907 * po/uk.po: Update Ukrainian translation from translation project.
46908
46909 2014-01-08 Brooks Moses <bmoses@google.com>
46910
46911 * elf/dl-load.c: Fix comment typo.
46912
46913 2014-01-08 Carlos O'Donell <carlos@redhat.com>
46914
46915 * po/header.pot: Rename to...
46916 * po/pot.header: ... this.
46917 * po/Makefile: Use pot.header.
46918
46919 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
46920 Maxim Kuvyrkov <maxim@kugelworks.com>
46921
46922 [BZ #16394]
46923 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
46924 SRC and DEST against LEN.
46925
46926 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46927
46928 [BZ #16414]
46929 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
46930 implementation.
46931 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
46932
46933 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46934
46935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46936
46937 2014-01-08 Joseph Myers <joseph@codesourcery.com>
46938
46939 [BZ #16408]
46940 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
46941 for large positive arguments.
46942
46943 2014-01-07 Joseph Myers <joseph@codesourcery.com>
46944
46945 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46946
46947 * math/auto-libm-test-in: Mark various tests with
46948 xfail-rounding:ldbl-128ibm.
46949 * math/auto-libm-test-out: Regenerated.
46950
46951 [BZ #16407]
46952 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46953 Increase overflow threshold.
46954
46955 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
46956
46957 [BZ #14286]
46958 * stdio-common/vfprintf.c: Check for integer overflow.
46959
46960 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46961
46962 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
46963 the first argument and return value of __tls_get_addr_internal.
46964
46965 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46966
46967 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
46968 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
46969
46970 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46971
46972 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
46973 * sysdeps/s390/rtld-global-offsets.sym: New file.
46974 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
46975 GLIBC_2.19 symbol.
46976 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
46977 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
46978 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46979 ... this.
46980 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
46981 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46982 ... this.
46983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
46984 Regenerate.
46985 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
46986 Regenerate.
46987 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
46988 halfs of GPRs for high_gprs contexts.
46989 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
46990 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
46991 field.
46992 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
46993 uc_flags field.
46994 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
46995 64 bit versions:
46996 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
46997 for high GPRs (uc_high_gprs) and for future extensions
46998 (__reserved).
46999 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47000 for future extensions (__reserved).
47001 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47002 64 bit versions:
47003 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47004 SC_HIGHGPRS offset definition.
47005 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47006 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47007
47008 * Versions.def: Add GLIBC_2.19 for libpthread.
47009 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47010 siglongjmp for libpthread with GLIBC_2.19 symver.
47011 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47012 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47013 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47014 * sysdeps/s390/__longjmp.c: New file.
47015 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47016 * sysdeps/s390/longjmp.c: New file.
47017 * sysdeps/s390/setjmp.S: New file.
47018 * sysdeps/s390/sigjmp.S: New file.
47019 * sysdeps/s390/v1-longjmp.c: New file.
47020 * sysdeps/s390/v1-setjmp.h: New file.
47021 * sysdeps/s390/v1-sigjmp.c: New file.
47022 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47023 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47024 GLIBC_2.19 version.
47025 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47026 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47027 versioned symbols for ____longjmp_chk.
47028 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47029 Likewise.
47030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47031 Regenerate.
47032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47033 Regenerate.
47034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47035 Regenerate.
47036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47037 Regenerate.
47038 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47039 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47040 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47041 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47042 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47043 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47044 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47045 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47046 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47047 * sysdeps/s390/rtld-__longjmp.c: New file.
47048 * sysdeps/s390/rtld-setjmp.S: New file.
47049
47050 2014-01-06 Joseph Myers <joseph@codesourcery.com>
47051
47052 [BZ #16400]
47053 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47054 Return -__logl (x) for small positive arguments without evaluating
47055 a polynomial.
47056
47057 2014-01-06 Mike Frysinger <vapier@gentoo.org>
47058
47059 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47060 Rename to ...
47061 (__ptrace_peeksiginfo_args): ... this.
47062 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47064 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47065
47066 2014-01-06 Allan McRae <allan@archlinux.org>
47067
47068 * inet/netinet/in.h: Fix typo in comment.
47069
47070 2014-01-05 Andreas Jaeger <aj@suse.de>
47071
47072 * sysdeps/i386/fpu/libm-test-ulps: Update.
47073
47074 2014-01-05 Allan McRae <allan@archlinux.org>
47075
47076 * po/libc.pot: Regenerated.
47077
47078 * malloc/memusagestat.c: Fix gettext call formatting.
47079
47080 2014-01-04 Sami Kerola <kerolasa@iki.fi>
47081
47082 * nscd/nscd.c: Improve usage() output.
47083
47084 2014-01-04 Mike Frysinger <vapier@gentoo.org>
47085
47086 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47087 * sysdeps/unix/sysv/linux/configure: Regenerated.
47088 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47089 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47090
47091 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47092
47093 [BZ #16390]
47094 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47095 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47096
47097 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47098
47099 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47100 extra tokens at end of #undef directive.
47101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47102 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47103 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47104
47105 2014-01-03 Joseph Myers <joseph@codesourcery.com>
47106
47107 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47108
47109 * math/auto-libm-test-in: Mark various tests with
47110 xfail-rounding:ldbl-128ibm.
47111 * math/auto-libm-test-out: Regenerated.
47112
47113 2014-01-02 Joseph Myers <joseph@codesourcery.com>
47114
47115 [BZ #16386]
47116 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47117 numbers with subnormal high part when calculating exponent.
47118
47119 [BZ #16385]
47120 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47121 fabs.
47122
47123 [BZ #16384]
47124 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47125 M_LN2l.
47126 (__ieee754_acoshl): Use __log1pl not __log1p.
47127
47128 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
47129
47130 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47131 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47132 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47133 (grow_heap, heap_trim, _int_new_arena, get_free_list)
47134 (reused_arena, arena_get2): Convert to GNU style.
47135 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47136 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47137 (memalign_check, __malloc_set_state): Likewise.
47138 * malloc/mallocbug.c (main): Likewise.
47139 * malloc/malloc.c (__malloc_assert, malloc_init_state)
47140 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47141 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47142 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47143 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47144 (__posix_memalign, malloc_info): Likewise.
47145 * malloc/malloc.h: Likewise.
47146 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47147 (mallochook, memalignhook, reallochook, mabort): Likewise.
47148 * malloc/mcheck.h: Likewise.
47149 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47150 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47151 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47152 * malloc/morecore.c (__default_morecore): Likewise.
47153 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47154 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47155 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47156 (print_and_abort): Likewise.
47157 * malloc/obstack.h: Likewise.
47158 * malloc/set-freeres.c (__libc_freeres): Likewise.
47159 * malloc/tst-mallocstate.c (main): Likewise.
47160 * malloc/tst-mtrace.c (main): Likewise.
47161 * malloc/tst-realloc.c (do_test): Likewise.
47162
47163 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
47164
47165 [BZ #16366]
47166 * nscd/netgroupcache.c (do_notfound): New function.
47167 (addgetnetgrentX): Use it.
47168
47169 [BZ # 16365]
47170 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47171 NSS_STATUS_NOTFOUND.
47172
47173 2014-01-01 Joseph Myers <joseph@codesourcery.com>
47174
47175 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47177
47178 2014-01-01 Allan McRae <allan@archlinux.org>
47179
47180 * scripts/update-copyrights: Update configure input file suffix.
47181
47182 * NEWS: Update copyright year.
47183 * catgets/gencat.c: Likewise.
47184 * csu/version.c: Likewise.
47185 * debug/catchsegv.sh: Likewise.
47186 * debug/pcprofiledump.c: Likewise.
47187 * debug/xtrace.sh: Likewise.
47188 * elf/ldconfig.c: Likewise.
47189 * elf/ldd.bash.in: Likewise.
47190 * elf/pldd.c: Likewise.
47191 * elf/sotruss.ksh: Likewise.
47192 * elf/sprof.c: Likewise.
47193 * iconv/iconv_prog.c: Likewise.
47194 * iconv/iconvconfig.c: Likewise.
47195 * locale/programs/locale.c: Likewise.
47196 * locale/programs/localedef.c: Likewise.
47197 * login/programs/pt_chown.c: Likewise.
47198 * malloc/memusage.sh: Likewise.
47199 * malloc/memusagestat.c: Likewise.
47200 * malloc/mtrace.pl: Likewise.
47201 * manual/libc.texinfo: Likewise.
47202 * nscd/nscd.c: Likewise.
47203 * nss/getent.c: Likewise.
47204 * nss/makedb.c: Likewise.
47205 * posix/getconf.c: Likewise.
47206 * scripts/test-installation.pl: Likewise.
47207
47208 * All files with FSF copyright notices: Update copyright dates
47209 using scripts/update-copyrights.
47210 * intl/plural.c: Regenerated.
47211 * locale/programs/charmap-kw.h: Likewise.
47212 * locale/programs/locfile-kw.h: Likewise.
47213
47214 2013-12-31 Mike Frysinger <vapier@gentoo.org>
47215
47216 * sysdeps/unix/sysv/linux/configure: Regenerated.
47217 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47218 the linux/fanotify.h header.
47219 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47220 HAVE_LINUX_FANOTIFY_H is defined.
47221
47222 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47223
47224 * benchtests/cos-inputs: New inputs.
47225 * benchtests/sin-inputs: Likewise.
47226
47227 * benchtests/atan-inputs: New inputs. Fix name of multiple
47228 precision fallback inputs.
47229
47230 * benchtests/atanh-inputs: New inputs.
47231 * benchtests/tanh-inputs: Likewise.
47232
47233 * benchtests/acosh-inputs: New inputs.
47234 * benchtests/asinh-inputs: Likewise.
47235
47236 * benchtests/cosh-inputs: New inputs.
47237 * benchtests/sinh-inputs: Likewise.
47238
47239 * benchtests/acos-inputs: Add more inputs.
47240 * benchtests/asin-inputs: Likewise.
47241
47242 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
47243
47244 [BZ #16375]
47245 * manual/arith.texi: Fix spelling.
47246 * manual/charset.texi: Likewise.
47247 * manual/errno.texi: Likewise.
47248 * manual/filesys.texi: Likewise.
47249 * manual/lang.texi: Likewise.
47250 * manual/llio.texi: Likewise.
47251 * manual/locale.texi: Likewise.
47252 * manual/message.texi: Likewise.
47253 * manual/resource.texi: Likewise.
47254 * manual/search.texi: Likewise.
47255 * manual/setjmp.texi: Likewise.
47256 * manual/stdio.texi: Likewise.
47257 * manual/string.texi: Likewise.
47258 * manual/sysinfo.texi: Likewise.
47259 * manual/time.texi: Likewise.
47260
47261 2013-12-27 Carlos O'Donell <carlos@redhat.com>
47262
47263 * po/sl.po: New file.
47264
47265 2013-12-27 Mike Frysinger <vapier@gentoo.org>
47266
47267 * .gitignore: Add core/.gdbinit/.gdb_history.
47268
47269 2013-12-27 Allan McRae <allan@archlinux.org>
47270
47271 [BZ #16369]
47272 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47273 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47274
47275 2013-12-24 Brooks Moses <bmoses@google.com>
47276
47277 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47278 all compilers that claim C++98 compliance, not just GCC.
47279 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47280 Likewise.
47281
47282 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47283
47284 * NEWS: Restore accidentally deleted bug-fix entries.
47285
47286 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
47287 Ondřej Bílka <neleai@seznam.cz>
47288
47289 [BZ #15073]
47290 * malloc/malloc.c (_int_free): Perform sanity check only if we
47291 have_lock.
47292
47293 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
47294
47295 [BZ #12986]
47296 * manual/stdio.texi (String Input Conversions): Clarify that character
47297 classes are not supported.
47298
47299 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47300
47301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47302
47303 2013-12-22 Joseph Myers <joseph@codesourcery.com>
47304
47305 [BZ #16337]
47306 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47307 Calculate results for small negative arguments directly rather
47308 than using reflection formula with special underflow handling.
47309
47310 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47311 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47312 sysdeps/unix/bsd/bsd4.4/syscalls.list.
47313 (fchflags): Likewise.
47314 (revoke): Likewise.
47315 (setlogin): Likewise.
47316 (sigaltstack): Likewise.
47317 (wait4): Likewise.
47318 (sigblock): Remove.
47319 (sigsetmask): Likewise.
47320 (wait3): Likewise.
47321 (waitpid): Likewise.
47322 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47323 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47324 file.
47325 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47326 * sysdeps/unix/bsd/Makefile: ... here.
47327 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47328 * sysdeps/unix/bsd/Versions: ... here.
47329 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47330 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47331 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47332 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47333 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47334 * sysdeps/unix/bsd/sigblock.c: ... here.
47335 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47336 * sysdeps/unix/bsd/sigsetmask.c: ... here.
47337 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47338 * sysdeps/unix/bsd/sigvec.c: ... here.
47339 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47340 * sysdeps/unix/bsd/tcdrain.c: ... here.
47341 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47342 * sysdeps/unix/bsd/tcgetattr.c: ... here.
47343 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47344 * sysdeps/unix/bsd/tcsetattr.c: ... here.
47345 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47346 * sysdeps/unix/bsd/wait.c: ... here.
47347 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47348 * sysdeps/unix/bsd/wait3.c: ... here.
47349 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47350 * sysdeps/unix/bsd/waitpid.c: ... here.
47351
47352 2013-12-21 Joseph Myers <joseph@codesourcery.com>
47353
47354 [BZ #16356]
47355 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47356 round-to-nearest for [!USE_AS_EXPM1L].
47357 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47358 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
47359 more tests of exp and exp10. Expect some exp10 tests to miss
47360 exceptions or fail in directed rounding modes.
47361 * math/auto-libm-test-out: Regenerated.
47362 * math/libm-test.inc (exp10_tonearest_test_data): New array.
47363 (exp10_test_tonearest): New function.
47364 (exp10_towardzero_test_data): New array.
47365 (exp10_test_towardzero): New function.
47366 (exp10_downward_test_data): New array.
47367 (exp10_test_downward): New function.
47368 (exp10_upward_test_data): New array.
47369 (exp10_test_upward): New function.
47370 (main): Call the new functions.
47371 * sysdeps/i386/fpu/libm-test-ulps: Update.
47372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47373
47374 2013-12-20 Joseph Myers <joseph@codesourcery.com>
47375
47376 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47377 asinh, atan, atan2, atanh, cbrt, cos and cosh.
47378 * math/auto-libm-test-out: Regenerated.
47379 * math/libm-test.inc (acosh_test_data): Add more tests.
47380 (atanh_test_data): Likewise.
47381 (ceil_test_data): Likewise.
47382 (copysign_test_data): Likewise.
47383 * sysdeps/i386/fpu/libm-test-ulps: Update.
47384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47385
47386 * timezone/checktab.awk: Update from tzcode 2013i.
47387 * timezone/private.h: Likewise.
47388 * timezone/scheck.c: Likewise.
47389 * timezone/tzfile.h: Likewise.
47390 * timezone/tzselect.ksh: Likewise.
47391 * timezone/zdump.c: Likewise.
47392 * timezone/zic.c: Likewise.
47393
47394 * math/auto-libm-test-in: Add tests of cpow.
47395 * math/auto-libm-test-out: Regenerated.
47396 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47397 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47398 mpc_cc_c.
47399 (func_calc_desc): Add mpc_cc_c union field.
47400 (test_functions): Add cpow.
47401 (special_fill_2pi): New function.
47402 (special_real_inputs): Add 2pi.
47403 (calc_generic_results): Handle mpc_cc_c.
47404 * sysdeps/i386/fpu/libm-test-ulps: Update.
47405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47406
47407 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47408 csqrt, ctan and ctanh.
47409 * math/auto-libm-test-out: Regenerated.
47410 * math/libm-test.inc (TEST_COND_x86_64): New macro.
47411 (TEST_COND_x86): Likewise.
47412 (ccos_test_data): Use AUTO_TESTS_c_c.
47413 (ccosh_test_data): Likewise.
47414 (cexp_test_data): Likewise.
47415 (clog_test_data): Likewise.
47416 (csqrt_test_data): Likewise.
47417 (ctan_test_data): Likewise.
47418 (ctan_tonearest_test_data): Likewise.
47419 (ctan_towardzero_test_data): Likewise.
47420 (ctan_downward_test_data): Likewise.
47421 (ctan_upward_test_data): Likewise.
47422 (ctanh_test_data): Likewise.
47423 (ctanh_tonearest_test_data): Likewise.
47424 (ctanh_towardzero_test_data): Likewise.
47425 (ctanh_downward_test_data): Likewise.
47426 (ctanh_upward_test_data): Likewise.
47427 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47428 mpc_c_c.
47429 (func_calc_desc): Add mpc_c_c union field.
47430 (FUNC_mpc_c_c): New macro.
47431 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47432 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47433 ctanh.
47434 (special_fill_min_subnorm_p120): New function.
47435 (special_real_inputs): Add min_subnorm_p120.
47436 (calc_generic_results): Handle mpc_c_c.
47437 * sysdeps/i386/fpu/libm-test-ulps: Update.
47438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47439
47440 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
47441
47442 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47443 (do_sin_slow): New functions.
47444 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47445 (cslow2, csloww1, csloww2): Use the new functions.
47446
47447 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47448 Use M to change sign of result instead of X. Assume X is
47449 positive.
47450 (csloww1): Likewise.
47451 (__sin): Adjust.
47452 (__cos): Adjust.
47453
47454 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47455 arguments A and DA.
47456 (__sin): Adjust.
47457 (__cos): Likewise.
47458
47459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47460 (__cos): Likewise.
47461 (sloww1): Don't adjust sign of DX.
47462 (csloww1): Likewise.
47463 (sloww2): Use X directly and don't adjust sign of DX.
47464 (csloww2): Likewise.
47465
47466 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47467
47468 * math/auto-libm-test-in: Add tests of cabs and carg.
47469 * math/auto-libm-test-out: Regenerated.
47470 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47471 (carg_test_data): Likewise.
47472 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47473 mpc_c_f.
47474 (func_calc_desc): Add mpc_c_f union field.
47475 (test_functions): Add cabs and carg.
47476 (calc_generic_results): Handle mpc_c_f.
47477
47478 * sysdeps/powerpc/powerpc32/libgcc-compat.S
47479 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47480 as a macro and a compat symbol.
47481 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47482 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47483 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47484 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47485 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47486 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47487 not use .hidden.
47488 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47489 Likewise.
47490 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47491 Likewise.
47492 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47493 Likewise.
47494 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47495 Likewise.
47496 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47497 Likewise.
47498 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47499 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47500 from GLIBC_2.3.2.
47501
47502 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47503
47504 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47505
47506 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47507
47508 * manual/texinfo.tex: Update to version 2013-11-26.10 with
47509 trailing whitespace removed.
47510 * scripts/config.guess: Update to version 2013-11-29.
47511 * scripts/config.sub: Update to version 2013-10-01.
47512
47513 * math/auto-libm-test-in: Add tests of sincos.
47514 * math/auto-libm-test-out: Regenerated.
47515 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47516 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47517 mpfr_f_11.
47518 (func_calc_desc): Add mpfr_f_11 union field.
47519 (test_functions): Add sincos.
47520 (calc_generic_results): Handle mpfr_f_11.
47521 * sysdeps/i386/fpu/libm-test-ulps: Update.
47522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47523
47524 2013-12-19 Andreas Schwab <schwab@suse.de>
47525
47526 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47527 CALL_MCOUNT.
47528 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47529 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47530 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47531
47532 2013-12-19 Joseph Myers <joseph@codesourcery.com>
47533
47534 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47535 * sysdeps/i386/fpu/libm-test-ulps: Update.
47536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47537
47538 [BZ #16293]
47539 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47540 round-to-nearest mode when using frndint.
47541 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47542 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47543 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47544 Likewise.
47545 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
47546 sinh test to fail.
47547 * math/auto-libm-test-out: Regenerated.
47548 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47549 (TEST_COND_x86): Likewise.
47550 (expm1_tonearest_test_data): New array.
47551 (expm1_test_tonearest): New function.
47552 (expm1_towardzero_test_data): New array.
47553 (expm1_test_towardzero): New function.
47554 (expm1_downward_test_data): New array.
47555 (expm1_test_downward): New function.
47556 (expm1_upward_test_data): New array.
47557 (expm1_test_upward): New function.
47558 (main): Run the new test functions.
47559 * sysdeps/i386/fpu/libm-test-ulps: Update.
47560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47561
47562 * include/features.h: Update comment documenting feature test
47563 macros. Mention _DEFAULT_SOURCE in comment.
47564 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47565 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47566 _BSD_SOURCE and _SVID_SOURCE.
47567 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47568 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47569 !_SVID_SOURCE]: Likewise.
47570 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47571 (__USE_POSIX_IMPLICITLY): Define.
47572 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47573 (_POSIX_SOURCE): Undefine and redefine.
47574 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47575 (_POSIX_C_SOURCE): Likewise.
47576 * manual/creature.texi (_DEFAULT_SOURCE): Document.
47577 (Feature Test Macros): Update documentation of default features.
47578
47579 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47580
47581 * benchtests/Makefile: Add bench-strtok.
47582 * benchtests/bench-strtok.c: New file: strtok benchtest.
47583
47584 2013-12-19 Allan McRae <allan@archlinux.org>
47585
47586 * manual/install.texi: Suppress menu for plain text output.
47587 * INSTALL: Regenerated.
47588
47589 2013-12-18 Brooks Moses <bmoses@google.com>
47590
47591 [BZ #15846]
47592 * misc/getauxval.c: Include errno.h.
47593 (__getauxval): Set errno to ENOENT if the requested type is not
47594 found.
47595 * misc/sys/auxv.h (getauxval): Document that it may set errno;
47596 don't declare with __attribute_const__.
47597 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47598 * manual/startup.texi: Document that getauxval sets errno.
47599
47600 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47601
47602 * math/auto-libm-test-in: Add tests of jn and yn.
47603 * math/auto-libm-test-out: Regenerated.
47604 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47605 (yn_test_data): Likewise.
47606 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47607 mpfr_if_f.
47608 (func_calc_desc): Add mpfr_if_f union field.
47609 (FUNC_mpfr_if_f): New macro.
47610 (test_functions): Add jn and yn.
47611 (calc_generic_results): Assert type of second input for
47612 mpfr_ff_f. Handle mpfr_if_f.
47613 (output_for_one_input_case): Disable all checking for arguments
47614 fitting floating-point types in case of an integer argument.
47615 * sysdeps/i386/fpu/libm-test-ulps: Update.
47616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47617
47618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47619 Don't expect fegetround reference in libm.so.
47620
47621 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
47622
47623 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47624 $(config-cflags-nofma).
47625
47626 2013-12-18 Joseph Myers <joseph@codesourcery.com>
47627
47628 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47629 * math/auto-libm-test-out: Regenerated.
47630
47631 [BZ #16338]
47632 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47633 to determine exponent and adjust argument to have exponent of -1.
47634 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47635 log2.
47636 * math/auto-libm-test-out: Regenerated.
47637 * sysdeps/i386/fpu/libm-test-ulps: Update.
47638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47639
47640 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
47641
47642 * manual/probes.texi: Remove cases when per-thread arenas are
47643 disabled.
47644
47645 2013-12-18 Andreas Schwab <schwab@suse.de>
47646
47647 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47648 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47649 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47650 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47651 * sysdeps/i386/i686/multiarch/Makefile: Update.
47652 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47653
47654 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47655
47656 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47657 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47658
47659 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
47660
47661 [BZ #15968]
47662 Support TZ transition times < 00:00:00.
47663 This is needed for version-3 tz-format files; it supports time
47664 stamps past 2037 for America/Godthab (the only entry in the tz
47665 database for which this change is relevant).
47666 * manual/time.texi (TZ Variable): Document transition times
47667 from -167:59:59 through -00:00:01.
47668 * time/tzset.c (tz_rule): Time of day is now signed.
47669 (__tzset_parse_tz): Parse negative time of day.
47670
47671 Document TZ transition times >= 25:00:00.
47672 * manual/time.texi (TZ Variable): Document transition times from
47673 25:00:00 through 167:59:59. These are already supported, and this
47674 support will help with version-3 tz-format files.
47675
47676 * manual/time.texi (TZ Variable): Modernize North America example
47677 to reflect current (i.e., 2007-and-later) daylight saving rules.
47678
47679 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47680
47681 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47682
47683 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47684 * sysdeps/unix/bsd/bits/stat.h: Likewise.
47685 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47686 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47687 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47688 * sysdeps/unix/bsd/bsdstat.h: Likewise.
47689 * sysdeps/unix/bsd/clock.c: Likewise.
47690 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47691 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47692 * sysdeps/unix/bsd/init-posix.c: Likewise.
47693 * sysdeps/unix/bsd/poll.c: Likewise.
47694 * sysdeps/unix/bsd/ptsname.c: Likewise.
47695 * sysdeps/unix/bsd/seekdir.c: Likewise.
47696 * sysdeps/unix/bsd/setegid.c: Likewise.
47697 * sysdeps/unix/bsd/seteuid.c: Likewise.
47698 * sysdeps/unix/bsd/setgid.c: Likewise.
47699 * sysdeps/unix/bsd/setrgid.c: Likewise.
47700 * sysdeps/unix/bsd/setruid.c: Likewise.
47701 * sysdeps/unix/bsd/setsid.c: Likewise.
47702 * sysdeps/unix/bsd/setuid.c: Likewise.
47703 * sysdeps/unix/bsd/sigaction.c: Likewise.
47704 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47705 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47706 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47707 * sysdeps/unix/bsd/telldir.c: Likewise.
47708 * sysdeps/unix/bsd/times.c: Likewise.
47709 * sysdeps/unix/bsd/usleep.c: Likewise.
47710
47711 * misc/Makefile (install-lib): Remove libbsd-compat.a.
47712 ($(objpfx)libbsd-compat.a): Remove rule.
47713
47714 * include/features.h (__FAVOR_BSD): Do not define.
47715 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47716 features conflicting with POSIX.
47717 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47718 (_BSD_SOURCE): Remove description of not being a subset of other
47719 feature test macros.
47720 * manual/job.texi (getpgrp): Do not document BSD version.
47721 (getpgid): Do not document by reference to BSD getpgrp.
47722 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47723 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47724 * signal/signal.h [__FAVOR_BSD]: Likewise.
47725 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47726 instead of making contents conditional on [__FAVOR_BSD].
47727 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47728
47729 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47730
47731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47732
47733 2013-12-17 Joseph Myers <joseph@codesourcery.com>
47734
47735 [BZ #16314]
47736 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47737 values below 2**-450, not 2**-500.
47738 * math/auto-libm-test-in: Don't allow spurious underflow from
47739 hypot.
47740 * math/auto-libm-test-out: Regenerated.
47741
47742 [BZ #16316]
47743 [BZ #16330]
47744 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47745 values of ha and hb and sort them after adjusting subnormal
47746 arguments.
47747 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47748 Likewise.
47749 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47750 values of ea and eb and sort them after adjusting subnormal
47751 arguments.
47752 * math/auto-libm-test-in: Do not expect some hypot tests of
47753 subnormals to fail. Add more hypot tests.
47754 * math/auto-libm-test-out: Regenerated.
47755
47756 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47757
47758 [BZ #13304]
47759 * sysdeps/sh/s_fma.c: New file.
47760 * sysdeps/sh/s_fmaf.c: New file.
47761 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
47762 version.
47763 * sysdeps/sh/Implies: Add sh/soft-fp.
47764
47765 2013-12-16 Roland McGrath <roland@hack.frob.com>
47766
47767 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
47768 level of indirection to members `objname', `errstring', `malloced'.
47769 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47770 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
47771 it as the __longjmp argument (just pass 1 instead).
47772 (_dl_catch_error): Initialize C with argument pointers and address of
47773 volatile local ERRCODE rather than copying values out of C at return.
47774
47775 2013-12-16 Joseph Myers <joseph@codesourcery.com>
47776
47777 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47778 * math/auto-libm-test-out: Regenerated.
47779 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47780 (hypot_test_data): Likewise.
47781 (pow_test_data): Likewise.
47782 (pow_tonearest_test_data): Likewise.
47783 * math/gen-auto-libm-tests.c (func_calc_method): Add value
47784 mpfr_ff_f.
47785 (func_calc_desc): Add mpfr_ff_f union field.
47786 (FUNC_mpfr_ff_f): New macro.
47787 (test_functions): Add atan2, hypot and pow.
47788 (special_fill_min): New function.
47789 (special_fill_minus_min): Likewise.
47790 (special_fill_min_subnorm): Likewise.
47791 (special_fill_minus_min_subnorm): Likewise.
47792 (special_real_inputs): Add min, -min, min_subnorm and
47793 -min_subnorm.
47794 (calc_generic_results): Handle mpfr_ff_f.
47795 * sysdeps/i386/fpu/libm-test-ulps: Update.
47796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47797
47798 2013-12-16 Will Newton <will.newton@linaro.org>
47799
47800 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47801 (Aligned Memory Blocks): Add documentation for aligned_alloc
47802 and suggest it as an alternative to posix_memalign.
47803 (Hooks for Malloc): Document __memalign_hook is also called
47804 for aligned_alloc. (Summary of Malloc): Add summary for
47805 aligned alloc. Document __memalign_hook is also called
47806 for aligned_alloc.
47807
47808 2013-12-16 Will Newton <will.newton@linaro.org>
47809
47810 * manual/memory.texi (Malloc Examples): Clarify default
47811 alignment documentation. Suggest posix_memalign rather
47812 than memalign or valloc.
47813 (Aligned Memory Blocks): Remove suggestion to use memalign
47814 or valloc. Remove obsolete comment about BSD.
47815 Document memalign errno values and mark the function obsolete.
47816 Document posix_memalign returned error codes. Mark valloc
47817 as obsolete. (Hooks for Malloc): __memalign_hook is also
47818 called for posix_memalign and valloc.
47819 (Summary of Malloc): Add posix_memalign to function summary.
47820 __memalign_hook is also called for posix_memalign and valloc.
47821
47822 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47823
47824 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47825 TAYLOR_SIN.
47826 (__sin): Adjust.
47827 (__cos): Likewise.
47828 (sloww): Use mynumber union. Expand ternary operator into
47829 if-else statements.
47830 (cslow): use mynumber union.
47831
47832 2013-12-16 Allan McRae <allan@archlinux.org>
47833
47834 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47835 * configure: Regenerated.
47836
47837 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47838
47839 [BZ #14120]
47840 * configure.ac: Added --enable-maintainer-mode. Check for
47841 autoconf when enabled.
47842 * configure: Regenerated.
47843
47844 * nscd/nscd.service: New file.
47845 * nscd/nscd.tmpfiles: New file.
47846
47847 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
47848
47849 [BZ #12100]
47850 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47851 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47852 * sysdeps/x86_64/multiarch/strstr.c: ... here.
47853 (strstr): Add __strstr_sse2_unaligned ifunc.
47854 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47855 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47856 (strcasestr): Remove __strcasestr_sse42 ifunc.
47857 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47860
47861 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47862
47863 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47864 * sysdeps/sh/bits/fenv.h: ... here.
47865 * sysdeps/sh/sh4/fpu/bits: Remove directory.
47866
47867 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47868
47869 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47870
47871 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47872 hypotf multiarch implementations.
47873 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47874 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47875 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47876 multiarch hypot for PPC64.
47877 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47878 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47879 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47880 multiarch hypotf for PPC64.
47881
47882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47883 modff multiarch implementations.
47884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47887 multiarch modf for PPC64.
47888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47891 multiarch modff for PPC64.
47892
47893 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47894 and logl multiarch implementations.
47895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47898 multiarch logb for PPC64.
47899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47902 multiarch logb for PPC64.
47903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47906 multiarch logb for PPC64.
47907
47908 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47909 isinff multiarch implementation.
47910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47911 file.
47912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
47913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
47914 multiarch isinf for PPC64.
47915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
47916 file.
47917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
47918 multiarch isinff for PPC64.
47919
47920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
47921 finitef multiarch implementation.
47922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
47923 file.
47924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
47925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
47926 multiarch finite for PPC64.
47927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
47928 file.
47929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
47930 multiarch finitef for PPC64.
47931
47932 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
47933 lrint multiarch implementation.
47934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
47935 file.
47936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
47937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
47938 multiarch llrint for PPC64.
47939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
47940 multiarch lrint for PPC64.
47941
47942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
47943 copysignf multiarch implementation.
47944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
47945 file.
47946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
47947 file.
47948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
47949 multiarch copysign for PPC64.
47950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
47951 multiarch copysignf for PPC64.
47952
47953 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
47954 multiarch implementation.
47955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
47956 file.
47957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
47958 file.
47959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
47960 file.
47961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
47962 file.
47963 multiarch llround for PPC64.
47964 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
47965 multiarch trunc for PPC64.
47966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
47967 multiarch truncf for PPC64.
47968
47969 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
47970 multiarch implementation.
47971 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
47972 file.
47973 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
47974 file.
47975 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
47976 file.
47977 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
47978 file.
47979 multiarch llround for PPC64.
47980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
47981 multiarch round for PPC64.
47982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
47983 multiarch roundf for PPC64.
47984
47985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
47986 multiarch implementation.
47987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
47988 file.
47989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
47990 file.
47991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
47992 file.
47993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
47994 file.
47995 multiarch llround for PPC64.
47996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
47997 multiarch floor for PPC64.
47998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
47999 multiarch floorf for PPC64.
48000
48001 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48002 multiarch implementation.
48003 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48004 file.
48005 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48006 file.
48007 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48008 file.
48009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48010 file.
48011 multiarch llround for PPC64.
48012 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48013 multiarch ceil for PPC64.
48014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48015 multiarch ceilf for PPC64.
48016
48017 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48018 multiarch implementation.
48019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48020 file.
48021 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48022 file.
48023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48024 file.
48025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48026 multiarch llround for PPC64.
48027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48028 multiarch lround for PPC64.
48029
48030 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48031 multiarch implementation.
48032 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48033 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48035 file.
48036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48039 multiarch isnan for PPC64.
48040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48041 multiarch isnanf for PPC64.
48042
48043 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48044 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48045 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48046 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48047 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48049
48050 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48051 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48052 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48053 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48054
48055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48056 multiarch implementations.
48057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48058 (__libc_ifunc_impl_list): Likewise.
48059 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48060 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48061 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48062 multiarch stpcpy for PPC64.
48063
48064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48065 multiarch implementations.
48066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48067 (__libc_ifunc_impl_list): Likewise.
48068 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48069 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48070 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48071 multiarch strcpy for PPC64.
48072
48073 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48074 redefine function name.
48075 (_wordcopy_fwd_dest_aligned): Likewise.
48076 (_wordcopy_bwd_aligned): Likewise.
48077 (_wordcopy_bwd_dest_aligned): Likewise.
48078 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48079 multiarch implementations.
48080 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48081 (__libc_ifunc_impl_list): Likewise.
48082 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48083 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48084 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48085 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48086 multiarch wcscpy for PPC64.
48087
48088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48089 multiarch implementations.
48090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48091 (__libc_ifunc_impl_list): Likewise.
48092 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48093 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48094 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48095 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48096 multiarch wcscpy for PPC64.
48097
48098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48099 multiarch implementations.
48100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48101 (__libc_ifunc_impl_list): Likewise.
48102 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48103 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48104 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48105 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48106 multiarch wcsrchr for PPC64.
48107
48108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48109 multiarch implementations.
48110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48111 (__libc_ifunc_impl_list): Likewise.
48112 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48113 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48114 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48115 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48116 multiarch wcschr for PPC64.
48117
48118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48119 multiarch implementations.
48120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48121 (__libc_ifunc_impl_list): Likewise.
48122 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48123 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48124 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48125 multiarch strchrnul for PPC64.
48126
48127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48128 implementations.
48129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48130 (__libc_ifunc_impl_list): Likewise.
48131 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48132 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48133 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48134 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48135 strchr for PPC64.
48136
48137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48138 implementations.
48139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48140 (__libc_ifunc_impl_list): Likewise.
48141 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48142 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48143 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48144 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48145 strncmp for PPC64.
48146
48147 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48148 multiarch implementations.
48149 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48150 (__libc_ifunc_impl_list): Likewise.
48151 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48152 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48153 strncasecmp for PPC64.
48154 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48155 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48156 multiarch strncasecmp_l for PPC64.
48157
48158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48159 multiarch implementations.
48160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48161 (__libc_ifunc_impl_list): Likewise.
48162 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48163 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48164 multiarch strcasecmp for PPC64.
48165 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48166 file.
48167 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48168 multiarch strcasecmp_l for PPC64.
48169
48170 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48171 implementations.
48172 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48173 (__libc_ifunc_impl_list): Likewise.
48174 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48175 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48176 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48177 strnlen for PPC64.
48178
48179 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48180 implementations.
48181 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48182 (__libc_ifunc_impl_list): Likewise.
48183 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48184 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48185 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48186 strlen for PPC64.
48187
48188 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48189 implementations.
48190 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48191 (__libc_ifunc_impl_list): Likewise.
48192 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48193 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48194 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48195 rawmemrchr for PPC64.
48196
48197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48198 implementation.
48199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48200 (__libc_ifunc_impl_list): Likewise.
48201 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48202 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48203 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48204 memrchr for PPC64.
48205
48206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48207 implementation.
48208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48209 (__libc_ifunc_impl_list): Likewise.
48210 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48211 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48212 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48213 memchr for PPC64.
48214
48215 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48216 implementation.
48217 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48218 (__libc_ifunc_impl_list): Likewise.
48219 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48220 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48221 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48222 mempcpy for PPC64.
48223
48224 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48225 avoid cretion of __bzero symbol.
48226 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48227 Likewise.
48228 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48229 Likewise.
48230 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48231 Likewise.
48232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48233 multiarch implementations.
48234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48235 (__libc_ifunc_impl_list): Likewise.
48236 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48237 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48238 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48239 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48240 bzero for PPC32.
48241 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48242 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48243 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48244 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48245 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48246 memset for PPC64.
48247 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48248
48249 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48250 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48251 implementations.
48252 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48253 (__libc_ifunc_impl_list): Likewise.
48254 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48255 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48256 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48257 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48258 memcmp for PPC64.
48259
48260 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48261 multiarch for POWER/PPC64.
48262 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48263 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48264 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48265 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48266 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48267 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48268 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48269 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48270 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48271 memcpy for PPC64.
48272
48273 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48274 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48275 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48276 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48277 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48278 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48279 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48280 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48281 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48282 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48283 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48284 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48285 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48286 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48287 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48295
48296 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48297
48298 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48299
48300 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
48301
48302 * benchtests/Makefile (bench): Add exp2 and log2.
48303 (LDLIBS-bench-exp2): Add -lm.
48304 (LDLIBS-bench-log2): Likewise.
48305 * benchtests/exp2-inputs: New inputs file.
48306 * benchtests/log2-inputs: New inputs file.
48307 * benchtests/log-inputs: Add new inputs.
48308 * benchtests/tan-inputs: Likewise.
48309
48310 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
48311
48312 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48313 definition...
48314 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48315 (csloww2): ... from here.
48316
48317 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48318 instead of structures.
48319 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48320 (POLYNOMIAL): Likewise.
48321 (TAYLOR_SLOW): Likewise.
48322 (__sin): Likewise.
48323 (__cos): Likewise.
48324 (slow1): Likewise.
48325 (slow2): Likewise.
48326 (sloww): Likewise.
48327 (sloww1); Likewise.
48328 (sloww2): Likewise.
48329 (bsloww1): Likewise.
48330 (bsloww2): Likewise.
48331 (cslow2): Likewise.
48332 (csloww): Likewise.
48333 (csloww1): Likewise.
48334 (csloww2): Likewise.
48335
48336 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
48337
48338 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48339 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48340 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48341 * malloc/hooks.c (realloc_check): Likewise.
48342
48343 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48344 * malloc/arena.c: Remove PER_THREAD conditional.
48345 [!PER_THREAD]: Remove code.
48346 (ptmalloc_unlock_all2): Likewise.
48347 (ptmalloc_init): Likewise.
48348 (_int_new_arena): Likewise.
48349 (arena_get2): Likewise.
48350 * malloc/hooks.c (__malloc_get_state): Likewise.
48351 (__malloc_set_state): Likewise.
48352 * malloc/malloc.c: Likewise.
48353 (struct malloc_state): Likewise.
48354 (struct malloc_par): Likewise.
48355 (__libc_realloc): Likewise.
48356 (__libc_mallopt): Likewise.
48357
48358 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48359
48360 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48361
48362 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
48363
48364 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48365 macro to a function. Check for zero perturb_byte.
48366 (_int_malloc, _int_free): Remove zero perturb_byte checks.
48367
48368 * malloc/malloc.c: (force_reg): Remove.
48369 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48370 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48371 force_reg by atomic_forced_read.
48372 * malloc/arena.c (ptmalloc_init): Likewise.
48373 * malloc/hooks.c (top_check): Likewise.
48374
48375 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48376
48377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48378
48379 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
48380
48381 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48382
48383 2013-12-08 Joseph Myers <joseph@codesourcery.com>
48384
48385 * math/auto-libm-test-in: Add tests of lgamma.
48386 * math/auto-libm-test-out: Regenerated.
48387 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48388 (M_LOG_2_SQRT_PIl): Likewise.
48389 (lgamma_test_data): Use AUTO_TESTS_f_f1.
48390 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48391 mpfr_f_f1.
48392 (func_calc_desc): Add mpfr_f_f1 union field.
48393 (ARGS1): New macro.
48394 (ARGS2): Likewise.
48395 (ARGS3): Likewise.
48396 (ARGS4): Likewise.
48397 (RET1): Likewise.
48398 (RET2): Likewise.
48399 (CALC): Likewise.
48400 (FUNC): Likewise.
48401 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48402 (test_functions): Add lgamma.
48403 (calc_generic_results): Handle mpfr_f_f1.
48404 * sysdeps/i386/fpu/libm-test-ulps: Update.
48405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48406
48407 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48408
48409 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48410 __mpn_add_n for PowerPC64/POWER7.
48411 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48412 __mpn_sub_n for PowerPC64/POWER7.
48413
48414 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48415 __mpn_addmul_1 for PowerPC64.
48416 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48417 __mpn_submul_1 for PowerPC64.
48418 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48419 for PowerPC64.
48420 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48421 for PowerPC64.
48422
48423 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
48424
48425 [BZ #15089]
48426 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48427
48428 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48429
48430 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48431
48432 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48433 add multiarch folders.
48434 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48435 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48436 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48437 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48438 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48439 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48440 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48441 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48442 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48443 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48444 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48451
48452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48453 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48455 New file.
48456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48457 New file.
48458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48459 multiarch __ieee754_hypot for PowerPC32.
48460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48461 New file.
48462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48463 New file.
48464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48465 multiarch __ieee754_hypotf for PowerPC32.
48466
48467 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48468 long_double_symbol only if __logbl is defined.
48469 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48470 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48472 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48473 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48474 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48475 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48476 path for implementation.
48477 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48478 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48480 logb, and logbl multiarch implementations for PowerPC32.
48481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48482 file.
48483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48484 file.
48485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48486 multiarch logb for PowerPC32.
48487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48488 file.
48489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48490 file.
48491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48492 multiarch logbf for PowerPC32.
48493 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48495 file.
48496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48497 multiarch logbl implementation for PowerPC32.
48498
48499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48500 and modff multiarch implementations.
48501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48502 New file.
48503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48504 New file.
48505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48506 multiarch modf for PowerPC32.
48507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48508 New file.
48509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48510 New file.
48511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48512 multiarch modff for PowerPC32.
48513
48514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48515 and lrintf multiarch implementations.
48516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48517 New file.
48518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48519 New file.
48520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48521 multiarch lrint for PowerPC32.
48522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48523 file: multiarch lrintf for PowerPC32.
48524
48525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48526 and lroundf multiarch implementations.
48527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48528 New file.
48529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48530 New file.
48531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48532 New file.
48533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48534 multiarch lround for PowerPC32.
48535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48536 file: multiarch lroundf for PowerPC32.
48537
48538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48539 copysign and copysignf multiarch implementations.
48540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48541 New file.
48542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48543 New file.
48544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48545 file: multiarch copysign for PowerPC32.
48546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48547 file: multiarch copysignf for PowerPC32.
48548
48549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48550 and truncf multiarch implementations.
48551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48552 New file.
48553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48554 file.
48555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48556 multiarch trunc for PowerPC32.
48557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48558 New file.
48559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48560 New file.
48561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48562 multiarch truncf for PowerPC32.
48563
48564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48565 and roundf multiarch implementations.
48566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48567 New file.
48568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48569 file.
48570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48571 multiarch round for PowerPC32.
48572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48573 New file.
48574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48575 New file.
48576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48577 multiarch roundf for PowerPC32.
48578
48579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48580 and floorf multiarch implementations.
48581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48582 New file.
48583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48584 file.
48585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48586 multiarch floor for PowerPC32.
48587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48588 New file.
48589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48590 New file.
48591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48592 multiarch floorf for PowerPC32.
48593
48594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48595 and ceilf multiarch implementations.
48596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48597 New file.
48598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48599 file.
48600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48601 multiarch ceil for PowerPC32.
48602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48603 New file.
48604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48605 file.
48606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48607 multiarch ceilf for PowerPC32.
48608
48609 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48610 is defined.
48611 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48612 FINITEF is defined.
48613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48614 and finitef multiarch implementations.
48615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48616 New file.
48617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48618 file.
48619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48620 multiarch finite for PowerPC32.
48621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48622 New file.
48623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48624 file: multiarch finitef for PowerPC32.
48625
48626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48627 and isinff multiarch implementations.
48628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48629 file.
48630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48631 file.
48632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48633 multiarch isinf for PowerPC32.
48634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48635 New file.
48636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48637 multiarch isinff for PowerPC32.
48638
48639 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48640 alias when __isnan is defined.
48641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48642 and isnanf multiarch implementations.
48643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48644 file.
48645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48646 file.
48647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48648 file.
48649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48650 file.
48651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48652 multiarch isnan for PowerPC32.
48653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48654 New file.
48655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48656 New file.
48657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48658 multiarch isnanf for PowerPC32.
48659
48660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48661 and sqrtf multiarch implementations.
48662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48663 file.
48664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48665 file.
48666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48667 multiarch sqrt for PowerPC32.
48668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48669 file.
48670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48671 file.
48672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48673 multiarch sqrtf for PowerPC32.
48674
48675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48676 and llroundf multiarch implementations.
48677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48678 New file.
48679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48680 New file.
48681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48682 New file.
48683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48684 file: multiarch llround for PowerPC32.
48685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48686 file: multiarch llroundf for PowerPC32.
48687
48688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48689 multiarch PowerPC32 fpu implementations.
48690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48691 New file.
48692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48693 New file.
48694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48695 multiarch llrint for PowerPC32.
48696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48697 New file.
48698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48699 New file.
48700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48701 file.
48702
48703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48704
48705 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48706 file.
48707 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48708 file.
48709 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48710 file.
48711 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48712 multiarch wordcopy for PPC32.
48713 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48714 wordcopy objects.
48715 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48716 (__libc_ifunc_impl_list): Likewise.
48717 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48718 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48719 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48720 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48721 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48722 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48723
48724 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48726 file.
48727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48728 file.
48729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48730 file.
48731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48732 multiarch wcscpy for PPC32.
48733 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48734 multiarch objects.
48735 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48736 (__libc_ifunc_impl_list): Likewise.
48737 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48738 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48739 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48740 sysdeps/powerpc/power6/wcscpy.c.
48741
48742 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48743 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48744 file.
48745 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48746 file.
48747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48748 file.
48749 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48750 multiarch wcsrchr for PPC32.
48751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48752 multiarch objects.
48753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48754 (__libc_ifunc_impl_list): Likewise.
48755 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48756 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48757 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48758 sysdeps/powerpc/power6/wcsrchr.c.
48759
48760 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48761 file.
48762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48763 file.
48764 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48766 multiarch wcschr for PPc32.
48767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48768 multiarch objects.
48769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48770 (__libc_ifunc_impl_list): Likewise.
48771 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48772 * sysdeps/powerpc/power6/wcschr.c: ... to here.
48773 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48774 sysdeps/powerpc/power6/wcschr.c.
48775
48776 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48777 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48778 file.
48779 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48780 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48781 file: multiarch strchr for PPC32.
48782 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48783 multiarch objects.
48784 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48785 (__libc_ifunc_impl_list): Likewise.
48786
48787 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48788 name.
48789 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48790 file.
48791 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48792 file.
48793 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48794 multiarch strchrnul for PPC32.
48795 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48796 multiarch objects.
48797 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48798 (__libc_ifunc_impl_list): Likewise.
48799
48800 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48801 file.
48802 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48803 multiarch strncasecmp for PPC32.
48804 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48805 file.
48806 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48807 multiarch strncasecmp_l for PPC32.
48808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48809 strncasecmp multiarch objects.
48810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48811 (__libc_ifunc_impl_list): Likewise.
48812
48813 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48814 file.
48815 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48816 multiarch strncasecmp for PPC32.
48817 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48818 New file.
48819 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48820 multiarch strcasecmp_l for PPC32.
48821 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48822 multiarch objects.
48823 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48824 (__libc_ifunc_impl_list): Likewise.
48825
48826 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48827 file.
48828 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48829 file.
48830 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48831 multiarch strncmp for PPC32.
48832 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48833 multiarch objects.
48834 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48835 (__libc_ifunc_impl_list): Likewise.
48836
48837 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48838 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48839 file.
48840 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48841 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48843 multiarch objects.
48844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48845 (__libc_ifunc_impl_list): Likewise.
48846
48847 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48848 file.
48849 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48850 file.
48851 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48852 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48853 multiarch objects.
48854 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48855 (__libc_ifunc_impl_list): Likewise.
48856
48857 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48858 file.
48859 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48860 file.
48861 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48862 multiarch rawmemchr for PPC32.
48863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48864 multiarch objects.
48865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48866 (__libc_ifunc_impl_list): Likewise.
48867
48868 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48869 file.
48870 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48871 file.
48872 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48873 file: memrchr multiarch for PPC32.
48874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48875 multiarch objects.
48876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48877 (__libc_ifunc_impl_list): Likewise.
48878
48879 * string/memchr.c (__memchr): Using macro to redefine symbol name.
48880 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48881 file.
48882 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48883 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48884 multiarch memchr for PPC32.
48885 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48886 multiarch objects.
48887 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48888 (__libc_ifunc_impl_list): Likewise.
48889
48890 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48891 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48892 file.
48893 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48894 file.
48895 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48896 file: multiarch mempcpy for PPC32.
48897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48898 multiarch objects.
48899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48900 (__libc_ifunc_impl_list): Likewise.
48901
48902 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48903 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48904 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48905 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48906 multiarch bzero for PPC32.
48907 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48908 file.
48909 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48910 file.
48911 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48912 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
48913 file: multiarch memset for PPC32.
48914 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
48915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
48916 memset multiarch objects.
48917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48918 (__libc_ifunc_impl_list): Likewise.
48919
48920 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
48921 file.
48922 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
48923 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
48924 memcmp for PPC32.
48925 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
48926 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
48927 multiarch objects.
48928 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48929 (__libc_ifunc_impl_list): Likewise.
48930
48931 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
48932 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
48933 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
48934 file.
48935 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
48936 file.
48937 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
48938 file.
48939 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
48940 multiarch memcpy for PPC32.
48941 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
48942 multiarch objects.
48943 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48944 (__libc_ifunc_impl_list): Likewise.
48945
48946 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
48947 support multiarch for POWER/PPC32.
48948 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
48949 Likewise.
48950 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
48951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
48952 Implies file to make multiarch folder appers before the fpu and
48953 default folder for power4 configuration.
48954
48955 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
48956
48957 * scripts/bench.pl: Append volatile keyword to type.
48958
48959 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48960
48961 * sysdeps/sh/sotruss-lib.c: New file.
48962 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
48963
48964 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48965
48966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48967
48968 2013-12-05 Joseph Myers <joseph@codesourcery.com>
48969
48970 [BZ #6810]
48971 * math/w_tgamma.c: Include <errno.h>.
48972 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
48973 * math/w_tgammaf.c: Include <errno.h>.
48974 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
48975 * math/w_tgammal.c: Include <errno.h>.
48976 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
48977 * math/auto-libm-test-in: Do not allow missing errno on tgamma
48978 underflow. Add more tgamma tests.
48979 * math/auto-libm-test-out: Regenerated.
48980 * sysdeps/i386/fpu/libm-test-ulps: Update.
48981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48982
48983 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
48984 sin, sinh, tan, tanh, tgamma, y0 and y1.
48985 * math/auto-libm-test-out: Regenerated.
48986 * math/libm-test.inc (TEST_COND_x86_64): New macro.
48987 (TEST_COND_x86): Likewise.
48988 (M_E2l): Remove macro.
48989 (M_E3l): Likewise.
48990 (M_2_SQRT_PIl): Likewise.
48991 (M_SQRT_PIl): Likewise.
48992 (M_1_DIV_El): Likewise.
48993 (log_test_data): Use AUTO_TESTS_f_f.
48994 (log10_test_data): Likewise.
48995 (log1p_test_data): Likewise.
48996 (log2_test_data): Likewise.
48997 (sin_test_data): Likewise.
48998 (sin_tonearest_test_data): Likewise.
48999 (sin_towardzero_test_data): Likewise.
49000 (sin_downward_test_data): Likewise.
49001 (sin_upward_test_data): Likewise.
49002 (sinh_test_data): Likewise.
49003 (sinh_tonearest_test_data): Likewise.
49004 (sinh_towardzero_test_data): Likewise.
49005 (sinh_downward_test_data): Likewise.
49006 (sinh_upward_test_data): Likewise.
49007 (tan_test_data): Likewise.
49008 (tan_tonearest_test_data): Likewise.
49009 (tan_towardzero_test_data): Likewise.
49010 (tan_downward_test_data): Likewise.
49011 (tan_upward_test_data): Likewise.
49012 (tanh_test_data): Likewise.
49013 (tgamma_test_data): Likewise.
49014 (y0_test_data): Likewise.
49015 (y1_test_data): Likewise.
49016 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49017 (special_real_inputs): Add pi/4.
49018 * sysdeps/i386/fpu/libm-test-ulps: Update.
49019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49020
49021 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49022
49023 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49024 "longjmp_target" static probes.
49025 (__longjmp): Rename to __longjmp_symbol.
49026 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49027 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49028 on which longjmp to generate.
49029 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49030 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49031 probe.
49032 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49033 (__sigjmp_save): Rename to __sigjmp_save_symbol.
49034 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49035 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49036 and __sigjmp_save_symbol based on which sigsetjmp to generated.
49037 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49039 __longjmp_symbol based on which __longjmp to generate.
49040 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49041 probe.
49042 (setjmp): Rename to setjmp_symbol.
49043 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49044 (_setjmp): Rename to _setjmp_symbol.
49045 (__sigsetjmp): Rename to __sigsetjmp_symbol.
49046 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49047 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49048 which setjmp to generate.
49049 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49050 "longjmp_target" static probes.
49051
49052 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
49053
49054 * benchtests/README: Add note about output arguments.
49055 * benchtests/bench-sincos.c: Remove file.
49056 * benchtests/sincos-inputs: New file.
49057 * scripts/bench.pl: Identify output arguments and define
49058 static variables for them.
49059
49060 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49061
49062 [BZ #15941]
49063 * Makefile (INSTALL): Add install-plain.texi as the primary
49064 dependency.
49065 * manual/install-plain.texi: New file.
49066 * manual/install.texi: Include node directive only for
49067 non-plaintext output.
49068
49069 2013-12-04 Joseph Myers <joseph@codesourcery.com>
49070
49071 * stdlib/longlong.h: Update from GCC.
49072
49073 [BZ #6807]
49074 [BZ #15901]
49075 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49076 * math/w_j0f.c (y0f): Likewise.
49077 * math/w_j0l.c (__y0l): Likewise.
49078 * math/w_j1.c (y1): Likewise.
49079 * math/w_j1f.c (y1f): Likewise.
49080 * math/w_j1l.c (__y1l): Likewise.
49081 * math/w_jn.c (yn): Likewise.
49082 * math/w_jnf.c (ynf): Likewise.
49083 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49084 Bessel function pole errors in _POSIX_ mode. Use NAN as return
49085 value for Bessel function domain errors outside _SVID_ mode.
49086 Adjust sign of return value for yn (negative integer, 0).
49087 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49088 by zero in return for negative x and set sign appropriately for
49089 negative n.
49090 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49091 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49092 * math/libm-test.inc (y0_test_data): Add more tests and adjust
49093 expectations in error cases.
49094 (y1_test_data): Likewise.
49095 (yn_test_data): Likewise.
49096 * sysdeps/i386/fpu/libm-test-ulps: Update.
49097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49098
49099 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49100
49101 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49102 "64" to "64-v1". Add "64-v2".
49103 (abi-64-options): Rename to ...
49104 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
49105 (abi-64-condition): Rename to ...
49106 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
49107 (abi-64-ld-soname): Rename to ...
49108 (abi-64-v1-ld-soname): ... this.
49109 (abi-64-v2-options): Define.
49110 (abi-64-v2-condition): Likewise.
49111 (abi-64-v2-ld-soname): Likewise.
49112 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49113 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49117
49118 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49119 Alan Modra <amodra@gmail.com>
49120
49121 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49122 New versions for use with the ELFv2 ABI.
49123 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49124 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49125 declaration.
49126 (struct La_ppc64v2_retval): Likewise.
49127 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49128 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49129 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49130 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49131 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49132 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49133 Do not save or restore CR.
49134 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49135 (_dl_profile_resolve): Do no save or restore CR. Support extended
49136 return values for ELFv2 ABI. Fix location of FPR return registers.
49137 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49138 updated values for _CALL_ELF == 2.
49139 (La_regs, La_retval, int_retval): Likewise.
49140
49141 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49142
49143 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49144 (FRAME_MIN_SIZE_PARM): Likewise.
49145 (FRAME_BACKCHAIN): Likewise.
49146 (FRAME_CR_SAVE): Likewise.
49147 (FRAME_LR_SAVE): Likewise.
49148 (FRAME_TOC_SAVE): Likewise.
49149 (FRAME_PARM_SAVE): Likewise.
49150 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49151 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49152 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49153 (call_mcount_parm_offset): New macro.
49154 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49155 (PROF): Use symbolic stack frame offsets.
49156 (TAIL_CALL_SYSCALL_ERROR): Likewise.
49157 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49158 Redefine in terms of FRAME_MIN_SIZE.
49159 (_dl_runtime_resolve): Use symbolic stack frame offsets.
49160 (_dl_profile_resolve): Likewise. Update comment.
49161 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49162 symbols stack frame offsets.
49163 (__sigsetjmp): Likewise.
49164 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49165 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49166 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49167 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49168
49169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49170 (FRAME_BACKCHAIN): Remove.
49171 (FRAME_CR_SAVE): Likewise.
49172 (FRAME_LR_SAVE): Likewise.
49173 (FRAME_COMPILER_DW): Likewise.
49174 (FRAME_LINKER_DW): Likewise.
49175 (FRAME_TOC_SAVE): Likewise.
49176 (FRAME_PARM_SAVE): Likewise.
49177 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49178 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49179 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49181 (CHECK_SP): Use symbolic stack frame offsets.
49182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49183 zone" instead of caller's parameter save area for temp storage.
49184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49185 Likewise. Also, use symbolic stack frame offsets.
49186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49187 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49188 our own stack frame instead of the caller's.
49189 (__socket): Use symbolic stack frame offsets.
49190
49191 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49192 Alan Modra <amodra@gmail.com>
49193
49194 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49195 Define.
49196 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49197 (PPC64_LOCAL_ENTRY_OFFSET): Define.
49198 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49199 New function.
49200 (elf_machine_fixup_plt): Call it.
49201 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
49202 reloc arguments.
49203 (elf_machine_rela): Update call to elf_machine_plt_conflict.
49204 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49205 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49206 r2 before calling target.
49207
49208 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49209 Alan Modra <amodra@gmail.com>
49210
49211 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49212 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49213 versions of macros to support ELFv2 ABI.
49214 (LOCALENTRY): New macro.
49215 (ENTRY, EALIGN): Use it.
49216 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49217 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49218 fall through into ENTRY entry point.
49219 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49220 Only define if _CALL_ELF != 2.
49221
49222 (elf_machine_matches_host): Verify ABI version matches.
49223 (RTLD_START): Use LOCALENTRY.
49224 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49225 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49226 (PLT_ENTRY_WORDS): New macro.
49227 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49228 (elf_machine_runtime_setup): Support ELFv2 ABI.
49229 (elf_machine_fixup_plt): Likewise.
49230 (elf_machine_plt_conflict): Likewise.
49231 (resolve_ifunc): Likewise.
49232 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49233 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49234 Likewise.
49235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49236 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49238 (makecontext): Support ELFv2 ABI.
49239 * elf/elf.h (EF_PPC64_ABI): Define.
49240
49241 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49242
49243 * sysdeps/powerpc/powerpc64/sysdep.h
49244 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49245 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49246 (ENTRY) [ASSEMBLER]: ... but instead here ...
49247 (EALIGN) [ASSEMBLER]: ... and here.
49248 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49249 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49250 (ENTRY_2) [!ASSEMBLER]: Use it.
49251 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49252 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
49253 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49254 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49255 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49257 Use PPC64_LOAD_FUNCPTR.
49258
49259 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49260
49261 2013-12-04 Alan Modra <amodra@gmail.com>
49262
49263 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49264 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49265 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49266 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49267
49268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49269 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49270 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49271 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49272 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49273 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49274
49275 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
49276
49277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49278 (__makecontext): Fix incorrect CFI when backtracing out of
49279 context created via makecontext.
49280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49281 (__setcontext): Fix incorrect CFI during switch to new context.
49282 (__novec_setcontext): Likewise.
49283
49284 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49285
49286 [BZ #4772]
49287 * time/strptime_l.c (__strptime_internal): Allow modifiers
49288 in strptime.
49289 * time/tst-strptime.c (day_tests): Add testcase.
49290
49291 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49292
49293 * scripts/bench.pl: Skip over blank lines.
49294
49295 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
49296
49297 [BZ #926]
49298 * manual/time.texi (Calendar Time): Clarify what timezone functions
49299 use.
49300
49301 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49302
49303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49304
49305 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
49306
49307 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49308 implementation.
49309 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49310 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49311 * debug/memset_chk.c (__memset_chk): Likewise.
49312 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49313 * debug/strncpy_chk.c: Likewise.
49314
49315 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49316
49317 [BZ #15268]
49318 [BZ #15425]
49319 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49320 (__ieee754_exp): For possibly underflowing results, check size of
49321 result and force underflow exception if required.
49322 * math/auto-libm-test-in: Add more tests of exp.
49323 * math/auto-libm-test-out: Regenerated.
49324 * sysdeps/i386/fpu/libm-test-ulps: Update.
49325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49326
49327 [BZ #16283]
49328 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49329 * math/w_exp2f.c (__exp2f): Likewise.
49330 * math/w_exp2l.c (__exp2l): Likewise.
49331 * math/auto-libm-test-in: Do not allow missing errno on exp2
49332 underflow.
49333 * math/auto-libm-test-out: Regenerated.
49334
49335 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
49336
49337 [BZ #16274]
49338 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49339 handle filename validation.
49340 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49341 (do_open): Delete.
49342
49343 2013-12-03 Joseph Myers <joseph@codesourcery.com>
49344
49345 [BZ #6786]
49346 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49347 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49348 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49349 <float.h>.
49350 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49351 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49352 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49353 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49354 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49355 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49356 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49357 * math/auto-libm-test-in: Don't allow missing errno from erfc.
49358 Add more erfc tests.
49359 * math/auto-libm-test-out: Regenerated.
49360 * sysdeps/i386/fpu/libm-test-ulps: Update.
49361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49362
49363 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49364 exp2, expm1, j0 and j1.
49365 * math/auto-libm-test-out: Regenerated.
49366 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49367 (erfc_test_data): Likewise.
49368 (exp_test_data): Likewise.
49369 (exp_tonearest_test_data): Likewise.
49370 (exp_towardzero_test_data): Likewise.
49371 (exp_downward_test_data): Likewise.
49372 (exp_upward_test_data): Likewise.
49373 (exp10_test_data): Likewise.
49374 (exp2_test_data): Likewise.
49375 (expm1_test_data): Likewise.
49376 (j0_test_data): Likewise.
49377 (j1_test_data): Likewise.
49378 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49379 (input_flag_type): Add flag_xfail_rounding.
49380 (input_flags): Add xfail-rounding.
49381 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49382 (output_for_one_input_case): Handle flag_xfail_rounding.
49383 * sysdeps/i386/fpu/libm-test-ulps: Update.
49384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49385
49386 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
49387
49388 [BZ #16289]
49389 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49390 division by 0.
49391
49392 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
49393
49394 [BZ #16195]
49395 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49396 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49397 (STAP_PROBE0): New macro.
49398 (STAP_PROBE1): Likewise.
49399 (STAP_PROBE2): Likewise.
49400 (STAP_PROBE3): Likewise.
49401 (STAP_PROBE4): Likewise.
49402
49403 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
49404
49405 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49406
49407 2013-12-02 Steve Ellcey <sellcey@mips.com>
49408
49409 * benchtests/Makefile (bench): Add sqrt.
49410 (LDLIBS-bench-sqrt): New.
49411 * benchtests/sqrt-input: New.
49412
49413 2013-12-02 Pavel Simerda <psimerda@redhat.com>
49414
49415 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49416 (GAIH_EAI): Likewise.
49417 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49418 (gaih_inet): Likewise.
49419 (getaddrinfo): Don't use GAIH_EAI.
49420
49421 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49422 (struct gaih): Remove definition.
49423
49424 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
49425
49426 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49427 Use HERRNOP directly.
49428
49429 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49430
49431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49432
49433 2013-11-30 Joseph Myers <joseph@codesourcery.com>
49434
49435 * math/gen-auto-libm-tests.c (test_functions): Add more
49436 single-argument functions.
49437 (special_fill_pi_2): New function.
49438 (special_fill_minus_pi_2): Likewise.
49439 (special_fill_pi_6): Likewise.
49440 (special_fill_minus_pi_6): Likewise.
49441 (special_fill_pi_3): Likewise.
49442 (special_fill_2pi_3): Likewise.
49443 (special_fill_e): Likewise.
49444 (special_fill_1_e): Likewise.
49445 (special_fill_e_minus_1): Likewise.
49446 (special_real_inputs): Add more special inputs.
49447 (output_for_one_input_case): Do not require ERANGE on underflow to
49448 zero if round-to-nearest result does not underflow to zero, unless
49449 exact results required.
49450 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49451 atan, atanh, cbrt, cos and cosh.
49452 * math/auto-libm-test-out: Regenerated.
49453 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49454 (acos_tonearest_test_data): Likewise.
49455 (acos_towardzero_test_data): Likewise.
49456 (acos_downward_test_data): Likewise.
49457 (acos_upward_test_data): Likewise.
49458 (acosh_test_data): Likewise.
49459 (asin_test_data): Likewise.
49460 (asin_tonearest_test_data): Likewise.
49461 (asin_towardzero_test_data): Likewise.
49462 (asin_upward_test_data): Likewise.
49463 (asinh_test_data): Likewise.
49464 (atan_test_data): Likewise.
49465 (atanh_test_data): Likewise.
49466 (cbrt_test_data): Likewise.
49467 (cos_test_data): Likewise.
49468 (cos_tonearest_test_data): Likewise.
49469 (cos_towardzero_test_data): Likewise.
49470 (cos_downward_test_data): Likewise.
49471 (cos_upward_test_data): Likewise.
49472 (cosh_test_data): Likewise.
49473 (cosh_tonearest_test_data): Likewise.
49474 (cosh_towardzero_test_data): Likewise.
49475 (cosh_downward_test_data): Likewise.
49476 (cosh_upward_test_data): Likewise.
49477 * sysdeps/i386/fpu/libm-test-ulps: Update.
49478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49479
49480 2013-11-29 Joseph Myers <joseph@codesourcery.com>
49481
49482 [BZ #6787]
49483 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49484 * math/w_exp10f.c (__exp10f): Likewise.
49485 * math/w_exp10l.c (__exp10l): Likewise.
49486 * math/libm-test.inc (exp10_test_data): Add more tests and expect
49487 errno settings in existing tests.
49488
49489 [BZ #14032]
49490 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49491 precision control set to double precision.
49492 * sysdeps/i386/fpu/w_sqrt.c: New file.
49493 * math/auto-libm-test-in: Add more tests.
49494 * math/auto-libm-test-out: Update.
49495
49496 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49497 (sqrt_test_tonearest): New function.
49498 (sqrt_towardzero_test_data): New variable.
49499 (sqrt_test_towardzero): New function.
49500 (sqrt_downward_test_data): New variable.
49501 (sqrt_test_downward): New function.
49502 (sqrt_upward_test_data): New variable.
49503 (sqrt_test_upward): New function.
49504 (main): Call the new functions.
49505
49506 * math/gen-auto-libm-tests.c: New file.
49507 * math/auto-libm-test-in: Likewise.
49508 * math/auto-libm-test-out: New generated file.
49509 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49510 variables.
49511 (%beautify): Add generated representations of zero.
49512 (top level): Set $auto_input and call parse_auto_input.
49513 (beautify): Remove trailing "f" from hex float constants.
49514 (parse_args): Handle XFAIL_TEST.
49515 (convert_condition): New function.
49516 (or_value): Likewise.
49517 (or_cond_value): Likewise.
49518 (generate_testfile): Handle AUTO_TESTS_* lines.
49519 (parse_auto_input): New function.
49520 * math/libm-test.inc (XFAIL_TEST): New macro.
49521 (ERRNO_UNCHANGED): Update value.
49522 (ERRNO_EDOM): Likewise.
49523 (ERRNO_ERANGE): Likewise.
49524 (IGNORE_RESULT): Likewise.
49525 (TEST_COND_flt_32): New macro.
49526 (TEST_COND_dbl_64): Likewise.
49527 (TEST_COND_ldbl_96_intel): Likewise.
49528 (TEST_COND_ldbl_96_m68k): Likewise.
49529 (TEST_COND_ldbl_128): Likewise.
49530 (TEST_COND_ldbl_128ibm): Likewise.
49531 (TEST_COND_long32): Likewise.
49532 (TEST_COND_long64): Likewise.
49533 (TEST_COND_before_rounding): Likewise.
49534 (TEST_COND_after_rounding): Likewise.
49535 (enable_test): Handle XFAIL_TEST flag.
49536 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49537 with finite results.
49538 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49539 auto-libm-test-out.
49540
49541 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
49542 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49543
49544 [BZ #16214]
49545 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49546 __tls_get_addr_internal instead of __tls_get_offset in order to
49547 avoid GOT pointer dependency. Make rtld export
49548 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49549 __tls_get_addr since we are a __tls_get_offset platform.
49550 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49551 GOT pointer being set up before.
49552 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49553
49554 2013-11-28 Joseph Myers <joseph@codesourcery.com>
49555
49556 * manual/math.texi (Errors in Math Functions): Document accuracy
49557 goals.
49558
49559 [BZ #15004]
49560 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49561 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49562 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49563 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49564 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49565 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49566 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49567 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49568 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49569 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49570 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49571 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49572 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49573 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49574 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49575 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49576
49577 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49578 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49579 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49580 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49581 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49582 Likewise.
49583 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49584 Likewise.
49585 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49586 Likewise.
49587 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49588 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49589 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49590 atomic-feupdateenv and flt-rounds.
49591 * sysdeps/powerpc/nofpu/Versions (libc): Add
49592 __atomic_feholdexcept, __atomic_feclearexcept,
49593 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49594 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49595 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49596 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49597 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49598 here.
49599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49600 Update.
49601
49602 * manual/arith.texi (FP Exceptions): Document that exceptions may
49603 not be raised when matherr is used.
49604 (Math Error Reporting): Document overflow in directed rounding
49605 modes. Document that errno may not be set when finite values are
49606 returned on overflow. Document intent to set errno on underflow
49607 only for underflow to zero.
49608
49609 [BZ #16271]
49610 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49611 round-to-nearest then adjust result for other rounding modes.
49612 * include/fenv.h (fegetround): Use libm_hidden_proto.
49613 * math/fegetround.c (fegetround): Use libm_hidden_def.
49614 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49615 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49616 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49617 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49618 Likewise.
49619 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49620 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49621 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49622 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49623
49624 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
49625
49626 [BZ #16077]
49627 * nss/Versions (libnss_files): Add
49628 _nss_files_gethostbyname3_r.
49629 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49630 New function.
49631 (HOST_DB_LOOKUP): Remove macro.
49632 (_nss_files_gethostbyname_r): Implement function without the
49633 HOST_DB_LOOKUP macro.
49634 (_nss_files_gethostbyname2_r): Likewise.
49635
49636 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
49637
49638 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49639
49640 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
49641
49642 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49643 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49644 warning.
49645
49646 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49647
49648 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49649 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49650 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49651 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49652 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49653 __fe_nomask_env_priv and attribute_hidden.
49654 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49655 (libc_feupdateenv_test_ppc): Likewise.
49656 (libc_feresetround_ppc): Likewise.
49657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49658 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49659 compat_symbol macro.
49660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49661 (__fe_nomask_env): Likewise.
49662 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49663
49664 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49665
49666 * string/Makefile: Remove ifunc tests.
49667 * string/test-string.h: Define TEST_IFUNC.
49668 * string/test-bcopy-ifunc.c: Remove.
49669 * string/test-bzero-ifunc.c: Likewise.
49670 * string/test-memccpy-ifunc.c: Likewise.
49671 * string/test-memchr-ifunc.c: Likewise.
49672 * string/test-memcmp-ifunc.c: Likewise.
49673 * string/test-memcpy-ifunc.c: Likewise.
49674 * string/test-memmem-ifunc.c: Likewise.
49675 * string/test-memmove-ifunc.c: Likewise.
49676 * string/test-mempcpy-ifunc.c: Likewise.
49677 * string/test-memrchr-ifunc.c: Likewise.
49678 * string/test-memset-ifunc.c: Likewise.
49679 * string/test-rawmemchr-ifunc.c: Likewise.
49680 * string/test-stpcpy-ifunc.c: Likewise.
49681 * string/test-stpncpy-ifunc.c: Likewise.
49682 * string/test-strcasecmp-ifunc.c: Likewise.
49683 * string/test-strcasestr-ifunc.c: Likewise.
49684 * string/test-strcat-ifunc.c: Likewise.
49685 * string/test-strchr-ifunc.c: Likewise.
49686 * string/test-strchrnul-ifunc.c: Likewise.
49687 * string/test-strcmp-ifunc.c: Likewise.
49688 * string/test-strcpy-ifunc.c: Likewise.
49689 * string/test-strcspn-ifunc.c: Likewise.
49690 * string/test-strlen-ifunc.c: Likewise.
49691 * string/test-strncasecmp-ifunc.c: Likewise.
49692 * string/test-strncat-ifunc.c: Likewise.
49693 * string/test-strncmp-ifunc.c: Likewise.
49694 * string/test-strncpy-ifunc.c: Likewise.
49695 * string/test-strnlen-ifunc.c: Likewise.
49696 * string/test-strpbrk-ifunc.c: Likewise.
49697 * string/test-strrchr-ifunc.c: Likewise.
49698 * string/test-strspn-ifunc.c: Likewise.
49699 * string/test-strstr-ifunc.c: Likewise.
49700
49701 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49702
49703 * benchtests/Makefile: Remove ifunc tests.
49704 * benchtests/bench-string.h: Define TEST_IFUNC.
49705 * benchtests/bench-bcopy-ifunc.c: Remove.
49706 * benchtests/bench-bzero-ifunc.c: Likewise.
49707 * benchtests/bench-memccpy-ifunc.c: Likewise.
49708 * benchtests/bench-memchr-ifunc.c: Likewise.
49709 * benchtests/bench-memcmp-ifunc.c: Likewise.
49710 * benchtests/bench-memcpy-ifunc.c: Likewise.
49711 * benchtests/bench-memmem-ifunc.c: Likewise.
49712 * benchtests/bench-memmove-ifunc.c: Likewise.
49713 * benchtests/bench-mempcpy-ifunc.c: Likewise.
49714 * benchtests/bench-memrchr-ifunc.c: Likewise.
49715 * benchtests/bench-memset-ifunc.c: Likewise.
49716 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49717 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49718 * benchtests/bench-stpcpy-ifunc.c: Likewise.
49719 * benchtests/bench-stpncpy-ifunc.c: Likewise.
49720 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49721 * benchtests/bench-strcasestr-ifunc.c: Likewise.
49722 * benchtests/bench-strcat-ifunc.c: Likewise.
49723 * benchtests/bench-strchr-ifunc.c: Likewise.
49724 * benchtests/bench-strchrnul-ifunc.c: Likewise.
49725 * benchtests/bench-strcmp-ifunc.c: Likewise.
49726 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49727 * benchtests/bench-strcpy-ifunc.c: Likewise.
49728 * benchtests/bench-strcspn-ifunc.c: Likewise.
49729 * benchtests/bench-strlen-ifunc.c: Likewise.
49730 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49731 * benchtests/bench-strncat-ifunc.c: Likewise.
49732 * benchtests/bench-strncmp-ifunc.c: Likewise.
49733 * benchtests/bench-strncpy-ifunc.c: Likewise.
49734 * benchtests/bench-strnlen-ifunc.c: Likewise.
49735 * benchtests/bench-strpbrk-ifunc.c: Likewise.
49736 * benchtests/bench-strrchr-ifunc.c: Likewise.
49737 * benchtests/bench-strsep-ifunc.c: Likewise.
49738 * benchtests/bench-strspn-ifunc.c: Likewise.
49739 * benchtests/bench-strstr-ifunc.c: Likewise.
49740
49741 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49742
49743 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49744
49745 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
49746
49747 * resolv/netdb.h: Use __glibc_reserved instead __unused.
49748 * rt/aio.h: Likewise.
49749 * sysdeps/gnu/bits/utmp.h: Likewise.
49750 * sysdeps/gnu/bits/utmpx.h: Likewise.
49751 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49752 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49753 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49754 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49755 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49756 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49757 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49758 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49759 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49760 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49761 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49762 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49763 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49765 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49766 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49767 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49768 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49769 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49770 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49771 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49772 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49773 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49774 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49775 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49777 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49778 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49779 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49780 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49781 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49782 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49783 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49784 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49785 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49786 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49787 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49788 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49789 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49790 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49791 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49792 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49793
49794 2013-11-25 Carlos O'Donell <carlos@redhat.com>
49795
49796 [BZ #16245]
49797 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49798 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49799
49800 2013-11-25 Joseph Myers <joseph@codesourcery.com>
49801
49802 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49803 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49804 Likewise.
49805
49806 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49807
49808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49809 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49810 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49811 (__fesetround): Remove define.
49812 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49813 rounding and exceptions handling.
49814 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49815 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49816 (__fe_nomask_env): Likewise.
49817 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49818 __fegetround instead of fegetround.
49819 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49820 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49821
49822 2013-11-21 Roland McGrath <roland@hack.frob.com>
49823
49824 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49825 it's there.
49826
49827 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49828
49829 2013-11-21 Meador Inge <meadori@codesourcery.com>
49830
49831 [BZ #11157]
49832 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49833 (encrypt_r): Likewise.
49834 * malloc/obstack.h (obstack_free): Likewise.
49835 * posix/unistd.h (encrypt): Likewise.
49836
49837 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
49838
49839 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49840 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49841 DL_CALL_DT_FINI() that call the functions directly.
49842 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49843 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49844 * elf/dl-fini.c: Likewise.
49845
49846 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
49847
49848 * malloc/hooks.c (memalign_check): Add alignment rounding.
49849 * malloc/malloc.c (_mid_memalign): New function.
49850 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49851 Implement by calling _mid_memalign.
49852 * manual/probes.texi (Memory Allocation Probes): Remove
49853 memory_valloc_retry and memory_pvalloc_retry.
49854
49855 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
49856
49857 * locale/programs/locarchive.c (open_archive): Add const
49858 qualifier to ARCHIVEFNAME and copy default fname to
49859 DEFAULT_FNAME.
49860
49861 [BZ #15601]
49862 * libio/tst-widetext.input: Rename Oriya to Odia.
49863 * locale/iso-639.def: Likewise.
49864
49865 * manual/probes.texi (Mathematical Function Probes): Add
49866 documentation for sin, cos, asin and acos probes.
49867 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49868 (__sin32): Add slowasin probe.
49869 (__cos32): Add slowacos probe.
49870 (__mpsin): Add slowsin probe.
49871 (__mpcos): Add slowcos probe.
49872
49873 2013-11-19 Joseph Myers <joseph@codesourcery.com>
49874
49875 [BZ #15483]
49876 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49877 thread-local __sim_exceptions_thread and global
49878 __sim_exceptions_global.
49879 (__sim_disabled_exceptions): Change to thread-local
49880 __sim_disabled_exceptions_thread and global
49881 __sim_disabled_exceptions_global.
49882 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49883 and global __sim_round_mode_global.
49884 (__simulate_exceptions): Use thread-local floating-point state and
49885 set global state from it as needed.
49886 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49887 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49888 __sim_round_mode_thread.
49889 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49890 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49891 and global __sim_exceptions_global.
49892 (__sim_disabled_exceptions): Change to thread-local
49893 __sim_disabled_exceptions_thread and global
49894 __sim_disabled_exceptions_global.
49895 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49896 and global __sim_round_mode_global.
49897 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49898 (SIM_SET_GLOBAL): Likewise.
49899 * sysdeps/powerpc/soft-fp/sfp-machine.h
49900 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49901 __sim_round_mode_thread.
49902 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49903 __sim_disabled_exceptions_thread.
49904 (__sim_exceptions): Change to __sim_exceptions_thread.
49905 (__sim_disabled_exceptions): Change to
49906 __sim_disabled_exceptions_thread.
49907 (__sim_round_mode): Change to __sim_round_mode_thread.
49908 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49909 thread-local floating-point state and set global state from it as
49910 needed.
49911 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49912 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
49913 (__sim_disabled_exceptions): Remove extern declaration.
49914 (feenableexcept): Use thread-local floating-point state and set
49915 global state from it as needed.
49916 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
49917 extern declaration.
49918 (__sim_disabled_exceptions): Likewise.
49919 (__sim_round_mode): Likewise.
49920 (__fegetenv): Use thread-local floating-point state.
49921 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
49922 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49923 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
49924 floating-point state and set global state from it as needed.
49925 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
49926 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
49927 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
49928 Likewise.
49929 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
49930 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
49931 Likewise.
49932 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
49933 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
49934 Use __sim_round_mode_thread.
49935 * math/test-fenv-tls.c: New file.
49936 * math/Makefile (tests): Add test-fenv-tls.
49937 ($(objpfx)test-fenv-tls): Depend on
49938 $(common-objpfx)nptl/libpthread.so.
49939
49940 2013-11-19 Andreas Schwab <schwab@suse.de>
49941
49942 * locale/programs/locale.c (show_info): Decode wordarray elements.
49943 * locale/categories.def (LC_MONETARY): Add element for
49944 _NL_MONETARY_CRNCYSTR.
49945 * locale/C-monetary.c (conversion_rate): New variable.
49946 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
49947 element.
49948
49949 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
49950
49951 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
49952 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
49953
49954 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
49955
49956 * elf/Makefile (tst-auxv): New test.
49957 * elf/tst-auxv.c: New
49958 * elf/rtld.c (dl_main): Adjust AT_EXECFN
49959
49960 2013-11-18 Joseph Myers <joseph@codesourcery.com>
49961
49962 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
49963 (hidden_proto): Caller changed.
49964 (hidden_tls_proto): New macro.
49965 (libc_hidden_tls_proto): Likewise.
49966 (rtld_hidden_tls_proto): Likewise.
49967 (libm_hidden_tls_proto): Likewise.
49968 (libresolv_hidden_tls_proto): Likewise.
49969 (librt_hidden_tls_proto): Likewise.
49970 (libdl_hidden_tls_proto): Likewise.
49971 (libnss_files_hidden_tls_proto): Likewise.
49972 (libnsl_hidden_tls_proto): Likewise.
49973 (libnss_nisplus_hidden_tls_proto): Likewise.
49974 (libutil_hidden_tls_proto): Likewise.
49975
49976 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
49977
49978 [BZ #10253]
49979 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
49980 (decompose_rpath): Defer expansion to fillin_rpath.
49981 (_dl_init_paths): Pass linkmap to fillin_rpath.
49982
49983 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49984
49985 * benchtests/Makefile: Add strsep.
49986 * benchtests/bench-strsep.c: New file: strsep benchtest.
49987 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
49988
49989 2013-11-18 Andreas Schwab <schwab@suse.de>
49990
49991 * locale/programs/locale.c (show_info) [case byte]: Check for
49992 '\377' instead of '\177'.
49993 * locale/C-monetary.c (not_available): Always use "\377".
49994 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
49995 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
49996 detect unavailable sign_posn locale elements.
49997 * locale/localeconv.c (__localeconv): For grouping and
49998 mon_grouping handle "\177" and "\377" like no grouping.
49999 (INT_ELEM): New macro. Use it to set all numeric members.
50000 * locale/programs/ld-monetary.c (monetary_read)
50001 <tok_mon_grouping>: Normalize single -1 to the empty string.
50002 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50003 Likewise.
50004
50005 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50006
50007 [BZ #16055]
50008 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50009 when we match (nil).
50010 * stdio-common/tst-sscanf.c (struct test): Add testcase.
50011
50012 2013-11-16 Joseph Myers <joseph@codesourcery.com>
50013
50014 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50015 (NO_TEST_INLINE): Update value.
50016 (ERRNO_UNCHANGED): Likewise.
50017 (ERRNO_EDOM): Likewise.
50018 (ERRNO_ERANGE): Likewise.
50019 (IGNORE_RESULT): Likewise.
50020 (check_float_internal): Check signs of NaN results if
50021 TEST_NAN_SIGN used.
50022 (check_complex): Pass TEST_NAN_SIGN flag through to second
50023 check_float_internal call.
50024 (copysign_test_data): Add tests with quiet NaNs as second
50025 argument. Use TEST_NAN_SIGN.
50026 (fabs_test_data): Add test of negative quiet NaN argument. Use
50027 TEST_NAN_SIGN.
50028 (signbit_test_data): Add tests of quiet NaN argument.
50029 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50030
50031 * math/gen-libm-test.pl (show_exceptions): Take extra argument
50032 $ignore_result.
50033 (parse_args): Handle function results specified as IGNORE.
50034 * math/libm-test.inc (IGNORE_RESULT): New macro.
50035 (check_float_internal): Do not check numerical result if flag
50036 IGNORE_RESULT set.
50037 (check_complex): Pass through IGNORE_RESULT to second
50038 check_float_internal call.
50039 (check_int): Do not check numerical result if flag IGNORE_RESULT
50040 set.
50041 (check_long): Likewise.
50042 (check_bool): Likewise.
50043 (check_longlong): Likewise.
50044 (lrint_test_data): Add tests of infinite and NaN arguments.
50045 (lrint_tonearest_test_data): Likewise.
50046 (lrint_towardzero_test_data): Likewise.
50047 (lrint_downward_test_data): Likewise.
50048 (lrint_upward_test_data): Likewise.
50049 (llrint_test_data): Likewise.
50050 (llrint_tonearest_test_data): Likewise.
50051 (llrint_towardzero_test_data): Likewise.
50052 (llrint_downward_test_data): Likewise.
50053 (llrint_upward_test_data): Likewise.
50054 (lround_test_data): Likewise.
50055 (llround_test_data): Likewise.
50056
50057 * math/libm-test.inc (NO_TEST_INLINE): New macro.
50058 (ERRNO_UNCHANGED): Update value.
50059 (ERRNO_EDOM): Likewise.
50060 (ERRNO_ERANGE): Likewise.
50061 (NO_TEST_INLINE_FLOAT): New macro.
50062 (NO_TEST_INLINE_DOUBLE): Likewise.
50063 (enable_test): New function.
50064 (RUN_TEST_f_f): Check enable_test before running test.
50065 (RUN_TEST_2_f): Likewise.
50066 (RUN_TEST_fff_f): Likewise.
50067 (RUN_TEST_c_f): Likewise.
50068 (RUN_TEST_f_f1): Likewise.
50069 (RUN_TEST_fF_f1): Likewise.
50070 (RUN_TEST_fI_f1): Likewise.
50071 (RUN_TEST_ffI_f1): Likewise.
50072 (RUN_TEST_c_c): Likewise.
50073 (RUN_TEST_cc_c): Likewise.
50074 (RUN_TEST_f_i): Likewise.
50075 (RUN_TEST_f_i_tg): Likewise.
50076 (RUN_TEST_ff_i_tg): Likewise.
50077 (RUN_TEST_f_b): Likewise.
50078 (RUN_TEST_f_b_tg): Likewise.
50079 (RUN_TEST_f_l): Likewise.
50080 (RUN_TEST_f_L): Likewise.
50081 (RUN_TEST_fFF_11): Likewise.
50082 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50083 conditionals.
50084 (cosh_test_data): Likewise.
50085 (exp_test_data): Likewise.
50086 (expm1_test_data): Likewise.
50087 (hypot_test_data): Likewise.
50088 (pow_test_data): Likewise.
50089 (sinh_test_data): Likewise.
50090 (tanh_test_data): Likewise.
50091 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50092 flags argument.
50093
50094 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50095 tests with quiet NaN input and output.
50096 (acosh_test_data): Likewise.
50097 (asin_test_data): Likewise.
50098 (asinh_test_data): Likewise.
50099 (atan_test_data): Likewise.
50100 (atanh_test_data): Likewise.
50101 (atan2_test_data): Likewise.
50102 (cbrt_test_data): Likewise.
50103 (cos_test_data): Likewise.
50104 (cosh_test_data): Likewise.
50105 (erf_test_data): Likewise.
50106 (erfc_test_data): Likewise.
50107 (exp_test_data): Likewise.
50108 (exp10_test_data): Likewise.
50109 (exp2_test_data): Likewise.
50110 (expm1_test_data): Likewise.
50111 (hypot_test_data): Likewise.
50112 (j0_test_data): Likewise.
50113 (j1_test_data): Likewise.
50114 (jn_test_data): Likewise.
50115 (lgamma_test_data): Likewise.
50116 (log_test_data): Likewise.
50117 (log10_test_data): Likewise.
50118 (log1p_test_data): Likewise.
50119 (log2_test_data): Likewise.
50120 (pow_test_data): Likewise.
50121 (scalb_test_data): Likewise.
50122 (sin_test_data): Likewise.
50123 (sincos_test_data): Likewise.
50124 (sinh_test_data): Likewise.
50125 (tan_test_data): Likewise.
50126 (tanh_test_data): Likewise.
50127 (tgamma_test_data): Likewise.
50128 (y0_test_data): Likewise.
50129 (y1_test_data): Likewise.
50130 (yn_test_data): Likewise.
50131
50132 [BZ #16167]
50133 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50134 argument being NaN and avoid computations with second argument in
50135 that case.
50136 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50137 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50138 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50139
50140 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
50141
50142 * locale/iso-639.def: Add Chitwani Tharu (the).
50143
50144 2013-11-14 Andreas Schwab <schwab@suse.de>
50145
50146 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50147 word instead of empty string.
50148
50149 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50150
50151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50152 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50154 (__fe_nomask_env): Likewise.
50155
50156 2013-11-13 Steve Ellcey <sellcey@mips.com>
50157
50158 * benchtests/bench-timing.h: Include time.h.
50159
50160 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
50161
50162 [BZ #15997]
50163 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50164 to 3.4.0 for x32.
50165 * sysdeps/unix/sysv/linux/configure: Regenerated.
50166
50167 2013-11-13 Joseph Myers <joseph@codesourcery.com>
50168
50169 [BZ #16151]
50170 * stdlib/strtod_l.c (round_and_return): Do not consider
50171 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50172 exponent one less than half the least subnormal exponent.
50173 * stdlib/test-strtod-round-data: Add more tests.
50174 * stdlib/tst-strtod-round.c (tests): Regenerated.
50175
50176 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50177
50178 [BZ #14143]
50179 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50180 (__fe_mask_env): Likewise.
50181 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50182 libm_hidden_proto and add function prototype.
50183 (__fe_mask_env): Add function prototype.
50184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50185 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50187 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50189 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50190
50191 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50192
50193 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50194 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50195
50196 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
50197
50198 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50199 of htab_find_slot().
50200
50201 2013-11-11 David S. Miller <davem@davemloft.net>
50202
50203 [BZ #16150]
50204 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50205 symbol in the non-vis3 case in static builds.
50206 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50207 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50208 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50209 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50210
50211 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
50212
50213 [BZ #387]
50214 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50215 it is empty.
50216
50217 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50218
50219 * benchtests/Makefile: Add bench-strtod.
50220 * benchtests/bench-strtod.c: New file: strtod benchtest
50221
50222 2013-11-11 Andreas Schwab <schwab@suse.de>
50223
50224 [BZ #16153]
50225 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50226 terminating NUL in key length.
50227
50228 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50229
50230 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50231 Add artificial ODP entry for vDSO symbol for PPC64.
50232 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50233 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50234
50235 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
50236
50237 [BZ #15374]
50238 * nss/getent.c (services_keys): Recognize services starting with digit.
50239
50240 2013-11-06 David S. Miller <davem@davemloft.net>
50241
50242 [BZ #15985]
50243 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50244 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50245
50246 2013-11-06 Will Newton <will.newton@linaro.org>
50247
50248 * manual/memory.texi (Malloc Examples): Remove register
50249 keyword from examples.
50250
50251 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
50252
50253 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50254
50255 2013-11-04 Joseph Myers <joseph@codesourcery.com>
50256
50257 [BZ #6981]
50258 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50259 depending on [__GCC_IEC_559 > 0].
50260 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50261 depending on [__GCC_IEC_559_COMPLEX > 0].
50262
50263 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
50264
50265 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50266 to iso-639.def.
50267
50268 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
50269
50270 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50271
50272 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
50273
50274 [BZ #16112]
50275 * malloc/malloc (malloc_info): Do not handle first bin as
50276 special case.
50277
50278 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
50279
50280 * locale/iso-639.def: Add Central Nahuatl (nhn).
50281
50282 2013-11-01 Bruno Haible <bruno@clisp.org>
50283
50284 [BZ #7003]
50285 * manual/math.texi (BSD Random): Specify range upper bound as
50286 in POSIX.
50287
50288 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
50289
50290 * locale/iso-639.def: Add Meadow Mari (mhr).
50291
50292 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
50293
50294 [BZ #14752], [BZ #15763]
50295 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50296 Validate name.
50297 * rt/tst_shm.c: Add test for escaping directory.
50298
50299 2013-10-31 Andreas Schwab <schwab@suse.de>
50300
50301 [BZ #15917]
50302 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50303 followed by 'x' as part of digit sequence.
50304 * stdio-common/tst-sscanf.c (double_tests2): New tests.
50305
50306 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50307
50308 [BZ #16037]
50309 * configure.ac: allow GNU Make 4.0 and greater.
50310 * configure: Regenerated.
50311
50312 2013-10-30 Will Newton <will.newton@linaro.org>
50313
50314 [BZ #16038]
50315 * malloc/hooks.c (memalign_check): Limit alignment to the
50316 maximum representable power of two.
50317 * malloc/malloc.c (__libc_memalign): Likewise.
50318 * malloc/tst-memalign.c (do_test): Add test for very
50319 large alignment values.
50320 * malloc/tst-posix_memalign.c (do_test): Likewise.
50321
50322 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50323
50324 [BZ #11087]
50325 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50326 (munmap_chunk): Likewise.
50327 (mremap_chunk): Likewise.
50328
50329 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
50330
50331 [BZ #15799]
50332 * stdlib/div.c (div): Remove obsolete code.
50333 * stdlib/ldiv.c (ldiv): Likewise.
50334 * stdlib/lldiv.c (lldiv): Likewise.
50335
50336 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
50337
50338 [BZ #16071]
50339 * nss/nss_files/files-XXX.c (get_contents_ret): New
50340 enumerator.
50341 (get_contents): New function.
50342 (internal_getent): Use it. Expand size of LINEBUFLEN.
50343
50344 2013-10-30 Mike Frysinger <vapier@gentoo.org>
50345
50346 * configure.in: Moved to ...
50347 * configure.ac: ... here. Change reference to configure.in
50348 to configure.ac.
50349 * sysdeps/arm/preconfigure.ac: ... here.
50350 configure.in to configure.ac.
50351 * sysdeps/gnu/configure.in: Moved to ...
50352 * sysdeps/gnu/configure.ac: ... here.
50353 * sysdeps/i386/configure.in: Moved to ...
50354 * sysdeps/i386/configure.ac: ... here.
50355 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50356 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50357 * sysdeps/mach/configure.in: Moved to ...
50358 * sysdeps/mach/configure.ac: ... here.
50359 * sysdeps/mach/hurd/configure.in: Moved to ...
50360 * sysdeps/mach/hurd/configure.ac: ... here.
50361 * sysdeps/powerpc/configure.in: Moved to ...
50362 * sysdeps/powerpc/configure.ac: ... here.
50363 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50364 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50365 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50366 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50367 * sysdeps/s390/s390-32/configure.in: Moved to ...
50368 * sysdeps/s390/s390-32/configure.ac: ... here.
50369 * sysdeps/s390/s390-64/configure.in: Moved to ...
50370 * sysdeps/s390/s390-64/configure.ac: ... here.
50371 * sysdeps/sh/configure.in: Moved to ...
50372 * sysdeps/sh/configure.ac: ... here.
50373 * sysdeps/sparc/configure.in: Moved to ...
50374 * sysdeps/sparc/configure.ac: ... here.
50375 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50376 * sysdeps/unix/sysv/linux/configure.ac: ... here.
50377 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50378 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50379 * sysdeps/x86_64/configure.in: Moved to ...
50380 * sysdeps/x86_64/configure.ac: ... here.
50381 * sysdeps/x86_64/preconfigure.in: Moved to ...
50382 * sysdeps/x86_64/preconfigure.ac: ... here.
50383 * aclocal.m4: Change reference to configure.in to configure.ac.
50384 * config.h.in: Likewise.
50385 * manual/install.texi: Likewise.
50386 * manual/maint.texi: Likewise.
50387 * Makefile: Likewise.
50388 * malloc/Makefile: Likewise.
50389 * nscd/Makefile: Likewise.
50390 * Makeconfig: Change reference to configure.in and
50391 preconfigure.in to configure.ac and preconfigure.ac
50392 respectively.
50393 * INSTALL: Regenerated.
50394 * configure: Likewise.
50395 * sysdeps/gnu/configure: Likewise.
50396 * sysdeps/i386/configure: Likewise.
50397 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50398 * sysdeps/mach/configure: Likewise.
50399 * sysdeps/mach/hurd/configure: Likewise.
50400 * sysdeps/powerpc/configure: Likewise.
50401 * sysdeps/powerpc/powerpc32/configure: Likewise.
50402 * sysdeps/powerpc/powerpc64/configure: Likewise.
50403 * sysdeps/s390/s390-32/configure: Likewise.
50404 * sysdeps/s390/s390-64/configure: Likewise.
50405 * sysdeps/sh/configure: Likewise.
50406 * sysdeps/sparc/configure: Likewise.
50407 * sysdeps/unix/sysv/linux/configure: Likewise.
50408 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50409 * sysdeps/x86_64/configure: Likewise.
50410 * sysdeps/x86_64/preconfigure: Likewise.
50411
50412 2013-10-29 Andreas Schwab <schwab@suse.de>
50413
50414 * stdio-common/Makefile (tst-swscanf-ENV): Define.
50415
50416 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50417
50418 * benchtests/pow-inputs: Add new inputs.
50419
50420 * benchtests/exp-inputs: Add new inputs.
50421
50422 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50423 conditional check for return value.
50424 (__cos32): Likewise.
50425
50426 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50427
50428 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50429 to provide a boost for large inputs with word alignment.
50430 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50431 implementation based on optimized PPC64 strcpy.
50432 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50433 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50434 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50435 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50436
50437 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50438
50439 [BZ #2801]
50440 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50441
50442 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50443
50444 [BZ #14876]
50445 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50446 * time/tst-strptime.c (day_tests): Add testcase.
50447
50448 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
50449
50450 [BZ #14029]
50451 * manual/pattern.texi: Acknowledge that fnmatch can fail.
50452
50453 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
50454
50455 [BZ #16074]
50456 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50457 MAP_FAILED on error.
50458
50459 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
50460
50461 [BZ #16072]
50462 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50463 heap for large requests.
50464
50465 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
50466
50467 [BZ #9954]
50468 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50469 result if the result has no associated interface.
50470 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50471 interface for all 127.X.Y.Z addresses.
50472
50473 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
50474
50475 * locale/iso-639.def: Add Ligurian (lij)
50476
50477 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
50478
50479 [BZ #15825]
50480 * sunrpc/rpc_main.c: Document rpcgen -5.
50481
50482 2013-10-19 Michael Stahl <mstahl@redhat.com>
50483
50484 * elf/rtld.c (do_preload): Print the reason why preloading failed.
50485
50486 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50487
50488 [BZ #10278]
50489 * posix/glob.c: Match only directories when trailing slash is present.
50490 * posix/tst-gnuglob.c (my_opendir): Do not open files.
50491 (main): Add testcase.
50492
50493 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
50494
50495 [BZ #15670]
50496 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50497
50498 2013-10-18 Carlos O'Donell <carlos@redhat.com>
50499
50500 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50501 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50502 AUTH_DES and cindex for FIPS 140-2.
50503 (DES Encryption): Add cindex FIPS 46-3.
50504
50505 * locale/locarchive.h (struct locarhandle): Add fname.
50506 * locale/programs/localedef.c (main): Pass ARGV[remaining]
50507 if an optional argument was specified to --list-archive,
50508 otherwise NULL.
50509 * locale/programs/locarchive.c (show_archive_content): Take new
50510 argument fname and pass it via ah.fname to open_archive.
50511 * locale/programs/localedef.h: Update decl.
50512 (open_archive): If AH->fname is non-null, open that file
50513 rather than the default file name, and don't ignore ENOENT.
50514 (create_archive): Set AH.fname to NULL.
50515 (delete_locales_from_archive): Likewise.
50516 (add_locales_to_archive): Likewise.
50517 * locale/programs/locfile.c (write_all_categories): Likewise.
50518
50519 2013-10-18 Joseph Myers <joseph@codesourcery.com>
50520 Aldy Hernandez <aldyh@redhat.com>
50521
50522 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50523 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50524 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50525 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50526 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50527 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50528 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50529 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50530 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50531 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50532 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50533 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50534 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50535 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50536 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50537 Likewise.
50538 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50539 Likewise.
50540 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50541 Likewise.
50542 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50543 Likewise.
50544 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50545 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50546 Likewise.
50547 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50548 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50549 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50550 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50551 Likewise.
50552 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50553 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50554 * sysdeps/powerpc/preconfigure: Likewise.
50555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50556 Likewise.
50557 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50558 Replace contents of file by #include of <fenv_libc.h>.
50559 * sysdeps/powerpc/soft-fp/sfp-machine.h
50560 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50561 and <sys/prctl.h>.
50562 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50563 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50564 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50565 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50566 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50567 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50569 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50570 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50571 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50572 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50573 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50575 Allow copysignl PLT reference to be missing.
50576
50577 2013-10-18 Richard Sandiford <richard@codesourcery.com>
50578 Joseph Myers <joseph@codesourcery.com
50579
50580 [BZ #15948]
50581 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50582 single character.
50583 (add_to_tablewc): Assert sequence of wide characters is nonempty.
50584
50585 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
50586
50587 * elf/tst-tls-dlinfo.c: Don't include tls.h.
50588 * elf/tst-tls1.c: Likewise.
50589 * elf/tst-tls10.h: Likewise.
50590 * elf/tst-tls14.c: Likewise.
50591 * elf/tst-tls2.c: Likewise.
50592 * elf/tst-tls3.c: Likewise.
50593 * elf/tst-tls4.c: Likewise.
50594 * elf/tst-tls5.c: Likewise.
50595 * elf/tst-tls6.c: Likewise.
50596 * elf/tst-tls7.c: Likewise.
50597 * elf/tst-tls8.c: Likewise.
50598 * elf/tst-tls9.c: Likewise.
50599 * elf/tst-tlsmod1.c: Likewise.
50600 * elf/tst-tlsmod13.c: Likewise.
50601 * elf/tst-tlsmod13a.c: Likewise.
50602 * elf/tst-tlsmod14a.c: Likewise.
50603 * elf/tst-tlsmod16a.c: Likewise.
50604 * elf/tst-tlsmod16b.c: Likewise.
50605 * elf/tst-tlsmod2.c: Likewise.
50606 * elf/tst-tlsmod3.c: Likewise.
50607 * elf/tst-tlsmod4.c: Likewise.
50608 * elf/tst-tlsmod5.c: Likewise.
50609 * elf/tst-tlsmod6.c: Likewise.
50610
50611 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
50612
50613 [BZ #12486]
50614 * malloc/malloc.c: remove checks for statistics.
50615
50616 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50617
50618 [BZ #15277]
50619 * inet/inet_net.c (inet_network): Detect additional invalid strings.
50620 * inet/tst-network.c: Add testcase.
50621
50622 2013-10-17 Andreas Schwab <schwab@suse.de>
50623
50624 [BZ #15218]
50625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50626 to determine canonical name.
50627
50628 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
50629
50630 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50631 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50633 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50634 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50635 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50636 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50637 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50638 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50639 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50640 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50641 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50642 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50643 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50644 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50645 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50646 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50647 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50648 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50649 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50650 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50651 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50652 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50653 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50654 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50655 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50656 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50657 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50658 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50659 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50660 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50661 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50662 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50663 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50664 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50665 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50666 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50667 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50668 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50669 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50670 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50671 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50672 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50673 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50674 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50675 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50676 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50677 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50678 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50679 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50680 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50681 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50682 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50683 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50684 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50685 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50687 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50688
50689 2013-10-17 Joseph Myers <joseph@codesourcery.com>
50690
50691 [BZ #16041]
50692 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50693 make result into a quiet NaN.
50694
50695 2013-10-16 Joseph Myers <joseph@codesourcery.com>
50696
50697 * soft-fp/adddf3.c: Fix horizontal whitespace.
50698 * soft-fp/addsf3.c: Likewise.
50699 * soft-fp/addtf3.c: Likewise.
50700 * soft-fp/divdf3.c: Likewise.
50701 * soft-fp/divsf3.c: Likewise.
50702 * soft-fp/divtf3.c: Likewise.
50703 * soft-fp/double.h: Likewise.
50704 * soft-fp/eqdf2.c: Likewise.
50705 * soft-fp/eqsf2.c: Likewise.
50706 * soft-fp/eqtf2.c: Likewise.
50707 * soft-fp/extenddftf2.c: Likewise.
50708 * soft-fp/extended.h: Likewise.
50709 * soft-fp/extendsfdf2.c: Likewise.
50710 * soft-fp/extendsftf2.c: Likewise.
50711 * soft-fp/extendxftf2.c: Likewise.
50712 * soft-fp/fixdfdi.c: Likewise.
50713 * soft-fp/fixdfsi.c: Likewise.
50714 * soft-fp/fixdfti.c: Likewise.
50715 * soft-fp/fixsfdi.c: Likewise.
50716 * soft-fp/fixsfsi.c: Likewise.
50717 * soft-fp/fixsfti.c: Likewise.
50718 * soft-fp/fixtfdi.c: Likewise.
50719 * soft-fp/fixtfsi.c: Likewise.
50720 * soft-fp/fixtfti.c: Likewise.
50721 * soft-fp/fixunsdfdi.c: Likewise.
50722 * soft-fp/fixunsdfsi.c: Likewise.
50723 * soft-fp/fixunsdfti.c: Likewise.
50724 * soft-fp/fixunssfdi.c: Likewise.
50725 * soft-fp/fixunssfsi.c: Likewise.
50726 * soft-fp/fixunssfti.c: Likewise.
50727 * soft-fp/fixunstfdi.c: Likewise.
50728 * soft-fp/fixunstfsi.c: Likewise.
50729 * soft-fp/fixunstfti.c: Likewise.
50730 * soft-fp/floatdidf.c: Likewise.
50731 * soft-fp/floatdisf.c: Likewise.
50732 * soft-fp/floatditf.c: Likewise.
50733 * soft-fp/floatsidf.c: Likewise.
50734 * soft-fp/floatsisf.c: Likewise.
50735 * soft-fp/floatsitf.c: Likewise.
50736 * soft-fp/floattidf.c: Likewise.
50737 * soft-fp/floattisf.c: Likewise.
50738 * soft-fp/floattitf.c: Likewise.
50739 * soft-fp/floatundidf.c: Likewise.
50740 * soft-fp/floatundisf.c: Likewise.
50741 * soft-fp/floatunditf.c: Likewise.
50742 * soft-fp/floatunsidf.c: Likewise.
50743 * soft-fp/floatunsisf.c: Likewise.
50744 * soft-fp/floatunsitf.c: Likewise.
50745 * soft-fp/floatuntidf.c: Likewise.
50746 * soft-fp/floatuntisf.c: Likewise.
50747 * soft-fp/floatuntitf.c: Likewise.
50748 * soft-fp/fmadf4.c: Likewise.
50749 * soft-fp/fmasf4.c: Likewise.
50750 * soft-fp/fmatf4.c: Likewise.
50751 * soft-fp/gedf2.c: Likewise.
50752 * soft-fp/gesf2.c: Likewise.
50753 * soft-fp/getf2.c: Likewise.
50754 * soft-fp/ledf2.c: Likewise.
50755 * soft-fp/lesf2.c: Likewise.
50756 * soft-fp/letf2.c: Likewise.
50757 * soft-fp/muldf3.c: Likewise.
50758 * soft-fp/mulsf3.c: Likewise.
50759 * soft-fp/multf3.c: Likewise.
50760 * soft-fp/negdf2.c: Likewise.
50761 * soft-fp/negsf2.c: Likewise.
50762 * soft-fp/negtf2.c: Likewise.
50763 * soft-fp/op-1.h: Likewise.
50764 * soft-fp/op-2.h: Likewise.
50765 * soft-fp/op-4.h: Likewise.
50766 * soft-fp/op-8.h: Likewise.
50767 * soft-fp/op-common.h: Likewise.
50768 * soft-fp/quad.h: Likewise.
50769 * soft-fp/single.h: Likewise.
50770 * soft-fp/soft-fp.h: Likewise.
50771 * soft-fp/sqrtdf2.c: Likewise.
50772 * soft-fp/sqrtsf2.c: Likewise.
50773 * soft-fp/sqrttf2.c: Likewise.
50774 * soft-fp/subdf3.c: Likewise.
50775 * soft-fp/subsf3.c: Likewise.
50776 * soft-fp/subtf3.c: Likewise.
50777 * soft-fp/truncdfsf2.c: Likewise.
50778 * soft-fp/trunctfdf2.c: Likewise.
50779 * soft-fp/trunctfsf2.c: Likewise.
50780 * soft-fp/trunctfxf2.c: Likewise.
50781 * soft-fp/unorddf2.c: Likewise.
50782 * soft-fp/unordsf2.c: Likewise.
50783 * soft-fp/unordtf2.c: Likewise.
50784
50785 2013-10-15 Joseph Myers <joseph@codesourcery.com>
50786
50787 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50788 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50789
50790 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
50791
50792 * elf/dl-libc.c: Clear initfini list after freeing.
50793
50794 2013-10-14 Joseph Myers <joseph@codesourcery.com>
50795
50796 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50797 * soft-fp/addsf3.c: Likewise.
50798 * soft-fp/addtf3.c: Likewise.
50799 * soft-fp/divdf3.c: Likewise.
50800 * soft-fp/divsf3.c: Likewise.
50801 * soft-fp/divtf3.c: Likewise.
50802 * soft-fp/double.h: Likewise.
50803 * soft-fp/eqdf2.c: Likewise.
50804 * soft-fp/eqsf2.c: Likewise.
50805 * soft-fp/eqtf2.c: Likewise.
50806 * soft-fp/extenddftf2.c: Likewise.
50807 * soft-fp/extended.h: Likewise.
50808 * soft-fp/extendsfdf2.c: Likewise.
50809 * soft-fp/extendsftf2.c: Likewise.
50810 * soft-fp/extendxftf2.c: Likewise.
50811 * soft-fp/fixdfdi.c: Likewise.
50812 * soft-fp/fixdfsi.c: Likewise.
50813 * soft-fp/fixdfti.c: Likewise.
50814 * soft-fp/fixsfdi.c: Likewise.
50815 * soft-fp/fixsfsi.c: Likewise.
50816 * soft-fp/fixsfti.c: Likewise.
50817 * soft-fp/fixtfdi.c: Likewise.
50818 * soft-fp/fixtfsi.c: Likewise.
50819 * soft-fp/fixtfti.c: Likewise.
50820 * soft-fp/fixunsdfdi.c: Likewise.
50821 * soft-fp/fixunsdfsi.c: Likewise.
50822 * soft-fp/fixunsdfti.c: Likewise.
50823 * soft-fp/fixunssfdi.c: Likewise.
50824 * soft-fp/fixunssfsi.c: Likewise.
50825 * soft-fp/fixunssfti.c: Likewise.
50826 * soft-fp/fixunstfdi.c: Likewise.
50827 * soft-fp/fixunstfsi.c: Likewise.
50828 * soft-fp/fixunstfti.c: Likewise.
50829 * soft-fp/floatdidf.c: Likewise.
50830 * soft-fp/floatdisf.c: Likewise.
50831 * soft-fp/floatditf.c: Likewise.
50832 * soft-fp/floatsidf.c: Likewise.
50833 * soft-fp/floatsisf.c: Likewise.
50834 * soft-fp/floatsitf.c: Likewise.
50835 * soft-fp/floattidf.c: Likewise.
50836 * soft-fp/floattisf.c: Likewise.
50837 * soft-fp/floattitf.c: Likewise.
50838 * soft-fp/floatundidf.c: Likewise.
50839 * soft-fp/floatundisf.c: Likewise.
50840 * soft-fp/floatunsidf.c: Likewise.
50841 * soft-fp/floatunsisf.c: Likewise.
50842 * soft-fp/floatuntidf.c: Likewise.
50843 * soft-fp/floatuntisf.c: Likewise.
50844 * soft-fp/floatuntitf.c: Likewise.
50845 * soft-fp/fmadf4.c: Likewise.
50846 * soft-fp/fmasf4.c: Likewise.
50847 * soft-fp/fmatf4.c: Likewise.
50848 * soft-fp/gedf2.c: Likewise.
50849 * soft-fp/gesf2.c: Likewise.
50850 * soft-fp/getf2.c: Likewise.
50851 * soft-fp/ledf2.c: Likewise.
50852 * soft-fp/lesf2.c: Likewise.
50853 * soft-fp/letf2.c: Likewise.
50854 * soft-fp/muldf3.c: Likewise.
50855 * soft-fp/mulsf3.c: Likewise.
50856 * soft-fp/multf3.c: Likewise.
50857 * soft-fp/negdf2.c: Likewise.
50858 * soft-fp/negsf2.c: Likewise.
50859 * soft-fp/negtf2.c: Likewise.
50860 * soft-fp/op-1.h: Likewise.
50861 * soft-fp/op-2.h: Likewise.
50862 * soft-fp/op-4.h: Likewise.
50863 * soft-fp/op-8.h: Likewise.
50864 * soft-fp/op-common.h: Likewise.
50865 * soft-fp/quad.h: Likewise.
50866 * soft-fp/single.h: Likewise.
50867 * soft-fp/soft-fp.h: Likewise.
50868 * soft-fp/sqrtdf2.c: Likewise.
50869 * soft-fp/sqrtsf2.c: Likewise.
50870 * soft-fp/sqrttf2.c: Likewise.
50871 * soft-fp/subdf3.c: Likewise.
50872 * soft-fp/subsf3.c: Likewise.
50873 * soft-fp/subtf3.c: Likewise.
50874 * soft-fp/truncdfsf2.c: Likewise.
50875 * soft-fp/trunctfdf2.c: Likewise.
50876 * soft-fp/trunctfsf2.c: Likewise.
50877 * soft-fp/trunctfxf2.c: Likewise.
50878 * soft-fp/unorddf2.c: Likewise.
50879 * soft-fp/unordsf2.c: Likewise.
50880 * soft-fp/unordtf2.c: Likewise.
50881
50882 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
50883
50884 [BZ #15672]
50885 * misc/error.c (error_tail): Fix possible buffer overflow.
50886
50887 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
50888
50889 [BZ #13028]
50890 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50891 address.
50892
50893 2013-10-14 P. J. McDermott <pj@pehjota.net>
50894
50895 [BZ #832]
50896 * elf/ldd.bash.in (try_trace): New function. Delete previous code
50897 testing pipefail option.
50898
50899 2013-10-12 Joseph Myers <joseph@codesourcery.com>
50900
50901 * soft-fp/double.h: Indent preprocessor directives inside #if.
50902 * soft-fp/extended.h: Likewise.
50903 * soft-fp/op-2.h: Likewise.
50904 * soft-fp/op-4.h: Likewise.
50905 * soft-fp/op-common.h: Likewise.
50906 * soft-fp/quad.h: Likewise.
50907 * soft-fp/single.h: Likewise.
50908 * soft-fp/soft-fp.h: Likewise.
50909
50910 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
50911
50912 * iconv/iconv_prog.c: Fix typos.
50913 * stdio-common/psiginfo-data.h: Likewise.
50914
50915 2013-10-12 Reuben Thomas <rrt@sc3d.org>
50916
50917 [BZ #15764]
50918 * locale/setlocale.c: Fix typo.
50919
50920 2013-10-12 Joseph Myers <joseph@codesourcery.com>
50921
50922 [BZ #16036]
50923 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
50924 signaling NaN arguments.
50925 * soft-fp/unordsf2.c (__unordsf2): Likewise.
50926 * soft-fp/unordtf2.c (__unordtf2): Likewise.
50927
50928 [BZ #14910]
50929 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
50930 unordered operands.
50931 * soft-fp/gesf2.c (__gesf2): Likewise.
50932 * soft-fp/getf2.c (__getf2): Likewise.
50933 * soft-fp/ledf2.c (__ledf2): Likewise.
50934 * soft-fp/lesf2.c (__lesf2): Likewise.
50935 * soft-fp/letf2.c (__letf2): Likewise.
50936
50937 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
50938 * soft-fp/eqsf2.c (__eqsf2): Likewise.
50939 * soft-fp/eqtf2.c (__eqtf2): Likewise.
50940 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
50941 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
50942 * soft-fp/fixdfti.c (__fixdfti): Likewise.
50943 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
50944 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
50945 * soft-fp/fixsfti.c (__fixsfti): Likewise.
50946 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
50947 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
50948 * soft-fp/fixtfti.c (__fixtfti): Likewise.
50949 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
50950 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
50951 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
50952 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
50953 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
50954 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
50955 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
50956 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
50957 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
50958 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
50959 * soft-fp/floatdisf.c (__floatdisf): Likewise.
50960 * soft-fp/floatsisf.c (__floatsisf): Likewise.
50961 * soft-fp/floattidf.c (__floattidf): Likewise.
50962 * soft-fp/floattisf.c (__floattisf): Likewise.
50963 * soft-fp/floattitf.c (__floattitf): Likewise.
50964 * soft-fp/floatundidf.c (__floatundidf): Likewise.
50965 * soft-fp/floatundisf.c (__floatundisf): Likewise.
50966 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
50967 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
50968 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
50969 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
50970 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
50971 * soft-fp/gesf2.c (__gesf2): Likewise.
50972 * soft-fp/getf2.c (__getf2): Likewise.
50973 * soft-fp/ledf2.c (__ledf2): Likewise.
50974 * soft-fp/lesf2.c (__lesf2): Likewise.
50975 * soft-fp/letf2.c (__letf2): Likewise.
50976
50977 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
50978 Undefine and redefine.
50979 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
50980 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
50981 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
50982 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
50983 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50984 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
50985 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50986 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
50987 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50988 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
50989 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50990 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
50991 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50992 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
50993 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
50994
50995 [BZ #16032]
50996 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
50997 without decrementing exponent if mantissa >= that for the
50998 denominator, not >.
50999 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51000 denominator, not >. Decrement exponent in < case instead of
51001 incrementing in >= case.
51002 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51003 without decrementing exponent if mantissa >= that for the
51004 denominator, not >.
51005
51006 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51007 computing saturated result for unsigned overflow.
51008
51009 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
51010 Jeff Law <law@redhat.com>
51011
51012 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51013 (atan2Mp): Add systemtap probe marker.
51014 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51015 (__ieee754_log): Add systemtap probe marker.
51016 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51017 (atanMp): Add systemtap probe marker.
51018 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51019 (tanMp): Add systemtap probe marker.
51020 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51021 (__slowexp): Add systemtap probe marker.
51022 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51023 (__slowpow): Add systemtap probe marker.
51024 * manual/probes.texi: Document probes.
51025
51026 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
51027
51028 [BZ #15362]
51029 * libio/fileops.c (_IO_new_file_write): Return count of bytes
51030 written.
51031 (_IO_new_file_xsputn): Don't return EOF if nothing has been
51032 written.
51033 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51034 written to buffer but not flushed.
51035 * libio/iofwrite_u.c: Likewise.
51036 * libio/iopadn.c: Return bytes returned even if EOF was
51037 encountered.
51038 * libio/iowpadn.c: Likewise.
51039 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51040 if _IO_padn does not write the whole buffer.
51041 [!COMPILE_WPRINTF] (PAD): Likewise.
51042
51043 2013-10-10 David S. Miller <davem@davemloft.net>
51044
51045 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51046 directory block.
51047
51048 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51049
51050 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
51051 instead of FSF address.
51052 * soft-fp/fixdfti.c: Likewise.
51053 * soft-fp/fixsfti.c: Likewise.
51054 * soft-fp/fixtfti.c: Likewise.
51055 * soft-fp/fixunsdfti.c: Likewise.
51056 * soft-fp/fixunssfti.c: Likewise.
51057 * soft-fp/fixunstfti.c: Likewise.
51058 * soft-fp/floattidf.c: Likewise.
51059 * soft-fp/floattisf.c: Likewise.
51060 * soft-fp/floattitf.c: Likewise.
51061 * soft-fp/floatuntidf.c: Likewise.
51062 * soft-fp/floatuntisf.c: Likewise.
51063 * soft-fp/floatuntitf.c: Likewise.
51064 * soft-fp/trunctfxf2.c: Likewise.
51065
51066 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
51067 * soft-fp/fixdfti.c: Likewise.
51068 * soft-fp/fixsfti.c: Likewise.
51069 * soft-fp/fixtfti.c: Likewise.
51070 * soft-fp/fixunsdfti.c: Likewise.
51071 * soft-fp/fixunssfti.c: Likewise.
51072 * soft-fp/fixunstfti.c: Likewise.
51073 * soft-fp/floattidf.c: Likewise.
51074 * soft-fp/floattisf.c: Likewise.
51075 * soft-fp/floattitf.c: Likewise.
51076 * soft-fp/floatuntidf.c: Likewise.
51077 * soft-fp/floatuntisf.c: Likewise.
51078 * soft-fp/floatuntitf.c: Likewise.
51079 * soft-fp/trunctfxf2.c: Likewise.
51080
51081 2013-10-10 David S. Miller <davem@davemloft.net>
51082
51083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51084
51085 2013-10-10 Joseph Myers <joseph@codsourcery.com>
51086
51087 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51088 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51089 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51090 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51091 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51092 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51093 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51094
51095 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51096 for NaNs before doing comparisons on argument.
51097 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51098 Likewise.
51099
51100 2013-10-10 Will Newton <will.newton@linaro.org>
51101
51102 * malloc/hooks.c (memalign_check): Ensure the value of bytes
51103 passed to _int_memalign does not overflow.
51104
51105 2013-10-10 Torvald Riegel <triegel@redhat.com>
51106
51107 * scripts/bench.pl: Add include-sources directive.
51108 * benchtests/README: Update documentation.
51109
51110 2013-10-10 Joseph Myers <joseph@codesourcery.com>
51111
51112 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51113 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51114 instead of FP_INIT_ROUNDMODE.
51115 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51116 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51117
51118 [BZ #16034]
51119 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
51120 copy class of input value.
51121 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
51122 not handle exceptions.
51123 * soft-fp/negsf2.c (__negsf2): Likewise.
51124 * soft-fp/negtf2.c (__negtf2): Likewise.
51125 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51126
51127 2013-10-09 Joseph Myers <joseph@codesourcery.com>
51128
51129 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51130 semicolon. From Linux kernel.
51131
51132 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
51133
51134 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51135
51136 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
51137
51138 [BZ #156]
51139 * manual/socket.texi: Added statement about buffer
51140 for gethostbyname2_r.
51141
51142 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
51143
51144 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51145 Use .p2align directive instead, throughout.
51146 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51147 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51148 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51149 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51150 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51151 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51152 * sysdeps/x86_64/strchr.S: Likewise.
51153 * sysdeps/x86_64/strrchr.S: Likewise.
51154
51155 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
51156
51157 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51158
51159 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51160
51161 * sysdeps/generic/math_private.h (__mpsin1): Remove
51162 declaration.
51163 (__mpcos1): Likewise.
51164 (__mpsin): New argument __range_reduce.
51165 (__mpcos): Likewise.
51166 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51167 (slow): Use __mpsin and __mpcos.
51168 (slow1): Likewise.
51169 (slow2): Likewise.
51170 (sloww): Likewise.
51171 (sloww1): Likewise.
51172 (sloww2): Likewise.
51173 (bsloww): Likewise.
51174 (bsloww1): Likewise.
51175 (bsloww2): Likewise.
51176 (cslow2): Likewise.
51177 (csloww): Likewise.
51178 (csloww1): Likewise.
51179 (csloww2): Likewise.
51180 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51181 range_reduce. Merge in __mpsin1.
51182 (__mpcos): Likewise.
51183 (__mpsin1): Remove.
51184 (__mpcos1): Likewise.
51185
51186 2013-10-07 Joseph Myers <joseph@codesourcery.com>
51187
51188 * locale/loadlocale.c (_nl_intern_locale_data): Use
51189 LOCFILE_ALIGNED_P.
51190 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51191 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51192 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51193 obstack data is appropriately aligned.
51194 (obstack_int32_grow_fast): Likewise.
51195 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51196 * locale/programs/locfile.c (add_locale_uint32): Likewise.
51197 (add_locale_uint32_array): Likewise.
51198
51199 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
51200
51201 * benchtests/Makefile: Remove ARGLIST and RET variables.
51202 ($(objpfx)bench-%.c): Pass only function name to the script.
51203 * benchtests/README: Update documentation.
51204 * benchtests/acos-inputs: Add new directives.
51205 * benchtests/acosh-inputs: Likewise.
51206 * benchtests/asin-inputs: Likewise.
51207 * benchtests/asinh-inputs: Likewise.
51208 * benchtests/atan-inputs: Likewise.
51209 * benchtests/atanh-inputs: Likewise.
51210 * benchtests/cos-inputs: Likewise.
51211 * benchtests/cosh-inputs: Likewise.
51212 * benchtests/exp-inputs: Likewise.
51213 * benchtests/log-inputs: Likewise.
51214 * benchtests/pow-inputs: Likewise.
51215 * benchtests/rint-inputs: Likewise.
51216 * benchtests/sin-inputs: Likewise.
51217 * benchtests/sinh-inputs: Likewise.
51218 * benchtests/tan-inputs: Likewise.
51219 * benchtests/tanh-inputs: Likewise.
51220 * scripts/bench.pl: Add support for new directives.
51221
51222 2013-10-07 Alan Modra <amodra@gmail.com>
51223
51224 * README: Fix careless merge.
51225
51226 2013-10-05 Alan Modra <amodra@gmail.com>
51227
51228 * NEWS: Mention powerpc64le support and bugs fixed.
51229 * README: Both big-endian and little-endian powerpc64 supported.
51230
51231 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
51232
51233 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51234 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51235 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51236 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51237
51238 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
51239
51240 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51241 match prototype.
51242
51243 2013-10-04 Joseph Myers <joseph@codesourcery.com>
51244
51245 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51246 Move -mhard-float appending from
51247 ports/sysdeps/powerpc/powerpc32/Makefile.
51248 [$(with-fp) = yes] (ASFLAGS): Likewise.
51249 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51250 * sysdeps/powerpc/nofpu: Move directory from
51251 ports/sysdeps/powerpc/nofpu.
51252 * sysdeps/powerpc/soft-fp: Move directory from
51253 ports/sysdeps/powerpc/soft-fp.
51254 * sysdeps/powerpc/powerpc32/405: Move directory from
51255 ports/sysdeps/powerpc/powerpc32/405.
51256 * sysdeps/powerpc/powerpc32/440: Move directory from
51257 ports/sysdeps/powerpc/powerpc32/440.
51258 * sysdeps/powerpc/powerpc32/464: Move directory from
51259 ports/sysdeps/powerpc/powerpc32/464.
51260 * sysdeps/powerpc/powerpc32/476: Move directory from
51261 ports/sysdeps/powerpc/powerpc32/476.
51262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51263 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51265 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51267 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51269 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51271 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51272 * README: Update for powerpc-*-linux-gnu software floating point
51273 support in libc.
51274
51275 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51276 case to powerpc/powerpc32*.
51277 * sysdeps/unix/sysv/linux/configure: Regenerated.
51278
51279 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51280 (_FPU_MASK_OM): Define as 0x04.
51281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51283 0x00c10080.
51284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51285 0x0000003c.
51286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51287
51288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51289 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51290 getcontext_e500.
51291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51292 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51293 setcontext_e500.
51294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51295 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51296 and setcontext_e500.
51297
51298 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
51299
51300 * locale/iso-3166.def: Update iso-1366.def and related occurrences
51301
51302 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
51303
51304 * manual/threads.texi (Default Thread Attributes): Fix typo.
51305
51306 2013-10-04 Will Newton <will.newton@linaro.org>
51307
51308 * malloc/Makefile: Add tst-memalign.
51309 * malloc/tst-memalign.c: New file.
51310
51311 * malloc/tst-posix_memalign.c: Add comments.
51312 (do_test): Add comments and call free on all potentially
51313 allocated pointers. Add space after cast.
51314
51315 * malloc/tst-pvalloc.c: Add comments.
51316 (do_test): Add comments and call free on all potentially
51317 allocated pointers. Remove duplicate check for NULL pointer.
51318 Add space after cast.
51319
51320 * malloc/tst-valloc.c: Add comments.
51321 (do_test): Add comments and call free on all potentially
51322 allocated pointers. Remove duplicate check for NULL pointer.
51323 Add space after cast.
51324
51325 2013-10-04 Alan Modra <amodra@gmail.com>
51326
51327 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51328 Use stdint types in rather than __attribute__((mode())).
51329 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51330
51331 2013-10-04 Alan Modra <amodra@gmail.com>
51332
51333 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51334 Correct handling of unaligned relocs for little-endian.
51335 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51336
51337 2013-10-04 Alan Modra <amodra@gmail.com>
51338
51339 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51340 * configure: Regenerate.
51341 * nptl/shlib-versions: Powerpc*le starts at 2.18.
51342 * shlib-versions: Likewise.
51343
51344 2013-10-04 Alan Modra <amodra@gmail.com>
51345
51346 * string/tester.c (test_memrchr): Increment reported test cycle.
51347
51348 2013-10-04 Alan Modra <amodra@gmail.com>
51349
51350 * string/test-memcpy.c (do_one_test): When reporting errors, print
51351 string address and don't overrun end of string.
51352
51353 2013-10-04 Alan Modra <amodra@gmail.com>
51354
51355 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51356 insrdi. Make better use of reg selection to speed exit slightly.
51357 Schedule entry path a little better. Remove useless "are we done"
51358 checks on entry to main loop. Handle wrapping around zero address.
51359 Correct main loop count. Handle single left-over word from main
51360 loop inline rather than by using loop_small. Remove extra word
51361 case in loop_small caused by wrong loop count. Add little-endian
51362 support.
51363 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51364 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
51365 cache hint.
51366 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51367 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51368 support. Avoid rlwimi.
51369 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51370
51371 2013-10-04 Alan Modra <amodra@gmail.com>
51372
51373 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51374 insrdi. Formatting.
51375 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51376 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51377 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51378 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51379 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51380 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51381
51382 2013-10-04 Alan Modra <amodra@gmail.com>
51383
51384 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51385 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51386 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51387 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51388 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51389 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51390 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51391 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51392 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
51393 use of regs. Use power7 mtocrf. Tidy function tails.
51394
51395 2013-10-04 Alan Modra <amodra@gmail.com>
51396
51397 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51398 Formatting. Consistently use rXXX register defines or rN defines.
51399 Use early exit labels that avoid restoring unused non-volatile regs.
51400 Make cr field use more consistent with rWORDn compares. Rename
51401 regs used as shift registers for unaligned loop, using rN defines
51402 for short lifetime/multiple use regs.
51403 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51404 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
51405 addi 1,1,64 to pop stack frame. Simplify return value code.
51406 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51407
51408 2013-10-04 Alan Modra <amodra@gmail.com>
51409
51410 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51411 support. Correct typos, formatting. Optimize tail. Use insrdi
51412 rather than rlwimi.
51413 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51414 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51415 little-endian support. Correct typos.
51416 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
51417 rather than rlwimi.
51418 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
51419 in loop and entry code to keep "and." results.
51420 (strchr): Add little-endian support. Comment. Move cntlzd
51421 earlier in tail.
51422 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51423
51424 2013-10-04 Alan Modra <amodra@gmail.com>
51425
51426 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51427 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51428 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51429 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51430
51431 2013-10-04 Alan Modra <amodra@gmail.com>
51432
51433 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51434 (rTMP): Define as r11.
51435 (strcmp): Add little-endian support. Optimise tail.
51436 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51437 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51438 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51439 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51440 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51441 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51443
51444 2013-10-04 Alan Modra <amodra@gmail.com>
51445
51446 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51447 little-endian support. Remove unnecessary "are we done" tests.
51448 Handle "s" wrapping around zero and extremely large "size".
51449 Correct main loop count. Handle single left-over word from main
51450 loop inline rather than by using small_loop. Correct comments.
51451 Delete "zero" tail, use "end_max" instead.
51452 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51453
51454 2013-10-04 Alan Modra <amodra@gmail.com>
51455
51456 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51457 support. Don't branch over align.
51458 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51459 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51460 support. Rearrange tmp reg use to suit. Comment.
51461 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51462
51463 2013-10-04 Alan Modra <amodra@gmail.com>
51464
51465 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51466
51467 2013-10-04 Alan Modra <amodra@gmail.com>
51468
51469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51470 conditional form of branch and link when obtaining pc.
51471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51472
51473 2013-10-04 Alan Modra <amodra@gmail.com>
51474
51475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51476 HIWORD/LOWORD.
51477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51479
51480 2013-10-04 Alan Modra <amodra@gmail.com>
51481
51482 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51483 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51484 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51485 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51486 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51487 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51488 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51489 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51490 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51491 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51492
51493 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51494 Alistair Popple <alistair@ozlabs.au.ibm.com>
51495 Alan Modra <amodra@gmail.com>
51496
51497 [BZ #15723]
51498 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51499 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51500 _dl_hwcap access for little-endian.
51501 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
51502 destroy vmx regs when saving unaligned.
51503 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51504 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
51505 destroy vmx regs when saving unaligned.
51506
51507 2013-10-04 Alan Modra <amodra@gmail.com>
51508
51509 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51510 Don't use a union to pack hi/low value.
51511
51512 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51513
51514 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51515 for little-endian.
51516 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51517 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51518 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51519 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51520 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51521
51522 2013-10-04 Alan Modra <amodra@gmail.com>
51523
51524 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51525 constants to usual value for .cst8 section, and remove redundant
51526 high address load.
51527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51528 constant for 0x1p52. Load little-endian words of double from
51529 correct stack offsets.
51530
51531 2013-10-04 Alan Modra <amodra@gmail.com>
51532
51533 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51534 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51535 words of double from correct stack offsets.
51536 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51537 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51538 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51539 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51540 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51541 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51542 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51543 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51544 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51545 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51546 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51547 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51548 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51549 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51550 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51551 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51552 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51553
51554 2013-10-04 Alan Modra <amodra@gmail.com>
51555
51556 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51557 64-bit int/double union.
51558 (_FPU_SETCW): Likewise.
51559 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51560 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51561
51562 2013-10-04 Alan Modra <amodra@gmail.com>
51563
51564 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51565 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51566
51567 2013-10-04 Alan Modra <amodra@gmail.com>
51568
51569 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51570 use vector int constants.
51571 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51572
51573 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51574
51575 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51576 array with long long.
51577 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51578 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51579 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51580 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51581 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51582 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51583 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51584 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51585 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51586 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51587 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51588 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51589 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51590
51591 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
51592
51593 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51594 (__signbit): Likewise. Correct for little-endian.
51595 (__signbitl): Call __signbit.
51596 (lrint): Correct for little-endian.
51597 (lrintf): Call lrint.
51598
51599 2013-10-04 Alan Modra <amodra@gmail.com>
51600
51601 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51602 union 32-bit int array member with 64-bit int array.
51603 (t515, tm256): Double rather than long double.
51604 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51605
51606 2013-10-04 Alan Modra <amodra@gmail.com>
51607
51608 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51609 Delete.
51610 (IEEE854_LONG_DOUBLE_BIAS): Delete.
51611 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51612 version of math_ldbl.h.
51613
51614 2013-10-04 Alan Modra <amodra@gmail.com>
51615
51616 [BZ #15734], [BZ #15735]
51617 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51618 all uses of ieee875 long double macros and unions. Simplify test
51619 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
51620 ldbl_extract_mantissa value for ix,iy exponents. Properly
51621 normalize after ldbl_extract_mantissa, and don't add hidden bit
51622 already handled. Don't treat low word of ieee854 mantissa like
51623 low word of IBM long double and mask off bit when testing for
51624 zero.
51625 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51626 all uses of ieee875 long double macros and unions. Simplify tests
51627 for 0.0L and inf. Correct double adjustment of k. Delete dead code
51628 adjusting ha,hb. Simplify code setting kld. Delete two600 and
51629 two1022, instead use their values. Recognise that tests for large
51630 "a" and small "b" are mutually exclusive. Rename vars. Comment.
51631 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51632 Rewrite all uses of ieee875 long double macros and unions. Simplify
51633 test for 0.0L and nan. Correct negation.
51634 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51635 ieee875 long double macros and unions. Correct output for large
51636 magnitude x. Correct absolute value calculation.
51637 (__erfcl): Likewise.
51638 * math/libm-test.inc: Add tests for errors discovered in IBM long
51639 double versions of fmodl, remainderl, erfl and erfcl.
51640
51641 2013-10-04 Alan Modra <amodra@gmail.com>
51642
51643 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51644 all uses of ieee854 long double macros and unions. Simplify tests
51645 for long doubles that are fully specified by the high double.
51646 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51647 Likewise.
51648 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51649 Remove dead code too.
51650 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51651 (__ieee754_ynl): Likewise.
51652 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51653 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51654 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51655 Remove dead code too.
51656 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51657 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51658 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51659 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51660 Simplify.
51661 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51662 Simplify.
51663 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51664 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51665 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51666 Comment on variable precision.
51667 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51668 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51669 Likewise.
51670 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51671 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51672 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51673 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51674 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51675
51676 2013-10-04 Alan Modra <amodra@gmail.com>
51677
51678 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51679 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51680 all uses of ieee854 long double macros and unions.
51681 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51683 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51684 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51685 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51686 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51687 Likewise.
51688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51689 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51690 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51691 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51692 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51693 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51694 Simplify sign and nan test too.
51695 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51696 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51697 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51698 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51699 Likewise.
51700 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51701 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51702 Likewise.
51703 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51704 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51705 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51706 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51707 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51709
51710 2013-10-04 Alan Modra <amodra@gmail.com>
51711
51712 * stdio-common/printf_size.c (__printf_size): Don't use
51713 union ieee854_long_double in fpnum union.
51714 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
51715 signbit macro to retrieve sign from long double.
51716 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51717 retrieve sign from long double.
51718 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51719 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51720 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51721 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51722 * math/test-misc.c (main): Don't use union ieee854_long_double.
51723
51724 2013-10-04 Alan Modra <amodra@gmail.com>
51725
51726 [BZ #15680]
51727 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51728 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51729 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51730 calculation. Remove unnecessary test for denormal exponent.
51731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51732 Correct handling of denormals. Avoid undefined shift behaviour.
51733 Correct normalisation of low mantissa when low double is denormal.
51734 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51735 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
51736 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51737 Correct normalisation of low mantissa. Test for overflow of high
51738 mantissa and normalise.
51739 (ldbl_nearbyint): Use more readable constant for two52.
51740 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51741 (__mpn_construct_long_double): Fix test for overflow of high
51742 mantissa and correct normalisation. Avoid undefined shift.
51743
51744 2013-10-04 Alan Modra <amodra@gmail.com>
51745
51746 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51747 (union ibm_extended_long_double): Define as an array of ieee754_double.
51748 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51749 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51750 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51751 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51753 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51754 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51755 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51756 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51757 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51758 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51759
51760 2013-10-03 Joseph Myers <joseph@codesourcery.com>
51761
51762 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51763 page size instead of calling getpagesize.
51764
51765 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51766 (LOCFILE_ALIGN_MASK): Likewise.
51767 (LOCFILE_ALIGN_UP): Likewise.
51768 (LOCFILE_ALIGNED_P): Likewise.
51769 * locale/programs/ld-collate.c (collate_output): Use the new
51770 macros instead of __alignof__ (int32_t).
51771 * locale/weight.h (findidx): Likewise.
51772
51773 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
51774
51775 [BZ #431]
51776 * manual/string.texi: Fix strncat and wcsncat.
51777
51778 2013-10-03 Brooks Moses <bmoses@google.com>
51779
51780 [BZ #15915]
51781 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51782 * Makerules: ...here, and adjust associated comments.
51783
51784 2013-10-02 Will Newton <will.newton@linaro.org>
51785
51786 * malloc/Makefile: Add tst-pvalloc.
51787 * malloc/tst-pvalloc.c: New file.
51788
51789 2013-10-02 Will Newton <will.newton@linaro.org>
51790
51791 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51792 improve test coverage.
51793
51794 2013-10-02 Will Newton <will.newton@linaro.org>
51795
51796 * malloc/Makefile: Add tst-posix_memalign.
51797 * malloc/tst-posix_memalign.c: New file.
51798
51799 2013-10-01 Eric Blake <eblake@redhat.com>
51800
51801 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51802 Use __THROWNL rather than __THROW on static functions.
51803
51804 2013-09-30 Petr Machata <pmachata@redhat.com>
51805
51806 * elf/elf.h (R_AARCH64_ABS16): New macro.
51807 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51808 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51809 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51810 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51811 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51812 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51813 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51814 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51815 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51816 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51817 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51818 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51819 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51820 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51821 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51822 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51823 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51824 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51825 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51826 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51827 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51828 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51829 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51830 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51831 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51832 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51833 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51834 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51835 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51836 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51837 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51838 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51839 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51840 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51841 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51842 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51843 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51844 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51845 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51846 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51847 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51848 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51849 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51850 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51851 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51852 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51853 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51854 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51855 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51856 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51857 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51858 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51859 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51860 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51861 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51862 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51863 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51864 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51865 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51866 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51867 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51868 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51869 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51870 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51871 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51872 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51873 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51874 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51875 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51876 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51877 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51878 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51879 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51880 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51881 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51882 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51883 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51884 (R_AARCH64_TLSDESC_LDR): Likewise.
51885 (R_AARCH64_TLSDESC_ADD): Likewise.
51886 (R_AARCH64_TLSDESC_CALL): Likewise.
51887
51888 2013-09-30 Andreas Schwab <schwab@suse.de>
51889
51890 [BZ #15048]
51891 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51892 the nss database lookup.
51893 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51895
51896 2013-09-28 Mike Frysinger <vapier@gentoo.org>
51897
51898 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51899
51900 2013-09-28 P. J. McDermott <pj@pehjota.net>
51901
51902 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51903 ${Bash-specific parameter/pattern/string} parameter expansion.
51904 * sysdeps/unix/make-syscalls.sh: Likewise.
51905
51906 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51907
51908 * sysdeps/sh/stackguard-macros.h: New file.
51909
51910 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
51911
51912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51913 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
51914 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
51915 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
51916 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51917 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
51918
51919 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51920
51921 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
51922 Fix thread ID register.
51923
51924 2013-09-25 Joseph Myers <joseph@codesourcery.com>
51925
51926 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
51927 [POSIX || UNIX98]: Require rather than permitting all symbols from
51928 <time.h>.
51929 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
51930 element of struct sched_param.
51931 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
51932 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
51933 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
51934 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
51935 constant.
51936
51937 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
51938
51939 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
51940 argument calculation.
51941
51942 2013-09-24 Joseph Myers <joseph@codesourcery.com>
51943
51944 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
51945 Expect macro.
51946 [POSIX] (pthread_attr_t): Do not require type.
51947 [POSIX] (pthread_cond_t): Likewise.
51948 [POSIX] (pthread_condattr_t): Likewise.
51949 [POSIX] (pthread_key_t): Likewise.
51950 [POSIX] (pthread_mutex_t): Likewise.
51951 [POSIX] (pthread_mutexattr_t): Likewise.
51952 [POSIX] (pthread_once_t): Likewise.
51953 [POSIX] (pthread_t): Likewise.
51954 [POSIX-based standards] (pthread_atfork): Expect function.
51955
51956 2013-09-24 Joseph Myers <joseph@codesourcery.com>
51957 Richard Sandiford <richard@codesourcery.com>
51958
51959 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
51960 (swap_endianness_p): New extern variable.
51961 (set_big_endian): New inline function.
51962 (maybe_swap_uint32): Likewise.
51963 (maybe_swap_uint32_array): Likewise.
51964 (maybe_swap_uint32_obstack): Likewise.
51965 * locale/programs/locfile.c: Include <stdbool.h>.
51966 (swap_endianness_p): New variable.
51967 (add_locale_uint32): Call maybe_swap_uint32.
51968 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
51969 (write_locale_data): Call maybe_swap_uint32_array.
51970 * locale/programs/ld-collate.c (obstack_int32_grow): Call
51971 maybe_swap_uint32.
51972 (obstack_int32_grow_fast): Likewise.
51973 (output_weightwc): Call maybe_swap_uint32_obstack.
51974 (collate_output): Likewise.
51975 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
51976 (OPT_LITTLE_ENDIAN): Likewise.
51977 (options): Add --little-endian and --big-endian options.
51978 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
51979 * locale/programs/locarchive.c: Include "locfile.h".
51980 (GET): New macro.
51981 (SET): Likewise.
51982 (INC): Likewise.
51983 (create_archive): Use the new macros to access fields of
51984 structures directly mapped from or written to locale archives.
51985 (oldlocrecentcmp): Likewise.
51986 (enlarge_archive): Likewise.
51987 (insert_name): Likewise.
51988 (add_alias): Likewise.
51989 (add_locale): Likewise.
51990 (delete_locales_from_archive): Likewise.
51991 (show_archive_content): Likewise.
51992 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
51993 locale data.
51994
51995 2013-09-24 Roland McGrath <roland@hack.frob.com>
51996
51997 * manual/freemanuals.texi: Updated from (newly) canonical copy at
51998 http://www.gnu.org/doc/freemanuals.texi.
51999 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52000
52001 2013-09-24 Will Newton <will.newton@linaro.org>
52002
52003 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52004 macro.
52005
52006 2013-09-23 Joseph Myers <joseph@codesourcery.com>
52007
52008 * locale/hashval.h (compute_hashval): Interpret bytes of key as
52009 unsigned char.
52010
52011 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
52012
52013 * manual/threads.texi (POSIX Threads): Fix a typo.
52014
52015 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
52016
52017 [BZ #14547]
52018 * string/tst-strcoll-overflow.c: New test case.
52019 * string/Makefile (xtests): Add tst-strcoll-overflow.
52020 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52021 cache if string sizes may cause integer overflow.
52022
52023 [BZ #14547]
52024 * string/strcoll_l.c (coll_seq): New members rule, idx,
52025 save_idx and back_us.
52026 (get_next_seq_nocache): New function.
52027 (do_compare_nocache): New function.
52028 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52029 when malloc fails.
52030
52031 2013-09-23 Carlos O'Donell <carlos@redhat.com>
52032
52033 [BZ #15754]
52034 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52035 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52036 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52037
52038 [BZ #15754]
52039 * elf/Makefile (tests): Add tst-ptrguard1.
52040 (tests-static): Add tst-ptrguard1-static.
52041 (tst-ptrguard1-ARGS): Define.
52042 (tst-ptrguard1-static-ARGS): Define.
52043 * elf/tst-ptrguard1.c: New file.
52044 * elf/tst-ptrguard1-static.c: New file.
52045 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52046 * sysdeps/i386/stackguard-macros.h: Likewise.
52047 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52048 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52049 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52050 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52051 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52052 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52053
52054 2013-09-23 Hector Marco <hecmargi@upv.es>
52055 Ismael Ripoll <iripoll@disca.upv.es>
52056 Carlos O'Donell <carlos@redhat.com>
52057
52058 [BZ #15754]
52059 * sysdeps/generic/stackguard-macros.h: Define
52060 __pointer_chk_guard_local and POINTER_CHK_GUARD.
52061 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52062 Define __pointer_chk_guard_local.
52063 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52064 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52065
52066 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
52067
52068 [BZ #15859]
52069 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52070
52071 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
52072
52073 * include/string.h (__ffs): Declare as hidden.
52074 * string/ffs.c (__ffs): Define as hidden.
52075 * sysdeps/i386/ffs.c (__ffs): Likewise.
52076 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52077 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52078 * sysdeps/s390/ffs.c (__ffs): Likewise.
52079 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52080
52081 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
52082
52083 * NEWS: Mention malloc probes.
52084
52085 * malloc/arena.c (new_heap): New memory_heap_new probe.
52086 (grow_heap): New memory_heap_more probe.
52087 (shrink_heap): New memory_heap_less probe.
52088 (heap_trim): New memory_heap_free probe.
52089 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52090 (systrim): New memory_sbrk_less probe.
52091 * manual/probes.texi: Document them.
52092
52093 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52094 * manual/probes.texi: Document it.
52095
52096 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52097 (__libc_realloc): Add memory_realloc_retry probe.
52098 (__libc_memalign): Add memory_memalign_retry probe.
52099 (__libc_valloc): Add memory_valloc_retry probe.
52100 (__libc_pvalloc): Add memory_pvalloc_retry probe.
52101 (__libc_calloc): Add memory_calloc_retry probe.
52102 * manual/probes.texi: Document them.
52103
52104 * malloc/arena.c (get_free_list): Add probe
52105 memory_arena_reuse_free_list.
52106 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52107 and memory_arena_reuse.
52108 (arena_get2) [!PER_THREAD]: Likewise.
52109 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52110 memory_arena_reuse_realloc.
52111 * manual/probes.texi: Document them.
52112
52113 * malloc/malloc.c (__libc_free): Add
52114 memory_mallopt_free_dyn_thresholds probe.
52115 (__libc_mallopt): Add multiple memory_mallopt probes.
52116 * manual/probes.texi: Document them.
52117
52118 * malloc/malloc.c: Include stap-probe.h.
52119 (__libc_mallopt): Add memory_mallopt probe.
52120 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52121 * manual/probes.texi: New.
52122 * manual/Makefile (chapters): Add probes.
52123 * manual/threads.texi: Set next node.
52124
52125 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
52126
52127 [BZ #15963, #13985]
52128 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52129 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52130 Add `Chinese' to `nan' entry name.
52131
52132 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52133
52134 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52135 (POLYNOMIAL): Likewise.
52136 (TAYLOR_SINCOS): Likewise.
52137 (TAYLOR_SLOW): Likewise.
52138 (__sin): Use TAYLOR_SINCOS.
52139 (__cos): Likewise.
52140 (slow): Use TAYLOR_SLOW.
52141 (sloww): Likewise.
52142 (bsloww): Likewise.
52143 (csloww): Likewise.
52144
52145 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52146
52147 * stdlib/strtod_l.c: Fix buffer overrun.
52148
52149 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
52150
52151 * benchtests/Makefile (bench): Add sincos.
52152 * benchtests/bench-sincos.c: New file.
52153
52154 * math/libm-test.inc (cos_test_data): New test inputs.
52155 (sin_test_data): Likewise.
52156
52157 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52158 macro.
52159 (__sin): Use it.
52160 (__cos): Likewise.
52161 (slow1): Likewise.
52162 (slow2): Likewise.
52163 (sloww1): Likewise.
52164 (sloww2): Likewise.
52165 (bsloww1): Likewise.
52166 (bsloww2): Likewise.
52167 (cslow2): Likewise.
52168 (csloww1): Likewise.
52169 (csloww2): Likewise.
52170
52171 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52172 function.
52173 (__sin): Use it.
52174 (__cos): Likewise.
52175
52176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52177 gotos.
52178 (__cos): Likewise.
52179
52180 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
52181
52182 * config.h.in (HAVE_MIPS_NAN2008): New macro.
52183 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52184 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52185 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52186 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52187 * elf/cache.c (print_entry): Handle the new cache flags.
52188
52189 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52190 Aldy Hernandez <aldyh@redhat.com>
52191
52192 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52193 Change condition to [_SOFT_FLOAT].
52194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52195 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52199 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52200 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52201 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52205 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52206 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52207 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52209 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52210 declaration.
52211
52212 2013-09-18 Joseph Myers <joseph@codesourcery.com>
52213
52214 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52215 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52216 (__longjmp): Use LOAD_GP to load saved GPRs.
52217 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52218 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52219 (__sigsetjmp): Use SAVE_GP to save GPRs.
52220
52221 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52222 Do not append -msoft-float.
52223 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52224
52225 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
52226
52227 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52228
52229 2013-09-17 Joseph Myers <joseph@codesourcery.com>
52230
52231 [BZ #15966]
52232 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52233 (_FPU_GETCW): Use initial "__" on variable and field names but not
52234 on macro parameter name.
52235 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
52236 parentheses around reference to macro parameter.
52237
52238 2013-09-13 Richard Sandiford <richard@codesourcery.com>
52239
52240 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52241 prototype.
52242 (ctype_startup): Use uint32_t in cast and sizeof for
52243 ctype->charnames.
52244
52245 2013-09-11 Jia Liu <proljc@gmail.com>
52246
52247 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52248 __daddr_t_defined.
52249 [__FreeBSD__]: Likewise.
52250
52251 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
52252
52253 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52254 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52255 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52256 (strchr): Remove __strchr_sse42 ifunc selection.
52257 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52258 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52259
52260 2013-09-11 Will Newton <will.newton@linaro.org>
52261
52262 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52263 parameter to RES. Remove hardcoded 1000 value.
52264 * benchtests/bench-skeleton.c (main): Pass RES parameter
52265 to TIMING_INIT and multiply result by 1000.
52266
52267 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52268
52269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52270
52271 2013-09-11 Andreas Schwab <schwab@suse.de>
52272
52273 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52274 if not defined.
52275 (O_TMPFILE) [__USE_GNU]: Define.
52276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52277 Define.
52278
52279 2013-09-11 Will Newton <will.newton@linaro.org>
52280
52281 [BZ #15857]
52282 * malloc/malloc.c (__libc_memalign): Check the value of bytes
52283 does not overflow.
52284
52285 2013-09-11 Will Newton <will.newton@linaro.org>
52286
52287 [BZ #15856]
52288 * malloc/malloc.c (__libc_valloc): Check the value of bytes
52289 does not overflow.
52290
52291 2013-09-11 Will Newton <will.newton@linaro.org>
52292
52293 [BZ #15855]
52294 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52295 does not overflow.
52296
52297 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
52298
52299 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52300 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52301 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52302 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52303 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52304
52305 2013-09-10 Allan McRae <allan@archlinux.org>
52306
52307 [BZ #15748]
52308 * manual/arith.texi (Parsing of Floats): Clarify
52309 cross-reference.
52310
52311 [BZ #15849]
52312 * manual/install.texi (Running make install): Mention
52313 --enable-pt-chown.
52314 * INSTALL: Regenerated.
52315
52316 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
52317
52318 * csu/init-first.c (_init): Remove the !SHARED condition around
52319 FPU control word initialization.
52320 * elf/dl-support.c (_dl_fpu_control): New variable.
52321 (_dl_aux_init) <AT_FPUCW>: Initialize it.
52322 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52323 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52324 * math/test-fpucw-static.c: New file.
52325 * math/test-fpucw-ieee.c: New file.
52326 * math/test-fpucw-ieee-static.c: New file.
52327 * math/Makefile (tests): Add `test-fpucw-ieee' and
52328 `$(tests-static)'.
52329 (tests-static): New variable.
52330 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52331 dependency to...
52332 [($(build-shared),yes)]
52333 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52334 ... this.
52335 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52336 New dependency.
52337
52338 2013-09-09 Allan McRae <allan@archlinux.org>
52339
52340 [BZ #15939]
52341 * manual/string.texi (Collation Functions): Fix typo in
52342 strcoll example.
52343 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52344
52345 [BZ #15893]
52346 * stdlib/isomac.c (get_null_defines): Fix memory leak.
52347
52348 [BZ #15892]
52349 * libio/memstream.c (open_memstream): Fix memory leak.
52350 * libio/wmemstream.c (open_wmemstream): Likewise.
52351
52352 [BZ #15895]
52353 * nscd/netgroupcache.c: Fix nesting of ifdefs.
52354
52355 2013-09-09 Will Newton <will.newton@linaro.org>
52356
52357 * malloc/Makefile: Add tst-realloc to tests.
52358 * malloc/tst-realloc.c: New file.
52359
52360 2013-09-09 Allan McRae <allan@archlinux.org>
52361
52362 [BZ #15844]
52363 * COPYING: Update from GNU website to fix FSF address.
52364 * COPYING.LIB: Likewise.
52365
52366 2013-09-06 David S. Miller <davem@davemloft.net>
52367
52368 * po/zh_TW.po: Update Chinese (traditional) translation from
52369 translation project.
52370
52371 2013-09-06 Richard Sandiford <richard@codesourcery.com>
52372 Joseph Myers <joseph@codesourcery.com>
52373
52374 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52375 "localeinfo.h".
52376 (obstack_chunk_alloc): New macro.
52377 (obstack_chunk_free): Likewise.
52378 (record_offset): New function.
52379 (init_locale_data): Likewise.
52380 (align_locale_data): Likewise.
52381 (add_locale_empty): Likewise.
52382 (add_locale_raw_data): Likewise.
52383 (add_locale_raw_obstack): Likewise.
52384 (add_locale_string): Likewise.
52385 (add_locale_wstring): Likewise.
52386 (add_locale_uint32): Likewise.
52387 (add_locale_uint32_array): Likewise.
52388 (add_locale_char): Likewise.
52389 (start_locale_structure): Likewise.
52390 (end_locale_structure): Likewise.
52391 (start_locale_prelude): Likewise.
52392 (end_locale_prelude): Likewise.
52393 (write_locale_data): Take locale_file structure rather than an
52394 iovec.
52395 * locale/programs/locfile.h: Include "obstack.h".
52396 (struct locale_file): Change to store locale file contents instead
52397 of header.
52398 (init_locale_data): New prototype.
52399 (align_locale_data): Likewise.
52400 (add_locale_empty): Likewise.
52401 (add_locale_raw_data): Likewise.
52402 (add_locale_raw_obstack): Likewise.
52403 (add_locale_string): Likewise.
52404 (add_locale_wstring): Likewise.
52405 (add_locale_uint32): Likewise.
52406 (add_locale_uint32_array): Likewise.
52407 (add_locale_char): Likewise.
52408 (start_locale_structure): Likewise.
52409 (end_locale_structure): Likewise.
52410 (start_locale_prelude): Likewise.
52411 (end_locale_prelude): Likewise.
52412 (write_locale_data): Update prototype.
52413 * locale/programs/3level.h (struct TABLE): Remove result field.
52414 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52415 Use new locale_file interface.
52416 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52417 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52418 * locale/programs/ld-address.c (address_output): Use new
52419 locale_file interface.
52420 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52421 NO_ADD_LOCALE.
52422 (collate_finish): Don't call collseq_table_finalize.
52423 (collate_output): Use new locale_file interface.
52424 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52425 in file.
52426 (NO_FINALIZE): Change to NO_ADD_LOCALE.
52427 (TABLE): Move defines earlier in file.
52428 (ELEMENT): Likewise.
52429 (DEFAULT): Likewise.
52430 (wctrans_table_add): Move macro and inline function earlier in
52431 file.
52432 (struct wctype_table): Move type earlier in file.
52433 (add_locale_wctype_table): New static prototype.
52434 (struct locale_ctype_t): Use logical types instead of struct iovec
52435 pointers for members.
52436 (ctype_output): Use new locale_file interface.
52437 (wctype_table_finalize): Change to add_locale_wctype_table. Use
52438 new locale_file interface.
52439 (allocate_arrays): Update for use of new locale_file interface.
52440 * locale/programs/ld-identification.c (identification_output): Use
52441 new locale_file interface.
52442 * locale/programs/ld-measurement.c (measurement_output): Likewise.
52443 * locale/programs/ld-messages.c (messages_output): Likewise.
52444 * locale/programs/ld-monetary.c (monetary_output): Likewise.
52445 * locale/programs/ld-name.c (name_output): Likewise.
52446 * locale/programs/ld-numeric.c (numeric_output): Likewise.
52447 * locale/programs/ld-paper.c (paper_output): Likewise.
52448 * locale/programs/ld-telephone.c (telephone_output): Likewise.
52449 * locale/programs/ld-time.c (time_output): Likewise.
52450
52451 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52452
52453 * benchtests/Makefile: Add memrchr benchmark.
52454 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52455 benchmark as memrchr.
52456 * benchtests/bench-memrchr-ifunc.c: New file.
52457 * benchtests/bench-memrchr.c: New file.
52458
52459 2013-09-06 Will Newton <will.newton@linaro.org>
52460
52461 * benchtests/Makefile (string-bench): Add memcpy.
52462
52463 2013-09-05 Carlos O'Donell <carlos@redhat.com>
52464 Cong Wang <amwang@redhat.com>
52465
52466 [BZ #15850]
52467 * sysdeps/unix/sysv/linux/bits/in.h
52468 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52469 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52470 before __USE_KERNEL_IPV6_DEFS uses.
52471 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52472 IPPROTO_BEETPH.
52473 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52474 sockaddr_in6, or ipv6_mreq.
52475
52476 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52477
52478 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52479 memory access for final bytes in some large inputs.
52480 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52481
52482 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52483
52484 * string/test-memrchr.c: New file.
52485 * string/test-memrchr-ifunc.c: New file.
52486 * string/Makefile: Add new memrchr testcase.
52487
52488 2013-09-05 Mike Frysinger <vapier@gentoo.org>
52489
52490 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52491 fanotify_init returns EPERM.
52492
52493 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52494
52495 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52496 errors.
52497 (top level): Treat second token from macro or constant entries for
52498 allowed headers as allowed.
52499 * include/complex.h: Condition internal declarations on
52500 [!_ISOMAC].
52501 * include/fenv.h: Condition include of <stdbool.h> and internal
52502 declarations on [!_ISOMAC].
52503
52504 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
52505
52506 [BZ #15923]
52507 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52508
52509 2013-09-04 Joseph Myers <joseph@codesourcery.com>
52510
52511 * configure.in (--enable-versioning): Remove configure option.
52512 (libc_cv_asm_symver_directive): Remove configure test.
52513 (libc_cv_ld_version_script_option): Likewise.
52514 (VERSIONING): Remove variable and AC_SUBST.
52515 (DO_VERSIONING): Remove AC_DEFINE.
52516 * configure: Regenerated.
52517 * config.h.in (DO_VERSIONING): Remove macro.
52518 * Makerules [$(versioning) = yes]: Change conditionals to
52519 [$(build-shared) = yes].
52520 * config.make.in (versioning): Remove variable.
52521 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52522 [$(build-shared) = yes].
52523 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52524 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52525 * elf/Makefile [$(versioning) = yes]: Change conditionals to
52526 [$(build-shared) = yes].
52527 * extra-lib.mk [$(versioning) = yes]: Likewise.
52528 * hurd/Makefile [$(versioning) = yes]: Likewise.
52529 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52530 [SHARED].
52531 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52532 [SHARED].
52533 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52534 [SHARED && !NO_HIDDEN].
52535 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52536 [SHARED].
52537 [SHARED && DO_VERSIONING]: Likewise..
52538 * libio/Makefile [$(versioning) = yes]: Change conditionals to
52539 [$(build-shared) = yes].
52540 * manual/install.texi (--disable-versioning): Remove
52541 documentation.
52542 * INSTALL: Regenerated.
52543 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52544 to [SHARED].
52545 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52546 [$(build-shared) = yes].
52547 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52548 * sysdeps/i386/i686/multiarch/strstr-c.c
52549 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52550 [SHARED && !NO_HIDDEN].
52551 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52552 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52553 * sysdeps/powerpc/powerpc32/dl-machine.c
52554 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52555 * sysdeps/powerpc/powerpc32/sysdep.h
52556 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52557 to [SHARED && PIC && !NO_HIDDEN].
52558 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52559 conditional to [SHARED].
52560
52561 2013-09-04 Will Newton <will.newton@linaro.org>
52562
52563 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52564 * benchtests/bench-string.h: Include bench-timing.h instead
52565 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52566 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52567 call to HP_TIMING_DIFF_INIT.
52568 * benchtests/bench-memccpy.c: Use bench-timing.h macros
52569 instead of hp-timing.h macros.
52570 * benchtests/bench-memchr.c: Likewise.
52571 * benchtests/bench-memcmp.c: Likewise.
52572 * benchtests/bench-memcpy.c: Likewise.
52573 * benchtests/bench-memmem.c: Likewise.
52574 * benchtests/bench-memmove.c: Likewise.
52575 * benchtests/bench-memset.c: Likewise.
52576 * benchtests/bench-rawmemchr.c: Likewise.
52577 * benchtests/bench-strcasecmp.c: Likewise.
52578 * benchtests/bench-strcasestr.c: Likewise.
52579 * benchtests/bench-strcat.c: Likewise.
52580 * benchtests/bench-strchr.c: Likewise.
52581 * benchtests/bench-strcmp.c: Likewise.
52582 * benchtests/bench-strcpy.c: Likewise.
52583 * benchtests/bench-strcpy_chk.c: Likewise.
52584 * benchtests/bench-strlen.c: Likewise.
52585 * benchtests/bench-strncasecmp.c: Likewise.
52586 * benchtests/bench-strncat.c: Likewise.
52587 * benchtests/bench-strncmp.c: Likewise.
52588 * benchtests/bench-strncpy.c: Likewise.
52589 * benchtests/bench-strnlen.c: Likewise.
52590 * benchtests/bench-strpbrk.c: Likewise.
52591 * benchtests/bench-strrchr.c: Likewise.
52592 * benchtests/bench-strspn.c: Likewise.
52593 * benchtests/bench-strstr.c: Likewise.
52594
52595 2013-09-04 Will Newton <will.newton@linaro.org>
52596
52597 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52598
52599 2013-09-03 Joseph Myers <joseph@codesourcery.com>
52600
52601 [BZ #15427]
52602 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52603 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52604 * math/libm-test.inc (lgamma_test_data): Add more tests.
52605 * sysdeps/i386/fpu/libm-test-ulps: Update.
52606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52607
52608 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
52609
52610 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52612 Add ifunc.
52613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52614 Add strcmp-sse2-unaligned
52615 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52616
52617 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52618
52619 * Versions.def (libc): Add GLIBC_2.19.
52620
52621 2013-09-02 Mike Frysinger <vapier@gentoo.org>
52622
52623 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52624 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52625
52626 2013-09-02 Joseph Myers <joseph@codesourcery.com>
52627
52628 [BZ #14155]
52629 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52630 intermediate calculations in recurrence.
52631 (__ieee754_ynf): Likewise.
52632 * math/libm-test.inc (jn_test_data): Do not allow spurious
52633 underflow exception. Add more tests.
52634 (yn_test_data): Add more tests.
52635 * sysdeps/i386/fpu/libm-test-ulps: Update.
52636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52637
52638 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
52639
52640 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52641
52642 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52643
52644 * csu/init-first.c: Fix then/than typos.
52645 * locale/programs/ld-collate.c: Likewise.
52646 * locale/programs/linereader.h: Likewise.
52647 * manual/charset.texi: Likewise.
52648 * manual/filesys.texi: Likewise.
52649 * manual/stdio.texi: Likewise.
52650 * manual/string.texi: Likewise.
52651 * stdlib/fmtmsg.c: Likewise.
52652 * sysdeps/i386/stpncpy.S: Likewise.
52653 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52654 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52655 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52656 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52657
52658 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52659
52660 * elf/dl-open.c: Fix typos.
52661 * iconvdata/gbbig5.c: Likewise.
52662 * iconvdata/iso-2022-jp.c: Likewise.
52663 * iconv/gconv_int.h: Likewise.
52664 * iconv/loop.c: Likewise.
52665 * nis/rpcsvc/nis.h: Likewise.
52666 * resolv/ns_name.c: Likewise.
52667 * stdio-common/vfscanf.c: Likewise.
52668 * streams/stropts.h: Likewise.
52669 * sunrpc/rpc_thread.c: Likewise.
52670 * sysdeps/i386/strpbrk.S: Likewise.
52671 * sysdeps/ieee754/k_standard.c: Likewise.
52672 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52673 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52674 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52675 * sysdeps/mach/hurd/profil.c: Likewise.
52676 * sysdeps/s390/dl-procinfo.h: Likewise.
52677 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52678 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52679 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52680 * sysdeps/x86_64/dl-trampoline.S: Likewise.
52681 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52682
52683 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
52684
52685 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52687
52688 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52689
52690 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52691 aix specific files.
52692 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52693 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52694 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52695 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52696 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52697 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52698 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52699 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52700
52701 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52702 Roland McGrath <roland@hack.frob.com>
52703
52704 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52705 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52706
52707 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
52708
52709 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52710 __executable_start symbol instead of _start.
52711
52712 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
52713
52714 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52715 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52716 Move macros to...
52717 * sysdeps/gnu/ldsodefs.h: ... this new file.
52718
52719 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52720 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52721 instead of ELFOSABI_LINUX.
52722
52723 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52724 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52725 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52726 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52727 Likewise.
52728 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52729 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52730 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52731 Likewise.
52732 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52733 (ibm_extended_long_double): Add ieee_nan member.
52734 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52735 (do_test): New function.
52736
52737 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52738 TEST_TRUNC.
52739 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52740 functions, renamed from truncdfsf_test, trunctfsf_test,
52741 trunctfdf_test.
52742 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52743 functions.
52744 (do_test): Run all these.
52745
52746 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
52747
52748 * argp/argp-help.c: Fix typos.
52749 * argp/argp-parse.c: Likewise.
52750 * debug/backtracesyms.c: Likewise.
52751 * elf/elf.h: Likewise.
52752 * malloc/malloc.c: Likewise.
52753 * nis/nis_print.c: Likewise.
52754 * resolv/res_comp.c: Likewise.
52755 * stdlib/stdlib.h: Likewise.
52756 * sunrpc/clnt_tcp.c: Likewise.
52757 * sunrpc/clnt_udp.c: Likewise.
52758 * sunrpc/clnt_unix.c: Likewise.
52759 * sysdeps/unix/bsd/ptsname.c: Likewise.
52760 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52761 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52763 Likewise.
52764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52765 Likewise.
52766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52767 Likewise.
52768 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52769
52770 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
52771
52772 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52773 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52774
52775 2013-08-27 Mike Frysinger <vapier@gentoo.org>
52776
52777 [BZ #15897]
52778 * dlfcn/Makefile (tests): Add bug-dl-leaf.
52779 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52780 ($(objpfx)bug-dl-leaf): New rule.
52781 ($(objpfx)bug-dl-leaf.so): Likewise.
52782 ($(objpfx)bug-dl-leaf.out): Likewise.
52783 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52784 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52785 * dlfcn/bug-dl-leaf.c: New test.
52786 * dlfcn/bug-dl-leaf-lib.c: Likewise.
52787 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52788 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52789 (dlclose): Likewise.
52790 (dlmopen): Likewise.
52791
52792 2013-08-27 Roland McGrath <roland@hack.frob.com>
52793
52794 * include/netdb.h [!_ISOMAC]:
52795 Don't include <tls.h>.
52796 (h_errno, __libc_h_errno): Move declaration and macros out of
52797 [_LIBC_REENTRANT].
52798
52799 * include/resolv.h [_RESOLV_H_]:
52800 Don't include <tls.h>.
52801 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52802 * resolv/res_libc.c: Don't include <tls.h>.
52803 (_res): Use __attribute__ ((nocommon)) in place of
52804 __attribute__ ((section (".bss"))).
52805
52806 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52807 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52808
52809 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52810
52811 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52812 only under [SIOCGIFCONF && SIOCGIFNETMASK].
52813
52814 * resolv/res_mkquery.c: Include <sys/time.h>.
52815
52816 * inet/ifreq.c: Moved to ...
52817 * sysdeps/unix/ifreq.c: ... here.
52818 * inet/ifreq.c: New file, true stub version.
52819
52820 * socket/sa_len.c: New file.
52821 * socket/Makefile (aux): Add it.
52822 * sysdeps/unix/sysv/linux/Makefile
52823 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52824 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52825 and #include <socket/sa_len.c>.
52826 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52827 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52828
52829 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52830 * bits/socket.h: ... here.
52831
52832 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52833 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52834 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52835
52836 2013-08-27 Andreas Schwab <schwab@suse.de>
52837
52838 [BZ #15736]
52839 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52840 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52841 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52842 * string/test-strcasecmp.c (test_main): Run tests in several
52843 locales.
52844 * string/test-strncasecmp.c (test_main): Likewise.
52845
52846 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52847 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52848 to __strcasecmp_nonascii and __strncasecmp_nonascii.
52849 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52850 (__strncasecmp_ssse3) [PIC]: Likewise.
52851
52852 2013-08-26 Roland McGrath <roland@hack.frob.com>
52853
52854 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52855
52856 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52857 instead of explicitly declaring xdecrypt.
52858 * nis/nss_nis/nis-publickey.c: Likewise.
52859
52860 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52861
52862 [BZ #15890]
52863 * nscd/aicache.c: Include res_hconf.h.
52864 (addhstaiX): Initialize res_hconf.
52865
52866 2013-08-26 Andreas Schwab <schwab@suse.de>
52867
52868 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52869 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52870
52871 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
52872
52873 * nscd/aicache.c (addhstaiX): Fix indentation.
52874
52875 2013-08-25 Mike Frysinger <vapier@gentoo.org>
52876
52877 * configure.ac: Quote $build_pt_chown test.
52878 * configure: Regenerated.
52879
52880 2013-08-23 Joseph Myers <joseph@codesourcery.com>
52881
52882 [BZ #15532]
52883 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52884 * math/s_cexpf.c (__cexpf): Likewise.
52885 * math/s_cexpl.c (__cexpl): Likewise.
52886 * math/libm-test.inc (cexp_test_data): Correct expected return
52887 value for NaN + i0. Add another test.
52888
52889 2013-08-22 David S. Miller <davem@davemloft.net>
52890
52891 * po/ca.po: Update Catalan translation from translation project.
52892 * po/uk.po: Add Ukrainian translations from translation project.
52893
52894 2013-08-21 Joseph Myers <joseph@codesourcery.com>
52895
52896 [BZ #15797]
52897 * math/s_fdim.c (__fdim): Check for infinite arguments if result
52898 is infinite, not alongside NaN test.
52899 * math/s_fdimf.c (__fdimf): Likewise.
52900 * math/s_fdiml.c (__fdiml): Likewise.
52901 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
52902 errno is unchanged.
52903
52904 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
52905
52906 * argp/argp-help.c: Fix typos.
52907 * crypt/speeds.c: Likewise.
52908 * csu/check_fds.c: Likewise.
52909 * elf/dl-load.c: Likewise.
52910 * elf/dl-open.c: Likewise.
52911 * elf/reldep3.c: Likewise.
52912 * elf/reldep.c: Likewise.
52913 * elf/sprof.c: Likewise.
52914 * iconv/iconv_charmap.c: Likewise.
52915 * iconv/skeleton.c: Likewise.
52916 * iconv/strtab.c: Likewise.
52917 * io/lockf64.c: Likewise.
52918 * libio/libioP.h: Likewise.
52919 * resolv/gai_notify.c: Likewise.
52920 * resolv/ns_name.c: Likewise.
52921 * resolv/ns_samedomain.c: Likewise.
52922 * resolv/res_send.c: Likewise.
52923 * stdlib/random.c: Likewise.
52924 * sunrpc/rpc/xdr.h: Likewise.
52925 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
52926 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52927 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52928 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52929 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52930 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52932 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52933 * sysdeps/mach/hurd/check_fds.c: Likewise.
52934 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52935 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52936 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52937 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52938 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52939 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52940 * sysdeps/pthread/aio_notify.c: Likewise.
52941 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
52942 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
52943 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
52944 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52945 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52946
52947 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52948
52949 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
52950 version if bit_Slow_SSE4_2 is set.
52951 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52952 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52953
52954 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52955
52956 [BZ #15867]
52957 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
52958 trampoline stack frame information.
52959 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
52960 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
52961 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
52962 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
52963 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
52964 * sysdeps/unix/sysv/linux/powerpc/init-first.c
52965 (_libc_vdso_platform_setup): Initialize the signal trampolines.
52966 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
52967 sa_flags value.
52968 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
52969 interrupting a syscall and set with option SA_SIGINFO.
52970
52971 2013-08-20 Joseph Myers <joseph@codesourcery.com>
52972
52973 [BZ #15531]
52974 * math/s_cproj.c (__cproj): Only return an infinity if one part of
52975 argument is infinite.
52976 * math/s_cprojf.c (__cprojf): Likewise.
52977 * math/s_cprojl.c (__cprojl): Likewise.
52978 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
52979 * math/libm-test.inc (cproj_test_data): Add more tests.
52980
52981 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
52982
52983 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
52984 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
52985 size. Use __ffs to determine corresponding shift.
52986
52987 2013-08-20 Joseph Myers <joseph@codesourcery.com>
52988 Roland McGrath <roland@hack.frob.com>
52989
52990 * Makefile (INSTALL): Remove trailing blank lines from output of
52991 makeinfo.
52992
52993 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52994
52995 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
52996 Align 32 bit compat elf_greg to 8 bytes.
52997
52998 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
52999
53000 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53001
53002 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
53003
53004 * string/strcoll_l.c (coll_seq): New structure.
53005 (get_next_seq_cached): New function.
53006 (get_next_seq): New function.
53007 (do_compare): New function.
53008 (STRCOLL): Use GNU style definition. Simplify implementation
53009 by using get_next_seq, get_next_seq_cached and do_compare.
53010
53011 2013-08-16 Florian Weimer <fweimer@redhat.com>
53012
53013 [BZ #14699]
53014 CVE-2013-4237
53015 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53016 member.
53017 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53018 member.
53019 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53020 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53021 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
53022 conditional.
53023 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53024 GETDENTS_64BIT_ALIGNED.
53025 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53026 * manual/filesys.texi (Reading/Closing Directory): Document
53027 ENAMETOOLONG return value of readdir_r. Recommend readdir more
53028 strongly.
53029 * manual/conf.texi (Limits for Files): Add portability note to
53030 NAME_MAX, PATH_MAX.
53031 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53032
53033 2013-08-13 Andreas Schwab <schwab@suse.de>
53034
53035 [BZ #15749]
53036 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53037 of fabs.
53038 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53039 LDBL_MAX_EXP >= 16384]: Add tests for it.
53040
53041 2013-08-12 David S. Miller <davem@davemloft.net>
53042
53043 * version.h (RELEASE): Set to "development".
53044 (VERSION): Set to "2.18.90".
53045 * NEWS: Add 2.19 section.
53046
53047 2013-08-03 David S. Miller <davem@davemloft.net>
53048
53049 * po/ko.po: Update Korean translation from translation project.
53050
53051 2013-08-01 David S. Miller <davem@davemloft.net>
53052
53053 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
53054 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53055 Bilka.
53056
53057 2013-07-30 David S. Miller <davem@davemloft.net>
53058
53059 * po/fr.po: Update French translation from translation project.
53060
53061 2013-07-28 David S. Miller <davem@davemloft.net>
53062
53063 * po/cs.po: Update Czech translation from translation project.
53064
53065 * po/sv.po: Update Swedish translation from translation project.
53066
53067 2013-07-27 David S. Miller <davem@davemloft.net>
53068
53069 * po/eo.po: Update Esperanto translation from translation project.
53070
53071 * po/vi.po: Update Vietnamese translation from translation project.
53072
53073 * po/de.po: Update German translation from translation project.
53074
53075 2013-07-26 David S. Miller <davem@davemloft.net>
53076
53077 * po/bg.po: Update Bulgarian translation from translation project.
53078
53079 * po/nl.po: Update Dutch translation from translation project.
53080 * po/pl.po: Update Polish translation from translation project.
53081 * po/ru.po: Update Russian translation from translation project.
53082
53083 2013-07-24 David S. Miller <davem@davemloft.net>
53084
53085 * po/libc.pot: Update.
53086
53087 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53088
53089 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53090 variable page size.
53091 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53092 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53093 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53094
53095 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53096
53097 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53098
53099 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
53100 Andreas Schwab <schwab@suse.de>
53101 Roland McGrath <roland@hack.frob.com>
53102 Joseph Myers <joseph@codesourcery.com>
53103 Carlos O'Donell <carlos@redhat.com>
53104
53105 [BZ #15755]
53106 * config.h.in: Define HAVE_PT_CHOWN.
53107 * config.make.in (build-pt-chown): New variable.
53108 * configure.in (--enable-pt_chown): New configure option.
53109 * configure: Regenerate.
53110 * login/Makefile: Include Makeconfig. Build pt_chown only if
53111 build-pt-chown is enabled.
53112 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53113 pt_chown to fix pty ownership.
53114 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53115 CLOSE_ALL_FDS.
53116 * manual/install.texi (Configuring and compiling): Mention
53117 --enable-pt_chown. Add @findex for grantpt.
53118 * INSTALL: Regenerate.
53119
53120 2013-07-20 David S. Miller <davem@davemloft.net>
53121
53122 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53123 difference between 32-bit and 64-bit.
53124
53125 2013-07-15 Carlos O'Donell <carlos@redhat.com>
53126
53127 [BZ #15711]
53128 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53129 Avoid system header dependency with -ffreestanding.
53130 ($(objpfx)bits/syscall%d): Likewise.
53131
53132 2013-07-13 David S. Miller <davem@davemloft.net>
53133
53134 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53135 underflows from atanl/atan2l due to bug 15319.
53136 (casinh_test_data): Likewise.
53137
53138 2013-07-07 David S. Miller <davem@davemloft.net>
53139
53140 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53141
53142 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
53143
53144 * sysdeps/i386/fpu/libm-test-ulps: Update.
53145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53146
53147 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
53148
53149 * configure.in (--enable-lock-elision): Fix message text.
53150 * INSTALL: Regenerate.
53151 * configure: Regenerate.
53152
53153 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53154
53155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53156
53157 2013-07-03 Andreas Jaeger <aj@suse.de>
53158
53159 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53160 define.
53161 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53162 (ptrace_peeksiginfo_args): Add.
53163 (__ptrace_peeksiginfo_flags): Add.
53164 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53165 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53166 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53167
53168 2013-07-03 Allan McRae <allan@archlinux.org>
53169
53170 * sysdeps/i386/fpu/libm-test-ulps: Update.
53171
53172 2013-07-02 David S. Miller <davem@davemloft.net>
53173
53174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53175
53176 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
53177
53178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53179
53180 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53181
53182 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53184
53185 2013-07-02 Andi Kleen <ak@linux.intel.com>
53186
53187 * config.h.in (ENABLE_LOCK_ELISION): Add.
53188 * configure.in (--enable-lock-elision): Add option.
53189 * manual/install.texi: Document --enable lock elision.
53190 * configure: Regenerate
53191 * INSTALL: Regenerate.
53192
53193 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
53194
53195 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53196 SSE4.2 strcasecmp for libc.a.
53197 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53198
53199 2013-07-02 Joseph Myers <joseph@codesourcery.com>
53200
53201 [BZ #13304]
53202 * soft-fp/op-common.h (_FP_FMA): New macro.
53203 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53204 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
53205 (_FP_MUL_MEAT_1_imm): ... here.
53206 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
53207 (_FP_MUL_MEAT_1_wide): ... here.
53208 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
53209 (_FP_MUL_MEAT_1_hard): ... here.
53210 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53211 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
53212 (_FP_MUL_MEAT_2_wide): ... here.
53213 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
53214 (_FP_MUL_MEAT_2_wide_3mul): ... here.
53215 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
53216 (_FP_MUL_MEAT_2_gmp): ... here.
53217 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53218 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
53219 (_FP_MUL_MEAT_4_wide): ... here.
53220 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
53221 (_FP_MUL_MEAT_4_gmp): ... here.
53222 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53223 (_FP_WFRACBITS_DW_S): Likewise.
53224 (_FP_WFRACXBITS_DW_S): Likewise.
53225 (_FP_HIGHBIT_DW_S): Likewise.
53226 (FP_FMA_S): Likewise.
53227 (_FP_FRAC_HIGH_DW_S): Likewise.
53228 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53229 (_FP_WFRACBITS_DW_D): Likewise.
53230 (_FP_WFRACXBITS_DW_D): Likewise.
53231 (_FP_HIGHBIT_DW_D): Likewise.
53232 (FP_FMA_D): Likewise.
53233 (_FP_FRAC_HIGH_DW_D): Likewise.
53234 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53235 (_FP_WFRACBITS_DW_E): Likewise.
53236 (_FP_WFRACXBITS_DW_E): Likewise.
53237 (_FP_HIGHBIT_DW_E): Likewise.
53238 (FP_FMA_E): Likewise.
53239 (_FP_FRAC_HIGH_DW_E): Likewise.
53240 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53241 (_FP_WFRACBITS_DW_Q): Likewise.
53242 (_FP_WFRACXBITS_DW_Q): Likewise.
53243 (_FP_HIGHBIT_DW_Q): Likewise.
53244 (FP_FMA_Q): Likewise.
53245 (_FP_FRAC_HIGH_DW_Q): Likewise.
53246 * soft-fp/fmasf4.c: New file.
53247 * soft-fp/fmadf4.c: Likewise.
53248 * soft-fp/fmatf4.c: Likewise.
53249
53250 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53251
53252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53253 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53254 Silvermont.
53255 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53256 macro.
53257 (index_Slow_SSE4_2): Likewise.
53258 (index_Prefer_PMINUB_for_stringop): Likewise.
53259 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53260 bit_Slow_SSE4_2 is set.
53261 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53262 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53263
53264 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53265
53266 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53267 rtld_global._dl_hwcap2.
53268 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53269 POWER8.
53270 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53271 POWER8 feature descriptions defined in _dl_hwcap2.
53272 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53273 string handling for POWER8 feature bits.
53274 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53275 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53276 _dl_powerpc_cap_flags.
53277 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53278 * sysdeps/powerpc/rtld-global-offsets.sym
53279 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53280 _dl_hwcap2 in the rtld_global_ro structure.
53281
53282 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53283
53284 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53285 hardware capabilities in support of AT_HWCAP2.
53286 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53287 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53288 GLRO(dl_hwcap2).
53289 (_dl_show_auxv): Add support for calling _dl_procinfo to display
53290 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
53291 explicitly the unknown a_type display mechanism is used.
53292 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53293 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53294 struct member.
53295 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53296 to macro prototype for AT_HWCAP2 support.
53297 * sysdeps/i386/dl-procinfo.h: Likewise.
53298 * sysdeps/s390/dl-procinfo.h: Likewise.
53299 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53300 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
53301 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
53302 return -1 for unknown a_type display fallback.
53303 * sysdeps/sparc/dl-procinfo.h: Likewise.
53304 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53305 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53306
53307 2013-06-28 Joseph Myers <joseph@codesourcery.com>
53308
53309 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53310 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53311
53312 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
53313
53314 [BZ #12492]
53315 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53316 mprotect making __stack_prot writable.
53317
53318 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
53319 Joseph Myers <joseph@codesourcery.com>
53320
53321 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53322 as being properly aligned.
53323
53324 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
53325
53326 * dlfcn/modstatic5.c: New file.
53327 * dlfcn/tststatic5.c: New file.
53328 * dlfcn/Makefile (tests): Add tststatic5.
53329 (tests-static): Likewise.
53330 (modules-names): Add modstatic5.
53331 (tststatic5-ENV): New variable.
53332 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53333
53334 [BZ #15022]
53335 * elf/dl-support.c (_dl_main_map): New variable.
53336 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53337 (_dl_nns, _dl_load_adds): Set to 1.
53338 (_dl_initial_searchlist): Refer to _dl_main_map.
53339 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53340 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53341 call to _dl_get_origin.
53342 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53343 around call_map.
53344 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53345 * dlfcn/modstatic3.c: New file.
53346 * dlfcn/tststatic3.c: New file.
53347 * dlfcn/tststatic4.c: New file.
53348 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53349 (tests-static): Likewise.
53350 (modules-names): Add modstatic3.
53351 (tststatic3-ENV, tststatic4-ENV): New variables.
53352 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53353 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53354
53355 2013-06-26 Joseph Myers <joseph@codesourcery.com>
53356
53357 * configure.in (CC): Require GCC version 4.4 or later.
53358 * configure: Regenerated.
53359 * manual/install.texi (Tools for Compilation): Update GCC version
53360 requirement.
53361 * INSTALL: Regenerated.
53362
53363 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53364
53365 [BZ #15674]
53366 * string/test-memcmp.c (check2): New.
53367 (main): Call check2.
53368
53369 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53370
53371 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
53372
53373 [BZ #15022]
53374 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53375 over to...
53376 (dl_open_worker) [!SHARED]: ... here.
53377
53378 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53379
53380 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53381
53382 2013-06-25 Richard Henderson <rth@redhat.com>
53383
53384 * locale/programs/locarchive.c: Include <libc-internal.h>
53385
53386 2013-06-25 Joseph Myers <joseph@codesourcery.com>
53387
53388 * manual/texinfo.tex: Update to version 2013-06-21.17, with
53389 trailing whitespace removed.
53390
53391 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53392
53393 [BZ #10283]
53394 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53395 * locale/programs/locarchive.c: Include libc-mmap.h.
53396 (prepare_address_space): Take two new outputs (the mmap base and len).
53397 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
53398 values.
53399 (create_archive): Declare new mmap base and len values for
53400 prepare_address_space, and store the result in ah.
53401 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53402 (enlarge_archive): If ah->mmap_base is not NULL, use that and
53403 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53404 Declare new mmap base and len values for
53405 prepare_address_space, and store the result in new_ah.
53406 (open_archive): Declare new mmap base and len values for
53407 prepare_address_space, and store the result in ah.
53408 (close_archive): If ah->mmap_base is not NULL, use that and
53409 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53410 * sysdeps/generic/libc-mmap.h: New file.
53411
53412 2013-06-24 Mike Frysinger <vapier@gentoo.org>
53413
53414 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53415 (ALIGN_UP): Likewise.
53416 (PTR_ALIGN_DOWN): Likewise.
53417 (PTR_ALIGN_UP): Likewise.
53418
53419 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53420
53421 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53422 entry mapped to PPC_PLATFORM_POWER8.
53423 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53424 POWER8.
53425 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53426 (_dl_string_platform): Add case for exporting platform position for
53427 POWER8.
53428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53429 search path to sysdeps/powerpc/powerpc32/power8 directory.
53430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53431 search path to sysdeps/powerpc/powerpc64/power8 directory.
53432 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53433 power7 directories.
53434 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53435 power7 directories.
53436
53437 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
53438
53439 * INSTALL: Regenerate.
53440
53441 * nscd/connections.c (nscd_init): Fix comment.
53442
53443 2013-06-22 Joseph Myers <joseph@codesourcery.com>
53444
53445 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53446
53447 [BZ #15667]
53448 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53449 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53450
53451 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53452
53453 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53454 DL_DST_REQ_STATIC.
53455 (DL_DST_REQ_STATIC): Remove macro.
53456
53457 2013-06-21 Joseph Myers <joseph@codesourcery.com>
53458
53459 [BZ #7006]
53460 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53461 with a shift of 0 bits.
53462
53463 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
53464
53465 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53466 $(tststatic-ENV).
53467
53468 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53469
53470 [BZ #15655]
53471 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53472
53473 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53474
53475 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53476 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53477 accepts -fno-tree-loop-distribute-patterns.
53478 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53479 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53480 recursive call.
53481 * string/memset.c (memset): Likewise.
53482 * string/test-memmove.c (simple_memmove): Disable loop transformation
53483 to library calls.
53484 * string/test-memset.c (simple_memset): Likewise.
53485 * benchtests/bench-memmove.c (simple_memmove): Likewise.
53486 * benchtests/bench-memset.c (simple_memset): Likewise.
53487 * configure: Regenerated.
53488
53489 2013-06-20 Joseph Myers <joseph@codesourcery.com>
53490
53491 * math/test-misc.c (main): Ignore fesetround failure when failures
53492 of subsequent rounding tests would be ignored.
53493
53494 [BZ #15654]
53495 * math/fedisblxcpt.c (fedisableexcept): Return 0.
53496 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53497 * math/fegetenv.c (__fegetenv): Return 0.
53498 * math/fegetexcept.c (fegetexcept): Return 0.
53499 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53500 FE_TONEAREST.
53501 * math/feholdexcpt.c (feholdexcept): Return 0.
53502 * math/fesetenv.c (__fesetenv): Return 0.
53503 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53504 argument FE_TONEAREST.
53505 * math/feupdateenv.c (__feupdateenv): Return 0.
53506 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53507
53508 2013-06-18 Roland McGrath <roland@hack.frob.com>
53509
53510 * elf/rtld-Rules (rtld-compile-command.S): New variable.
53511 (rtld-compile-command.s, rtld-compile-command.c): New variables.
53512 ($(objpfx)rtld-%.os rules): Use them.
53513
53514 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53515
53516 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53517 fields.
53518
53519 2013-06-17 Roland McGrath <roland@hack.frob.com>
53520
53521 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53522 length of target pattern, then descending length of dependency pattern.
53523 * configure.in (AWK): Require gawk 3.1.2 or newer.
53524 * manual/install.texi (Tools for Compilation): Say that we do.
53525 * configure: Regenerated.
53526
53527 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53528 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53529 * scripts/sysd-rules.awk: ... this new script.
53530 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53531 than a glob-style pattern.
53532
53533 2013-06-17 Joseph Myers <joseph@codesourcery.com>
53534
53535 * math/test-misc.c (main): Do not treat incorrectly rounded
53536 conversions as failure unless ROUNDING_TESTS passes.
53537
53538 2013-06-15 Joseph Myers <joseph@codesourcery.com>
53539
53540 [BZ #15631]
53541 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53542 restore exception state around main square root computation, then
53543 check for inexactness explicitly.
53544
53545 * math/libm-test.inc (fma_test_data): Add another test.
53546
53547 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
53548
53549 * manual/threads.texi (Non-POSIX Extensions): New document
53550 node. Document pthread_getattr_default_np and
53551 pthread_setattr_default_np.
53552
53553 * Versions.def (libpthread): Add GLIBC_2.18.
53554 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53556 Likewise.
53557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53558 Likewise.
53559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53560 Likewise.
53561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53562 Likewise.
53563 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53564 Likewise.
53565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53566 Likewise.
53567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53568 Likewise.
53569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53570 Likewise.
53571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53572 Likewise.
53573
53574 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53575
53576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53577 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53578
53579 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
53580 H.J. Lu <hjl.tools@gmail.com>
53581
53582 [BZ #15627]
53583 * sysdeps/x86_64/rtld-memset.c: Remove file.
53584 * sysdeps/x86_64/rtld-memset.S: New file.
53585
53586 2013-06-14 Joseph Myers <joseph@codesourcery.com>
53587
53588 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53589 (test_in_one_mode): Take arguments for whether the rounding mode
53590 is supported for each floating-point type.
53591 (do_test): Pass new arguments to test_in_one_mode using
53592 ROUNDING_TESTS.
53593
53594 2013-06-13 Roland McGrath <roland@hack.frob.com>
53595
53596 * posix/tst-waitid.c (do_test): Distinguish different instances of
53597 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
53598 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53599 before entering the kernel for waitpid.
53600
53601 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53602
53603 * NEWS: Fix note on clock function precision. Text by Roland
53604 McGrath.
53605
53606 2013-06-13 Roland McGrath <roland@hack.frob.com>
53607
53608 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53609 it into place only when and if the sanity check passes.
53610
53611 2013-06-13 Joseph Myers <joseph@codesourcery.com>
53612
53613 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53614 output for whether conversion result is exact. Take argument
53615 indicating whether type is IBM long double.
53616 (round_for_all): Change need_exact field to ibm_ld.
53617 * stdlib/tst-strtod-round.c (struct exactness): New type.
53618 (struct test): Change bool ld_ok field to struct exactness exact.
53619 (TEST): Update all definitions for change to field.
53620 (tests): Regenerate array contents.
53621 (test_in_one_mode): Take pointer to new field instead of old ld_ok
53622 field value. Check for IBM long double here.
53623 (do_test): Update calls to test_in_one_mode.
53624
53625 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
53626
53627 [BZ #12515]
53628 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53629 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53630
53631 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53632
53633 [BZ #15605]
53634 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53635 generated by the compiler on loop optimizations.
53636 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53637 general definitions.
53638
53639 2013-06-12 Joseph Myers <joseph@codesourcery.com>
53640
53641 * math/bug-nextafter.c: Include <math-tests.h>.
53642 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53643 the relevant type.
53644 * math/bug-nexttoward.c: Include <math-tests.h>.
53645 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53646 the relevant type.
53647 * math/test-misc.c: Include <math-tests.h>.
53648 (main): Only test for exceptions if EXCEPTION_TESTS is true for
53649 the relevant type.
53650
53651 2013-06-12 Andreas Jaeger <aj@suse.de>
53652
53653 * po/ia.po: Update Interlingua translation from translation
53654 project.
53655
53656 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
53657
53658 * include/fenv.h: Include stdbool.h.
53659 (struct rm_ctx): New structure.
53660 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53661 Define macro.
53662 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53663 (SET_RESTORE_ROUNDF): Likewise.
53664 (SET_RESTORE_ROUNDL): Likewise.
53665 (SET_RESTORE_ROUND_NOEX): Likewise.
53666 (SET_RESTORE_ROUND_NOEXF): Likewise.
53667 (SET_RESTORE_ROUND_NOEXL): Likewise.
53668 (SET_RESTORE_ROUND_53BIT): Likewise.
53669 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53670 (libc_feresetround_noexf_ctx): Likewise.
53671 (libc_feresetround_noexl_ctx): Likewise.
53672 (libc_feholdsetround_53bit_ctx): Likewise.
53673 (libc_feresetround_53bit_ctx): Likewise.
53674 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53675 (libc_feholdexcept_setround_sse_ctx): New function.
53676 (libc_fesetenv_sse_ctx): Likewise.
53677 (libc_feupdateenv_sse_ctx): Likewise.
53678 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53679 (libc_feholdexcept_setround_387_ctx): Likewise.
53680 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53681 (libc_feholdsetround_387_prec_ctx): Likewise.
53682 (libc_feholdsetround_387_ctx): Likewise.
53683 (libc_feholdsetround_387_53bit_ctx): Likewise.
53684 (libc_feholdsetround_sse_ctx): Likewise.
53685 (libc_feresetround_sse_ctx): Likewise.
53686 (libc_feresetround_387_ctx): Likewise.
53687 (libc_feupdateenv_387_ctx): Likewise.
53688 (libc_feholdexcept_setroundf_ctx): Define macro.
53689 (libc_fesetenvf_ctx): Likewise.
53690 (libc_feupdateenvf_ctx): Likewise.
53691 (libc_feholdsetroundf_ctx): Likewise.
53692 (libc_feresetroundf_ctx): Likewise.
53693 (libc_feholdexcept_setround_ctx): Likewise.
53694 (libc_fesetenv_ctx): Likewise.
53695 (libc_feupdateenv_ctx): Likewise.
53696 (libc_feholdsetround_ctx): Likewise.
53697 (libc_feresetround_ctx): Likewise.
53698 (libc_feholdexcept_setroundl_ctx): Likewise.
53699 (libc_feupdateenvl_ctx): Likewise.
53700 (libc_feholdsetroundl_ctx): Likewise.
53701 (libc_feresetroundl_ctx): Likewise.
53702 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53703 (libc_feresetround_53bit_ctx): Likewise.
53704
53705 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53706
53707 * locale/iso-639.def: Convert to UTF-8.
53708
53709 2013-06-11 Joseph Myers <joseph@codesourcery.com>
53710
53711 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53712 (EXCEPTION_TESTS_double): Likewise.
53713 (EXCEPTION_TESTS_long_double): Likewise.
53714 (EXCEPTION_TESTS): Likewise.
53715 * math/libm-test.inc (test_exceptions): Only test exceptions if
53716 EXCEPTION_TESTS (FLOAT).
53717
53718 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53719
53720 * benchtests/Makefile (string-bench): Add strcpy_chk and
53721 stpcpy_chk.
53722 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53723 * benchtests/bench-stpcpy_chk.c: New file.
53724 * benchtests/bench-strcpy_chk-ifunc.c: New file.
53725 * benchtests/bench-strcpy_chk.c: New file.
53726 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53727 code.
53728 (do_test): Likewise.
53729
53730 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53731
53732 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53733 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53734 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53735 with tabs where appropriate.
53736 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53737 dl-procinfo.h.
53738 [PPC_PLATFORM_PPC440]: Likewise.
53739 [PPC_PLATFORM_PPC464]: Likewise.
53740 [PPC_PLATFORM_PPC476]: Likewise.
53741 (_dl_string_platform): Add support for detecting ppc405, ppc440,
53742 ppc464, and ppc476 platform strings merging from ports/
53743 dl-procinfo.h.
53744
53745 2013-06-11 Andreas Schwab <schwab@suse.de>
53746
53747 [BZ #14991]
53748 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53749 (from_ucs4_idx): Regenerate.
53750 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53751 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53752 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53753 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53754 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53755 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53756 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53757 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53758 from FROM_LOOP and TO_LOOP specific macros.
53759 (BODY): Handle combining characters.
53760 * iconvdata/BIG5HKSCS.irreversible: Update.
53761 * iconvdata/BIG5HKSCS.precomposed: New file.
53762 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53763 characters.
53764 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53765
53766 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53767
53768 * include/sys/time.h: Fix indentation and add copyright header.
53769
53770 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53771 (do_test): Likewise.
53772 * string/test-memchr.c (do_one_test): Likewise.
53773 (do_test): Likewise.
53774 * string/test-memcmp.c (do_one_test): Likewise.
53775 (do_test): Likewise.
53776 * string/test-memcpy.c (do_one_test): Likewise.
53777 (do_test): Likewise.
53778 * string/test-memmem.c (do_one_test): Likewise.
53779 (do_test): Likewise.
53780 (do_random_tests): Likewise.
53781 * string/test-memmove.c (do_one_test): Likewise.
53782 (do_test): Likewise.
53783 * string/test-memset.c (do_one_test): Likewise.
53784 (do_test): Likewise.
53785 * string/test-rawmemchr.c (do_one_test): Likewise.
53786 (do_test): Likewise.
53787 * string/test-strcasecmp.c (do_one_test): Likewise.
53788 (do_test): Likewise.
53789 * string/test-strcasestr.c (do_one_test): Likewise.
53790 (do_test): Likewise.
53791 * string/test-strcat.c (do_one_test): Likewise.
53792 (do_test): Likewise.
53793 * string/test-strchr.c (do_one_test): Likewise.
53794 (do_test): Likewise.
53795 * string/test-strcmp.c (do_one_test): Likewise.
53796 (do_test): Likewise.
53797 * string/test-strcpy.c (do_one_test): Likewise.
53798 (do_test): Likewise.
53799 * string/test-string.h: Likewise.
53800 (test_init): Likewise.
53801 * string/test-strlen.c (do_one_test): Likewise.
53802 (do_test): Likewise.
53803 * string/test-strncasecmp.c (do_one_test): Likewise.
53804 (do_test): Likewise.
53805 * string/test-strncat.c (do_one_test): Likewise.
53806 (do_test): Likewise.
53807 * string/test-strncmp.c (do_one_test): Likewise.
53808 (do_test_limit): Likewise.
53809 (do_test): Likewise.
53810 * string/test-strncpy.c (do_one_test): Likewise.
53811 (do_test): Likewise.
53812 * string/test-strnlen.c (do_one_test): Likewise.
53813 (do_test): Likewise.
53814 * string/test-strpbrk.c (do_one_test): Likewise.
53815 (do_test): Likewise.
53816 * string/test-strrchr.c (do_one_test): Likewise.
53817 (do_test): Likewise.
53818 * string/test-strspn.c (do_one_test): Likewise.
53819 (do_test): Likewise.
53820 * string/test-strstr.c (do_one_test): Likewise.
53821 (do_test): Likewise.
53822
53823 * benchtests/Makefile (string-bench): Add string benchmarks.
53824 * benchtests/bench-bcopy-ifunc.c: New file.
53825 * benchtests/bench-bcopy.c: New file.
53826 * benchtests/bench-bzero-ifunc.c: New file.
53827 * benchtests/bench-bzero.c: New file.
53828 * benchtests/bench-memccpy-ifunc.c: New file.
53829 * benchtests/bench-memccpy.c: New file.
53830 * benchtests/bench-memchr-ifunc.c: New file.
53831 * benchtests/bench-memchr.c: New file.
53832 * benchtests/bench-memcmp-ifunc.c: New file.
53833 * benchtests/bench-memcmp.c: New file.
53834 * benchtests/bench-memmem-ifunc.c: New file.
53835 * benchtests/bench-memmem.c: New file.
53836 * benchtests/bench-memmove-ifunc.c: New file.
53837 * benchtests/bench-memmove.c: New file.
53838 * benchtests/bench-mempcpy-ifunc.c: New file.
53839 * benchtests/bench-mempcpy.c: New file.
53840 * benchtests/bench-memset-ifunc.c: New file.
53841 * benchtests/bench-memset.c: New file.
53842 * benchtests/bench-rawmemchr-ifunc.c: New file.
53843 * benchtests/bench-rawmemchr.c: New file.
53844 * benchtests/bench-stpcpy-ifunc.c: New file.
53845 * benchtests/bench-stpcpy.c: New file.
53846 * benchtests/bench-stpncpy-ifunc.c: New file.
53847 * benchtests/bench-stpncpy.c: New file.
53848 * benchtests/bench-strcasecmp-ifunc.c: New file.
53849 * benchtests/bench-strcasecmp.c: New file.
53850 * benchtests/bench-strcasestr-ifunc.c: New file.
53851 * benchtests/bench-strcasestr.c: New file.
53852 * benchtests/bench-strcat-ifunc.c: New file.
53853 * benchtests/bench-strcat.c: New file.
53854 * benchtests/bench-strchr-ifunc.c: New file.
53855 * benchtests/bench-strchr.c: New file.
53856 * benchtests/bench-strchrnul-ifunc.c: New file.
53857 * benchtests/bench-strchrnul.c: New file.
53858 * benchtests/bench-strcmp-ifunc.c: New file.
53859 * benchtests/bench-strcmp.c: New file.
53860 * benchtests/bench-strcpy-ifunc.c: New file.
53861 * benchtests/bench-strcpy.c: New file.
53862 * benchtests/bench-strcspn-ifunc.c: New file.
53863 * benchtests/bench-strcspn.c: New file.
53864 * benchtests/bench-strlen-ifunc.c: New file.
53865 * benchtests/bench-strlen.c: New file.
53866 * benchtests/bench-strncasecmp-ifunc.c: New file.
53867 * benchtests/bench-strncasecmp.c: New file.
53868 * benchtests/bench-strncat-ifunc.c: New file.
53869 * benchtests/bench-strncat.c: New file.
53870 * benchtests/bench-strncmp-ifunc.c: New file.
53871 * benchtests/bench-strncmp.c: New file.
53872 * benchtests/bench-strncpy-ifunc.c: New file.
53873 * benchtests/bench-strncpy.c: New file.
53874 * benchtests/bench-strnlen-ifunc.c: New file.
53875 * benchtests/bench-strnlen.c: New file.
53876 * benchtests/bench-strpbrk-ifunc.c: New file.
53877 * benchtests/bench-strpbrk.c: New file.
53878 * benchtests/bench-strrchr-ifunc.c: New file.
53879 * benchtests/bench-strrchr.c: New file.
53880 * benchtests/bench-strspn-ifunc.c: New file.
53881 * benchtests/bench-strspn.c: New file.
53882 * benchtests/bench-strstr-ifunc.c: New file.
53883 * benchtests/bench-strstr.c: New file.
53884
53885 * benchtests/Makefile: Disable parallel execution of targets.
53886 (string-bench): Add memcpy.
53887 (benchset): New variable to store a list of benchmark sets.
53888 (bench-func): Renamed from bench.
53889 (bench-set): New target.
53890 (bench): Depend on bench-func and bench-set.
53891 * benchtests/README: Add section on benchmark sets.
53892 * benchtests/bench-memcpy-ifunc.c: New file.
53893 * benchtests/bench-memcpy.c: New file.
53894 * benchtests/bench-string.h: New file.
53895
53896 2013-06-11 Andreas Schwab <schwab@suse.de>
53897
53898 [BZ #15577]
53899 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53900 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53901 values in the triple.
53902 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53903 terminator in the group key.
53904
53905 2013-06-11 Andreas Jaeger <aj@suse.de>
53906
53907 * po/zh_TW.po: Update Chinese (traditional) translation from
53908 translation project.
53909
53910 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
53911
53912 * include/time.h (__clock_gettime): Add libc_hidden_proto.
53913 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
53914 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
53915 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53916 (clock_getcpuclockid): Likewise.
53917 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
53918 Add weak_alias and libc_hidden_def.
53919 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
53920 * rt/clock_gettime.c (clock_gettime): Rename to
53921 __clock_gettime. Add weak_alias and libc_hidden_def.
53922 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
53923 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
53924 __clock_nanosleep. Add weak_alias and libc_hidden_def.
53925 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
53926 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
53927 Likewise.
53928 * rt/clock_settime.c (clock_settime): Rename to
53929 __clock_settime. Add weak_alias and libc_hidden_def.
53930 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
53931
53932 2013-06-10 Joseph Myers <joseph@codesourcery.com>
53933
53934 * mach/err_boot.sub: Remove trailing whitespace.
53935 * mach/err_ipc.sub: Likewise.
53936 * mach/err_mach.sub: Likewise.
53937
53938 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
53939 (ROUNDING_TESTS_double): Likewise.
53940 (ROUNDING_TESTS_long_double): Likewise.
53941 (ROUNDING_TESTS): Likewise.
53942 * math/libm-test.inc: Include <math-tests.h>.
53943 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
53944 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53945 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53946 (IF_ROUND_INIT_FE_UPWARD): Likewise.
53947
53948 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
53949
53950 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
53951 of assigning.
53952
53953 2013-06-08 Joseph Myers <joseph@codesourcery.com>
53954
53955 * sysdeps/gnu/errlist.awk: Do not generate space at end of
53956 otherwise empty TRANS lines.
53957 * sysdeps/gnu/errlist.c: Regenerated.
53958
53959 * catgets/gencat.c (error_print): Use (void) in function
53960 definition.
53961 * crypt/crypt_util.c (__init_des): Likewise.
53962 * crypt/speeds.c (Stop): Likewise.
53963 (main): Likewise.
53964 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
53965 * inet/ruserpass.c (token): Likewise.
53966 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
53967 * intl/localealias.c (extend_alias_table): Likewise.
53968 * intl/plural-exp.c (init_germanic_plural): Likewise.
53969 * libio/fcloseall.c (__fcloseall): Likewise.
53970 * libio/genops.c (_IO_flush_all): Likewise.
53971 (_IO_flush_all_linebuffered): Likewise.
53972 (_IO_cleanup): Likewise.
53973 (_IO_iter_begin): Likewise.
53974 (_IO_iter_end): Likewise.
53975 (_IO_list_lock): Likewise.
53976 (_IO_list_unlock): Likewise.
53977 (_IO_list_resetlock): Likewise.
53978 * libio/getchar.c (getchar): Likewise.
53979 * libio/getchar_u.c (getchar_unlocked): Likewise.
53980 * libio/getwchar.c (getwchar): Likewise.
53981 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
53982 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
53983 * login/getpt.c (__getpt): Likewise.
53984 * login/tst-utmp.c (main): Likewise.
53985 * malloc/hooks.c (__malloc_check_init): Likewise.
53986 * malloc/malloc.c (__malloc_stats): Likewise.
53987 * malloc/mtrace.c (tr_break): Likewise.
53988 (mtrace): Likewise.
53989 (muntrace): Likewise.
53990 * misc/fstab.c (endfsent): Likewise.
53991 * misc/getclktck.c (__getclktck): Likewise.
53992 * misc/getdtsz.c (__getdtablesize): Likewise.
53993 * misc/gethostid.c (gethostid): Likewise.
53994 * misc/getpagesize.c (__getpagesize): Likewise.
53995 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
53996 (__get_nprocs): Likewise.
53997 (__get_phys_pages): Likewise.
53998 (__get_avphys_pages): Likewise.
53999 * misc/getttyent.c (getttyent): Likewise.
54000 (setttyent): Likewise.
54001 (endttyent): Likewise.
54002 * misc/getusershell.c (getusershell): Likewise.
54003 (endusershell): Likewise.
54004 (setusershell): Likewise.
54005 (initshells): Likewise.
54006 * misc/hsearch.c (__hdestroy): Likewise.
54007 * misc/sync.c (sync): Likewise.
54008 * misc/syslog.c (closelog_internal): Likewise.
54009 (closelog): Likewise.
54010 * misc/ttyslot.c (ttyslot): Likewise.
54011 * misc/vhangup.c (vhangup): Likewise.
54012 * posix/fork.c (__fork): Likewise.
54013 * posix/getegid.c (__getegid): Likewise.
54014 * posix/geteuid.c (__geteuid): Likewise.
54015 * posix/getgid.c (__getgid): Likewise.
54016 * posix/getpid.c (__getpid): Likewise.
54017 * posix/getppid.c (__getppid): Likewise.
54018 * posix/getuid.c (__getuid): Likewise.
54019 * posix/pause.c (pause): Likewise.
54020 * posix/setpgrp.c (setpgrp): Likewise.
54021 * posix/setsid.c (__setsid): Likewise.
54022 * posix/test-vfork.c (noop): Likewise.
54023 * resolv/gethnamaddr.c (_endhtent): Likewise.
54024 (_gethtent): Likewise.
54025 (ht_endhostent): Likewise.
54026 (gethostent): Likewise.
54027 (dns_service): Likewise.
54028 * stdlib/drand48.c (drand48): Likewise.
54029 * stdlib/lrand48.c (lrand48): Likewise.
54030 * stdlib/mrand48.c (mrand48): Likewise.
54031 * stdlib/rand.c (rand): Likewise.
54032 * stdlib/random.c (__random): Likewise.
54033 * stdlib/setenv.c (clearenv): Likewise.
54034 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54035 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54036 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54037 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54038 (__get_nprocs): Likewise.
54039 (__get_phys_pages): Likewise.
54040 (__get_avphys_pages): Likewise.
54041 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54042 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54043 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54044 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54045 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54046 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54047 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54048 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54049 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54050 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54051 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54052 * sysdeps/mach/hurd/sync.c (sync): Likewise.
54053 * sysdeps/posix/clock.c (clock): Likewise.
54054 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54055 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54056 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54057 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54058 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54059 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54060 (__get_nprocs_conf): Likewise.
54061 (__get_phys_pages): Likewise.
54062 (__get_avphys_pages): Likewise.
54063 * time/clock.c (clock): Likewise.
54064 * time/tzset.c (__tzname_max): Likewise.
54065
54066 2013-06-07 Joseph Myers <joseph@codesourcery.com>
54067
54068 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54069 (__bswap_32): Do not use "register".
54070 * crypt/crypt.c (_ufc_doit_r): Likewise.
54071 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54072 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54073 * gmon/gmon.c (__monstartup): Likewise.
54074 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54075 * hurd/hurdmalloc.c (more_memory): Likewise.
54076 (malloc): Likewise.
54077 (free): Likewise.
54078 (realloc): Likewise.
54079 (malloc_fork_prepare): Likewise.
54080 (malloc_fork_parent): Likewise.
54081 (malloc_fork_child): Likewise.
54082 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54083 (_svcauth_des): Likewise.
54084 * inet/inet_lnaof.c (inet_lnaof): Likewise.
54085 * inet/inet_net.c (inet_network): Likewise.
54086 * inet/inet_netof.c (inet_netof): Likewise.
54087 * inet/rcmd.c (__validuser2_sa): Likewise.
54088 * io/fts.c (fts_open): Likewise.
54089 (fts_load): Likewise.
54090 (fts_close): Likewise.
54091 (fts_read): Likewise.
54092 (fts_children): Likewise.
54093 (fts_build): Likewise.
54094 (fts_stat): Likewise.
54095 (fts_sort): Likewise.
54096 (fts_alloc): Likewise.
54097 (fts_lfree): Likewise.
54098 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54099 (_IO_file_xsgetn): Likewise.
54100 (_IO_file_xsgetn_mmap): Likewise.
54101 * libio/iofopncook.c (_IO_cookie_read): Likewise.
54102 (_IO_cookie_write): Likewise.
54103 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54104 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54105 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54106 * malloc/obstack.c (_obstack_begin): Likewise.
54107 (_obstack_begin_1): Likewise.
54108 (_obstack_newchunk): Likewise.
54109 (_obstack_allocated_p): Likewise.
54110 (obstack_free): Likewise.
54111 (_obstack_memory_used): Likewise.
54112 * misc/getttyent.c (getttynam): Likewise.
54113 (getttyent): Likewise.
54114 (skip): Likewise.
54115 (value): Likewise.
54116 * misc/getusershell.c (initshells): Likewise.
54117 * misc/syslog.c (__vsyslog_chk): Likewise.
54118 * misc/ttyslot.c (ttyslot): Likewise.
54119 * nis/nis_hash.c (__nis_hash): Likewise.
54120 * posix/fnmatch_loop.c (FCT): Likewise.
54121 * posix/getconf.c (print_all): Likewise.
54122 (main): Likewise.
54123 * posix/getopt.c (exchange): Likewise.
54124 * posix/glob.c (globfree): Likewise.
54125 (prefix_array): Likewise.
54126 (__glob_pattern_type): Likewise.
54127 * resolv/arpa/nameser.h (NS_GET16): Likewise.
54128 (NS_GET32): Likewise.
54129 (NS_PUT16): Likewise.
54130 (NS_PUT32): Likewise.
54131 * resolv/gethnamaddr.c (getanswer): Likewise.
54132 (gethostbyname2): Likewise.
54133 (gethostbyaddr): Likewise.
54134 (_gethtent): Likewise.
54135 (_gethtbyname2): Likewise.
54136 (_gethtbyaddr): Likewise.
54137 * resolv/ns_print.c (dst_s_get_int16): Likewise.
54138 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54139 * resolv/res_init.c (__res_vinit): Likewise.
54140 (net_mask): Likewise.
54141 * resolv/res_mkquery.c (outchar): Likewise.
54142 (PRINT): Likewise.
54143 * stdio-common/printf_fp.c (outchar): Likewise.
54144 (PRINT): Likewise.
54145 * stdio-common/printf_fphex.c (outchar): Likewise.
54146 (PRINT): Likewise.
54147 * stdio-common/printf_size.c (outchar): Likewise.
54148 (PRINT): Likewise.
54149 * stdio-common/test_rdwr.c (main): Likewise.
54150 * stdio-common/tfformat.c (matches): Likewise.
54151 * stdio-common/vfprintf.c (outchar): Likewise.
54152 (printf_unknown): Likewise.
54153 (buffered_vfprintf): Likewise.
54154 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54155 * stdio-common/xbug.c (AppendToBuffer): Likewise.
54156 (ReadFile): Likewise.
54157 * stdlib/qsort.c (SWAP): Likewise.
54158 (_quicksort): Likewise.
54159 * stdlib/setenv.c (__add_to_environ): Likewise.
54160 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54161 * stdlib/strtol_l.c (__strtol_l): Likewise.
54162 * stdlib/tst-strtod.c (main): Likewise.
54163 * stdlib/tst-strtol.c (main): Likewise.
54164 * stdlib/tst-strtoll.c (main): Likewise.
54165 * string/bits/string2.h (__strcmp_cc): Likewise.
54166 (__strcmp_cg): Likewise.
54167 (__strcspn_c1): Likewise.
54168 (__strcspn_c2): Likewise.
54169 (__strcspn_c3): Likewise.
54170 (__strspn_c1): Likewise.
54171 (__strspn_c2): Likewise.
54172 (__strspn_c3): Likewise.
54173 (__strsep_1c): Likewise.
54174 (__strsep_2c): Likewise.
54175 (__strsep_3c): Likewise.
54176 * string/memccpy.c (__memccpy): Likewise.
54177 * string/stpcpy.c (__stpcpy): Likewise.
54178 * string/strcmp.c (strcmp): Likewise.
54179 * string/strrchr.c (strrchr): Likewise.
54180 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54181 Likewise.
54182 * sysdeps/mach/hurd/getcwd.c
54183 (_hurd_canonicalize_directory_name_internal): Likewise.
54184 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54185 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54186 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54187 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54188 Likewise, in both definitions.
54189 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54190 definitions.
54191 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54192 64] (__bswap_64): Likewise.
54193 * time/test_time.c (main): Likewise.
54194 * time/tzfile.c (__tzfile_read): Likewise.
54195 (__tzfile_compute): Likewise.
54196 * time/tzset.c (__tzset_parse_tz): Likewise.
54197 (tzset_internal): Likewise.
54198 (compute_change): Likewise.
54199 * wcsmbs/wcscat.c (__wcscat): Likewise.
54200 * wcsmbs/wcschr.c (wcschr): Likewise.
54201 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54202 * wcsmbs/wcscspn.c (wcscspn): Likewise.
54203 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54204 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54205 * wcsmbs/wcsspn.c (wcsspn): Likewise.
54206 * wcsmbs/wcsstr.c (wcsstr): Likewise.
54207 * wcsmbs/wmemchr.c (wmemchr): Likewise.
54208 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54209 * wcsmbs/wmemset.c (wmemset): Likewise.
54210
54211 2013-06-06 Joseph Myers <joseph@codesourcery.com>
54212
54213 * scripts/config.guess: Update to version 2013-05-16.
54214 * scripts/config.sub: Update to version 2013-04-24.
54215 * scripts/install-sh: Update to version 2011-11-20.07.
54216 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54217 * scripts/move-if-change: Update to version 2012-01-06 07:23.
54218
54219 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
54220
54221 * debug/fgetws_u_chk.c: Fix leading whitespaces.
54222 * elf/sln.c: Likewise.
54223 * hurd/hurd/ioctl.h: Likewise.
54224 * hurd/hurdmalloc.c: Likewise.
54225 * hurd/xattr.c: Likewise.
54226 * include/shlib-compat.h: Likewise.
54227 * inet/ruserpass.c: Likewise.
54228 * libio/iofgets_u.c: Likewise.
54229 * libio/iofgetws_u.c: Likewise.
54230 * locale/programs/ld-identification.c: Likewise.
54231 * locale/programs/ld-time.c: Likewise.
54232 * mach/msg-destroy.c: Likewise.
54233 * nss/nss_files/files-netgrp.c: Likewise.
54234 * resolv/res_data.c: Likewise.
54235 * soft-fp/op-1.h: Likewise.
54236 * soft-fp/op-2.h: Likewise.
54237 * soft-fp/op-4.h: Likewise.
54238 * soft-fp/op-common.h: Likewise.
54239 * stdio-common/printf_fphex.c: Likewise.
54240 * stdlib/strtod_l.c: Likewise.
54241 * sunrpc/rpc/clnt.h: Likewise.
54242 * sysdeps/generic/framestate.c: Likewise.
54243 * sysdeps/i386/bsd-_setjmp.S: Likewise.
54244 * sysdeps/i386/bsd-setjmp.S: Likewise.
54245 * sysdeps/i386/__longjmp.S: Likewise.
54246 * sysdeps/i386/setjmp.S: Likewise.
54247 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54248 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54249 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54250 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54251 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54252 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54254 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54255 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54256 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54257 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54258 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54259 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54260 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54261 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54262 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54263 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54264 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54265 * sysdeps/ieee754/support.c: Likewise.
54266 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54267 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54268 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54269 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54270 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54271 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54272 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54273 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54274 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54275 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54276 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54277 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54278 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54279 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54280 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54281 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54282 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54284
54285 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
54286
54287 * posix/transbug.c: Remove executable mode.
54288
54289 2013-06-05 Joseph Myers <joseph@codesourcery.com>
54290
54291 * crypt/speeds.c: Remove trailing whitespace.
54292 * dlfcn/default.c: Likewise.
54293 * elf/ifuncdep2.c: Likewise.
54294 * elf/ifuncmain1.c: Likewise.
54295 * elf/ifuncmain1vis.c: Likewise.
54296 * elf/testobj.h: Likewise.
54297 * elf/tst-stackguard1.c: Likewise.
54298 * gmon/sys/gmon.h: Likewise.
54299 * hurd/hurdmsg.c: Likewise.
54300 * hurd/new-fd.c: Likewise.
54301 * hurd/ports-get.c: Likewise.
54302 * iconvdata/ibm1008_420.c: Likewise.
54303 * inet/tst-getni1.c: Likewise.
54304 * inet/tst-getni2.c: Likewise.
54305 * libio/ioungetc.c: Likewise.
54306 * libio/wfiledoalloc.c: Likewise.
54307 * manual/libm-err-tab.pl: Likewise.
54308 * math/w_dremf.c: Likewise.
54309 * misc/ftruncate.c: Likewise.
54310 * posix/bug-glob2.c: Likewise.
54311 * posix/tst-pcre.c: Likewise.
54312 * posix/wait4.c: Likewise.
54313 * resolv/README: Likewise.
54314 * resolv/res_debug.h: Likewise.
54315 * resolv/tst-inet_ntop.c: Likewise.
54316 * setjmp/bug269-setjmp.c: Likewise.
54317 * soft-fp/extended.h: Likewise.
54318 * soft-fp/op-1.h: Likewise.
54319 * soft-fp/op-2.h: Likewise.
54320 * soft-fp/op-4.h: Likewise.
54321 * soft-fp/op-8.h: Likewise.
54322 * soft-fp/testit.c: Likewise.
54323 * stdio-common/bug16.c: Likewise.
54324 * stdlib/random.c: Likewise.
54325 * sunrpc/rpcsvc/rquota.x: Likewise.
54326 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54327 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54328 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54329 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54330 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54331 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54332 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54333 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54334 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54335 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54336 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54337 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54338 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54339 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54340 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54341 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54342 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54343 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54344 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54345 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54346 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54347 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54348 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54349 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54350 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54351 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54352 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54353 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54354 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54355 * sysdeps/ieee754/s_lib_version.c: Likewise.
54356 * sysdeps/mach/hurd/check_fds.c: Likewise.
54357 * sysdeps/mach/hurd/getsockname.c: Likewise.
54358 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54359 * sysdeps/mach/hurd/recvfrom.c: Likewise.
54360 * sysdeps/powerpc/bits/link.h: Likewise.
54361 * sysdeps/powerpc/dl-procinfo.c: Likewise.
54362 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54363 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54364 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54365 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54366 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54367 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54368 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54369 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54370 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54371 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54372 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54373 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54374 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54375 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54376 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54377 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54378 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54379 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54380 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54381 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54382 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54383 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54384 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54385 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54386 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54387 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54388 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54389 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54390 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54391 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54392 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54393 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54394 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54395 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54396 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54397 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54398 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54399 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54400 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54401 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54402 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54403 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54404 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54405 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54406 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54407 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54408 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54409 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54410 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54411 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54412 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54413 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54414 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54415 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54416 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54417 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54418 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54419 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54420 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54421 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54422 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54423 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54424 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54425 * sysdeps/powerpc/sysdep.h: Likewise.
54426 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54427 * sysdeps/s390/s390-64/sub_n.S: Likewise.
54428 * sysdeps/sh/dl-trampoline.S: Likewise.
54429 * sysdeps/sh/memset.S: Likewise.
54430 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54431 * sysdeps/sh/strlen.S: Likewise.
54432 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54433 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54434 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54435 * sysdeps/sparc/sparc32/rem.S: Likewise.
54436 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54437 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54438 * sysdeps/sparc/sparc32/strchr.S: Likewise.
54439 * sysdeps/sparc/sparc32/udiv.S: Likewise.
54440 * sysdeps/sparc/sparc32/urem.S: Likewise.
54441 * sysdeps/sparc/sparc64/add_n.S: Likewise.
54442 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54443 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54444 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54445 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54446 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54447 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54448 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54449 * sysdeps/unix/bsd/times.c: Likewise.
54450 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54451 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54455 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54456 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54457 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54458 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54459 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54460 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54461 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54462 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54463 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54464 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54465 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54466 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54467 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54468 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54469 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54470 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54471 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54472 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54473 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54474 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54475 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54476 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54477 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54478 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54479 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54480 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54481 * sysdeps/x86_64/strcspn.S: Likewise.
54482
54483 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54484
54485 * locale/C-translit.h: Revert #include <stdint.h> because this is a
54486 generated file. Regenerate properly from gen-translit.pl.
54487 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
54488 locale/C-translit.h.
54489
54490 2013-06-05 Andreas Schwab <schwab@suse.de>
54491
54492 [BZ #15100]
54493 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54494 week as 6 instead of -1.
54495 * time/tst-strptime.c (day_tests): Add test case.
54496
54497 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
54498
54499 * sysdeps/generic/math_private.h
54500 (libc_feholdexcept_setround_53bit): Replace with
54501 libc_feholdsetround_53bit.
54502 (libc_feupdateenv_53bit): Replace with
54503 libc_feresetround_53bit.
54504 (SET_RESTORE_ROUND_53BIT): Adjust.
54505
54506 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
54507
54508 * string/test-strchrnul.c: Add copyright header.
54509
54510 * posix/tst-getaddrinfo4.c: Increase test timeout.
54511
54512 2013-06-03 Carlos O'Donell <carlos@redhat.com>
54513
54514 [BZ #15536]
54515 * math/libm-test.inc (MAX_EXP): Remove
54516 (MIN_EXP): Define.
54517 (ulp): Use MIN_EXP - MANT_DIG.
54518 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54519
54520 2013-05-31 Carlos O'Donell <carlos@redhat.com>
54521
54522 * po/be.po: Revert last change.
54523 * po/zh_CN.po: Likewise.
54524 * po/header.pot: Likewise.
54525
54526 2013-05-31 Joseph Myers <joseph@codesourcery.com>
54527
54528 * Makefile ($(common-objpfx)linkobj/libc.so): Define
54529 link-libc-deps to empty as target-specific variable.
54530 * Makerules (link-libc-args): New variable.
54531 (libc-for-link): Likewise.
54532 (link-libc-deps): Likewise.
54533 (lib%.so): Depend on $(link-libc-deps). Link with
54534 $(link-libc-args).
54535 (build-module): Link with $(link-libc-args).
54536 (build-module-asneeded): Likewise.
54537 (build-module-helper-objlist): Filter out $(link-libc-deps) from
54538 list of objects.
54539 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54540 target-specific variable.
54541 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54542 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54543 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54544 libc.
54545 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54546 libc and ld.so.
54547 ($(objpfx)libpcprofile.so): Likewise.
54548 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54549 libc_nonshared.a.
54550 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54551 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54552 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54553 $(link-libc-deps).
54554 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54555 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54556 * login/Makefile ($(objpfx)libutil.so): Likewise.
54557 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54558 * math/Makefile ($(objpfx)libm.so): Likewise.
54559 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54560 $(objpfx)libnsl.so): Define libc-for-link as target-specific
54561 variable instead of depending directly on libc.
54562 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54563 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54564 $(link-libc-deps).
54565 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54566 libc.
54567 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54568 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54569 ($(objpfx)libanl.so): Likewise.
54570 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54571 ld.so.
54572 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54573 $(link-libc-deps).
54574 * sysdeps/i386/fpu/Makefile: Remove file.
54575 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54576 ($(objpfx)libm.so): Remove dependency on ld.so.
54577
54578 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
54579
54580 [BZ # 15553]
54581 * nis/yp_xdr.c (XDRMAXNAME): Define.
54582 (XDRMAXRECORD): Define.
54583 (xdr_domainname): Use XDRMAXNAME.
54584 (xdr_mapname): Likewise.
54585 (xdr_peername): Likewise.
54586 (xdr_keydat): Use XDRMAXRECORD.
54587 (xdr_valdat): Likewise.
54588
54589 2013-05-30 Jeff Law <law@redhat.com>
54590
54591 [BZ #14256]
54592 * manual/errno.texi (ESTALE): Update to account for more than
54593 just NFS file systems.
54594 * sysdeps/gnu/errlist.c: Regenerated.
54595
54596 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
54597
54598 [BZ #15465]
54599 * elf/Makefile (tests): Add tst-null-argv.
54600 (modules-names): Add tst-null-argv-lib.
54601 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54602 (tst-null-argv-ENV): Set environment for tst-null-argv.
54603 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54604 (RTLD_PROGNAME): New macro.
54605 * elf/tst-null-argv.c: New test case.
54606 * elf/tst-null-argv-lib.c: Library for test case.
54607 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54608 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54609 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54610 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54611 * elf/dl-init.c (call_init): Likewise.
54612 (_dl_init): Likewise.
54613 * elf/dl-load.c (print_search_path): Likewise.
54614 (_dl_map_object): Likewise.
54615 * elf/dl-lookup.c (do_lookup_x): Likewise.
54616 (add_dependency): Likewise.
54617 (_dl_lookup_symbol_x): Likewise.
54618 (_dl_debug_bindings): Likewise.
54619 * elf/dl-open.c (_dl_show_scope): Likewise.
54620 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54621 * elf/dl-version.c (match_symbol): Likewise.
54622 (_dl_check_map_versions): Likewise.
54623 * elf/rtld.c (dl_main): Likewise.
54624 (print_unresolved): Use RTLD_PROGNAME.
54625 (print_missing_version): Likewise.
54626 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54627 (elf_machine_rela): Likewise.
54628 * sysdeps/powerpc/powerpc32/dl-machine.c
54629 (__process_machine_rela): Likewise.
54630 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54631 Likewise.
54632 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54633 Likewise.
54634 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54635 Likewise.
54636 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54637 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54638 Likewise.
54639 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54640 Likewise.
54641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54642
54643 2013-05-28 Carlos O'Donell <carlos@redhat.com>
54644
54645 * po/be.po: Add descriptive title.
54646 * po/zh_CN.po: Likewise.
54647 * po/header.pot: Likewise.
54648
54649 2013-05-28 Mike Frysinger <vapier@gentoo.org>
54650
54651 * locale/programs/locarchive.c (create_archive): Inlucde fname in
54652 error message.
54653 (enlarge_archive): Likewise.
54654
54655 2013-05-28 Ben North <ben@redfrontdoor.org>
54656
54657 * manual/arith.texi (frexp): It is the magnitude of the return
54658 value which lies in [0.5, 1), not the return value itself.
54659
54660 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54661
54662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54663
54664 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
54665
54666 * stdio-common/bug26.c (main): Correct fscanf template.
54667
54668 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54669 declare _dl_skip_args.
54670
54671 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54672 Don't declare.
54673
54674 * manual/platform.texi: Add missing @end deftypefun.
54675
54676 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54677
54678 [BZ #15529]
54679 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54680 bit of mantissa of 2^16382.
54681 * math/libm-test.inc (hypot_test_data): Add more tests.
54682
54683 * math/libm-test.inc: Add drem and pow10 to list of tested
54684 functions.
54685 (pow10_test): New function.
54686 (drem_test): Likewise.
54687 (drem_test_tonearest): Likewise.
54688 (drem_test_towardzero): Likewise.
54689 (drem_test_downward): Likewise.
54690 (drem_test_upward): Likewise.
54691 (main): Call the new functions.
54692
54693 * math/libm-test.inc (finite_test_data): Remove.
54694 (finite_test): Run tests from isfinite_test_data.
54695 (gamma_test_data): Remove.
54696 (gamma_test): Run tests from lgamma_test_data.
54697 * sysdeps/i386/fpu/libm-test-ulps: Update.
54698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54699
54700 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54701
54702 * manual/platform.texi: Add PowerPC PPR function set documentation.
54703 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54704 implementation.
54705
54706 2013-05-24 Carlos O'Donell <carlos@redhat.com>
54707
54708 * math/libm-test.inc (MAX_EXP): Define.
54709 (ULPDIFF): Define.
54710 (ulp): New function.
54711 (check_float_internal): Use ULPDIFF.
54712 (cpow_test): Disable failing test.
54713 (check_ulp): Test ulp() implementation.
54714 (main): Call check_ulp before starting tests.
54715
54716 2013-05-24 Joseph Myers <joseph@codesourcery.com>
54717
54718 * math/gen-libm-test.pl (generate_testfile): Do not handle
54719 START_DATA and END_DATA.
54720 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54721 END_DATA.
54722 (acos_tonearest_test_data): Likewise.
54723 (acos_towardzero_test_data): Likewise.
54724 (acos_downward_test_data): Likewise.
54725 (acos_upward_test_data): Likewise.
54726 (acosh_test_data): Likewise.
54727 (asin_test_data): Likewise.
54728 (asin_tonearest_test_data): Likewise.
54729 (asin_towardzero_test_data): Likewise.
54730 (asin_downward_test_data): Likewise.
54731 (asin_upward_test_data): Likewise.
54732 (asinh_test_data): Likewise.
54733 (atan_test_data): Likewise.
54734 (atanh_test_data): Likewise.
54735 (atan2_test_data): Likewise.
54736 (cabs_test_data): Likewise.
54737 (cacos_test_data): Likewise.
54738 (cacosh_test_data): Likewise.
54739 (carg_test_data): Likewise.
54740 (casin_test_data): Likewise.
54741 (casinh_test_data): Likewise.
54742 (catan_test_data): Likewise.
54743 (catanh_test_data): Likewise.
54744 (cbrt_test_data): Likewise.
54745 (ccos_test_data): Likewise.
54746 (ccosh_test_data): Likewise.
54747 (ceil_test_data): Likewise.
54748 (cexp_test_data): Likewise.
54749 (cimag_test_data): Likewise.
54750 (clog_test_data): Likewise.
54751 (clog10_test_data): Likewise.
54752 (conj_test_data): Likewise.
54753 (copysign_test_data): Likewise.
54754 (cos_test_data): Likewise.
54755 (cos_tonearest_test_data): Likewise.
54756 (cos_towardzero_test_data): Likewise.
54757 (cos_downward_test_data): Likewise.
54758 (cos_upward_test_data): Likewise.
54759 (cosh_test_data): Likewise.
54760 (cosh_tonearest_test_data): Likewise.
54761 (cosh_towardzero_test_data): Likewise.
54762 (cosh_downward_test_data): Likewise.
54763 (cosh_upward_test_data): Likewise.
54764 (cpow_test_data): Likewise.
54765 (cproj_test_data): Likewise.
54766 (creal_test_data): Likewise.
54767 (csin_test_data): Likewise.
54768 (csinh_test_data): Likewise.
54769 (csqrt_test_data): Likewise.
54770 (ctan_test_data): Likewise.
54771 (ctan_tonearest_test_data): Likewise.
54772 (ctan_towardzero_test_data): Likewise.
54773 (ctan_downward_test_data): Likewise.
54774 (ctan_upward_test_data): Likewise.
54775 (ctanh_test_data): Likewise.
54776 (ctanh_tonearest_test_data): Likewise.
54777 (ctanh_towardzero_test_data): Likewise.
54778 (ctanh_downward_test_data): Likewise.
54779 (ctanh_upward_test_data): Likewise.
54780 (erf_test_data): Likewise.
54781 (erfc_test_data): Likewise.
54782 (exp_test_data): Likewise.
54783 (exp_tonearest_test_data): Likewise.
54784 (exp_towardzero_test_data): Likewise.
54785 (exp_downward_test_data): Likewise.
54786 (exp_upward_test_data): Likewise.
54787 (exp10_test_data): Likewise.
54788 (exp2_test_data): Likewise.
54789 (expm1_test_data): Likewise.
54790 (fabs_test_data): Likewise.
54791 (fdim_test_data): Likewise.
54792 (finite_test_data): Likewise.
54793 (floor_test_data): Likewise.
54794 (fma_test_data): Likewise.
54795 (fma_towardzero_test_data): Likewise.
54796 (fma_downward_test_data): Likewise.
54797 (fma_upward_test_data): Likewise.
54798 (fmax_test_data): Likewise.
54799 (fmin_test_data): Likewise.
54800 (fmod_test_data): Likewise.
54801 (fpclassify_test_data): Likewise.
54802 (frexp_test_data): Likewise.
54803 (gamma_test_data): Likewise.
54804 (hypot_test_data): Likewise.
54805 (ilogb_test_data): Likewise.
54806 (isfinite_test_data): Likewise.
54807 (isgreater_test_data): Likewise.
54808 (isgreaterequal_test_data): Likewise.
54809 (isinf_test_data): Likewise.
54810 (isless_test_data): Likewise.
54811 (islessequal_test_data): Likewise.
54812 (islessgreater_test_data): Likewise.
54813 (isnan_test_data): Likewise.
54814 (isnormal_test_data): Likewise.
54815 (issignaling_test_data): Likewise.
54816 (isunordered_test_data): Likewise.
54817 (j0_test_data): Likewise.
54818 (j1_test_data): Likewise.
54819 (jn_test_data): Likewise.
54820 (ldexp_test_data): Likewise.
54821 (lgamma_test_data): Likewise.
54822 (lrint_test_data): Likewise.
54823 (lrint_tonearest_test_data): Likewise.
54824 (lrint_towardzero_test_data): Likewise.
54825 (lrint_downward_test_data): Likewise.
54826 (lrint_upward_test_data): Likewise.
54827 (llrint_test_data): Likewise.
54828 (llrint_tonearest_test_data): Likewise.
54829 (llrint_towardzero_test_data): Likewise.
54830 (llrint_downward_test_data): Likewise.
54831 (llrint_upward_test_data): Likewise.
54832 (log_test_data): Likewise.
54833 (log10_test_data): Likewise.
54834 (log1p_test_data): Likewise.
54835 (log2_test_data): Likewise.
54836 (logb_test_data): Likewise.
54837 (logb_downward_test_data): Likewise.
54838 (lround_test_data): Likewise.
54839 (llround_test_data): Likewise.
54840 (modf_test_data): Likewise.
54841 (nearbyint_test_data): Likewise.
54842 (nextafter_test_data): Likewise.
54843 (nexttoward_test_data): Likewise.
54844 (pow_test_data): Likewise.
54845 (pow_tonearest_test_data): Likewise.
54846 (pow_towardzero_test_data): Likewise.
54847 (pow_downward_test_data): Likewise.
54848 (pow_upward_test_data): Likewise.
54849 (remainder_test_data): Likewise.
54850 (remainder_tonearest_test_data): Likewise.
54851 (remainder_towardzero_test_data): Likewise.
54852 (remainder_downward_test_data): Likewise.
54853 (remainder_upward_test_data): Likewise.
54854 (remquo_test_data): Likewise.
54855 (rint_test_data): Likewise.
54856 (rint_tonearest_test_data): Likewise.
54857 (rint_towardzero_test_data): Likewise.
54858 (rint_downward_test_data): Likewise.
54859 (rint_upward_test_data): Likewise.
54860 (round_test_data): Likewise.
54861 (scalb_test_data): Likewise.
54862 (scalbn_test_data): Likewise.
54863 (scalbln_test_data): Likewise.
54864 (signbit_test_data): Likewise.
54865 (sin_test_data): Likewise.
54866 (sin_tonearest_test_data): Likewise.
54867 (sin_towardzero_test_data): Likewise.
54868 (sin_downward_test_data): Likewise.
54869 (sin_upward_test_data): Likewise.
54870 (sincos_test_data): Likewise.
54871 (sinh_test_data): Likewise.
54872 (sinh_tonearest_test_data): Likewise.
54873 (sinh_towardzero_test_data): Likewise.
54874 (sinh_downward_test_data): Likewise.
54875 (sinh_upward_test_data): Likewise.
54876 (sqrt_test_data): Likewise.
54877 (tan_test_data): Likewise.
54878 (tan_tonearest_test_data): Likewise.
54879 (tan_towardzero_test_data): Likewise.
54880 (tan_downward_test_data): Likewise.
54881 (tan_upward_test_data): Likewise.
54882 (tanh_test_data): Likewise.
54883 (tgamma_test_data): Likewise.
54884 (trunc_test_data): Likewise.
54885 (y0_test_data): Likewise.
54886 (y1_test_data): Likewise.
54887 (yn_test_data): Likewise.
54888 (significand_test_data): Likewise.
54889
54890 * math/gen-libm-test.pl (@functions): Remove variable.
54891 (generate_testfile): Don't handle START and END lines.
54892 * math/libm-test.inc (START): New macro.
54893 (END): Likewise.
54894 (END_COMPLEX): Likewise.
54895 (acos_test): Use END macro without arguments.
54896 (acos_test_tonearest): Likewise.
54897 (acos_test_towardzero): Likewise.
54898 (acos_test_downward): Likewise.
54899 (acos_test_upward): Likewise.
54900 (acosh_test): Likewise.
54901 (asin_test): Likewise.
54902 (asin_test_tonearest): Likewise.
54903 (asin_test_towardzero): Likewise.
54904 (asin_test_downward): Likewise.
54905 (asin_test_upward): Likewise.
54906 (asinh_test): Likewise.
54907 (atan_test): Likewise.
54908 (atanh_test): Likewise.
54909 (atan2_test): Likewise.
54910 (cabs_test): Likewise.
54911 (cacos_test): Use END_COMPLEX macro without arguments.
54912 (cacosh_test): Likewise.
54913 (carg_test): Use END macro without arguments.
54914 (casin_test): Use END_COMPLEX macro without arguments.
54915 (casinh_test): Likewise.
54916 (catan_test): Likewise.
54917 (catanh_test): Likewise.
54918 (cbrt_test): Use END macro without arguments.
54919 (ccos_test): Use END_COMPLEX macro without arguments.
54920 (ccosh_test): Likewise.
54921 (ceil_test): Use END macro without arguments.
54922 (cexp_test): Use END_COMPLEX macro without arguments.
54923 (cimag_test): Use END macro without arguments.
54924 (clog_test): Use END_COMPLEX macro without arguments.
54925 (clog10_test): Likewise.
54926 (conj_test): Likewise.
54927 (copysign_test): Use END macro without arguments.
54928 (cos_test): Likewise.
54929 (cos_test_tonearest): Likewise.
54930 (cos_test_towardzero): Likewise.
54931 (cos_test_downward): Likewise.
54932 (cos_test_upward): Likewise.
54933 (cosh_test): Likewise.
54934 (cosh_test_tonearest): Likewise.
54935 (cosh_test_towardzero): Likewise.
54936 (cosh_test_downward): Likewise.
54937 (cosh_test_upward): Likewise.
54938 (cpow_test): Use END_COMPLEX macro without arguments.
54939 (cproj_test): Likewise.
54940 (creal_test): Use END macro without arguments.
54941 (csin_test): Use END_COMPLEX macro without arguments.
54942 (csinh_test): Likewise.
54943 (csqrt_test): Likewise.
54944 (ctan_test): Likewise.
54945 (ctan_test_tonearest): Likewise.
54946 (ctan_test_towardzero): Likewise.
54947 (ctan_test_downward): Likewise.
54948 (ctan_test_upward): Likewise.
54949 (ctanh_test): Likewise.
54950 (ctanh_test_tonearest): Likewise.
54951 (ctanh_test_towardzero): Likewise.
54952 (ctanh_test_downward): Likewise.
54953 (ctanh_test_upward): Likewise.
54954 (erf_test): Use END macro without arguments.
54955 (erfc_test): Likewise.
54956 (exp_test): Likewise.
54957 (exp_test_tonearest): Likewise.
54958 (exp_test_towardzero): Likewise.
54959 (exp_test_downward): Likewise.
54960 (exp_test_upward): Likewise.
54961 (exp10_test): Likewise.
54962 (exp2_test): Likewise.
54963 (expm1_test): Likewise.
54964 (fabs_test): Likewise.
54965 (fdim_test): Likewise.
54966 (finite_test): Likewise.
54967 (floor_test): Likewise.
54968 (fma_test): Likewise.
54969 (fma_test_towardzero): Likewise.
54970 (fma_test_downward): Likewise.
54971 (fma_test_upward): Likewise.
54972 (fmax_test): Likewise.
54973 (fmin_test): Likewise.
54974 (fmod_test): Likewise.
54975 (fpclassify_test): Likewise.
54976 (frexp_test): Likewise.
54977 (gamma_test): Likewise.
54978 (hypot_test): Likewise.
54979 (ilogb_test): Likewise.
54980 (isfinite_test): Likewise.
54981 (isgreater_test): Likewise.
54982 (isgreaterequal_test): Likewise.
54983 (isinf_test): Likewise.
54984 (isless_test): Likewise.
54985 (islessequal_test): Likewise.
54986 (islessgreater_test): Likewise.
54987 (isnan_test): Likewise.
54988 (isnormal_test): Likewise.
54989 (issignaling_test): Likewise.
54990 (isunordered_test): Likewise.
54991 (j0_test): Likewise.
54992 (j1_test): Likewise.
54993 (jn_test): Likewise.
54994 (ldexp_test): Likewise.
54995 (lgamma_test): Likewise.
54996 (lrint_test): Likewise.
54997 (lrint_test_tonearest): Likewise.
54998 (lrint_test_towardzero): Likewise.
54999 (lrint_test_downward): Likewise.
55000 (lrint_test_upward): Likewise.
55001 (llrint_test): Likewise.
55002 (llrint_test_tonearest): Likewise.
55003 (llrint_test_towardzero): Likewise.
55004 (llrint_test_downward): Likewise.
55005 (llrint_test_upward): Likewise.
55006 (log_test): Likewise.
55007 (log10_test): Likewise.
55008 (log1p_test): Likewise.
55009 (log2_test): Likewise.
55010 (logb_test): Likewise.
55011 (logb_test_downward): Likewise.
55012 (lround_test): Likewise.
55013 (llround_test): Likewise.
55014 (modf_test): Likewise.
55015 (nearbyint_test): Likewise.
55016 (nextafter_test): Likewise.
55017 (nexttoward_test): Likewise.
55018 (pow_test): Likewise.
55019 (pow_test_tonearest): Likewise.
55020 (pow_test_towardzero): Likewise.
55021 (pow_test_downward): Likewise.
55022 (pow_test_upward): Likewise.
55023 (remainder_test): Likewise.
55024 (remainder_test_tonearest): Likewise.
55025 (remainder_test_towardzero): Likewise.
55026 (remainder_test_downward): Likewise.
55027 (remainder_test_upward): Likewise.
55028 (remquo_test): Likewise.
55029 (rint_test): Likewise.
55030 (rint_test_tonearest): Likewise.
55031 (rint_test_towardzero): Likewise.
55032 (rint_test_downward): Likewise.
55033 (rint_test_upward): Likewise.
55034 (round_test): Likewise.
55035 (scalb_test): Likewise.
55036 (scalbn_test): Likewise.
55037 (scalbln_test): Likewise.
55038 (signbit_test): Likewise.
55039 (sin_test): Likewise.
55040 (sin_test_tonearest): Likewise.
55041 (sin_test_towardzero): Likewise.
55042 (sin_test_downward): Likewise.
55043 (sin_test_upward): Likewise.
55044 (sincos_test): Likewise.
55045 (sinh_test): Likewise.
55046 (sinh_test_tonearest): Likewise.
55047 (sinh_test_towardzero): Likewise.
55048 (sinh_test_downward): Likewise.
55049 (sinh_test_upward): Likewise.
55050 (sqrt_test): Likewise.
55051 (tan_test): Likewise.
55052 (tan_test_tonearest): Likewise.
55053 (tan_test_towardzero): Likewise.
55054 (tan_test_downward): Likewise.
55055 (tan_test_upward): Likewise.
55056 (tanh_test): Likewise.
55057 (tgamma_test): Likewise.
55058 (trunc_test): Likewise.
55059 (y0_test): Likewise.
55060 (y1_test): Likewise.
55061 (yn_test): Likewise.
55062 (significand_test): Likewise.
55063
55064 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
55065
55066 [BZ #15381]
55067 * libio/genops.c (_IO_no_init): Initialize wide struct info.
55068
55069 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
55070
55071 [BZ #14894]
55072 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55073 __ppc_mdoio and __ppc_mdoom.
55074 * manual/platform.texi: Document new functions __ppc_yield,
55075 __ppc_mdoio and __ppc_mdoom.
55076
55077 2013-05-22 Carlos O'Donell <carlos@redhat.com>
55078
55079 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55080 (main): Mention "tls" pseudo-hwcap is legacy.
55081 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55082
55083 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55084
55085 * math/gen-libm-test.pl (parse_args): Output only string of
55086 arguments as text for test name, not full call or descriptions of
55087 tests for extra outputs.
55088 (generate_testfile): Do not pass function name to parse_args.
55089 Generate this_func variable from START.
55090 * math/libm-test.inc (struct test_f_f_data): Rename test_name
55091 field to arg_str.
55092 (struct test_ff_f_data): Likewise.
55093 (test_ff_f_data_nexttoward): Likewise.
55094 (struct test_fi_f_data): Likewise.
55095 (struct test_fl_f_data): Likewise.
55096 (struct test_if_f_data): Likewise.
55097 (struct test_fff_f_data): Likewise.
55098 (struct test_c_f_data): Likewise.
55099 (struct test_f_f1_data): Likewise. Remove field extra_name.
55100 (struct test_fF_f1_data): Likewise.
55101 (struct test_ffI_f1_data): Likewise.
55102 (struct test_c_c_data): Rename test_name field to arg_str.
55103 (struct test_cc_c_data): Likewise.
55104 (struct test_f_i_data): Likewise.
55105 (struct test_ff_i_data): Likewise.
55106 (struct test_f_l_data): Likewise.
55107 (struct test_f_L_data): Likewise.
55108 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
55109 and extra2_name.
55110 (COMMON_TEST_SETUP): New macro.
55111 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55112 (COMMON_TEST_CLEANUP): Likewise.
55113 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55114 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
55115 macros.
55116 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55117 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
55118 macros.
55119 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55120 (RUN_TEST_fff_f): Take argument string. Call new setup and
55121 cleanup macros.
55122 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55123 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
55124 macros.
55125 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55126 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
55127 macros.
55128 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55129 (RUN_TEST_fF_f1): Take argument string. Call new setup and
55130 cleanup macros.
55131 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55132 (RUN_TEST_fI_f1): Take argument string. Call new setup and
55133 cleanup macros.
55134 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55135 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
55136 cleanup macros.
55137 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55138 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
55139 macros.
55140 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55141 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
55142 macros.
55143 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55144 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
55145 macros.
55146 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55147 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
55148 cleanup macros.
55149 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55150 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
55151 cleanup macros.
55152 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55153 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
55154 macros.
55155 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55156 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
55157 cleanup macros.
55158 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55159 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
55160 macros.
55161 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55162 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
55163 macros.
55164 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55165 (RUN_TEST_fFF_11): Take argument string. Call new setup and
55166 cleanup macros.
55167 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55168
55169 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
55170
55171 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55172 to _sifields.sigfault.
55173 (si_addr_lsb): Define new macro.
55174 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55176 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55177
55178 2013-05-03 Carlos O'Donell <carlos at redhat.com>
55179
55180 [BZ #15441]
55181 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55182 returns -1.
55183 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55184 null return -1.
55185 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55186 loading the domain.
55187
55188 2013-05-22 Joseph Myers <joseph@codesourcery.com>
55189
55190 * math/gen-libm-test.pl (parse_args): Do not include expected
55191 result in test name.
55192 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55193 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55194 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55195 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55196 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55198
55199 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55200
55201 * benchtests/Makefile: Sort function entries.
55202
55203 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55204 tanh, asinh, acosh, atanh.
55205 * benchtests/acos-inputs: New file.
55206 * benchtests/acosh-inputs: New file.
55207 * benchtests/asin-inputs: New file.
55208 * benchtests/asinh-inputs: New file.
55209 * benchtests/atanh-inputs: New file.
55210 * benchtests/cosh-inputs: New file.
55211 * benchtests/log-inputs: New file.
55212 * benchtests/sinh-inputs: New file.
55213 * benchtests/tanh-inputs: New file.
55214
55215 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
55216
55217 [BZ #15339]
55218 * posix/tst-getaddrinfo4.c: New test.
55219 * posix/Makefile (tests): Add it.
55220
55221 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55222
55223 [BZ #15339]
55224 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55225 when no services were used.
55226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55227 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55228
55229 2013-05-21 Andreas Schwab <schwab@suse.de>
55230
55231 [BZ #15014]
55232 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55233 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55234 successful.
55235 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55236 redundant variable declarations and reallocation of buffer when
55237 parsing as IPv6 address. Always set NSS status when called from
55238 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
55239 buffer too small. Correct computation of needed size.
55240 * nss/Makefile (tests): Add test-digits-dots.
55241 * nss/test-digits-dots.c: New test.
55242
55243 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
55244
55245 * benchtests/Makefile: Remove instructions for adding
55246 benchmark tests.
55247 * benchtests/README: New file to explain how to execute and
55248 enhance the benchmark tests.
55249
55250 2013-05-21 Andreas Schwab <schwab@suse.de>
55251
55252 [BZ #15493]
55253 * setjmp/Makefile (tests): Add tst-sigsetjmp.
55254 * setjmp/tst-sigsetjmp.c: New test.
55255
55256 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55257
55258 * sysdeps/x86_64/memset.S (memset): New implementation.
55259 (__bzero): Likewise.
55260 (__memset_tail): New function.
55261
55262 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
55263
55264 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55265 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55266 __memcpy_sse2_unaligned ifunc selection.
55267 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55268 Add memcpy-sse2-unaligned.S.
55269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55270 Add: __memcpy_sse2_unaligned.
55271
55272 2013-05-19 Joseph Myers <joseph@codesourcery.com>
55273
55274 [BZ #15490]
55275 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55276 math_force_eval before restoring floating-point envrionment.
55277 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55278 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55279 Likewise.
55280 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55281 <math_private.h>.
55282 (__nearbyintl): Use math_force_eval before restoring
55283 floating-point environment.
55284 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55285
55286 * math/gen-libm-test.pl (special_functions): Remove.
55287 (parse_args): Don't handle TEST_extra. Handle functions with no
55288 return value.
55289 * math/libm-test.inc (struct test_sincos_data): Replace with
55290 struct test_fFF_11_data.
55291 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55292 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55293 (sincos_test_data): Change element type to struct
55294 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
55295 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55296 RUN_TEST_LOOP_sincos.
55297 * math/README.libm-test: Don't mention special handling of
55298 individual functions.
55299 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55300 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55301 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55302 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55303 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55305
55306 * math/gen-libm-test.pl (get_variable): Remove function.
55307 (parse_args): Don't show pointer parameters to call in test
55308 names. Use "extra output N" in test names for extra outputs
55309 rather than naming variables.
55310
55311 2013-05-18 Joseph Myers <joseph@codesourcery.com>
55312
55313 [BZ #15488]
55314 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55315 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55316 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55317 double tests.
55318 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55319 disable.
55320 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55321 check_long_double.
55322
55323 * math/gen-libm-test.pl (@tests): Remove variable.
55324 ($count): Likewise.
55325 (new_test): Remove function.
55326 (show_exceptions): New function.
55327 (special_functions): Use show_exceptions instead of new_test.
55328 (parse_args): Likewise.
55329 (generate_testfile): Pass only function name in generated call to
55330 print_max_error or print_complex_max_error.
55331 (get_ulps): Do not handle complex tests specially.
55332 (output_test): Rename to ...
55333 (get_all_ulps_for_test): ... this. Return a string rather than
55334 printing to a file. Require ulps to be present.
55335 (output_ulps): Generate arrays rather than #defines.
55336 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55337 (struct ulp_data): New type.
55338 (BUILD_COMPLEX_ULP): Remove macro.
55339 (compare_ulp_data): New function.
55340 (find_ulps): Likewise.
55341 (find_test_ulps): Likewise.
55342 (find_function_ulps): Likewise.
55343 (find_complex_function_ulps): Likewise.
55344 (print_max_error): Determine allowed ulps using
55345 find_function_ulps.
55346 (print_complex_max_error): Determine allowed ulps using
55347 find_complex_function_ulps.
55348 (check_float_internal): Determine max ulps using find_test_ulps.
55349 (check_float): Do not take max_ulp parameter. Update call to
55350 check_float_internal.
55351 (check_complex): Likewise.
55352 (check_int): Do not take max_ulp parameter.
55353 (check_long): Likewise.
55354 (check_bool): Likewise.
55355 (check_longlong): Likewise.
55356 (struct test_f_f_data): Remove max_ulp field.
55357 (struct test_ff_f_data): Likewise.
55358 (struct test_ff_f_data_nexttoward): Likewise.
55359 (struct test_fi_f_data): Likewise.
55360 (struct test_fl_f_data): Likewise.
55361 (struct test_if_f_data): Likewise.
55362 (struct test_fff_f_data): Likewise.
55363 (struct test_c_f_data): Likewise.
55364 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55365 (struct test_fF_f1_data): Likewise.
55366 (struct test_ffI_f1_data): Likewise.
55367 (struct test_c_c_data): Remove max_ulp field.
55368 (struct test_cc_c_data): Likewise.
55369 (struct test_f_i_data): Likewise.
55370 (struct test_ff_i_data): Likewise.
55371 (struct test_f_l_data): Likewise.
55372 (struct test_f_L_data): Likewise.
55373 (struct test_sincos_data): Likewise.
55374 (RUN_TEST_f_f): Do not handle ulps.
55375 (RUN_TEST_LOOP_f_f): Likewise.
55376 (RUN_TEST_2_f): Likewise.
55377 (RUN_TEST_LOOP_2_f): Likewise.
55378 (RUN_TEST_fff_f): Likewise.
55379 (RUN_TEST_LOOP_fff_f): Likewise.
55380 (RUN_TEST_c_f): Likewise.
55381 (RUN_TEST_LOOP_c_f): Likewise.
55382 (RUN_TEST_f_f1): Likewise.
55383 (RUN_TEST_LOOP_f_f1): Likewise.
55384 (RUN_TEST_fF_f1): Likewise.
55385 (RUN_TEST_LOOP_fF_f1): Likewise.
55386 (RUN_TEST_fI_f1): Likewise.
55387 (RUN_TEST_LOOP_fI_f1): Likewise.
55388 (RUN_TEST_ffI_f1): Likewise.
55389 (RUN_TEST_LOOP_ffI_f1): Likewise.
55390 (RUN_TEST_c_c): Likewise.
55391 (RUN_TEST_LOOP_c_c): Likewise.
55392 (RUN_TEST_cc_c): Likewise.
55393 (RUN_TEST_LOOP_cc_c): Likewise.
55394 (RUN_TEST_f_i): Likewise.
55395 (RUN_TEST_LOOP_f_i): Likewise.
55396 (RUN_TEST_f_i_tg): Likewise.
55397 (RUN_TEST_LOOP_f_i_tg): Likewise.
55398 (RUN_TEST_ff_i_tg): Likewise.
55399 (RUN_TEST_LOOP_ff_i_tg): Likewise.
55400 (RUN_TEST_f_b): Likewise.
55401 (RUN_TEST_LOOP_f_b): Likewise.
55402 (RUN_TEST_f_b_tg): Likewise.
55403 (RUN_TEST_LOOP_f_b_tg): Likewise.
55404 (RUN_TEST_f_l): Likewise.
55405 (RUN_TEST_LOOP_f_l): Likewise.
55406 (RUN_TEST_f_L): Likewise.
55407 (RUN_TEST_LOOP_f_L): Likewise.
55408 (RUN_TEST_sincos): Likewise.
55409 (RUN_TEST_LOOP_sincos): Likewise.
55410
55411 2013-05-17 Joseph Myers <joseph@codesourcery.com>
55412
55413 [BZ #15480]
55414 [BZ #15485]
55415 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55416 main case of finite arguments, set rounding mode to FE_TONEAREST
55417 and discard exceptions.
55418 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55419 exceptions.
55420 (remainder_tonearest_test_data): New variable.
55421 (remainder_test_tonearest): New function.
55422 (remainder_towardzero_test_data): New variable.
55423 (remainder_test_towardzero): New function.
55424 (remainder_downward_test_data): New variable.
55425 (remainder_test_downward): New function.
55426 (remainder_upward_test_data): New variable.
55427 (remainder_test_upward): New function.
55428 (main): Call the new test functions.
55429
55430 * math/libm-test.inc (struct test_f_f1_data): Remove field
55431 extra_init.
55432 (struct test_fF_f1_data): Likewise.
55433 (struct test_ffI_f1_data): Likewise.
55434 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
55435 based on value of EXTRA_EXPECTED.
55436 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55437 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
55438 EXTRA_VAR based on value of EXTRA_EXPECTED.
55439 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55440 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
55441 EXTRA_VAR based on value of EXTRA_EXPECTED.
55442 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55443 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
55444 EXTRA_VAR based on value of EXTRA_EXPECTED.
55445 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55446 * math/gen-libm-test.pl (parse_args): Don't output initializers
55447 for extra output values.
55448
55449 * math/libm-test.inc (check_int): Expect result to be exactly
55450 equal to expected value and do not handle ulps.
55451 (check_long): Likewise.
55452 (check_longlong): Likewise.
55453
55454 * math/libm-test.inc (ceil_test_data): Test for "inexact"
55455 exceptions.
55456 (cimag_test_data): Likewise.
55457 (conj_test_data): Likewise.
55458 (copysign_test_data): Likewise.
55459 (cproj_test_data): Likewise.
55460 (creal_test_data): Likewise.
55461 (fabs_test_data): Likewise.
55462 (fdim_test_data): Likewise.
55463 (finite_test_data): Likewise.
55464 (floor_test_data): Likewise.
55465 (fmax_test_data): Likewise.
55466 (fmin_test_data): Likewise.
55467 (fmod_test_data): Likewise.
55468 (fpclassify_test_data): Likewise.
55469 (frexp_test_data): Likewise.
55470 (ilogb_test_data): Likewise.
55471 (isfinite_test_data): Likewise.
55472 (isgreater_test_data): Likewise.
55473 (isgreaterequal_test_data): Likewise.
55474 (isinf_test_data): Likewise.
55475 (isless_test_data): Likewise.
55476 (islessequal_test_data): Likewise.
55477 (islessgreater_test_data): Likewise.
55478 (isnan_test_data): Likewise.
55479 (isnormal_test_data): Likewise.
55480 (issignaling_test_data): Likewise.
55481 (isunordered_test_data): Likewise.
55482 (ldexp_test_data): Likewise.
55483 (lrint_test_data): Likewise.
55484 (lrint_test_data) [TEST_FLOAT]: Disable one test.
55485 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55486 (lrint_tonearest_test_data): Test for "inexact" exceptions.
55487 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55488 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55489 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55490 test input.
55491 (lrint_towardzero_test_data): Test for "inexact" exceptions.
55492 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55493 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55494 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55495 that test input.
55496 (lrint_downward_test_data): Test for "inexact" exceptions.
55497 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55498 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55499 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55500 test input.
55501 (lrint_upward_test_data): Test for "inexact" exceptions.
55502 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55503 test input.
55504 (llrint_test_data): Test for "inexact" exceptions.
55505 (llrint_test_data) [TEST_FLOAT]: Disable one test.
55506 (llrint_tonearest_test_data): Test for "inexact" exceptions.
55507 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55508 (llrint_towardzero_test_data): Test for "inexact" exceptions.
55509 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55510 (llrint_downward_test_data): Test for "inexact" exceptions.
55511 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55512 (llrint_upward_test_data): Test for "inexact" exceptions.
55513 (logb_test_data): Likewise.
55514 (logb_downward_test_data): Likewise.
55515 (nextafter_test_data): Likewise.
55516 (nexttoward_test_data): Likewise.
55517 (remainder_test_data): Likewise.
55518 (remquo_test_data): Likewise.
55519 (scalbn_test_data): Likewise.
55520 (scalbln_test_data): Likewise.
55521 (signbit_test_data): Likewise.
55522 (sqrt_test_data): Likewise.
55523 (significand_test_data): Likewise.
55524
55525 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
55526
55527 [BZ #15424]
55528 * benchtests/bench-modf.c (struct args): Mark arg0 as
55529 volatile.
55530 * scripts/bench.pl: Mark members of struct args as volatile.
55531
55532 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55533
55534 [BZ # 15497]
55535 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55536 negative infinity on POWER6 or lower.
55537 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55538
55539 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
55540
55541 [BZ #15442]
55542 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55543 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55544 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55545 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55546 (_FP_SETQNAN): New macro.
55547 (_FP_SETQNAN_SEMIRAW): Likewise.
55548 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55549 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55550 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55551 (FP_EXTEND): Use _FP_FRAC_SNANP.
55552 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55553 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55554 into account.
55555 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55556 New macro.
55557 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55558 Likewise.
55559
55560 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55561
55562 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55563 with DIVIDE_BY_ZERO_EXCEPTION.
55564 (gamma_test_data): Likewise.
55565 (lgamma_test_data): Likewise.
55566 (log_test_data): Likewise.
55567 (log10_test_data): Likewise.
55568 (log2_test_data): Likewise.
55569 (tgamma_test_data): Likewise.
55570
55571 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55572 (acos_test_tonearest): Likewise.
55573 (acos_test_towardzero): Likewise.
55574 (acos_test_downward): Likewise.
55575 (acos_test_upward): Likewise.
55576 (acosh_test): Likewise.
55577 (asin_test): Likewise.
55578 (asin_test_tonearest): Likewise.
55579 (asin_test_towardzero): Likewise.
55580 (asin_test_downward): Likewise.
55581 (asin_test_upward): Likewise.
55582 (asinh_test): Likewise.
55583 (atan_test): Likewise.
55584 (atanh_test): Likewise.
55585 (atan2_test): Likewise.
55586 (cabs_test): Likewise.
55587 (cacos_test): Likewise.
55588 (cacosh_test): Likewise.
55589 (casin_test): Likewise.
55590 (casinh_test): Likewise.
55591 (catan_test): Likewise.
55592 (catanh_test): Likewise.
55593 (cbrt_test): Likewise.
55594 (ccos_test): Likewise.
55595 (ccosh_test): Likewise.
55596 (cexp_test): Likewise.
55597 (clog_test): Likewise.
55598 (clog10_test): Likewise.
55599 (cos_test): Likewise.
55600 (cos_test_tonearest): Likewise.
55601 (cos_test_towardzero): Likewise.
55602 (cos_test_downward): Likewise.
55603 (cos_test_upward): Likewise.
55604 (cosh_test): Likewise.
55605 (cosh_test_tonearest): Likewise.
55606 (cosh_test_towardzero): Likewise.
55607 (cosh_test_downward): Likewise.
55608 (cosh_test_upward): Likewise.
55609 (cpow_test): Likewise.
55610 (csin_test): Likewise.
55611 (csinh_test): Likewise.
55612 (csqrt_test): Likewise.
55613 (ctan_test): Likewise.
55614 (ctan_test_tonearest): Likewise.
55615 (ctan_test_towardzero): Likewise.
55616 (ctan_test_downward): Likewise.
55617 (ctan_test_upward): Likewise.
55618 (ctanh_test): Likewise.
55619 (ctanh_test_tonearest): Likewise.
55620 (ctanh_test_towardzero): Likewise.
55621 (ctanh_test_downward): Likewise.
55622 (ctanh_test_upward): Likewise.
55623 (erf_test): Likewise.
55624 (erfc_test): Likewise.
55625 (exp_test): Likewise.
55626 (exp_test_tonearest): Likewise.
55627 (exp_test_towardzero): Likewise.
55628 (exp_test_downward): Likewise.
55629 (exp_test_upward): Likewise.
55630 (exp10_test): Likewise.
55631 (exp2_test): Likewise.
55632 (expm1_test): Likewise.
55633 (fmod_test): Likewise.
55634 (gamma_test): Likewise.
55635 (hypot_test): Likewise.
55636 (j0_test): Likewise.
55637 (j1_test): Likewise.
55638 (jn_test): Likewise.
55639 (lgamma_test): Likewise.
55640 (log_test): Likewise.
55641 (log10_test): Likewise.
55642 (log1p_test): Likewise.
55643 (log2_test): Likewise.
55644 (logb_test_downward): Likewise.
55645 (pow_test): Likewise.
55646 (pow_test_tonearest): Likewise.
55647 (pow_test_towardzero): Likewise.
55648 (pow_test_downward): Likewise.
55649 (pow_test_upward): Likewise.
55650 (remainder_test): Likewise.
55651 (remquo_test): Likewise.
55652 (sin_test): Likewise.
55653 (sin_test_tonearest): Likewise.
55654 (sin_test_towardzero): Likewise.
55655 (sin_test_downward): Likewise.
55656 (sin_test_upward): Likewise.
55657 (sincos_test): Likewise.
55658 (sinh_test): Likewise.
55659 (sinh_test_tonearest): Likewise.
55660 (sinh_test_towardzero): Likewise.
55661 (sinh_test_downward): Likewise.
55662 (sinh_test_upward): Likewise.
55663 (sqrt_test): Likewise.
55664 (tan_test): Likewise.
55665 (tan_test_tonearest): Likewise.
55666 (tan_test_towardzero): Likewise.
55667 (tan_test_downward): Likewise.
55668 (tan_test_upward): Likewise.
55669 (tanh_test): Likewise.
55670 (tgamma_test): Likewise.
55671 (y0_test): Likewise.
55672 (y1_test): Likewise.
55673 (yn_test): Likewise.
55674
55675 * math/gen-libm-test.pl (adjust_arg): Remove function.
55676 (special_function): Remove argument $in_func. Only handle
55677 generating output for tables of tests, not inside functions.
55678 (parse_args): Likewise.
55679 (generate_testfile): Remove variable $in_func. Update call to
55680 parse_args.
55681 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55682 (MINUS_ZERO_INIT): Rename macro to minus_zero.
55683 (PLUS_INFTY_INIT): Rename macro to plus_infty.
55684 (MINUS_INFTY_INIT): Rename macro to minus_infty.
55685 (QNAN_VALUE_INIT): Rename macro to qnan_value.
55686 (MAX_VALUE_INIT): Rename macro to max_value.
55687 (MIN_VALUE_INIT): Rename macro to min_value.
55688 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55689 (plus_zero): Remove variable.
55690 (minus_zero): Likewise.
55691 (plus_infty): Likewise.
55692 (minus_infty): Likewise.
55693 (qnan_value): Likewise.
55694 (max_value): Likewise.
55695 (min_value): Likewise.
55696 (min_subnorm_value): Likewise.
55697
55698 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55699
55700 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55701 uint64_t or uint32_t usage.
55702 * crypt/sha256-block.c: Likewise.
55703 * crypt/sha256-crypt.c: Likewise.
55704 * crypt/sha256.c: Likewise.
55705 * crypt/sha512-block.c: Likewise.
55706 * crypt/sha512-crypt.c: Likewise.
55707 * crypt/sha512.c: Likewise.
55708 * debug/backtrace-tst.c: Likewise.
55709 * debug/pcprofiledump.c: Likewise.
55710 * elf/cache.c: Likewise.
55711 * elf/dl-cache.c: Likewise.
55712 * elf/dl-misc.c: Likewise.
55713 * elf/dl-profile.c: Likewise.
55714 * elf/dl-support.c: Likewise.
55715 * elf/ldconfig.c: Likewise.
55716 * elf/sprof.c: Likewise.
55717 * iconv/dummy-repertoire.c: Likewise.
55718 * iconv/iconv_charmap.c: Likewise.
55719 * iconv/skeleton.c: Likewise.
55720 * iconvdata/8bit-generic.c: Likewise.
55721 * iconvdata/cp737.h: Likewise.
55722 * iconvdata/cp775.h: Likewise.
55723 * iconvdata/ibm1008.h: Likewise.
55724 * iconvdata/ibm1025.h: Likewise.
55725 * iconvdata/ibm1046.h: Likewise.
55726 * iconvdata/ibm1097.h: Likewise.
55727 * iconvdata/ibm1112.h: Likewise.
55728 * iconvdata/ibm1122.h: Likewise.
55729 * iconvdata/ibm1123.h: Likewise.
55730 * iconvdata/ibm1124.h: Likewise.
55731 * iconvdata/ibm1129.h: Likewise.
55732 * iconvdata/ibm1130.h: Likewise.
55733 * iconvdata/ibm1132.h: Likewise.
55734 * iconvdata/ibm1133.h: Likewise.
55735 * iconvdata/ibm1137.h: Likewise.
55736 * iconvdata/ibm1140.h: Likewise.
55737 * iconvdata/ibm1141.h: Likewise.
55738 * iconvdata/ibm1142.h: Likewise.
55739 * iconvdata/ibm1143.h: Likewise.
55740 * iconvdata/ibm1144.h: Likewise.
55741 * iconvdata/ibm1145.h: Likewise.
55742 * iconvdata/ibm1146.h: Likewise.
55743 * iconvdata/ibm1147.h: Likewise.
55744 * iconvdata/ibm1148.h: Likewise.
55745 * iconvdata/ibm1149.h: Likewise.
55746 * iconvdata/ibm1153.h: Likewise.
55747 * iconvdata/ibm1154.h: Likewise.
55748 * iconvdata/ibm1155.h: Likewise.
55749 * iconvdata/ibm1156.h: Likewise.
55750 * iconvdata/ibm1157.h: Likewise.
55751 * iconvdata/ibm1158.h: Likewise.
55752 * iconvdata/ibm1160.h: Likewise.
55753 * iconvdata/ibm1161.h: Likewise.
55754 * iconvdata/ibm1162.h: Likewise.
55755 * iconvdata/ibm1163.h: Likewise.
55756 * iconvdata/ibm1164.h: Likewise.
55757 * iconvdata/ibm1166.h: Likewise.
55758 * iconvdata/ibm1167.h: Likewise.
55759 * iconvdata/ibm12712.h: Likewise.
55760 * iconvdata/ibm1390.h: Likewise.
55761 * iconvdata/ibm1399.h: Likewise.
55762 * iconvdata/ibm16804.h: Likewise.
55763 * iconvdata/ibm4517.h: Likewise.
55764 * iconvdata/ibm4899.h: Likewise.
55765 * iconvdata/ibm4909.h: Likewise.
55766 * iconvdata/ibm4971.h: Likewise.
55767 * iconvdata/ibm5347.h: Likewise.
55768 * iconvdata/ibm803.h: Likewise.
55769 * iconvdata/ibm856.h: Likewise.
55770 * iconvdata/ibm901.h: Likewise.
55771 * iconvdata/ibm902.h: Likewise.
55772 * iconvdata/ibm9030.h: Likewise.
55773 * iconvdata/ibm9066.h: Likewise.
55774 * iconvdata/ibm921.h: Likewise.
55775 * iconvdata/ibm922.h: Likewise.
55776 * iconvdata/ibm9448.h: Likewise.
55777 * iconvdata/isiri-3342.h: Likewise.
55778 * iconvdata/jis0201.h: Likewise.
55779 * include/link.h: Likewise.
55780 * include/netdb.h: Likewise.
55781 * inet/check_native.c: Likewise.
55782 * inet/check_pf.c: Likewise.
55783 * inet/getipv4sourcefilter.c: Likewise.
55784 * inet/getnameinfo.c: Likewise.
55785 * inet/getsourcefilter.c: Likewise.
55786 * inet/htonl.c: Likewise.
55787 * inet/setipv4sourcefilter.c: Likewise.
55788 * inet/setsourcefilter.c: Likewise.
55789 * inet/test-inet6_opt.c: Likewise.
55790 * inet/tst-network.c: Likewise.
55791 * locale/C-collate.c: Likewise.
55792 * locale/C-ctype.c: Likewise.
55793 * locale/C-time.c: Likewise.
55794 * locale/C-translit.h: Likewise.
55795 * locale/loadarchive.c: Likewise.
55796 * locale/programs/3level.h: Likewise.
55797 * locale/programs/charmap.c: Likewise.
55798 * locale/programs/charmap.h: Likewise.
55799 * locale/programs/ld-address.c: Likewise.
55800 * locale/programs/ld-collate.c: Likewise.
55801 * locale/programs/ld-ctype.c: Likewise.
55802 * locale/programs/ld-identification.c: Likewise.
55803 * locale/programs/ld-measurement.c: Likewise.
55804 * locale/programs/ld-messages.c: Likewise.
55805 * locale/programs/ld-monetary.c: Likewise.
55806 * locale/programs/ld-name.c: Likewise.
55807 * locale/programs/ld-numeric.c: Likewise.
55808 * locale/programs/ld-paper.c: Likewise.
55809 * locale/programs/ld-telephone.c: Likewise.
55810 * locale/programs/ld-time.c: Likewise.
55811 * locale/programs/linereader.c: Likewise.
55812 * locale/programs/locale.c: Likewise.
55813 * locale/programs/locarchive.c: Likewise.
55814 * locale/programs/locfile.h: Likewise.
55815 * locale/programs/repertoire.c: Likewise.
55816 * locale/programs/simple-hash.c: Likewise.
55817 * locale/programs/simple-hash.h: Likewise.
55818 * malloc/memusage.c: Likewise.
55819 * malloc/memusagestat.c: Likewise.
55820 * nis/nis_defaults.c: Likewise.
55821 * nis/nis_hash.c: Likewise.
55822 * nis/nis_print.c: Likewise.
55823 * nis/nis_xdr.c: Likewise.
55824 * nscd/connections.c: Likewise.
55825 * nscd/hstcache.c: Likewise.
55826 * nscd/nscd_gethst_r.c: Likewise.
55827 * nscd/nscd_getserv_r.c: Likewise.
55828 * nscd/nscd_helper.c: Likewise.
55829 * nscd/servicescache.c: Likewise.
55830 * nss/makedb.c: Likewise.
55831 * nss/nss_db/db-XXX.c: Likewise.
55832 * nss/nss_db/db-initgroups.c: Likewise.
55833 * nss/nss_db/db-netgrp.c: Likewise.
55834 * nss/nss_files/files-network.c: Likewise.
55835 * nss/nss_files/files-parse.c: Likewise.
55836 * posix/bug-regex5.c: Likewise.
55837 * posix/fnmatch_loop.c: Likewise.
55838 * posix/regcomp.c: Likewise.
55839 * posix/regexec.c: Likewise.
55840 * posix/tst-rfc3484-2.c: Likewise.
55841 * posix/tst-rfc3484-3.c: Likewise.
55842 * posix/tst-rfc3484.c: Likewise.
55843 * resolv/nss_dns/dns-canon.c: Likewise.
55844 * resolv/nss_dns/dns-network.c: Likewise.
55845 * resolv/res_init.c: Likewise.
55846 * resolv/res_mkquery.c: Likewise.
55847 * resolv/tst-aton.c: Likewise.
55848 * stdlib/cxa_atexit.c: Likewise.
55849 * stdlib/cxa_finalize.c: Likewise.
55850 * stdlib/gen-fpioconst.c: Likewise.
55851 * stdlib/strtol_l.c: Likewise.
55852 * string/tst-endian.c: Likewise.
55853 * sunrpc/auth_des.c: Likewise.
55854 * sunrpc/clnt_udp.c: Likewise.
55855 * sunrpc/rtime.c: Likewise.
55856 * sunrpc/svcauth_des.c: Likewise.
55857 * sunrpc/xdr.c: Likewise.
55858 * sunrpc/xdr_intXX_t.c: Likewise.
55859 * sunrpc/xdr_rec.c: Likewise.
55860 * sysdeps/generic/ldconfig.h: Likewise.
55861 * sysdeps/generic/ldsodefs.h: Likewise.
55862 * sysdeps/generic/memusage.h: Likewise.
55863 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55864 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55865 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55866 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55869 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55870 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55871 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55872 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55873 * sysdeps/posix/getaddrinfo.c: Likewise.
55874 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55875 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55876 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55877 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55878 * sysdeps/powerpc/test-gettimebase.c: Likewise.
55879 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55880 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55881 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55882 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55883 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55884 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55885 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55886 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55887 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55888 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55889 * sysdeps/x86_64/dl-tls.h: Likewise.
55890 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55891 * time/alt_digit.c: Likewise.
55892 * time/era.c: Likewise.
55893 * wcsmbs/tst-c16c32-1.c: Likewise.
55894
55895 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55896
55897 * math/libm-test.inc (struct test_sincos_data): New type.
55898 (RUN_TEST_LOOP_sincos): New macro.
55899 (sincos_test_data): New variable.
55900 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55901
55902 2013-05-16 Richard Henderson <rth@redhat.com>
55903
55904 * math/atest-exp2.c (LIMB64): New macro.
55905 (CONSTSZ): New macro.
55906 (mp_exp1, mp_exp_m1, mp_log2): New variables.
55907 (hexdig): Move ...
55908 (print_mpn_fp): ... to function scope.
55909 (read_mpn_hex): Remove.
55910 (get_log2): Remove.
55911 (exp2_mpn): Use mp_log2.
55912 (main): Use mp_exp1.
55913
55914 2013-05-16 Joseph Myers <joseph@codesourcery.com>
55915
55916 * math/libm-test.inc: Remove comment about not testing "inexact"
55917 exceptions.
55918 (INEXACT_EXCEPTION): New macro.
55919 (NO_INEXACT_EXCEPTION): Likewise.
55920 (INVALID_EXCEPTION_OK): Update value.
55921 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55922 (OVERFLOW_EXCEPTION_OK): Likewise.
55923 (UNDERFLOW_EXCEPTION_OK): Likewise.
55924 (IGNORE_ZERO_INF_SIGN): Likewise.
55925 (ERRNO_UNCHANGED): Likewise.
55926 (ERRNO_EDOM): Likewise.
55927 (ERRNO_ERANGE): Likewise.
55928 (test_exceptions): Handle testing "inexact" exceptions.
55929 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
55930 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
55931 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
55932 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
55933 INEXACT_EXCEPTION.
55934 (rint_towardzero_test_data): Likewise.
55935 (rint_downward_test_data): Likewise.
55936 (rint_upward_test_data): Likewise.
55937
55938 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
55939 with OVERFLOW_EXCEPTION.
55940 (exp10_test_data): Likewise.
55941 (exp2_test_data): Likewise.
55942 (expm1_test_data): Likewise.
55943 (lgamma_test_data): Likewise.
55944 (pow_test_data): Likewise.
55945 (tgamma_test_data): Likewise.
55946 (yn_test_data): Remove duplicate test of overflow.
55947
55948 * math/libm-test.inc (struct test_cc_c_data): New type.
55949 (RUN_TEST_LOOP_cc_c): New macro.
55950 (cpow_test_data): New variable.
55951 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
55952
55953 * math/libm-test.inc (struct test_f_L_data): New type.
55954 (RUN_TEST_LOOP_f_L): New macro.
55955 (llrint_test_data): New variable.
55956 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
55957 (llrint_tonearest_test_data): New variable.
55958 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
55959 (llrint_towardzero_test_data): New variable.
55960 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
55961 (llrint_downward_test_data): New variable.
55962 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
55963 (llrint_upward_test_data): New variable.
55964 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
55965 (llround_test_data): New variable.
55966 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
55967
55968 2013-05-13 Peter Collingbourne <pcc@google.com>
55969
55970 * math/atest-exp2.c (get_log2): Remove const attribute.
55971
55972 2013-05-15 Joseph Myers <joseph@codesourcery.com>
55973
55974 * math/libm-test.inc (struct test_f_l_data): New type.
55975 (RUN_TEST_LOOP_f_l): New macro.
55976 (lrint_test_data): New variable.
55977 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
55978 (lrint_tonearest_test_data): New variable.
55979 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
55980 (lrint_towardzero_test_data): New variable.
55981 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
55982 (lrint_downward_test_data): New variable.
55983 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
55984 (lrint_upward_test_data): New variable.
55985 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
55986 (lround_test_data): New variable.
55987 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
55988
55989 2013-05-15 Peter Collingbourne <pcc@google.com>
55990
55991 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
55992 (EXTRACT_WORDS64) Use where appropriate.
55993 (INSERT_WORDS64) Likewise.
55994
55995 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
55996 constraints with x constraints.
55997 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
55998
55999 * malloc/obstack.c (_obstack_compat): Add initializer.
56000
56001 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
56002
56003 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56004 si_trapno and add si_addr_lsb to _sifields.sigfault.
56005 (si_trapno): Remove macro.
56006 (si_addr_lsb): Define new macro.
56007 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56008
56009 2013-05-15 Joseph Myers <joseph@codesourcery.com>
56010
56011 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56012 instead of TEST_f_l.
56013 (llrint_test_tonearest): Likewise.
56014 (llrint_test_towardzero): Likewise.
56015 (llrint_test_downward): Likewise.
56016 (llrint_test_upward): Likewise.
56017 (llround_test): Likewise.
56018
56019 * math/libm-test.inc (struct test_f_i_data): Add comment.
56020 (RUN_TEST_LOOP_f_b): New macro.
56021 (RUN_TEST_LOOP_f_b_tg): Likewise.
56022 (finite_test_data): New variable.
56023 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56024 (isfinite_test_data): New variable.
56025 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56026 (isinf_test_data): New variable.
56027 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56028 (isnan_test_data): New variable.
56029 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56030 (isnormal_test_data): New variable.
56031 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56032 (issignaling_test_data): New variable.
56033 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56034 (signbit_test_data): New variable.
56035 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56036
56037 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56038 with INVALID_EXCEPTION.
56039 (acosh_test_data): Likewise.
56040 (asin_test_data): Likewise.
56041 (atanh_test_data): Likewise.
56042 (fmod_test_data): Likewise.
56043 (log_test_data): Likewise.
56044 (log10_test_data): Likewise.
56045 (log2_test_data): Likewise.
56046 (pow_test_data): Likewise.
56047 (sqrt_test_data): Likewise.
56048 (y0_test_data): Likewise.
56049 (y1_test_data): Likewise.
56050 (yn_test_data): Likewise.
56051
56052 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56053 function contents.
56054
56055 * math/libm-test.inc (struct test_ff_i_data): New type.
56056 (RUN_TEST_LOOP_ff_i_tg): New macro.
56057 (isgreater_test_data): New variable.
56058 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56059 (isgreaterequal_test_data): New variable.
56060 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56061 (isless_test_data): New variable.
56062 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56063 (islessequal_test_data): New variable.
56064 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56065 (islessgreater_test_data): New variable.
56066 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56067 (isunordered_test_data): New variable.
56068 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56069
56070 2013-05-14 David S. Miller <davem@davemloft.net>
56071
56072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56073
56074 2013-05-14 Joseph Myers <joseph@codesourcery.com>
56075
56076 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56077
56078 * math/libm-test.inc (struct test_fF_f1_data): Change type of
56079 extra_test to int.
56080 (struct test_f_i_data): Change type of max_ulp to int.
56081
56082 * math/libm-test.inc (test_ffI_f1_data): New type.
56083 (RUN_TEST_LOOP_ffI_f1): New macro.
56084 (remquo_test_data): New variable.
56085 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56086
56087 * setjmp/tst-setjmp-fp.c: New file.
56088 * setjmp/Makefile (tests): Add tst-setjmp-fp.
56089 (link-libm): New variable.
56090 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56091
56092 * math/libm-test.inc (struct test_f_i_data): New type.
56093 (RUN_TEST_LOOP_f_i): New macro.
56094 (RUN_TEST_LOOP_f_i_tg): Likewise.
56095 (fpclassify_test_data): New variable.
56096 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56097 (ilogb_test_data): New variable.
56098 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56099
56100 * math/libm-test.inc (scalbln_test): Correct function name in END
56101 call.
56102
56103 * math/libm-test.inc (struct test_f_f1_data): Add comment.
56104 (RUN_TEST_LOOP_fI_f1): New macro.
56105 (frexp_test_data): New variable.
56106 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56107
56108 * math/libm-test.inc (struct test_fF_f1_data): New type.
56109 (RUN_TEST_LOOP_fF_f1): New macro.
56110 (modf_test_data): New variable.
56111 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56112
56113 * math/libm-test.inc (struct test_f_f1_data): New type.
56114 (RUN_TEST_LOOP_f_f1): New macro.
56115 (gamma_test_data): New variable.
56116 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56117 (lgamma_test_data): New variable.
56118 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56119
56120 2013-05-13 Carlos O'Donell <carlos@redhat.com>
56121
56122 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56123 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56124 (main): Comment "tls" pseudo-hwcap.
56125
56126 2013-05-13 Joseph Myers <joseph@codesourcery.com>
56127
56128 * math/libm-test.inc (struct test_fl_f_data): New type.
56129 (RUN_TEST_LOOP_fl_f): New variable.
56130 (scalbln_test_data): New variable.
56131 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56132
56133 * math/libm-test.inc (struct test_fi_f_data): New type.
56134 (RUN_TEST_LOOP_fi_f): New macro.
56135 (ldexp_test_data): New variable.
56136 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56137 (scalbn_test_data): New variable.
56138 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56139
56140 * math/libm-test.inc (struct test_c_f_data): New type.
56141 (RUN_TEST_LOOP_c_f): New macro.
56142 (cabs_test_data): New variable.
56143 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56144 (carg_test_data): New variable.
56145 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56146 (cimag_test_data): New variable.
56147 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56148 (creal_test_data): New variable.
56149 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56150
56151 * math/libm-test.inc (struct test_if_f_data): New type.
56152 (RUN_TEST_LOOP_if_f): New macro.
56153 (jn_test_data): New variable.
56154 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56155 (yn_test_data): New variable.
56156 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56157
56158 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56159
56160 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56161
56162 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56163 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56164
56165 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
56166
56167 * benchtests/Makefile (CPPFLAGS-nonlib): Add
56168 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56169 (bench-deps): Add bench-timing.h.
56170 * benchtests-bench-skeleton.c: Include bench-timing.h.
56171 (main): Use TIMING_* macros instead of clock_gettime.
56172 * benchtests/bench-timing.h: New file.
56173
56174 [BZ #14582]
56175 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56176 Renamed from _LIB_VERSION.
56177 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56178
56179 2013-05-12 Joseph Myers <joseph@codesourcery.com>
56180
56181 * math/libm-test.inc (struct test_fff_f_data): New type.
56182 (RUN_TEST_LOOP_fff_f): New macro.
56183 (fma_test_data): New variable.
56184 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56185 (fma_towardzero_test_data): New variable.
56186 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56187 (fma_downward_test_data): New variable.
56188 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56189 (fma_upward_test_data): New variable.
56190 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56191
56192 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56193 (struct test_c_c_data): New type.
56194 (RUN_TEST_LOOP_c_c): New macro.
56195 (cacos_test_data): New variable.
56196 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56197 (cacosh_test_data): New variable.
56198 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56199 (casin_test_data): New variable.
56200 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56201 (casinh_test_data): New variable.
56202 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56203 (catan_test_data): New variable.
56204 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56205 (catanh_test_data): New variable.
56206 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56207 (ccos_test_data): New variable.
56208 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56209 (ccosh_test_data): New variable.
56210 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56211 (cexp_test_data): New variable.
56212 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56213 (clog_test_data): New variable.
56214 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56215 (clog10_test_data): New variable.
56216 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56217 (conj_test_data): New variable.
56218 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56219 (cproj_test_data): New variable.
56220 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56221 (csin_test_data): New variable.
56222 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56223 (csinh_test_data): New variable.
56224 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56225 (csqrt_test_data): New variable.
56226 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56227 (ctan_test_data): New variable.
56228 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56229 (ctan_tonearest_test_data): New variable.
56230 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56231 (ctan_towardzero_test_data): New variable.
56232 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56233 (ctan_downward_test_data): New variable.
56234 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56235 (ctan_upward_test_data): New variable.
56236 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56237 (ctanh_test_data): New variable.
56238 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56239 (ctanh_tonearest_test_data): New variable.
56240 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56241 (ctanh_towardzero_test_data): New variable.
56242 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56243 (ctanh_downward_test_data): New variable.
56244 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56245 (ctanh_upward_test_data): New variable.
56246 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56247 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56248 of BUILD_COMPLEX.
56249
56250 * math/libm-test.inc (struct test_ff_f_data): New type.
56251 (struct test_ff_f_data_nexttoward): Likewise.
56252 (RUN_TEST_LOOP_2_f): New macro.
56253 (RUN_TEST_LOOP_ff_f): Likewise.
56254 (atan2_test_data): New variable.
56255 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56256 (copysign_test_data): New variable.
56257 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56258 (fdim_test_data): New variable.
56259 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56260 (fmax_test_data): New variable.
56261 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56262 (fmin_test_data): New variable.
56263 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56264 (fmod_test_data): New variable.
56265 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56266 (hypot_test_data): New variable.
56267 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56268 (nextafter_test_data): New variable.
56269 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56270 (nexttoward_test_data): New variable.
56271 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56272 (pow_test_data): New variable.
56273 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56274 (pow_tonearest_test_data): New variable.
56275 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56276 (pow_towardzero_test_data): New variable.
56277 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56278 (pow_downward_test_data): New variable.
56279 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56280 (pow_upward_test_data): New variable.
56281 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56282 (remainder_test_data): New variable.
56283 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56284 (scalb_test_data): New variable.
56285 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56286 * sysdeps/i386/fpu/libm-test-ulps: Update.
56287
56288 2013-05-11 Joseph Myers <joseph@codesourcery.com>
56289
56290 * math/libm-test.inc (fma_test): Use max_value instead of local
56291 variable fltmax.
56292 (nextafter_test): Likewise.
56293
56294 * math/libm-test.inc (acos_towardzero_test_data): New variable.
56295 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56296 (acos_downward_test_data): New variable.
56297 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56298 (acos_upward_test_data): New variable.
56299 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56300 (acosh_test_data): New variable.
56301 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56302 (asin_test_data): New variable.
56303 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56304 (asin_tonearest_test_data): New variable.
56305 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56306 (asin_towardzero_test_data): New variable.
56307 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56308 (asin_downward_test_data): New variable.
56309 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56310 (asin_upward_test_data): New variable.
56311 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56312 (asinh_test_data): New variable.
56313 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56314 (atan_test_data): New variable.
56315 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56316 (atanh_test_data): New variable.
56317 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56318 (cbrt_test_data): New variable.
56319 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56320 (ceil_test_data): New variable.
56321 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56322 (cos_test_data): New variable.
56323 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56324 (cos_tonearest_test_data): New variable.
56325 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56326 (cos_towardzero_test_data): New variable.
56327 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56328 (cos_downward_test_data): New variable.
56329 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56330 (cos_upward_test_data): New variable.
56331 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56332 (cosh_test_data): New variable.
56333 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56334 (cosh_tonearest_test_data): New variable.
56335 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56336 (cosh_towardzero_test_data): New variable.
56337 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56338 (cosh_downward_test_data): New variable.
56339 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56340 (cosh_upward_test_data): New variable.
56341 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56342 (erf_test_data): New variable.
56343 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56344 (erfc_test_data): New variable.
56345 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56346 (exp_test_data): New variable.
56347 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56348 (exp_tonearest_test_data): New variable.
56349 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56350 (exp_towardzero_test_data): New variable.
56351 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56352 (exp_downward_test_data): New variable.
56353 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56354 (exp_upward_test_data): New variable.
56355 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56356 (exp10_test_data): New variable.
56357 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56358 (exp2_test_data): New variable.
56359 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56360 (expm1_test_data): New variable.
56361 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56362 (fabs_test_data): New variable.
56363 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56364 (floor_test_data): New variable.
56365 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56366 (j0_test_data): New variable.
56367 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56368 (j1_test_data): New variable.
56369 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56370 (log_test_data): New variable.
56371 (log_test): Run tests with RUN_TEST_LOOP_f_f.
56372 (log10_test_data): New variable.
56373 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56374 (log1p_test_data): New variable.
56375 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56376 (log2_test_data): New variable.
56377 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56378 (logb_test_data): New variable.
56379 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56380 (logb_downward_test_data): New variable.
56381 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56382 (nearbyint_test_data): New variable.
56383 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56384 (rint_test_data): New variable.
56385 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56386 (rint_tonearest_test_data): New variable.
56387 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56388 (rint_towardzero_test_data): New variable.
56389 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56390 (rint_downward_test_data): New variable.
56391 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56392 (rint_upward_test_data): New variable.
56393 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56394 (round_test_data): New variable.
56395 (round_test): Run tests with RUN_TEST_LOOP_f_f.
56396 (sin_test_data): New variable.
56397 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56398 (sin_tonearest_test_data): New variable.
56399 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56400 (sin_towardzero_test_data): New variable.
56401 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56402 (sin_downward_test_data): New variable.
56403 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56404 (sin_upward_test_data): New variable.
56405 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56406 (sinh_test_data): New variable.
56407 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56408 (sinh_tonearest_test_data): New variable.
56409 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56410 (sinh_towardzero_test_data): New variable.
56411 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56412 (sinh_downward_test_data): New variable.
56413 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56414 (sinh_upward_test_data): New variable.
56415 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56416 (sqrt_test_data): New variable.
56417 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56418 (tan_test_data): New variable.
56419 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56420 (tan_tonearest_test_data): New variable.
56421 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56422 (tan_towardzero_test_data): New variable.
56423 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56424 (tan_downward_test_data): New variable.
56425 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56426 (tan_upward_test_data): New variable.
56427 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56428 (tanh_test_data): New variable.
56429 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56430 (tgamma_test_data): New variable.
56431 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56432 (trunc_test_data): New variable.
56433 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56434 (y0_test_data): New variable.
56435 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56436 (y1_test_data): New variable.
56437 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56438 (significand_test_data): New variable.
56439 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56440
56441 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
56442
56443 [BZ #12387]
56444 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56445
56446 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
56447
56448 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56449
56450 2013-05-10 Andreas Jaeger <aj@suse.de>
56451
56452 [BZ #15448]
56453 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56454 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56455
56456 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56457
56458 * math/gen-libm-test.pl (adjust_arg): New function.
56459 (special_functions): Handle generating output in both functions
56460 and arrays.
56461 (parse_args): Likewise.
56462 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
56463 $in_func argument to parse_args.
56464 * math/libm-test.inc (struct test_f_f_data): New type.
56465 (IF_ROUND_INIT_): New macro.
56466 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56467 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56468 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56469 (IF_ROUND_INIT_FE_UPWARD): Likewise.
56470 (ROUND_RESTORE_): Likewise.
56471 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56472 (ROUND_RESTORE_FE_TONEAREST): Likewise.
56473 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56474 (ROUND_RESTORE_FE_UPWARD): Likewise.
56475 (RUN_TEST_LOOP_f_f): New macro.
56476 (acos_test_data): New variable.
56477 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56478 (acos_tonearest_test_data): New variable.
56479 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56480
56481 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
56482
56483 * benchtests/bench-skeleton.c (startup): Fix coding style.
56484
56485 2013-05-10 Joseph Myers <joseph@codesourcery.com>
56486
56487 [BZ #6809]
56488 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56489 negative infinity argument.
56490 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56491 negative infinity argument.
56492 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56493 negative infinity argument.
56494 * math/libm-test.inc (tgamma_test): Expect errno to be set for
56495 domain errors.
56496
56497 2013-05-10 Florian Weimer <fweimer@redhat.com>
56498
56499 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56500 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56501 * iconv/iconv_prog.c (main): Likewise.
56502 * locale/programs/charmap-dir.c (charmap_readdir)
56503 (fopen_uncompressed): Likewise.
56504 * locale/programs/locfile.c (siblings_uncached)
56505 (write_locale_data): Use lstat64 instead of lstat.
56506 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56507 stat.
56508
56509 2013-05-10 Andreas Jaeger <aj@suse.de>
56510
56511 [BZ #15395]
56512 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56513 localization.
56514 Include <locale.h>.
56515
56516 2013-05-09 Carlos O'Donell <carlos@redhat.com>
56517
56518 * elf/dl-close.c (_dl_close_worker): Add comments.
56519
56520 2013-05-09 Joseph Myers <joseph@codesourcery.com>
56521
56522 [BZ #15359]
56523 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56524 high part of pi/2.
56525 (__ieee754_rem_pio2l): Update comments.
56526
56527 [BZ #15429]
56528 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56529 high part of pi/2.
56530 (__ieee754_rem_pio2l): Update comments.
56531
56532 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56533 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56534
56535 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56536 M_PI_4l.
56537
56538 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56539 (M_PI_34_LOG10El): Likewise.
56540 (M_PI2_LOG10El): Likewise.
56541 (M_PI4_LOG10El): Likewise.
56542 (M_PI_LOG10El): Likewise.
56543
56544 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56545
56546 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56547
56548 2013-05-08 Joseph Myers <joseph@codesourcery.com>
56549
56550 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56551 (MINUS_ZERO_INIT): Likewise.
56552 (PLUS_INFTY_INIT): Likewise.
56553 (MINUS_INFTY_INIT): Likewise.
56554 (QNAN_VALUE_INIT): Likewise.
56555 (MAX_VALUE_INIT): Likewise.
56556 (MIN_VALUE_INIT): Likewise.
56557 (MIN_SUBNORM_VALUE_INIT): Likewise.
56558 (plus_zero): Initialize with PLUS_ZERO_INIT.
56559 (minus_zero): Initialize with MINUS_ZERO_INIT.
56560 (plus_infty): Initialize with PLUS_INFTY_INIT.
56561 (minus_infty): Initialize with MINUS_INFTY_INIT.
56562 (qnan_value): Initialize with QNAN_VALUE_INIT.
56563 (max_value): Initialize with MAX_VALUE_INIT.
56564 (min_value): Initialize with MIN_VALUE_INIT.
56565 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56566
56567 * math/libm-test.inc (RUN_TEST_if_f): New macro.
56568 (jn_test): Use TEST_if_f instead of TEST_ff_f.
56569 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56570 (yn_test): Use TEST_if_f instead of TEST_ff_f.
56571
56572 * math/libm-test.inc (RUN_TEST_f_f): New macro.
56573 (RUN_TEST_2_f): Likewise.
56574 (RUN_TEST_ff_f): Likewise.
56575 (RUN_TEST_fi_f): Likewise.
56576 (RUN_TEST_fl_f): Likewise.
56577 (RUN_TEST_fff_f): Likewise.
56578 (RUN_TEST_c_f): Likewise.
56579 (RUN_TEST_f_f1): Likewise.
56580 (RUN_TEST_fF_f1): Likewise.
56581 (RUN_TEST_fI_f1): Likewise.
56582 (RUN_TEST_ffI_f1): Likewise.
56583 (RUN_TEST_c_c): Likewise.
56584 (RUN_TEST_cc_c): Likewise.
56585 (RUN_TEST_f_i): Likewise.
56586 (RUN_TEST_f_i_tg): Likewise.
56587 (RUN_TEST_ff_i_tg): Likewise.
56588 (RUN_TEST_f_b): Likewise.
56589 (RUN_TEST_f_b_tg): Likewise.
56590 (RUN_TEST_f_l): Likewise.
56591 (RUN_TEST_f_L): Likewise.
56592 (RUN_TEST_sincos): Likewise.
56593 * math/gen-libm-test.pl (new_test): Take new argument to indicate
56594 whether to show exceptions. Do not include ");\n" in return
56595 value.
56596 (special_functions): Output call to RUN_TEST_sincos instead of
56597 check_float calls. Update calls to new_test.
56598 (parse_args): Output call to single RUN_TEST_* macro instead of
56599 check_* calls and other assignments. Update calls to new_test.
56600
56601 [BZ #2546]
56602 [BZ #2560]
56603 [BZ #5159]
56604 [BZ #15426]
56605 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56606 input to result for tgamma overflow.
56607 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56608 (gamma_coeff): New variable.
56609 (NCOEFF): New macro.
56610 (gamma_positive): New function.
56611 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56612 underflow here. Use gamma_positive instead of exp (lgamma) for
56613 other arguments.
56614 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56615 (gamma_coeff): New variable.
56616 (NCOEFF): New macro.
56617 (gammaf_positive): New function.
56618 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56619 underflow here. Use gamma_positive instead of exp (lgamma) for
56620 other arguments.
56621 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56622 (gamma_coeff): New variable.
56623 (NCOEFF): New macro.
56624 (gammal_positive): New function.
56625 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56626 underflow here. Use gamma_positive instead of exp (lgamma) for
56627 other arguments.
56628 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56629 (gamma_coeff): New variable.
56630 (NCOEFF): New macro.
56631 (gammal_positive): New function.
56632 (__ieee754_gammal_r): Handle positive infinity, overflow and
56633 underflow here. Handle NaN the same as positive infinity. Remove
56634 check x < 0xffffffff for negative integers. Use gamma_positive
56635 instead of exp (lgamma) for other arguments.
56636 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56637 (gamma_coeff): New variable.
56638 (NCOEFF): New macro.
56639 (gammal_positive): New function.
56640 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56641 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56642 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56643 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56644 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56645 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56646 * sysdeps/generic/math_private.h (__gamma_productf): New
56647 prototype.
56648 (__gamma_product): Likewise.
56649 (__gamma_productl): Likewise.
56650 * math/Makefile (libm-calls): Add gamma_product.
56651 * math/libm-test.inc (tgamma_test): Add more tests.
56652 * sysdeps/i386/fpu/libm-test-ulps: Update.
56653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56654
56655 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
56656
56657 * benchtests/bench-skeleton.c (main): Preheat CPU.
56658
56659 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
56660
56661 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56662
56663 2013-05-07 Roland McGrath <roland@hack.frob.com>
56664
56665 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56666 and _dl_skip_args_internal.
56667
56668 2013-05-07 Carlos O'Donell <carlos@redhat.com>
56669
56670 * manual/message.texi (Message Translation): Talk about users.
56671 Message to key mapping impacts design.
56672
56673 2013-05-06 Roland McGrath <roland@hack.frob.com>
56674
56675 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56676
56677 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56678
56679 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56680 * sysdeps/wordsize-64/glob64.c: ... here.
56681
56682 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56683 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56684 New macros.
56685
56686 * debug/getlogin_r_chk.c: Moved to ...
56687 * login/getlogin_r_chk.c: ... here.
56688 * debug/Makefile (routines): Move getlogin_r_chk to ...
56689 * login/Makefile (routines): ... here.
56690 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56691 * login/Versions (libc: GLIBC_2.4): ... here.
56692
56693 * io/poll.c (__poll): Renamed from poll.
56694 Add libc_hidden_def.
56695 (poll): Define as weak alias.
56696
56697 * debug/ptsname_r_chk.c: Moved to ...
56698 * login/ptsname_r_chk.c: ... here.
56699 * debug/Makefile (routines): Move ptsname_r_chk to ...
56700 * login/Makefile (routines): ... here.
56701 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56702 * login/Versions (libc: GLIBC_2.4): ... here.
56703
56704 * posix/getlogin.c: Moved to ...
56705 * login/getlogin.c: ... here.
56706 * posix/getlogin_r.c: Moved to ...
56707 * login/getlogin_r.c: ... here.
56708 * posix/getlogin_r.c: Moved to ...
56709 * login/getlogin_r.c: ... here.
56710 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56711 * login/Makefile (routines): ... here.
56712 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56713 * login/Versions (libc: GLIBC_2.0): ... here.
56714
56715 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56716 (setrlimit): Define as weak alias.
56717
56718 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56719 Call __ names for open, ftruncate, and close.
56720 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56721 (truncate): Define as weak alias.
56722
56723 2013-05-06 Joseph Myers <joseph@codesourcery.com>
56724
56725 * math/gen-libm-test.pl (parse_args): Initialize x before each
56726 test of frexp, modf and remquo.
56727
56728 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56729 test signgam value.
56730
56731 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56732
56733 [BZ #15418]
56734 [BZ #15419]
56735 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56736 internal tests.
56737 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56738
56739 2013-05-06 Roland McGrath <roland@hack.frob.com>
56740
56741 * elf/dl-writev.h: New file.
56742 * elf/dl-misc.c: Include it.
56743 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56744 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56745
56746 2013-05-04 Joseph Myers <joseph@codesourcery.com>
56747
56748 * math/libm-test.inc (noXFails): Remove variable.
56749 (noXPasses): Likewise.
56750 (BUILD_COMPLEX_INT): Remove macro.
56751 (print_screen): Remove xfail argument.
56752 (print_screen_max_error): Likewise.
56753 (update_stats): Likewise.
56754 (print_max_error): Likewise. Update calls to other affected
56755 functions.
56756 (print_complex_max_error): Likewise.
56757 (test_single_exception): Update calls to print_screen.
56758 (test_single_errno): Likewise.
56759 (check_float_internal): Remove xfail argument. Update calls to
56760 other affected functions.
56761 (check_float): Likewise.
56762 (check_complex): Likewise.
56763 (check_int): Likewise.
56764 (check_long): Likewise.
56765 (check_bool): Likewise.
56766 (check_longlong): Likewise.
56767 (main): Don't print noXFails and noXPasses.
56768 * math/gen-libm-test.pl (top level): Don't mention expected
56769 failure handling in comment.
56770 (new_test): Don't handle expected failures.
56771 (parse_args): Don't mention expected failure handling in comment.
56772 (generate_testfile): Don't handle expected failures.
56773 (parse_ulps): Likewise.
56774 (print_ulps_file): Likewise.
56775 (get_failure): Remove function.
56776 (output_test): Don't handle expected failures.
56777 * make/README.libm-test: Don't mention expected failure handling.
56778
56779 * math/libm-test.inc (plus_zero): Make const. Add initializer.
56780 (minus_zero): Likewise.
56781 (plus_infty): Likewise.
56782 (minus_infty): Likewise.
56783 (qnan_value): Likewise.
56784 (max_value): Likewise.
56785 (min_value): Likewise.
56786 (min_subnorm_value): Likewise.
56787 (initialize): Do not initialize those variables dynamically.
56788
56789 2013-05-03 Roland McGrath <roland@hack.frob.com>
56790
56791 * io/open.c (__open_2): Moved to ...
56792 * io/open_2.c: ... this new file.
56793 * io/open64.c (__open64_2): Moved to ...
56794 * io/open64_2.c: ... this new file.
56795 * io/openat.c (__openat_2): Moved to ...
56796 * io/openat_2.c: ... this new file.
56797 * io/openat64.c (__openat64_2): Moved to ...
56798 * io/openat64_2.c: ... this new file.
56799 * io/Makefile (routines): Add them.
56800 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56801 * sysdeps/unix/sysv/linux/open_2.c: File removed.
56802 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56803 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56804 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56805 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56806 (__openat64): Add hidden_ver.
56807 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56808 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56809
56810 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56811 Separately conditionalize setting of GLRO(dl_sysinfo) so
56812 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56813 as well, but the actual setting is only under [NEED_DL_SYSINFO].
56814
56815 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56816
56817 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56818 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56819 definition.
56820 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56821 * sysdeps/unix/sysv/linux/powerpc/init-first.c
56822 (_libc_vdso_platform_setup): Add __vdso_time initialization.
56823 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56824 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56825
56826 2013-05-03 Joseph Myers <joseph@codesourcery.com>
56827
56828 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56829 test signgam value.
56830
56831 * math/libm-test.inc (hypot_test): Do not use
56832 IGNORE_ZERO_INF_SIGN.
56833
56834 2013-05-03 Andreas Jaeger <aj@suse.de>
56835
56836 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56837 Linux 3.9.
56838 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56839 (PF_MAX): Adjust for VSOCK change.
56840
56841 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56842
56843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56844
56845 2013-05-02 Carlos O'Donell <carlos@redhat.com>
56846
56847 [BZ #15264]
56848 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56849 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56850 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56851
56852 2013-05-02 David S. Miller <davem@davemloft.net>
56853
56854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56855
56856 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
56857
56858 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56859
56860 2013-05-01 Roland McGrath <roland@hack.frob.com>
56861
56862 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56863
56864 2013-05-01 Richard Smith <richard@metafoo.co.uk>
56865
56866 [BZ #14952]
56867 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56868 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56869 Use __attribute__ ((__gnu_inline__)).
56870 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56871 Don't use __attribute__ ((__gnu_inline__)).
56872
56873 2013-05-01 Joseph Myers <joseph@codesourcery.com>
56874
56875 [BZ #15423]
56876 * math/s_catan.c (__catan): Handle small real or imaginary part of
56877 input specially to avoid spurious underflow.
56878 * math/s_catanf.c (__catanf): Likewise.
56879 * math/s_catanh.c (__catanh): Likewise.
56880 * math/s_catanhf.c (__catanhf): Likewise.
56881 * math/s_catanhl.c (__catanhl): Likewise.
56882 * math/s_catanl.c (__catanl): Likewise.
56883 * math/libm-test.inc (catan_test): Add more tests.
56884 (catanh_test): Likewise.
56885 * sysdeps/i386/fpu/libm-test-ulps: Update.
56886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56887
56888 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56889
56890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56891
56892 2013-04-30 Joseph Myers <joseph@codesourcery.com>
56893
56894 [BZ #15416]
56895 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56896 accurately for denominator in atan2.
56897 * math/s_catanf.c (__catanf): Likewise.
56898 * math/s_catanh.c (__catanh): Likewise.
56899 * math/s_catanhf.c (__catanhf): Likewise.
56900 * math/s_catanhl.c (__catanhl): Likewise.
56901 * math/s_catanl.c (__catanl): Likewise.
56902 * math/libm-test.inc (catan_test): Add more tests.
56903 (catanh_test): Likewise.
56904 * sysdeps/i386/fpu/libm-test-ulps: Update.
56905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56906
56907 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
56908
56909 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56910
56911 * benchtests/Makefile (bench): Remove slow benchmarks.
56912 * benchtests/atan-inputs: Add slow benchmark inputs.
56913 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
56914 (BENCH_FUNC): Accept variant offset.
56915 (VARIANT): Define.
56916 * benchtests/bench-skeleton.c (main): Run benchmark for each
56917 variant.
56918 * benchtests/cos-inputs: Add slow benchmark inputs.
56919 * benchtests/exp-inputs: Likewise.
56920 * benchtests/pow-inputs: Likewise.
56921 * benchtests/sin-inputs: Likewise.
56922 * benchtests/slowatan-inputs: Remove.
56923 * benchtests/slowatan.c: Remove.
56924 * benchtests/slowcos-inputs: Remove.
56925 * benchtests/slowcos.c: Remove.
56926 * benchtests/slowexp-inputs: Remove.
56927 * benchtests/slowexp.c: Remove.
56928 * benchtests/slowpow-inputs: Remove.
56929 * benchtests/slowpow.c: Remove.
56930 * benchtests/slowsin-inputs: Remove.
56931 * benchtests/slowsin.c: Remove.
56932 * benchtests/slowtan-inputs: Remove.
56933 * benchtests/slowtan.c: Remove.
56934 * benchtests/tan-inputs: Add slow benchmark inputs.
56935 * scripts/bench.pl: Parse comments and directives.
56936
56937 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
56938 in CPPFLAGS.
56939 ($(objpfx)bench-%.c): Remove *-ITER.
56940 * benchtests/bench-modf.c: Remove definition of ITER.
56941 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
56942 (main): Loop for DURATION seconds instead of fixed number of
56943 iterations.
56944 * scripts/bench.pl: Don't expect iterations in parameters.
56945
56946 2013-04-29 Roland McGrath <roland@hack.frob.com>
56947
56948 * io/fchdir.c (__fchdir): Renamed from fchdir.
56949 (fchdir): Define as weak alias.
56950
56951 2013-04-29 Joseph Myers <joseph@codesourcery.com>
56952
56953 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
56954 (ERRNO_EDOM): Likewise.
56955 (ERRNO_ERANGE): Likewise.
56956 (noErrnoTests): New variable.
56957 (init_max_error): Set errno to 0.
56958 (test_single_errno): New function.
56959 (test_errno): Likewise.
56960 (check_float_internal): Call test_errno. Set errno to 0.
56961 (check_complex): Refer to errno tests in comment.
56962 (check_int): Call test_errno. Set errno to 0.
56963 (check_long): Likewise.
56964 (check_bool): Likewise.
56965 (check_longlong): Likewise.
56966 (cos_test): Use ERRNO_* flags for errno tests instead of
56967 check_int.
56968 (expm1_test): Likewise.
56969 (fmod_test): Likewise.
56970 (ilogb_test): Likewise.
56971 (lgamma_test): Likewise.
56972 (pow_test): Likewise.
56973 (remainder_test): Likewise.
56974 (sin_test): Likewise.
56975 (tan_test): Likewise.
56976 (yn_test): Likewise.
56977 (initialize): Set errno to 0.
56978 (main): Print number of errno tests.
56979 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
56980
56981 2013-04-29 Andreas Jaeger <aj@suse.de>
56982
56983 [BZ #15084]
56984 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
56985 and RES_USEVC.
56986
56987 [BZ #15085]
56988 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
56989 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
56990 unimplemented.
56991
56992 [BZ #15380]
56993 * stdlib/random.c (__initstate): Return NULL if
56994 __initstate fails.
56995
56996 [BZ #15086]
56997 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
56998 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
56999 RES_SNGLKUPREOP.
57000
57001 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57002
57003 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57004
57005 2013-04-29 Joseph Myers <joseph@codesourcery.com>
57006
57007 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57008 of individual tests.
57009 (casin_test): Likewise.
57010 (casinh_test): Likewise.
57011
57012 2013-04-27 Joseph Myers <joseph@codesourcery.com>
57013
57014 [BZ #15409]
57015 * math/s_catan.c (__catan): Handle arguments with large real or
57016 imaginary part separately without squaring.
57017 * math/s_catanf.c (__catanf): Likewise.
57018 * math/s_catanh.c (__catanh): Likewise.
57019 * math/s_catanhf.c (__catanhf): Likewise.
57020 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57021 and redefine.
57022 (__catanhl): Handle arguments with large real or imaginary part
57023 separately without squaring.
57024 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57025 and redefine.
57026 (__catanl): Handle arguments with large real or imaginary part
57027 separately without squaring.
57028 * math/libm-test.inc (catan_test): Add more tests.
57029 (catanh_test): Likewise.
57030 * sysdeps/i386/fpu/libm-test-ulps: Update.
57031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57032
57033 2013-04-27 Andreas Jaeger <aj@suse.de>
57034
57035 [BZ #15007]
57036 * stdlib/stdlib.h: Update guards for qecvt.
57037 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57038 <stdlib.h>.
57039
57040 2013-04-27 Allan McRae <allan@archlinux.org>
57041
57042 * sysdeps/i386/fpu/libm-test-ulps: Update.
57043
57044 2013-04-26 Joseph Myers <joseph@codesourcery.com>
57045
57046 [BZ #15406]
57047 * math/s_catan.c: Include <float.h>.
57048 (__catan): Ensure underflow exception occurs for underflowed
57049 result.
57050 * math/s_catanf.c: Include <float.h>.
57051 (__catanf): Ensure underflow exception occurs for underflowed
57052 result.
57053 * math/s_catanh.c: Include <float.h>.
57054 (__catanh): Ensure underflow exception occurs for underflowed
57055 result.
57056 * math/s_catanhf.c: Include <float.h>.
57057 (__catanhf): Ensure underflow exception occurs for underflowed
57058 result.
57059 * math/s_catanhl.c: Include <float.h>.
57060 (__catanhl): Ensure underflow exception occurs for underflowed
57061 result.
57062 * math/s_catanl.c: Include <float.h>.
57063 (__catanl): Ensure underflow exception occurs for underflowed
57064 result.
57065 * math/libm-test.inc (catan_test): Add more tests.
57066 (catanh_test): Likewise.
57067
57068 [BZ #15405]
57069 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57070 underflowed result.
57071 * math/s_ccoshf.c (__ccoshf): Likewise.
57072 * math/s_ccoshl.c (__ccoshl): Likewise.
57073 * math/s_csin.c (__csin): Likewise.
57074 * math/s_csinf.c (__csinf): Likewise.
57075 * math/s_csinh.c (__csinh): Likewise.
57076 * math/s_csinhf.c (__csinhf): Likewise.
57077 * math/s_csinhl.c (__csinhl): Likewise.
57078 * math/s_csinl.c (__csinl): Likewise.
57079 * math/libm-test.inc (ccos_test): Add more tests.
57080 (ccosh_test): Likewise.
57081 (csin_test): Likewise.
57082 (csinh_test): Likewise.
57083
57084 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57085
57086 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57087 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57088 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57089 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57090 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57091 powerpc/power5+/fpu folders.
57092 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57093
57094
57095 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
57096
57097 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57098
57099 2013-04-25 Joseph Myers <joseph@codesourcery.com>
57100
57101 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57102 additions to variable.
57103 [$(config-machine) = x86_64] (modules-names): Likewise.
57104 ($(objpfx)tst-audit3): Remove dependency.
57105 ($(objpfx)tst-audit3.out): Likewise.
57106 ($(objpfx)tst-audit4): Likewise.
57107 ($(objpfx)tst-audit4.out): Likewise.
57108 ($(objpfx)tst-audit5): Likewise.
57109 ($(objpfx)tst-audit5.out): Likewise.
57110 ($(objpfx)tst-audit6): Likewise.
57111 ($(objpfx)tst-audit6.out): Likewise.
57112 ($(objpfx)tst-audit7): Likewise.
57113 ($(objpfx)tst-audit7.out): Likewise.
57114 (tst-audit3-ENV): Remove variable.
57115 (tst-audit4-ENV): Likewise.
57116 (tst-audit5-ENV): Likewise.
57117 (tst-audit6-ENV): Likewise.
57118 (tst-audit7-ENV): Likewise.
57119 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57120 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57121 addition to variable.
57122 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57123 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57124 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57125 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57126 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57127 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57128 tst-audit3, tst-audit4 and tst-audit5.
57129 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57130 tst-audit6 and tst-audit7.
57131 [$(subdir) = elf] (modules-names): Add audit modules for those
57132 tests.
57133 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57134 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57135 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57136 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57137 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57138 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57139 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57140 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57141 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57142 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57143 [$(subdir) = elf] (tst-audit3-ENV): New variable.
57144 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57145 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57146 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57147 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57148 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57149 Likewise.
57150 [$(subdir) = elf && $(config-cflags-avx) = yes]
57151 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57152 [$(subdir) = elf && $(config-cflags-avx) = yes]
57153 (CFLAGS-tst-auditmod4a.c): Likewise.
57154 [$(subdir) = elf && $(config-cflags-avx) = yes]
57155 (CFLAGS-tst-auditmod4b.c): Likewise.
57156 [$(subdir) = elf && $(config-cflags-avx) = yes]
57157 (CFLAGS-tst-auditmod6b.c): Likewise.
57158 [$(subdir) = elf && $(config-cflags-avx) = yes]
57159 (CFLAGS-tst-auditmod6c.c): Likewise.
57160 [$(subdir) = elf && $(config-cflags-avx) = yes]
57161 (CFLAGS-tst-auditmod7b.c): Likewise.
57162 * elf/tst-audit3.c: Move to ...
57163 * sysdeps/x86_64/tst-audit3.c: ... here.
57164 * elf/tst-audit4.c: Move to ...
57165 * sysdeps/x86_64/tst-audit4.c: ... here.
57166 * elf/tst-audit5.c: Move to ...
57167 * sysdeps/x86_64/tst-audit5.c: ... here.
57168 * elf/tst-audit6.c: Move to ...
57169 * sysdeps/x86_64/tst-audit6.c: ... here.
57170 * elf/tst-audit7.c: Move to ...
57171 * sysdeps/x86_64/tst-audit7.c: ... here.
57172 * elf/tst-auditmod3a.c: Move to ...
57173 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57174 * elf/tst-auditmod3b.c: Move to ...
57175 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57176 * elf/tst-auditmod4a.c: Move to ...
57177 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57178 * elf/tst-auditmod4b.c: Move to ...
57179 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57180 * elf/tst-auditmod5a.c: Move to ...
57181 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57182 * elf/tst-auditmod5b.c: Move to ...
57183 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57184 * elf/tst-auditmod6a.c: Move to ...
57185 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57186 * elf/tst-auditmod6b.c: Move to ...
57187 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57188 * elf/tst-auditmod6c.c: Move to ...
57189 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57190 * elf/tst-auditmod7a.c: Move to ...
57191 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57192 * elf/tst-auditmod7b.c: Move to ...
57193 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57194
57195 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
57196
57197 [BZ #15366]
57198 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57199 define unconditionally.
57200 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57201 define unconditionally.
57202 (INT8_C, INT16_C, etc.): Likewise.
57203
57204 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
57205
57206 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57207 __ehdr_start with hidden visibility.
57208
57209 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57210
57211 2013-04-24 Carlos O'Donell <carlos@redhat.com>
57212
57213 * math/libm-test.inc (cos_test): Use accurate hex constants.
57214 (sincost_test): Likewise.
57215
57216 2013-04-24 Joseph Myers <joseph@codesourcery.com>
57217
57218 * math/libm-test.inc (catan_test): Add more tests.
57219 (catanh_test): Likewise.
57220
57221 * math/s_catanf.c (__catanf): Use suffixed floating-point
57222 constants.
57223 * math/s_catanhf.c (__catanhf): Likewise.
57224 * math/s_catanhl.c (__catanhl): Likewise.
57225 * math/s_catanl.c (__catanl): Likewise.
57226
57227 [BZ #15394]
57228 * math/s_catan.c (__catan): Calculate imaginary part of result
57229 with log1p not log unless computing log of number close to 0.
57230 * math/s_catanf.c (__catanf): Likewise.
57231 * math/s_catanl.c (__catanl): Likewise.
57232 * math/s_catanh.c (__catanh): Calculate real part of result with
57233 log1p not log unless computing log of number close to 0.
57234 * math/s_catanhf.c (__catanhf): Likewise.
57235 * math/s_catanhl.c (__catanhl): Likewise.
57236 * math/libm-test.inc (catan_test): Add more tests.
57237 (catanh_test): Likewise.
57238 * sysdeps/i386/fpu/libm-test-ulps: Update.
57239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57240
57241 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
57242
57243 * benchtests/Makefile: Mention files in which fast and slow
57244 paths of math functions are implemented.
57245
57246 2013-04-23 Roland McGrath <roland@hack.frob.com>
57247
57248 * sysdeps/posix/timespec_get.c: New file.
57249
57250 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57251
57252 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57253 POWER.
57254 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57255 for POWER.
57256 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57257 powerpc/power5/fpu folders.
57258 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57259 * benchtests/Makefile: Add modf testcase.
57260 * benchtests/bench-modf.c: New file: Benchmark test for mo
57261
57262 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
57263
57264 [BZ #14888]
57265 * time/Makefile (tests): Add tst-strptime-whitespace.
57266 * time/strptime_l.c (get_number): Use ISSPACE.
57267 (__strptime_internal): Likewise.
57268 * time/tst-strptime-whitespace.c: New test case.
57269
57270 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
57271
57272 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57273 member.
57274 (_nss_files_init): Set it here.
57275
57276 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
57277
57278 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57279 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57280 unsigned.
57281
57282 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
57283
57284 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57285
57286 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
57287
57288 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57289 size just once.
57290
57291 2013-04-21 David S. Miller <davem@davemloft.net>
57292
57293 * po/ru.po: Update Russion translation from translation project.
57294
57295 2013-04-17 Adam Conrad <adconrad@0c3.net>
57296
57297 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57298 and setfsgid.
57299
57300 2013-04-17 Carlos O'Donell <carlos@redhat.com>
57301
57302 * configure.in: Remove i386 configure warning. Remove i386 case.
57303 * configure: Regenerate.
57304 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57305 Add example to error message.
57306 * sysdeps/i386/configure: Regenerate.
57307
57308 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
57309
57310 * benchtests/Makefile (bench): Add cos, tan, slowcos and
57311 slowtan.
57312 * benchtests/cos-inputs: New file.
57313 * benchtests/slowcos-inputs: New file.
57314 * benchtests/slowcos.c: New file.
57315 * benchtests/slowtan-inputs: New file.
57316 * benchtests/slowtan.c: New file.
57317 * benchtests/tan-inputs: New file.
57318
57319 2013-04-16 Roland McGrath <roland@hack.frob.com>
57320
57321 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57322 considered kosher.
57323
57324 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
57325
57326 * benchtests/Makefile: Include cppflags-iterator.mk to add
57327 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57328
57329 * Makefile.in (bench-clean): New target.
57330 * benchtests/Makefile (bench-clean): Likewise.
57331
57332 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
57333
57334 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57335
57336 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
57337
57338 * stdio-common/tstdiomisc.c: Fix coding-style violation.
57339
57340 2013-04-15 Andreas Schwab <schwab@suse.de>
57341
57342 * nscd/grpcache.c (cache_addgr): Properly check for short write.
57343 * nscd/initgrcache.c (addinitgroupsX): Likewise.
57344 * nscd/pwdcache.c (cache_addpw): Likewise.
57345 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
57346 more than recsize.
57347
57348 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57349
57350 * benchtests/Makefile (bench): Write all output to
57351 bench-out.tmp together.
57352
57353 2013-04-15 Andreas Schwab <schwab@suse.de>
57354
57355 * nscd/nscd.c (main): Don't fork again after closing files.
57356
57357 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57358
57359 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57360
57361 * benchtests/Rules (bench-deps): Collect dependencies into a
57362 single variable. Add Makefile to dependencies.
57363 ($(objpfx)bench-%.c): Depend on bench-deps.
57364
57365 2013-04-12 Roland McGrath <roland@hack.frob.com>
57366 Xavier Roche <roche+kml2@exalead.com>
57367
57368 [BZ #15361]
57369 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57370 just that it's a file descriptor.
57371 * manual/llio.texi (Synchronizing AIO Operations): Update description
57372 for EBADF error from aio_fsync.
57373
57374 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
57375
57376 * Rules (bench): Move target definition...
57377 * benchtests/Makefile: ... here.
57378
57379 2013-04-11 Carlos O'Donell <carlos@redhat.com>
57380
57381 * math/libm-test.inc (cos_test): Fix PI/2 test.
57382 (sincos_test): Likewise.
57383 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57384 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57385
57386 2013-04-11 Andreas Schwab <schwab@suse.de>
57387
57388 [BZ #13988]
57389 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57390 accept exponent character only when digits were seen.
57391 * stdio-common/Makefile (tests): Add bug26.
57392 * stdio-common/bug26.c: New file.
57393
57394 [BZ #14293]
57395 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57396 non-freeable.
57397
57398 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
57399
57400 * Makeconfig (rtld-prefix): Define built linker prefix.
57401 * Rules (run-bench): Use it.
57402 * math/Makefile (run-regen-ulps): Likewise.
57403
57404 * Rules (bench): Remove eval.
57405
57406 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57407 Roland McGrath <roland@hack.frob.com>
57408 Ondrej Bilka <neleai@seznam.cz>
57409
57410 [BZ #15346]
57411 * time/getdate.c: Include ctype.h and alloca.h.
57412 (__getdate_r): Trim leading and trailing spaces of input.
57413 * time/tst-getdate.c (tests): Add tests with leading and
57414 trailing spaces.
57415
57416 2013-04-08 Roland McGrath <roland@hack.frob.com>
57417
57418 [BZ #14280]
57419 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57420 when computing value.
57421
57422 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57423
57424 * math/README.libm-test (How can I generate "libm-test-ulps"?):
57425 Use testrun.sh to run libm tests.
57426
57427 [BZ #15309]
57428 * elf/dl-open.c (dl_open_worker): memset all of seen array.
57429
57430 2013-04-06 Marko Myllynen <myllynen@redhat.com>
57431
57432 [BZ #15264]
57433 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57434
57435 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57436
57437 * Makefile.in (regen-ulps): New target.
57438 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57439 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57440 [ifneq (no,$(PERL)] (regen-ulps): New target.
57441 [ifeq (no,$(PERL)] (regen-ulps): New target.
57442 * math/libm-test.inc (ulps_file_name): Define.
57443 (output_dir): New variable.
57444 (options): Add "output-dir" option.
57445 (parse_opt): Handle 'o' case.
57446 (main): If output_dir is non-NULL use it as a prefix
57447 otherwise use "".
57448 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57449
57450 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57451
57452 [BZ #10060, #10062]
57453 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57454 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57455 fail configure if __sync_val_compare_and_swap is not inlined.
57456 * sysdeps/i386/configure: Regenerate.
57457 * configure.in: Build for i686 when configured for i386.
57458 * configure: Regenerate.
57459 * README: Remove i386 reference.
57460
57461 2013-04-06 Carlos O'Donell <carlos@redhat.com>
57462
57463 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57464 * sysdeps/s390/s390-64/sysdep.h: Likewise.
57465
57466 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
57467
57468 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57469 (lmsnanval): New variables.
57470 (F): Add conversion tests.
57471 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57472 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57473
57474 * stdio-common/tstdiomisc.c (F): Properly collect individual
57475 tests' results.
57476
57477 [BZ #14686, #15336]
57478 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57479 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57480 Instead, use input NaN values or generate a qNaN by arithmetic
57481 operation. Also fix bugs to comply with the standard.
57482 * math/libm-test.inc (remainder_test): Add more tests.
57483
57484 [BZ #15335, #15342]
57485 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57487 input NaN values or generate a qNaN by arithmetic operation.
57488
57489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57490 unreachable code.
57491
57492 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57493 definitions.
57494
57495 2013-04-03 Joseph Myers <joseph@codesourcery.com>
57496
57497 [BZ #14478]
57498 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57499 underflowed result.
57500 * math/s_cexpf.c (__cexpf): Likewise.
57501 * math/s_cexpl.c (__cexpl): Likewise.
57502 * math/libm-test.inc (cexp_test): Add more tests.
57503
57504 2013-04-03 Andreas Schwab <schwab@suse.de>
57505
57506 [BZ #15330]
57507 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57508 order arrays from heap if bigger than alloca cutoff.
57509
57510 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
57511
57512 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57513 (SNAN_TESTS_double): Refer to GCC PR56831.
57514 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57515 GCC PR56828.
57516
57517 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
57518
57519 * Rules (bench): Move bench.out after the run is complete.
57520
57521 * Rules (bench): Echo currently running benchmark.
57522
57523 * benchtests/Makefile (bench): Add atan and slowatan.
57524 * benchtests/atan-inputs: New file.
57525 * benchtests/slowatan-inputs: New file.
57526 * benchtests/slowatan.c: New file.
57527
57528 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57529 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57530 its value.
57531
57532 [BZ #15305]
57533 * sysdeps/unix/sysv/linux/kernel-features.h
57534 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57535 __ASSUME_XFS_RESTRICTED_CHOWN.
57536 * sysdeps/unix/sysv/linux/pathconf.c
57537 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57538 Save and restore errno.
57539
57540 2013-04-02 Joseph Myers <joseph@codesourcery.com>
57541
57542 [BZ #15327]
57543 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57544 arguments using __kernel_casinh.
57545 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57546 arguments using __kernel_casinhf.
57547 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57548 arguments using __kernel_casinhl.
57549 * math/libm-test.inc (cacosh_test): Add more tests.
57550 * sysdeps/i386/fpu/libm-test-ulps: Update.
57551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57552
57553 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
57554
57555 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57556 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57557
57558 * bench/Makefile (bench): Add sin and slowsin.
57559 * benchtests/sin-inputs: New file.
57560 * benchtests/slowsin-inputs: New file.
57561 * benchtests/slowsin.c: New file.
57562
57563 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57564 (bench): Add slowexp and slowpow.
57565 (exp-ITER): Increase iterations.
57566 (pow-ITER): Likewise.
57567 * benchtests/exp-inputs: Change input.
57568 * benchtests/pow-inputs: Likewise.
57569 * benchtests/slowexp-inputs: New file.
57570 * benchtests/slowexp.c: New file.
57571 * benchtests/slowpow-inputs: New file.
57572 * benchtests/slowpow.c: New file.
57573
57574 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57575
57576 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57577 instructions.
57578 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57579 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57580 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57581 * benchtests/Makefile: Add rint benchtest.
57582 * benchtests/rint-inputs: Input for rint benchtest.
57583
57584 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
57585
57586 * Versions.def (libm): Add GLIBC_2.18.
57587 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57588 hidden libm prototypes.
57589 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57590 * math/Makefile (libm-calls): Add s_issignaling.
57591 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57592 __issignalingf, __issignalingl. Adjust all libm.abilist files.
57593 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57594 declaration.
57595 * math/math.h [__USE_GNU] (issignaling): New macro.
57596 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57597 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57598 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57599 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57600 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57601 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57602 * manual/arith.texi (issignaling): New section.
57603 * manual/libm-err-tab.pl (@all_functions): Update comment.
57604 * math/gen-libm-test.pl (parse_args): Apply special handling for
57605 issignaling.
57606 * math/libm-test.inc (print_float, issignaling_test): New
57607 functions.
57608 (check_float_internal): Add issignaling checks.
57609 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57610 default definition.
57611 * sysdeps/powerpc/math-tests.h: New file.
57612 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57613 tests.
57614 * math/test-snan.c (TEST_FUNC): Likewise.
57615
57616 2013-03-30 David S. Miller <davem@davemloft.net>
57617
57618 * po/de.po: Update from translation team.
57619
57620 2013-03-30 Joseph Myers <joseph@codesourcery.com>
57621
57622 [BZ #10357]
57623 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57624 imaginary part less than 1.0 and real part less than 0.5
57625 specially.
57626 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57627 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57628 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57629 (cacos_test): Add more tests.
57630 (casin_test): Likewise.
57631 (casinh_test): Likewise.
57632 * sysdeps/i386/fpu/libm-test-ulps: Update.
57633 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57634
57635 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
57636
57637 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57638 ONE with its value.
57639
57640 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57641 (__pow_mp): Replace ONE and MONE with their values.
57642 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57643 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57644 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57645 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57646 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57647 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57648
57649 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57650
57651 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57652 (__pow_mp): Replace ZERO and MZERO with their values.
57653 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57654 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57655 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57657 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57658 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57659 (__sqr): Likewise.
57660
57661 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57662
57663 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57664
57665 2013-03-28 Roland McGrath <roland@hack.frob.com>
57666
57667 * include/stdlib.h [!SHARED] (__call_tls_dtors):
57668 Declare with __attribute__ ((weak)).
57669 * stdlib/exit.c (__libc_atexit) [!SHARED]:
57670 Call __call_tls_dtors only if it's not NULL.
57671
57672 2013-03-28 Roland McGrath <roland@hack.frob.com>
57673
57674 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57675 didn't do it already, then set _dl_phdr and _dl_phnum based on the
57676 magic __ehdr_start linker symbol if it's defined.
57677 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57678 them up here if it was already done.
57679
57680 * elf/dl-support.c (_dl_phdr): Make pointer to const.
57681 (_dl_aux_init): Use const in cast when setting it.
57682 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57683 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57684 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57685
57686 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57687 Declare them here.
57688 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57689 * csu/libc-tls.c: Nor here.
57690 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57691
57692 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57693 (__libc_message): Never call vsyslog.
57694
57695 2013-03-28 Alan Modra <amodra@gmail.com>
57696
57697 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57698 Define as empty.
57699 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57700 Likewise.
57701
57702 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57703
57704 [BZ #15214]
57705 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57706 underflow.
57707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57708
57709 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
57710
57711 [BZ #15304]
57712 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57713 Don't add gid passed as argument.
57714
57715 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57716
57717 2013-03-27 Joseph Myers <joseph@codesourcery.com>
57718
57719 [BZ #15307]
57720 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57721 imaginary part between 1.0 and 1.5 and real part less than 0.5
57722 specially.
57723 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57724 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57725 * math/libm-test.inc (cacos_test): Add more tests.
57726 (casin_test): Likewise.
57727 (casinh_test): Likewise.
57728 * sysdeps/i386/fpu/libm-test-ulps: Update.
57729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57730
57731 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
57732
57733 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57734 constants.
57735 (norm): Likewise.
57736 (denorm): Likewise.
57737 (__dbl_mp): Likewise.
57738 (add_magnitudes): Likewise.
57739 (sub_magnitudes): Likewise.
57740 (__add): Likewise.
57741 (__sub): Likewise.
57742 (__mul): Likewise.
57743 (__sqr): Likewise.
57744 (__inv): Likewise.
57745 (__dvd): Likewise.
57746
57747 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57748 commented code.
57749 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57750 (__dubcos): Likewise.
57751 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57752 (__ieee754_acos): Likewise.
57753 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57754 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57755 (__exp1): Likewise.
57756 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57757 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57758 (log1): Likewise.
57759 (my_log2): Likewise.
57760 (checkint): Likewise.
57761 * sysdeps/ieee754/dbl-64/e_remainder.c
57762 (__ieee754_remainder): Likewise.
57763 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57764 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57765 (bsloww): Likewise.
57766 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57767
57768 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57769 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57770 MANTISSA_STORE_T to store computations on mantissa. Use
57771 macros for rounding and division.
57772 (denorm): Likewise.
57773 (__dbl_mp): Likewise.
57774 (add_magnitudes): Likewise.
57775 (sub_magnitudes): Likewise.
57776 (__mul): Likewise.
57777 (__sqr): Likewise.
57778 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
57779 powers of two in terms of TWOPOW macro.
57780 (mp_no): Make type of mantissa as MANTISSA_T.
57781 [!RADIXI]: Define RADIXI.
57782 [!TWO52]: Define TWO52.
57783 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57784
57785 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57786
57787 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57788 llroundl symbol when building for PPC32.
57789
57790 2013-03-24 Mark H Weaver <mhw@netris.org>
57791
57792 * manual/arith.texi (Normalization Functions): Fix prototypes for
57793 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57794
57795 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57796
57797 [BZ #13889]
57798 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57799 high value to check if expl overflow.
57800 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57801 to check for underflow and overflow.
57802 * math/libm-test.inc: Add exp test.
57803
57804 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
57805
57806 [BZ #11120]
57807 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57808 with NOT_IN_libc.
57809
57810 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57811
57812 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57813 symbol.
57814
57815 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
57816
57817 * math/gen-libm-test.pl (parse_args, special_functions): Properly
57818 wrap blocks consisting of several statements.
57819
57820 * sysdeps/generic/math-tests.h: New file.
57821 * sysdeps/i386/fpu/math-tests.h: Likewise.
57822 * math/test-snan.c: Include it.
57823 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57824
57825 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57826
57827 [BZ #15285]
57828 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57829 (__ieee754_j0l): Do not improve calculations using cos of twice
57830 input for inputs above LDBL_MAX / 2.0L.
57831 (__ieee754_y0l): Likewise.
57832 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57833 (__ieee754_j1l): Do not improve calculations using cos of twice
57834 input for inputs above LDBL_MAX / 2.0L.
57835 (__ieee754_y1l): Likewise.
57836 * math/libm-test.inc (j0_test): Add another test.
57837 (j1_test): Likewise.
57838 (y0_test): Likewise.
57839 (y1_test): Likewise.
57840 * sysdeps/i386/fpu/libm-test-ulps: Update.
57841
57842 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57843
57844 * Rules ($(objpfx)bench-%.c): Include code from a C source
57845 file.
57846
57847 2013-03-21 Joseph Myers <joseph@codesourcery.com>
57848
57849 [BZ #15287]
57850 * math/k_casinh.c (__kernel_casinh): Handle arguments with
57851 imaginary part 1.0 and real part less than 0.5 specially.
57852 * math/k_casinhf.c (__kernel_casinhf): Likewise.
57853 * math/k_casinhl.c (__kernel_casinhl): Likewise.
57854 * math/libm-test.inc (cacos_test): Add more tests.
57855 (casin_test): Likewise.
57856 (casinh_test): Likewise.
57857 * sysdeps/i386/fpu/libm-test-ulps: Update.
57858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57859
57860 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
57861
57862 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57863 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57864
57865 2013-03-20 Joseph Myers <joseph@codesourcery.com>
57866
57867 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57868 * config.make.in (config-cflags-sse4): Remove variable.
57869 (config-cflags-avx): Likewise.
57870 (config-cflags-sse2avx): Likewise.
57871 (config-cflags-novzeroupper): Likewise.
57872 (config-asflags-i686): Likewise.
57873 (have-mfma4): Likewise.
57874 (have-as-vis3): Likewise.
57875 (MIG): Likewise.
57876 * configure.in (MIG): Do not AC_SUBST.
57877 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57878 (libc_cv_cc_sse4): Do not AC_SUBST.
57879 (libc_cv_cc_avx): Likewise.
57880 (libc_cv_cc_sse2avx): Likewise.
57881 (libc_cv_cc_novzeroupper): Likewise.
57882 (libc_cv_cc_fma4): Likewise.
57883 (libc_cv_as_i686): Likewise.
57884 (libc_cv_sparc_as_vis3): Likewise.
57885 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57886 LIBC_CONFIG_VAR.
57887 (config-asflags-i686): Likewise.
57888 (config-cflags-avx): Likewise.
57889 (config-cflags-sse2avx): Likewise.
57890 (have-mfma4): Likewise.
57891 (config-cflags-novzeroupper): Likewise.
57892 * sysdeps/mach/configure.in (MIG): Likewise.
57893 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57894 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57895 LIBC_CONFIG_VAR.
57896 (config-cflags-avx): Likewise.
57897 (config-cflags-sse2avx): Likewise.
57898 (have-mfma4): Likewise.
57899 (config-cflags-novzeroupper): Likewise.
57900 * configure: Regenerated.
57901 * sysdeps/i386/configure: Likewise.
57902 * sysdeps/mach/configure: Likewise.
57903 * sysdeps/sparc/configure: Likewise.
57904 * sysdeps/x86_64/configure: Likewise.
57905
57906 2013-03-20 Roland McGrath <roland@hack.frob.com>
57907
57908 [BZ #14812]
57909 * locale/programs/localedef.c (options): Put N_ translation marker
57910 on argument names, not just descriptions.
57911
57912 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
57913
57914 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
57915
57916 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
57917
57918 [BZ #14176]
57919 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
57920
57921 2013-03-19 Roland McGrath <roland@hack.frob.com>
57922
57923 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
57924 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
57925 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
57926 [!BEFORE_ABORT] (before_abort): New function.
57927 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
57928 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
57929 (writev_for_fatal): New function.
57930 (WRITEV_FOR_FATAL): New macro; call that.
57931 (backtrace_and_maps): New function.
57932 (BEFORE_ABORT): New macro; call that.
57933 (struct str_list): Type removed.
57934 (__libc_message, __libc_fatal): Functions removed.
57935 Include <sysdeps/posix/libc_fatal.c> instead.
57936
57937 2013-03-19 Joseph Myers <joseph@codesourcery.com>
57938
57939 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
57940 constants.
57941 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
57942 double constants.
57943
57944 2013-03-19 Andreas Schwab <schwab@suse.de>
57945
57946 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
57947 * sysdeps/gnu/configure: Regenerate.
57948
57949 * configure.in: Substitute libc_cv_rtlddir.
57950 * configure: Regenerate.
57951 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
57952 * Makeconfig (rtlddir, inst_rtlddir): New variables.
57953 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
57954 * elf/Makefile (install-others, CFLAGS-interp.c)
57955 (ldso_install, common-ldd-rewrite): Likewise.
57956 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
57957 $(inst_slibdir)/$(rtld-installed-name).
57958 * scripts/rellns-sh: Add -p option.
57959 * Makerules (make-shlib-link): Use rellns-sh to get relative name
57960 for source.
57961
57962 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
57963
57964 * manual/nptl.texi: Renamed to ...
57965 * manual/threads.texi: ... this.
57966 * manual/Makefile (chapters): Update.
57967
57968 2013-03-18 Roland McGrath <roland@hack.frob.com>
57969
57970 [BZ #14812]
57971 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
57972 on argument names, not just descriptions.
57973 * malloc/memusagestat.c (options): Likewise.
57974 * nss/getent.c (options): Likewise.
57975
57976 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
57977
57978 [BZ #14812]
57979 * iconv/iconv_prog.c (options): Put N_ translation marker
57980 on argument names, not just descriptions.
57981 * iconv/iconvconfig.c (options): Likewise.
57982
57983 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
57984
57985 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
57986 implementation which is faster on all x86_64 architectures.
57987 Tested on AMD, Intel Nehalem, SNB, IVB.
57988 * sysdeps/x86_64/strnlen.S: Likewise.
57989
57990 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57991 Remove all multiarch strlen and strnlen versions.
57992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
57993 Remove strlen and strnlen related parts.
57994
57995 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
57996 Inline strlen part.
57997 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
57998
57999 * sysdeps/x86_64/multiarch/strlen.S: Remove.
58000 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58001 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58002 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58003 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58004 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58005
58006 2013-03-17 Carlos O'Donell <carlos@redhat.com>
58007
58008 * manual/memory.texi (Malloc Tunable Parameters):
58009 Sort parameters alphabetically. Add comments for missing entries.
58010
58011 2013-03-17 David S. Miller <davem@davemloft.net>
58012
58013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58014
58015 2013-03-16 Joseph Myers <joseph@codesourcery.com>
58016
58017 [BZ #15283]
58018 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58019 for arguments at most half maximum finite value.
58020 * math/libm-test.inc (j0_test): Add more tests.
58021 (j1_test): Likewise.
58022 (y0_test): Likewise.
58023 (y1_test): Likewise.
58024 * sysdeps/i386/fpu/libm-test-ulps: Update.
58025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58026
58027 [BZ #14155]
58028 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58029 1 / x and functions P and Q for arguments above 0x1p256L.
58030 (__ieee754_y0l): Likewise.
58031 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58032 (__ieee754_y1l): Likewise.
58033 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58034 (j1_test): Likewise.
58035 (y0_test): Likewise.
58036 (y1_test): Likewise.
58037
58038 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
58039
58040 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58041 variable.
58042
58043 2013-03-15 Roland McGrath <roland@hack.frob.com>
58044
58045 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58046 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58047 zero since it's initialized to EXEC_PAGESIZE.
58048
58049 * sysdeps/unix/sysv/linux/ldsodefs.h
58050 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58051 * sysdeps/generic/ldsodefs.h: ... here.
58052
58053 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
58054
58055 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58056
58057 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58058 math/test-snan.c.
58059 * math/test-snan.c: Renamed from
58060 sysdeps/powerpc/fpu/test-powerpc-snan.c.
58061 * math/Makefile (tests): Add test-snan.
58062 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58063 test-powerpc-snan.
58064
58065 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58066 SUFFIX. Initialize qNaN_var with __builtin_nan family of
58067 functions.
58068 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
58069 __builtin_nan family of functions.
58070 * math/libm-test.inc (initialize): Initialize qnan_value with
58071 __builtin_nan family of functions.
58072 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58073 Remove variables.
58074 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58075 Remove functions.
58076 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
58077 storage class. Initialize qNaN_var and sNaN_var with
58078 __builtin_nan and __builtin_nans families of functions,
58079 respectively.
58080
58081 * math/libm-test.inc (acosh_test): Also test with qNaN input.
58082 (sqrt_test): Remove duplicate test with qNaN input.
58083 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58084 (round_test, signbit_test, significand_test): Note missing +/-Inf
58085 as well as qNaN tests.
58086
58087 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58088 qNaN_var. Fix a few strings, too.
58089 * math/libm-test.inc (nan_value): Rename to qnan_value.
58090 * math/gen-libm-test.pl (%beautify): Adjust to that.
58091 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58092 * math/test-misc.c (main): Likewise.
58093 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58094 to __qnan_bytes, and __qnan_union, respectively.
58095 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58096 Likewise.
58097 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58098 and lqnanval, respectively.
58099 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58100 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58101 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58102 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58103
58104 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58105 * math/test-misc.c (main) [__x86_64__]: Enable test for long
58106 doubles.
58107
58108 * math/test-misc.c (main): Fix copy'n'pastos.
58109 * misc/tst-efgcvt.c (special): Likewise.
58110
58111 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58112 Remove declarations.
58113
58114 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58115
58116 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58117 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58118 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58119 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58120
58121 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58122
58123 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58124 macro to return vdso values correctly in IFUNC implementations.
58125 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58126 Optimization by using IFUNC.
58127
58128 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58129 Richard Henderson <rth@redhat.com>
58130 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
58131
58132 * Makefile.in (bench): New target.
58133 * NEWS: Mention the benchmark framework.
58134 * Rules (bench): Likewise.
58135 (binaries-bench): Generate binaries for functions to
58136 benchmark.
58137 * benchtests/Makefile: New makefile for benchmark tests.
58138 * benchtests/bench-skeleton.c: New skeleton file for benchmark
58139 programs.
58140 * benchtests/exp-inputs: New input file for EXP function.
58141 * benchtests/pow-inputs: New input file for POW function.
58142 * scripts/bench.pl: New script to generate source files for
58143 benchmark programs.
58144
58145 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58146
58147 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58148 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58149 computations on mantissa. Use macros for rounding and
58150 division.
58151 (denorm): Likewise.
58152 (__dbl_mp): Likewise.
58153 (add_magnitudes): Likewise.
58154 (sub_magnitudes): Likewise.
58155 (__mul): Likewise.
58156 (__sqr): Likewise.
58157 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58158 powers of two in terms of TWOPOW macro.
58159 (mp_no): Make type of mantissa as MANTISSA_T.
58160 [!RADIXI]: Define RADIXI.
58161 [!TWO52]: Define TWO52.
58162 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58163
58164 * manual/nptl.texi (cindex): Modify threads to pthreads.
58165
58166 2013-03-15 Joseph Myers <joseph@codesourcery.com>
58167
58168 * sysdeps/x86_64/preconfigure: Regenerated.
58169
58170 2013-03-14 Joseph Myers <joseph@codesourcery.com>
58171
58172 [BZ #14155]
58173 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58174 0x1p28 and above.
58175 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58176 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58177 0x1p28 and above.
58178 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58179 * math/libm-test.inc (j0_test): Do not allow one spurious
58180 underflow exception.
58181 (y1_test): Likewise.
58182
58183 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
58184
58185 * manual/Makefile (chapters): Add nptl.
58186 * manual/debug.texi (Debugging Support): Add link to Threads
58187 chapter.
58188 * manual/nptl.texi: New file.
58189
58190 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58191
58192 2013-03-14 Petr Baudis <pasky@ucw.cz>
58193
58194 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58195 for non-NULL pointer before the memory validity test. Pointed
58196 out by Holger Brunck <holger.brunck@keymile.com>.
58197
58198 2013-03-13 Andreas Schwab <schwab@suse.de>
58199
58200 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58201 instead of .os.
58202
58203 2013-03-13 Joseph Myers <joseph@codesourcery.com>
58204
58205 * timezone/zic.c: Update from tzcode 2013b.
58206
58207 2013-03-12 Carlos O'Donell <carlos@redhat.com>
58208
58209 * manual/install.texi (Configuring and compiling):
58210 Mention i686 and i586.
58211 * INSTALL: Regenerate.
58212
58213 2013-03-12 Roland McGrath <roland@hack.frob.com>
58214
58215 * sysdeps/init_array/elf-init.c: New file.
58216 * csu/elf-init.c
58217 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58218 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58219
58220 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58221 __gmon_start__ as global, but as static with a .preinit_array pointer.
58222 * sysdeps/init_array/gmon-start.c: New file. Use that.
58223 * sysdeps/init_array/crti.S: New file, empty except for comments.
58224 * sysdeps/init_array/crtn.S: Likewise.
58225
58226 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
58227
58228 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58229 definining bcopy.
58230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58231 Remove Prefer_SSE_for_memop.
58232 * sysdeps/x86_64/multiarch/init-arch.h: Remove
58233 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58234 HAS_PREFER_SSE_FOR_MEMOP.
58235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58236 memset-x86-64.
58237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58238 Remove bzero, memset ifunc support.
58239 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58240 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58241 * sysdeps/x86_64/multiarch/memset.S: Likewise.
58242 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58243
58244 2013-03-11 Andreas Schwab <schwab@suse.de>
58245
58246 [BZ #15234]
58247 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58248 by SHLIB_COMPAT.
58249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58250 (GLIBC_2.16): Remove pthread_atfork.
58251
58252 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
58253
58254 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58255 (ptestcases.h): Likewise.
58256
58257 2013-03-08 Roland McGrath <roland@hack.frob.com>
58258
58259 * Makeconfig ($(common-objpfx)config.status): Depend on
58260 sysdeps/*/preconfigure{,.in} too.
58261
58262 2013-03-08 Joseph Myers <joseph@codesourcery.com>
58263
58264 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58265 (__free_hook): Use void * instead of __malloc_ptr_t.
58266 (__malloc_hook): Likewise.
58267 (__realloc_hook): Likewise.
58268 (__memalign_hook): Likewise.
58269 (__after_morecore_hook): Likewise.
58270 * malloc/arena.c (save_malloc_hook): Likewise.
58271 (save_free_hook): Likewise.
58272 * malloc/hooks.c (malloc_hook_ini): Likewise.
58273 (realloc_hook_ini): Likewise.
58274 (memalign_hook_ini): Likewise.
58275 * malloc/malloc.c (malloc_hook_ini): Likewise.
58276 (realloc_hook_ini): Likewise.
58277 (memalign_hook_ini): Likewise.
58278 (__free_hook): Likewise.
58279 (__malloc_hook): Likewise.
58280 (__realloc_hook): Likewise.
58281 (__memalign_hook): Likewise.
58282 (__libc_malloc): Likewise.
58283 (__libc_free): Likewise.
58284 (__libc_realloc): Likewise.
58285 (__libc_memalign): Likewise.
58286 (__libc_valloc): Likewise.
58287 (__libc_pvalloc): Likewise.
58288 (__libc_calloc): Likewise.
58289 (__posix_memalign): Likewise.
58290 * malloc/morecore.c (__sbrk): Likewise.
58291 (__default_morecore): Likewise.
58292
58293 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58294
58295 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58296 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58297 __malloc_ptrdiff_t.
58298
58299 * malloc/malloc.h (__malloc_size_t): Remove macro.
58300 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58301 __malloc_size_t.
58302 (old_memalign_hook): Likewise.
58303 (old_realloc_hook): Likewise.
58304 (struct hdr): Likewise.
58305 (flood): Likewise.
58306 (mallochook): Likewise.
58307 (memalignhook): Likewise.
58308 (reallochook): Likewise.
58309 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58310 (tr_old_realloc_hook): Likewise.
58311 (tr_old_memalign_hook): Likewise.
58312 (tr_mallochook): Likewise.
58313 (tr_reallochook): Likewise.
58314 (tr_memalignhook): Likewise.
58315
58316 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58317
58318 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58319 default_ldbl_pack and using as default implementation.
58320 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58321 implementation.
58322 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58323 redundant definition.
58324 (ldbl_insert_mantissa): Likewise.
58325 (ldbl_canonicalize): Likewise.
58326 (ldbl_nearbyint): Likewise.
58327 (ldbl_pack): Rename to ldbl_pack_ppc.
58328 (ldbl_unpack): Rename to ldbl_unpack_ppc.
58329 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58330 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58331
58332 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
58333
58334 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58335 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58336 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58337 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58339 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58340 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58341 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58342
58343 2013-03-07 Andreas Jaeger <aj@suse.de>
58344
58345 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58346 bits/mman-linux.h.
58347
58348 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
58349
58350 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58351 Include mpa.h and declare __MPEXP.
58352 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58353 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58354 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58355 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58356 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58357 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58358 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58359
58360 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58361 (__slowpow): Use long double EXPL and LOGL functions to
58362 compute POW.
58363 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58364 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58365 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58366 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58367 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58368 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58369
58370 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58371 intermediate variable to calculate exponent.
58372 (__sqr): Likewise.
58373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58374 Likewise.
58375 (__sqr): Likewise.
58376
58377 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58378 [!NO__SQR]: Define __sqr.
58379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58380 and NO__SQR. Remove all code except __mul and __sqr. Include
58381 sysdeps/ieee754/dbl-64/mpa.c.
58382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58383
58384 [BZ #12723]
58385 * posix/Makefile (tests): Add tst-pathconf.
58386 * posix/tst-pathconf.c: New test case.
58387 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58388 _PC_PIPE_BUF.
58389 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58390
58391 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
58392
58393 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58394
58395 2013-03-06 Andreas Jaeger <aj@suse.de>
58396
58397 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58398 definition via __MAP_ANONYMOUS.
58399
58400 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58401 it's not part of Linux headers.
58402
58403 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58404 (MAP_HUGE_MASK): Define.
58405
58406 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58407 Define.
58408 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58409 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58410 Define.
58411 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58412 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58413 Define.
58414 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58415 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58416 Define.
58417 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58418
58419 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58420 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58421 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58422 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58423 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58424 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58425
58426 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58427 Handle f2fs.
58428
58429 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58430 Handle f2fs and efivarfs.
58431
58432 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58433 f2fs.
58434
58435 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58436 (EFIVARFS_MAGIC): Add.
58437 (F2FS_LINK_MAX): Add.
58438
58439 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
58440
58441 * stdio-common/vfprintf.c: Replace __builtin_expect with
58442 __glibc_unlikely.
58443
58444 2013-03-06 Joseph Myers <joseph@codesourcery.com>
58445
58446 [BZ #13550]
58447 * sysdeps/generic/bp-sym.h: Remove file.
58448 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58449 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58450 <bp-sym.h> and <bp-asm.h>.
58451 (__longjmp): Don't use BP_SYM.
58452 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58453 and <bp-asm.h>.
58454 (memcpy): Don't use BP_SYM.
58455 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58456 <bp-sym.h> and <bp-asm.h>.
58457 (memcpy): Don't use BP_SYM.
58458 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58459 <bp-asm.h>.
58460 (memcpy): Don't use BP_SYM.
58461 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58462 <bp-asm.h>.
58463 (memset): Don't use BP_SYM.
58464 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58465 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58466 (__bzero): Don't use BP_SYM.
58467 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58468 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58469 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58470 <bp-sym.h> and <bp-asm.h>.
58471 (memcmp): Don't use BP_SYM. Remove comment about bounded
58472 pointers.
58473 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58474 <bp-sym.h> and <bp-asm.h>.
58475 (memcpy): Don't use BP_SYM.
58476 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58477 <bp-sym.h> and <bp-asm.h>.
58478 (memset): Don't use BP_SYM.
58479 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58480 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58481 (__bzero): Don't use BP_SYM.
58482 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58483 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58484 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58485 <bp-sym.h> and <bp-asm.h>.
58486 (strncmp): Don't use BP_SYM. Remove comment about bounded
58487 pointers.
58488 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58489 <bp-sym.h> and <bp-asm.h>.
58490 (memcpy): Don't use BP_SYM.
58491 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58492 <bp-sym.h> and <bp-asm.h>.
58493 (memset): Don't use BP_SYM.
58494 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58495 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58496 (__bzero): Don't use BP_SYM.
58497 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58498 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58499 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58500 <bp-sym.h> and <bp-asm.h>.
58501 (__memchr): Don't use BP_SYM.
58502 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58503 <bp-sym.h> and <bp-asm.h>.
58504 (memcmp): Don't use BP_SYM. Remove comment about bounded
58505 pointers.
58506 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58507 <bp-sym.h> and <bp-asm.h>.
58508 (memcpy): Don't use BP_SYM.
58509 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58510 <bp-sym.h> and <bp-asm.h>.
58511 (__mempcpy): Don't use BP_SYM.
58512 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58513 <bp-sym.h> and <bp-asm.h>.
58514 (__memrchr): Don't use BP_SYM.
58515 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58516 <bp-sym.h> and <bp-asm.h>.
58517 (memset): Don't use BP_SYM.
58518 (__bzero): Likewise.
58519 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58520 <bp-sym.h> and <bp-asm.h>.
58521 (__rawmemchr): Don't use BP_SYM.
58522 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58523 <bp-sym.h> and <bp-asm.h>.
58524 (__STRCMP): Don't use BP_SYM.
58525 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58526 <bp-sym.h> and <bp-asm.h>.
58527 (strchr): Don't use BP_SYM.
58528 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58529 <bp-sym.h> and <bp-asm.h>.
58530 (__strchrnul): Don't use BP_SYM.
58531 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58532 <bp-sym.h> and <bp-asm.h>.
58533 (strlen): Don't use BP_SYM.
58534 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58535 <bp-sym.h> and <bp-asm.h>.
58536 (strncmp): Don't use BP_SYM. Remove comment about bounded
58537 pointers.
58538 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58539 <bp-sym.h> and <bp-asm.h>.
58540 (__strnlen): Don't use BP_SYM.
58541 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58542 <bp-sym.h> and <bp-asm.h>.
58543 (__GI__setjmp): Don't use BP_SYM.
58544 (_setjmp): Likewise.
58545 (__sigsetjmp): Likewise.
58546 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58547 (L(start_addresses)): Don't use BP_SYM.
58548 (_start): Likewise.
58549 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58550 <bp-asm.h>.
58551 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58552 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58553 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58554 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58555 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58556 <bp-asm.h>.
58557 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58558 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
58559 about bounded pointers.
58560 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58561 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58562 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58563 <bp-asm.h>.
58564 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58565 about bounded pointers. Remove GKM FIXME comments.
58566 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58567 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58568 <bp-asm.h>.
58569 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58570 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
58571 Remove GKM FIXME comments.
58572 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58573 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58574 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58575 <bp-asm.h>.
58576 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
58577 about bounded pointers. Remove GKM FIXME comment.
58578 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58579 and <bp-asm.h>.
58580 (strncmp): Don't use BP_SYM. Remove comment about bounded
58581 pointers.
58582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58583 <bp-sym.h> and <bp-asm.h>.
58584 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58586 <bp-sym.h> and <bp-asm.h>.
58587 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58588 comment.
58589
58590 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58591
58592 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58593 call free(NULL).
58594
58595 2013-03-05 David S. Miller <davem@davemloft.net>
58596
58597 * po/es.po: Update from translation team.
58598
58599 2013-03-05 Andreas Jaeger <aj@suse.de>
58600
58601 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58602 <bits/mman-linux.h>.
58603 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58604 is fine.
58605 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58606 <bits/mman-linux.h> to end of file.
58607 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58608 is fine.
58609 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58610 <bits/mman-linux.h> to end of file.
58611 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58612 is fine.
58613 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58614 <bits/mman-linux.h> to end of file.
58615
58616 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58617 (MCL_CURRENT, MCL_FUTURE): Define here.
58618
58619 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58620
58621 [BZ #15232]
58622 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58623 attribute_hidden.
58624 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58625
58626 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58627
58628 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58629 fourth parameter needed for rt_sigprocmask syscall.
58630 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58631 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58632 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58633 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58634 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58635 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58636
58637 2013-03-04 Joseph Myers <joseph@codesourcery.com>
58638
58639 [BZ #13550]
58640 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58641 comment about bounded pointers.
58642 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58643 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58644
58645 2013-03-04 Andreas Jaeger <aj@suse.de>
58646
58647 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58648 common definitions.
58649
58650 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58651 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58652 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58653 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58654 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58655 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58656
58657 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58658
58659 [BZ #15055]
58660 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58661 __ieee754_sqrl instead of __sqrl.
58662
58663 2013-03-01 Joseph Myers <joseph@codesourcery.com>
58664
58665 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58666 * sysdeps/powerpc/fpu_control.h: ... here.
58667 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58668 * sysdeps/powerpc/bits/fenvinline.h: ... here.
58669 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58670 * sysdeps/powerpc/bits/mathinline.h: ... here.
58671
58672 2013-03-01 Roland McGrath <roland@hack.frob.com>
58673
58674 * elf/dl-hwcaps.c (_dl_important_hwcaps):
58675 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58676 to just [NEED_DL_SYSINFO_DSO].
58677 * elf/dl-support.c: Likewise.
58678 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58679 * elf/rtld.c (dl_main): Likewise.
58680 * elf/setup-vdso.h (setup_vdso): Likewise.
58681 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58682 * sysdeps/unix/sysv/linux/dl-sysdep.c
58683 (_dl_discover_osversion): Likewise.
58684
58685 2013-03-01 Carlos O'Donell <carlos@redhat.com>
58686
58687 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58688 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58689
58690 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
58691
58692 * NEWS: Mention libm performance improvements and non-x86 PI
58693 futex support.
58694
58695 * csu/libc-start.c (__pthread_initialize_minimal): Change
58696 function arguments.
58697 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58698
58699 2013-02-28 Joseph Myers <joseph@codesourcery.com>
58700
58701 [BZ #13550]
58702 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58703 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58704 <bp-sym.h> and <bp-asm.h>.
58705 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58706 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58707 and <bp-asm.h>.
58708 (memcpy): Don't use BP_SYM.
58709 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58710 <bp-asm.h>.
58711 (__mpn_add_n): Don't use BP_SYM.
58712 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58713 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58714 and <bp-asm.h>.
58715 (__mpn_addmul_1): Don't use BP_SYM.
58716 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58717 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58718 <bp-sym.h>.
58719 (_setjmp): Don't use BP_SYM.
58720 (__novmx_setjmp): Likewise.
58721 (__GI__setjmp): Likewise.
58722 (__vmx_setjmp): Likewise.
58723 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58724 <bp-sym.h>.
58725 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58726 (__bzero): Don't use BP_SYM.
58727 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58728 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58729 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58730 <bp-sym.h> and <bp-asm.h>.
58731 (memcpy): Don't use BP_SYM.
58732 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58733 <bp-sym.h> and <bp-asm.h>.
58734 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58735 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58736 <bp-sym.h> and <bp-asm.h>.
58737 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58738 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58739 <bp-asm.h>.
58740 (__mpn_lshift): Don't use BP_SYM.
58741 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58742 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58743 <bp-asm.h>.
58744 (memset): Don't use BP_SYM.
58745 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58746 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58747 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58748 <bp-asm.h>.
58749 (__mpn_mul_1): Don't use BP_SYM.
58750 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58751 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58752 <bp-sym.h> and <bp-asm.h>.
58753 (memcmp): Don't use BP_SYM.
58754 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58755 <bp-sym.h> and <bp-asm.h>.
58756 (memcpy): Don't use BP_SYM.
58757 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58758 <bp-sym.h> and <bp-asm.h>.
58759 (memset): Don't use BP_SYM.
58760 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58761 <bp-sym.h> and <bp-asm.h>.
58762 (strncmp): Don't use BP_SYM.
58763 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58764 <bp-sym.h> and <bp-asm.h>.
58765 (memcpy): Don't use BP_SYM.
58766 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58767 <bp-sym.h> and <bp-asm.h>.
58768 (memset): Don't use BP_SYM.
58769 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58770 <bp-sym.h> and <bp-asm.h>.
58771 (__memchr): Don't use BP_SYM.
58772 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58773 <bp-sym.h> and <bp-asm.h>.
58774 (memcmp): Don't use BP_SYM.
58775 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58776 <bp-sym.h> and <bp-asm.h>.
58777 (memcpy): Don't use BP_SYM.
58778 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58779 <bp-sym.h> and <bp-asm.h>.
58780 (__mempcpy): Don't use BP_SYM.
58781 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58782 <bp-sym.h> and <bp-asm.h>.
58783 (__memrchr): Don't use BP_SYM.
58784 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58785 <bp-sym.h> and <bp-asm.h>.
58786 (memset): Don't use BP_SYM.
58787 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58788 <bp-sym.h> and <bp-asm.h>.
58789 (__rawmemchr): Don't use BP_SYM.
58790 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58791 <bp-sym.h> and <bp-asm.h>.
58792 (__STRCMP): Don't use BP_SYM.
58793 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58794 <bp-sym.h> and <bp-asm.h>.
58795 (strchr): Don't use BP_SYM.
58796 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58797 <bp-sym.h> and <bp-asm.h>.
58798 (__strchrnul): Don't use BP_SYM.
58799 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58800 <bp-sym.h> and <bp-asm.h>.
58801 (strlen): Don't use BP_SYM.
58802 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58803 <bp-sym.h> and <bp-asm.h>.
58804 (strncmp): Don't use BP_SYM.
58805 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58806 <bp-sym.h> and <bp-asm.h>.
58807 (__strnlen): Don't use BP_SYM.
58808 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58809 <bp-asm.h>.
58810 (__mpn_rshift): Don't use BP_SYM.
58811 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58812 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58813 <bp-sym.h> and <bp-asm.h>.
58814 (__sigsetjmp): Don't use BP_SYM.
58815 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58816 (L(start_addresses)): Don't use BP_SYM.
58817 (_start): Likewise.
58818 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58819 <bp-asm.h>.
58820 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58821 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58822 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58823 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58824 <bp-asm.h>.
58825 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58826 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58827 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58828 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58829 <bp-asm.h>.
58830 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58831 comments.
58832 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58833 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58834 <bp-asm.h>.
58835 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
58836 FIXME comments.
58837 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58838 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58839 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58840 <bp-asm.h>.
58841 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
58842 comment.
58843 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58844 and <bp-asm.h>.
58845 (strncmp): Don't use BP_SYM,
58846 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58847 <bp-asm.h>.
58848 (__mpn_sub_n): Don't use BP_SYM.
58849 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58850 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58851 and <bp-asm.h>.
58852 (__mpn_submul_1): Don't use BP_SYM.
58853 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58855 <bp-sym.h> and <bp-asm.h>.
58856 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58858 <bp-sym.h> and <bp-asm.h>.
58859 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
58860 comment.
58861
58862 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58863
58864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58865 Use ZK to minimize writes to Z.
58866 (sub_magnitudes): Simplify code a bit.
58867 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58868 Use ZK to minimize writes to Z.
58869 (sub_magnitudes): Simplify code a bit.
58870
58871 2013-02-27 Roland McGrath <roland@hack.frob.com>
58872
58873 * csu/gmon-start.c: Add special exception to license text.
58874
58875 2013-02-27 Richard Henderson <rth@redhat.com>
58876
58877 * scripts/config.guess: Update from config.git.
58878 * scripts/config.sub: Likewise.
58879
58880 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
58881
58882 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58883
58884 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58885
58886 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58887
58888 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58889
58890 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58891
58892 2013-02-26 Roland McGrath <roland@hack.frob.com>
58893
58894 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58895 [$(build-shared = yes].
58896
58897 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58898
58899 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58900 (__mul): Reduce iterations for calculating mantissa.
58901
58902 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58903 MPTWO.
58904 (__mpranred): Likewise.
58905
58906 [BZ #15160]
58907 * malloc/memusagestat.c (main): Draw graphs for heap and stack
58908 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58909
58910 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
58911
58912 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
58913 Define __attribute__.
58914
58915 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58916
58917 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58918 unused.
58919 * posix/regex_internal.h (__attribute): Remove.
58920 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
58921 (re_string_context_at): Likewise.
58922 (bitset_not): Use __attribute__ and mark function as possibly
58923 unused.
58924 (bitset_merge): Likewise.
58925 (bitset_mask): Likewise.
58926 (re_string_char_size_at): Likewise.
58927 (re_string_wchar_at): Likewise.
58928 (re_string_elem_size_at): Likewise.
58929
58930 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
58931
58932 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
58933 code.
58934 (cc32): Likewise.
58935
58936 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
58937 (__acr): Likewise.
58938 (__cpy): Likewise.
58939 (norm): Likewise.
58940 (denorm): Likewise.
58941 (__dbl_mp): Likewise.
58942 (add_magnitudes): Likewise.
58943 (sub_magnitudes): Likewise.
58944 (__mul): Likewise.
58945 (__inv): Likewise.
58946
58947 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
58948 style.
58949
58950 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
58951 style.
58952
58953 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
58954 code.
58955
58956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
58957 up changes with default code.
58958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
58959 Likewise.
58960
58961 2013-02-24 Allan McRae <allan@archlinux.org>
58962
58963 * manual/socket.texi (The Internet Namespace): Order menu items
58964 to match that in the file.
58965
58966 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
58967 node listing of the info page menu.
58968
58969 2013-02-21 Joseph Myers <joseph@codesourcery.com>
58970
58971 [BZ #13550]
58972 * sysdeps/i386/bp-asm.h: Remove file.
58973 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
58974 (PARMS): Do not use macros from bp-asm.h.
58975 (S1): Likewise.
58976 (S2): Likewise.
58977 (SIZE): Likewise.
58978 (__mpn_add_n): Do not use BP_SYM
58979 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
58980 "bp-asm.h".
58981 (PARMS): Do not use macros from bp-asm.h.
58982 (S1): Likewise.
58983 (SIZE): Likewise.
58984 (__mpn_addmul_1): Do not use BP_SYM
58985 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
58986 "bp-asm.h".
58987 (PARMS): Do not use macros from bp-asm.h.
58988 (SIGMSK): Likewise.
58989 (_setjmp): Likewise. Do not use BP_SYM.
58990 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
58991 "bp-asm.h".
58992 (PARMS): Do not use macros from bp-asm.h.
58993 (SIGMSK): Likewise.
58994 (setjmp): Likewise. Do not use BP_SYM.
58995 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
58996 "bp-asm.h".
58997 (PARMS): Do not use macros from bp-asm.h.
58998 (__frexp): Do not use BP_SYM.
58999 (frexp): Likewise.
59000 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59001 "bp-asm.h".
59002 (PARMS): Do not use macros from bp-asm.h.
59003 (__frexpf): Do not use BP_SYM.
59004 (frexpf): Likewise.
59005 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59006 "bp-asm.h".
59007 (PARMS): Do not use macros from bp-asm.h.
59008 (__frexpl): Do not use BP_SYM.
59009 (frexpl): Likewise.
59010 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59011 "bp-asm.h".
59012 (PARMS): Do not use macros from bp-asm.h.
59013 (__remquo): Do not use BP_SYM.
59014 (remquo): Likewise.
59015 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59016 "bp-asm.h".
59017 (PARMS): Do not use macros from bp-asm.h.
59018 (__remquof): Do not use BP_SYM.
59019 (remquof): Likewise.
59020 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59021 "bp-asm.h".
59022 (PARMS): Do not use macros from bp-asm.h.
59023 (__remquol): Do not use BP_SYM.
59024 (remquol): Likewise.
59025 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59026 "bp-asm.h".
59027 (PARMS): Do not use macros from bp-asm.h.
59028 (DEST): Likewise.
59029 (SRC): Likewise.
59030 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
59031 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59032 "bp-asm.h".
59033 (PARMS): Do not use macros from bp-asm.h.
59034 (strlen): Do not use BP_SYM.
59035 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59036 "bp-asm.h".
59037 (PARMS): Do not use macros from bp-asm.h.
59038 (S1): Likewise.
59039 (S2): Likewise.
59040 (SIZE): Likewise.
59041 (__mpn_add_n): Do not use BP_SYM.
59042 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59043 "bp-asm.h".
59044 (PARMS): Do not use macros from bp-asm.h.
59045 (S1): Likewise.
59046 (SIZE): Likewise.
59047 (__mpn_addmul_1): Do not use BP_SYM.
59048 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59049 weak_alias.
59050 (bzero): Likewise.
59051 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59052 "bp-asm.h".
59053 (PARMS): Do not use macros from bp-asm.h.
59054 (S): Likewise.
59055 (SIZE): Likewise.
59056 (__mpn_lshift): Do not use BP_SYM.
59057 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59058 "bp-asm.h".
59059 (PARMS): Do not use macros from bp-asm.h.
59060 (DEST): Likewise.
59061 (SRC): Likewise.
59062 (LEN): Likewise.
59063 (memcpy): Likewise. Do not use BP_SYM.
59064 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59065 libc_hidden_def and weak_alias.
59066 (mempcpy): Do not use BP_SYM in weak_alias.
59067 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59068 "bp-asm.h".
59069 (PARMS): Do not use macros from bp-asm.h.
59070 (DEST): Likewise.
59071 (LEN): Likewise.
59072 [!BZERO_P] (CHR): Likewise.
59073 (memset): Likewise. Do not use BP_SYM.
59074 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59075 "bp-asm.h".
59076 (PARMS): Do not use macros from bp-asm.h.
59077 (S1): Likewise.
59078 (SIZE): Likewise.
59079 (__mpn_mul_1): Do not use BP_SYM.
59080 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59081 "bp-asm.h".
59082 (PARMS): Do not use macros from bp-asm.h.
59083 (S): Likewise.
59084 (SIZE): Likewise.
59085 (__mpn_rshift): Do not use BP_SYM.
59086 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59087 "bp-asm.h".
59088 (PARMS): Do not use macros from bp-asm.h.
59089 (STR): Likewise.
59090 (CHR): Likewise.
59091 (strchr): Likewise. Do not use BP_SYM.
59092 (index): Do not use BP_SYM in weak_alias.
59093 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59094 "bp-asm.h".
59095 (PARMS): Do not use macros from bp-asm.h.
59096 (DEST): Likewise.
59097 (SRC): Likewise.
59098 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
59099 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59100 "bp-asm.h".
59101 (PARMS): Do not use macros from bp-asm.h.
59102 (strlen): Do not use BP_SYM.
59103 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59104 "bp-asm.h".
59105 (PARMS): Do not use macros from bp-asm.h.
59106 (S1): Likewise.
59107 (S2): Likewise.
59108 (SIZE): Likewise.
59109 (__mpn_sub_n): Do not use BP_SYM.
59110 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59111 "bp-asm.h".
59112 (PARMS): Do not use macros from bp-asm.h.
59113 (S1): Likewise.
59114 (SIZE): Likewise.
59115 (__mpn_submul_1): Do not use BP_SYM.
59116 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59117 "bp-asm.h".
59118 (PARMS): Do not use macros from bp-asm.h.
59119 (S1): Likewise.
59120 (S2): Likewise.
59121 (SIZE): Likewise.
59122 (__mpn_add_n): Do not use BP_SYM.
59123 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59124 weak_alias.
59125 (bzero): Likewise.
59126 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59127 "bp-asm.h".
59128 (PARMS): Do not use macros from bp-asm.h.
59129 (BLK2): Likewise.
59130 (LEN): Likewise.
59131 (memcmp): Do not use BP_SYM.
59132 (bcmp): Do not use BP_SYM in weak_alias.
59133 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59134 "bp-asm.h".
59135 (PARMS): Do not use macros from bp-asm.h.
59136 (DEST): Likewise.
59137 (SRC): Likewise.
59138 (LEN): Likewise.
59139 (memcpy): Likewise. Do not use BP_SYM.
59140 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59141 "bp-asm.h".
59142 (PARMS): Do not use macros from bp-asm.h.
59143 (DEST): Likewise.
59144 (SRC): Likewise.
59145 (LEN): Likewise.
59146 (memmove): Likewise. Do not use BP_SYM.
59147 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59148 "bp-asm.h".
59149 (PARMS): Do not use macros from bp-asm.h.
59150 (DEST): Likewise.
59151 (SRC): Likewise.
59152 (LEN): Likewise.
59153 (__mempcpy): Likewise. Do not use BP_SYM.
59154 (mempcpy): Do not use BP_SYM in weak_alias.
59155 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59156 "bp-asm.h".
59157 (PARMS): Do not use macros from bp-asm.h.
59158 (DEST): Likewise.
59159 (LEN): Likewise.
59160 [!BZERO_P] (CHR): Likewise.
59161 (memset): Likewise. Do not use BP_SYM.
59162 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59163 "bp-asm.h".
59164 (PARMS): Do not use macros from bp-asm.h.
59165 (STR2): Likewise.
59166 (strcmp): Do not use BP_SYM.
59167 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59168 "bp-asm.h".
59169 (PARMS): Do not use macros from bp-asm.h.
59170 (STR): Likewise.
59171 (DELIM): Likewise.
59172 [USE_AS_STRTOK_R] (SAVE): Likewise.
59173 (FUNCTION): Likewise. Do not use BP_SYM.
59174 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59175 aliases.
59176 (strtok_r): Likewise.
59177 (__GI___strtok_r): Likewise.
59178 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59179 (PARMS): Do not use macros from bp-asm.h.
59180 (S): Likewise.
59181 (SIZE): Likewise.
59182 (__mpn_lshift): Do not use BP_SYM.
59183 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59184 (PARMS): Do not use macros from bp-asm.h.
59185 (STR): Likewise.
59186 (CHR): Likewise.
59187 (__memchr): Do not use BP_SYM.
59188 (memchr): Do not use BP_SYM in weak_alias.
59189 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59190 (PARMS): Do not use macros from bp-asm.h.
59191 (BLK2): Likewise.
59192 (LEN): Likewise.
59193 (memcmp): Do not use BP_SYM.
59194 (bcmp): Do not use BP_SYM in weak_alias.
59195 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59196 (PARMS): Do not use macros from bp-asm.h.
59197 (S1): Likewise.
59198 (SIZE): Likewise.
59199 (__mpn_mul_1): Do not use BP_SYM.
59200 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59201 "bp-asm.h".
59202 (PARMS): Do not use macros from bp-asm.h.
59203 (STR): Likewise.
59204 (CHR): Likewise.
59205 (__rawmemchr): Do not use BP_SYM.
59206 (rawmemchr): Do not use BP_SYM in weak_alias.
59207 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59208 (PARMS): Do not use macros from bp-asm.h.
59209 (S): Likewise.
59210 (SIZE): Likewise.
59211 (__mpn_rshift): Do not use BP_SYM.
59212 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59213 (PARMS): Do not use macros from bp-asm.h.
59214 (SIGMSK): Likewise.
59215 (__sigsetjmp): Likewise. Do not use BP_SYM.
59216 * sysdeps/i386/start.S: Do not include "bp-sym.h".
59217 (_start): Do not use BP_SYM.
59218 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59219 (PARMS): Do not use macros from bp-asm.h.
59220 (DEST): Likewise.
59221 (SRC): Likewise.
59222 (__stpcpy): Likewise. Do not use BP_SYM.
59223 (stpcpy): Do not use BP_SYM in weak_alias.
59224 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59225 "bp-asm.h".
59226 (PARMS): Do not use macros from bp-asm.h.
59227 (DEST): Likewise.
59228 (SRC): Likewise.
59229 (LEN): Likewise.
59230 (__stpncpy): Likewise. Do not use BP_SYM.
59231 (stpncpy): Do not use BP_SYM in weak_alias.
59232 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59233 (PARMS): Do not use macros from bp-asm.h.
59234 (STR): Likewise.
59235 (CHR): Likewise.
59236 (strchr): Likewise. Do not use BP_SYM.
59237 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59238 "bp-asm.h".
59239 (PARMS): Do not use macros from bp-asm.h.
59240 (STR): Likewise.
59241 (CHR): Likewise.
59242 (__strchrnul): Likewise. Do not use BP_SYM.
59243 (strchrnul): Do not use BP_SYM in weak_alias.
59244 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59245 "bp-asm.h".
59246 (PARMS): Do not use macros from bp-asm.h.
59247 (STOP): Likewise.
59248 (strcspn): Do not use BP_SYM.
59249 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59250 "bp-asm.h".
59251 (PARMS): Do not use macros from bp-asm.h.
59252 (STR): Likewise.
59253 (STOP): Likewise.
59254 (strpbrk): Likewise. Do not use BP_SYM.
59255 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59256 "bp-asm.h".
59257 (PARMS): Do not use macros from bp-asm.h.
59258 (STR): Likewise.
59259 (CHR): Likewise.
59260 (strrchr): Likewise. Do not use BP_SYM.
59261 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59262 (PARMS): Do not use macros from bp-asm.h.
59263 (SKIP): Likewise.
59264 (strspn): Do not use BP_SYM.
59265 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59266 (PARMS): Do not use macros from bp-asm.h.
59267 (STR): Likewise.
59268 (DELIM): Likewise.
59269 (SAVE): Likewise.
59270 (FUNCTION): Likewise. Do not use BP_SYM.
59271 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59272 aliases.
59273 (strtok_r): Likewise.
59274 (__GI___strtok_r): Likewise.
59275 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59276 (PARMS): Do not use macros from bp-asm.h.
59277 (S1): Likewise.
59278 (S2): Likewise.
59279 (SIZE): Likewise.
59280 (__mpn_sub_n): Do not use BP_SYM.
59281 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59282 "bp-asm.h".
59283 (PARMS): Do not use macros from bp-asm.h.
59284 (S1): Likewise.
59285 (SIZE): Likewise.
59286 (__mpn_submul_1): Do not use BP_SYM.
59287 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59288 <bp-sym.h>.
59289 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59290 and <bp-asm.h>.
59291 (PARMS): Do not use macros from bp-asm.h.
59292 (FLAGS): Likewise.
59293 (PTID): Likewise.
59294 (TLS): Likewise.
59295 (CTID): Likewise.
59296 (__clone): Do not use BP_SYM.
59297 (clone): Do not use BP_SYM in weak_alias.
59298 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59299 and <bp-asm.h>.
59300 (PARMS): Do not use macros from bp-asm.h.
59301 (LEN): Likewise.
59302 (__mmap64): Do not use BP_SYM.
59303 (mmap64): Do not use BP_SYM in weak_alias.
59304 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59305 <bp-sym.h> and <bp-asm.h>.
59306 (PARMS): Do not use macros from bp-asm.h.
59307 (__posix_fadvise64_l64): Do not use BP_SYM.
59308 * sysdeps/unix/sysv/linux/i386/semtimedop.S
59309 (PARMS): Do not use macros from bp-asm.h.
59310 (NSOPS): Likewise.
59311 (semtimedop): Do not use BP_SYM.
59312 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59313 and <bp-asm.h>.
59314
59315 2013-02-21 Allan McRae <allan@archlinux.org>
59316
59317 * manual/message.texi (Charset conversion in gettext):
59318 Move @end statement to beginning of line.
59319
59320 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59321
59322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59323 static.
59324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59325 Likewise.
59326
59327 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59328 (denorm): Likewise.
59329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59330 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59331
59332 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59333
59334 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59335 tail-call to the resolved function if pltexit isn't needed.
59336
59337 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59338
59339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59340 or Y being zero as being unlikely.
59341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59342 Likewise.
59343
59344 2013-02-20 Carlos O'Donell <carlos@redhat.com>
59345
59346 * manual/nss.texi (System Databases and Name Service Switch):
59347 Remove frobnicate @pxref.
59348
59349 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59350
59351 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59352 __attribute__ ((unused)) to __attribute__ ((__unused__)).
59353
59354 2013-02-20 Petr Machata <pmachata@redhat.com>
59355
59356 * elf/elf.h (R_ARM_TARGET1): New macro.
59357 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59358 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59359 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59360 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59361 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59362 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59363 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59364 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59365 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59366 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59367 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59368 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59369 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59370 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59371 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59372 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59373 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59374 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59375 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59376 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59377 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59378 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59379 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59380 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59381 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59382 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59383 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59384 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59385 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59386 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59387 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59388 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59389 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59390 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59391 (R_ARM_THM_GOT_BREL12): Likewise.
59392 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59393 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59394 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59395 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59396 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59397 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59398 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59399 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59400 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59401
59402 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
59403
59404 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59405 __attribute_used__ to __attribute__ ((unused)).
59406
59407 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
59408
59409 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59410 powerpc mpa.c.
59411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59412 comment formatting.
59413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59414
59415 2013-02-19 Joseph Myers <joseph@codesourcery.com>
59416
59417 [BZ #13550]
59418 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59419 Remove macro.
59420 (ENTER): Remove both macro definitions.
59421 (LEAVE): Likewise.
59422 (CHECK_BOUNDS_LOW): Likewise.
59423 (CHECK_BOUNDS_HIGH): Likewise.
59424 (CHECK_BOUNDS_BOTH): Likewise.
59425 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59426 (RETURN_BOUNDED_POINTER): Likewise.
59427 (RETURN_NULL_BOUNDED_POINTER): Likewise.
59428 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59429 (POP_ERRNO_LOCATION_RETURN): Likewise.
59430 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59431 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59432 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59433 macros.
59434 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59435 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59436 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59437 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59438 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59439 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59440 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59441 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59442 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59443 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59444 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59445 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59446 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59447 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59448 removed macros.
59449 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59450 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59451 macros.
59452 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59453 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59454 * sysdeps/i386/i586/memset.S (memset): Likewise.
59455 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59456 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59457 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59458 macros.
59459 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59460 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59461 Change uses of L(2) to L(out).
59462 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59463 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59464 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59465 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59466 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59467 removed macros.
59468 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59469 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59470 macros.
59471 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59472 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59473 (RETURN): Do not use macro LEAVE.
59474 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59475 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59476 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59477 * sysdeps/i386/i686/memset.S (memset): Likewise.
59478 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59479 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59480 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59481 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59482 Likewise.
59483 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59484 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
59485 L(1_2) and L(1_3) into L(1).
59486 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59487 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59488 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59489 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59490 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59491 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59492 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59493 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59494 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59495 macros.
59496 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59497 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59498 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59499 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59500 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59501 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59502 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59503 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59504 * sysdeps/i386/strcspn.S (strcspn): Likewise.
59505 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59506 * sysdeps/i386/strrchr.S (strrchr): Likewise.
59507 * sysdeps/i386/strspn.S (strspn): Likewise.
59508 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59509 conditional code.
59510 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59511 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59512 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59513 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
59514 L(1_3) into L(1_1).
59515 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59516 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59517 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59518 macros.
59519 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59520
59521 2013-02-19 Jakub Jelinek <jakub@redhat.com>
59522
59523 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59524 macro.
59525
59526 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59527
59528 * math/atest-exp.c (exp_mpn): Remove ROUND.
59529 * math/atest-exp2.c (exp_mpn): Likewise.
59530 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59531
59532 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59533 * stdlib/tst-tls-atexit-lib.c: Likewise.
59534 * stdlib/tst-tls-atexit.c: Likewise.
59535
59536 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59537
59538 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59539 and __attribute_alloc_size__.
59540
59541 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59542
59543 * include/programs/xmalloc.h: Change __attribute_alloc_size to
59544 __attribute_alloc_size__.
59545 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59546 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59547
59548 2013-02-18 Mike Frysinger <vapier@gentoo.org>
59549
59550 * include/programs/xmalloc.h: New file.
59551 * catgets/gencat.c: Include it.
59552 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59553 * elf/pldd.c: Likewise.
59554 * iconv/iconv_charmap.c: Likewise.
59555 * iconv/iconvconfig.c: Likewise.
59556 * iconv/strtab.c: Likewise.
59557 * locale/programs/locale.c: Likewise.
59558 * locale/programs/localedef.h: Likewise.
59559 * locale/programs/simple-hash.c: Likewise.
59560 * nscd/nscd.h: Likewise.
59561 * nss/makedb.c: Likewise.
59562 * sysdeps/generic/ldconfig.h: Likewise.
59563
59564 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
59565
59566 * Versions.def: Add GLIBC_2.18.
59567 * include/link.h (struct link_map): New member l_tls_dtor_count.
59568 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59569 (__call_tls_dtors): Likewise.
59570 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59571 __cxa_thread_atexit_impl.
59572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59573 Likewise.
59574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59575 Likewise.
59576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59577 Likewise.
59578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59579 Likewise.
59580 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59582 Likewise.
59583 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59584 Likewise.
59585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59587 Likewise.
59588 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59589 (tests): Add test case tst-tls-atexit.
59590 (modules-names): Add shared library for tst-tls-atexit.
59591 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59592 (GLIBC_PRIVATE): Add __call_tls_dtors.
59593 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59594 for libstdc++.
59595 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59596 * stdlib/tst-tls-atexit.c: New test case.
59597 * stdlib/tst-tls-atexit-lib.c: New test case.
59598
59599 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59600
59601 * elf/Versions (ld): Add _dl_find_dso_for_object.
59602 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59603 * elf/dl-open.c (_dl_find_dso_for_object): New function.
59604 (dl_open_worker): Use _dl_find_dso_for_object.
59605 * elf/dl-sym.c (do_sym): Likewise.
59606 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59607
59608 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59609
59610 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59611 Syntactic changes only.
59612 (_dl_runtime_profile): Do a tail-call to the resolved function.
59613
59614 2013-02-17 Joseph Myers <joseph@codesourcery.com>
59615
59616 [BZ #13550]
59617 * sysdeps/x86_64/bp-asm.h: Remove file.
59618 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59619 <bp-sym.h> and <bp-asm.h>.
59620 (__clone): Do not use BP_SYM.
59621 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59622 <bp-sym.h> and <bp-asm.h>.
59623 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59624 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59625 "bp-asm.h".
59626 (_setjmp): Do not use BP_SYM.
59627 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59628 "bp-asm.h".
59629 (setjmp): Do not use BP_SYM.
59630 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59631 libc_hidden_def.
59632 (mempcpy): Do not use BP_SYM in weak_alias.
59633 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59634 "bp-asm.h".
59635 (strchr): Do not use BP_SYM.
59636 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59637 "bp-asm.h".
59638 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59639 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59640 (_start): Do not use BP_SYM.
59641 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59642 "bp-asm.h".
59643 (strcat): Do not use BP_SYM.
59644 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59645 "bp-asm.h".
59646 (STRCMP): Do not use BP_SYM.
59647 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59648 "bp-asm.h".
59649 (STRCPY): Do not use BP_SYM.
59650 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59651 "bp-asm.h".
59652 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59653 "bp-asm.h".
59654 (FUNCTION): Do not use BP_SYM.
59655 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59656 weak_alias.
59657 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59658
59659 2013-02-17 Andreas Jaeger <aj@suse.de>
59660
59661 * time/Versions: Sort entries.
59662 * string/Versions: Likewise.
59663 * resolv/Versions: Likewise.
59664 * posix/Versions: Likewise.
59665 * iconv/Versions: Likewise.
59666 * elf/Versions: Likewise.
59667 * wcsmbs/Versions: Likewise.
59668
59669 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59670
59671 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59672 loop termination condition.
59673
59674 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59675 variable to calculate EZ.
59676 (__sqr): Likewise.
59677
59678 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59679 the lower precision input.
59680
59681 2013-02-15 Joseph Myers <joseph@codesourcery.com>
59682
59683 [BZ #13550]
59684 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59685 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59686 (run-via-rtld-prefix): Do not handle %-bp tests.
59687 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59688 (all-object-suffixes): Remove .ob.
59689 (bppfx): Remove variable.
59690 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59691 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59692 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59693 [$(build-bounded) = yes] (libtype.ob): Likewise.
59694 * Makerules (elide-routines.ob): Remove variable.
59695 (do-tests-clean): Do not handle *-bp.out.
59696 (common-mostlyclean): Do not handle *-bp and *-bp.out.
59697 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59698 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59699 (tests): Do not include $(tests-bp.out).
59700 (xtests): Do not include $(xtests-bp.out).
59701 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59702 [$(build-bounded) = yes] ($(addprefix
59703 $(objpfx),$(binaries-bounded))): Remove rule.
59704 ($(objpfx)%-bp.out): Remove rule.
59705 * config.make.in (build-bounded): Remove variable.
59706 * crypt/Makefile [$(build-bounded) = yes]
59707 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59708 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59709 append to variable.
59710 [$(build-bounded) = yes] (install-lib): Likewise.
59711 [$(build-bounded) = yes] (generated): Likewise.
59712 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59713 Remove rule.
59714 * intl/Makefile [$(build-bounded) = yes]
59715 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59716 * math/Makefile [$(build-bounded) = yes]
59717 ($(tests:%=$(objpfx)%-bp): Likewise.
59718 * misc/Makefile [$(build-bounded) = yes]
59719 ($(objpfx)tst-tsearch-bp): Likewise.
59720 * nptl/Makeconfig (bounded-thread-library): Remove variable.
59721 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59722 Remove dependency.
59723 * string/Makefile (o-objects.ob): Remove variable.
59724 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59725 (CFLAGS-.ob): Remove variable.
59726 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59727 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59728 both definitions of variable.
59729 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59730 (ASFLAGS-.ob): Remove variable.
59731
59732 2013-02-14 Joseph Myers <joseph@codesourcery.com>
59733
59734 [BZ #13550]
59735 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59736 Remove __BOUNDED_POINTERS__ from condition.
59737 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59738 * string/bits/string2.h [!__NO_STRING_INLINES &&
59739 !__BOUNDED_POINTERS__]: Likewise.
59740 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59741 Likewise.
59742 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59743 Remove conditional code.
59744 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59745 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59746 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59747 condition.
59748
59749 [BZ #13550]
59750 * csu/libc-start.c: Do not include <bp-sym.h>.
59751 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59752 * elf/dl-open.c: Do not include <bp-sym.h>.
59753 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59754 * math/fegetenv.c: Do not include <bp-sym.h>.
59755 (fegetenv): Do not use BP_SYM in versioned symbols.
59756 * nptl/sysdeps/pthread/bits/libc-lockP.h
59757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59758 <bp-sym.h>.
59759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59760 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59762 (__pthread_mutex_destroy): Likewise.
59763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59764 (__pthread_mutex_lock): Likewise.
59765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59766 (__pthread_mutex_trylock): Likewise.
59767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59768 (__pthread_mutex_unlock): Likewise.
59769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59770 (__pthread_mutexattr_init): Likewise.
59771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59772 (__pthread_mutexattr_destroy): Likewise.
59773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59774 (__pthread_mutexattr_settype): Likewise.
59775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59776 (__pthread_rwlock_init): Likewise.
59777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59778 (__pthread_rwlock_destroy): Likewise.
59779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59780 (__pthread_rwlock_rdlock): Likewise.
59781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59782 (__pthread_rwlock_tryrdlock): Likewise.
59783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59784 (__pthread_rwlock_wrlock): Likewise.
59785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59786 (__pthread_rwlock_trywrlock): Likewise.
59787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59788 (__pthread_rwlock_unlock): Likewise.
59789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59790 (__pthread_key_create): Likewise.
59791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59792 (__pthread_setspecific): Likewise.
59793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59794 (__pthread_getspecific): Likewise.
59795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59796 Likewise.
59797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59798 (_pthread_cleanup_push_defer): Likewise.
59799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59800 (_pthread_cleanup_pop_restore): Likewise.
59801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59802 (pthread_setcancelstate): Likewise.
59803 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59804 <bp-sym.h>.
59805 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59806 (memchr): Do not use BP_SYM in weak_alias.
59807 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59808 (fegetenv): Do not use BP_SYM in versioned symbols.
59809 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59810 (fesetenv): Do not use BP_SYM in versioned symbols.
59811 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59812 (feupdateenv): Do not use BP_SYM in versioned symbols.
59813 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59814 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59815 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59816 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59817 (open64): Do not use BP_SYM in weak_alias.
59818 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59819 (fegetenv): Do not use BP_SYM in versioned symbols.
59820 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59821 (fesetenv): Do not use BP_SYM in versioned symbols.
59822 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59823 (feupdateenv): Do not use BP_SYM in versioned symbols.
59824 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59825 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59826 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59827 (feraiseexcept): Do not use BP_SYM in versioned symbols.
59828 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59829 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59830 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59831 <bp-sym.h>.
59832 (__libc_start_main): Do not use BP_SYM.
59833
59834 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59835
59836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59837 redundant return line.
59838 (norm): Likewise.
59839 (denorm): Likewise.
59840 (dbl_mp): Likewise.
59841 (sub_magnitudes): Likewise.
59842 (__add): Likewise.
59843 (__sub): Likewise.
59844 (__mul): Likewise.
59845 (__inv): Likewise.
59846 (__dvd): Likewise.
59847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59848 (norm): Likewise.
59849 (denorm): Likewise.
59850 (dbl_mp): Likewise.
59851 (sub_magnitudes): Likewise.
59852 (__add): Likewise.
59853 (__sub): Likewise.
59854 (__mul): Likewise.
59855 (__inv): Likewise.
59856 (__dvd): Likewise.
59857
59858 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59859 instead of __mul.
59860 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59861 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59862 (cc32): Likewise.
59863
59864 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59865 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59866 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59867 of __mul for squares.
59868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59869 function
59870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59871 Likewise.
59872 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59873 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59874
59875 2013-02-13 Joseph Myers <joseph@codesourcery.com>
59876
59877 [BZ #13550]
59878 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59879 code.
59880 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59881 prototype or function definition. Rename ubp_* variables and
59882 parameters. Remove argv definitions conditional on
59883 [__BOUNDED_POINTERS__].
59884 * debug/backtrace.c (__backtrace): Do not use __unbounded.
59885 * elf/dl-runtime.c (_dl_fixup): Likewise.
59886 * include/set-hooks.h (RUN_HOOK): Likewise.
59887 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59888 definition.
59889 * string/strcpy.c (strcpy): Do not use __unbounded.
59890 * sysdeps/generic/frame.h (struct layout): Likewise.
59891 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59892 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59893 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59894 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59895 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59896 (__backtrace): Likewise.
59897 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59898 use __ptrvalue.
59899 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59900 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59901 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59902 Likewise.
59903 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59904 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59905 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59906 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59907 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59908 Do not use __unbounded.
59909 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59910 Rename __unboundedrlimits parameter to rlimits in prototype.
59911 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59912 Do not use __unbounded.
59913 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
59914 not use __ptrvalue.
59915 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59916 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
59917 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59918 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
59919 __ptrvalue or __unbounded.
59920 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
59921 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
59922 use __unbounded.
59923 (__new_msgctl): Do not use __ptrvalue.
59924 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
59925 __unbounded.
59926 (__libc_msgrcv): Do not use __ptrvalue.
59927 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
59928 startup_info): Do not use __unbounded.
59929 (__libc_start_main): Likewise. Rename ubp_* variables and
59930 parameters. Remove argv definitions conditional on
59931 [__BOUNDED_POINTERS__].
59932 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
59933 __ptrvalue.
59934 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
59935 use __unbounded.
59936 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
59937 or __ptrvalue.
59938 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
59939 use __unbounded.
59940 (__new_shmctl): Do not use __ptrvalue.
59941 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
59942 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
59943 Likewise.
59944 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
59945 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
59946 (__libc_sigaction): Likewise.
59947 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
59948 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
59949 Likewise.
59950 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59951
59952 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
59953
59954 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
59955
59956 * string/mempcpy.c: Implement by calling memcpy.
59957
59958 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
59959
59960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
59961
59962 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
59963 evaluation.
59964
59965 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
59966 values in the mantissa.
59967
59968 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
59969 minimize writes to Z.
59970 (sub_magnitudes): Simplify code a bit.
59971
59972 2013-02-12 Roland McGrath <roland@hack.frob.com>
59973
59974 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
59975 from the message. The linker prefixes all warnings with that already.
59976
59977 2013-02-12 Andreas Schwab <schwab@suse.de>
59978
59979 [BZ #15078]
59980 * posix/regexec.c (extend_buffers): Add parameter min_len.
59981 (check_matching): Pass minimum needed length.
59982 (clean_state_log_if_needed): Likewise.
59983 (get_subexp): Likewise.
59984 * posix/Makefile (tests): Add bug-regex34.
59985 (bug-regex34-ENV): Define.
59986 * posix/bug-regex34.c: New file.
59987
59988 [BZ #11561]
59989 * posix/regcomp.c (parse_bracket_exp): When looking up collating
59990 elements compare against the byte sequence of it, not its name.
59991 * posix/Makefile (tests): Add bug-regex35.
59992 (bug-regex35-ENV): Define.
59993 * posix/bug-regex35.c: New file.
59994
59995 2013-02-11 Tom de Vries <tom@codesourcery.com>
59996
59997 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
59998 comment.
59999 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60000 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60001 (CHECK_EOL): Add undef.
60002
60003 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
60004
60005 * bits/stdlib-bsearch.h: New file.
60006 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60007 * stdlib/stdlib.h: Likewise.
60008
60009 2013-02-11 Roland McGrath <roland@hack.frob.com>
60010
60011 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60012 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60013 declaration.
60014 * manual/search.texi (Array Search Function): Add missing const in
60015 lfind prototype.
60016 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60017 declaration to use rlim_t.
60018 (Basic Scheduling Functions): Remove erroneous const from
60019 sched_getparam prototype. Remove erroneous * from
60020 sched_get_priority_max and sched_get_priority_min prototypes.
60021 (Resource Usage): Fix summary @comment on vtimes to refer to
60022 sys/vtimes.h rather than vtimes.h.
60023 Add missing *s in vtimes prototype.
60024 (Limits on Resources): Fix ulimit prototype to return long int.
60025 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60026 prototypes to use long int rather than double.
60027 (BSD Random): Fix initstate and setstate to use char *, not void *.
60028 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60029 prototype to make second argument 'struct aiocb64 *const[]'.
60030 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60031 (Status of AIO Operations): Remove erroneous const in aio_return and
60032 aio_return64 prototypes.
60033 (Synchronizing I/O): Fix sync prototype to return void.
60034 * manual/startup.texi (Suboptions): Remove an erroneous const in
60035 getsubopt prototype.
60036 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60037 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60038 use size_t rather than int.
60039 (Scanning All Users): Likewise for getpwent_r.
60040 (Setting Groups): Add missing const to setgroups prototype.
60041 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60042 * manual/socket.texi (Host Names): Fix gethostbyaddr and
60043 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60044 'const void *' rather than 'const char *'.
60045 (Host Address Functions): Likewise for inet_ntop.
60046 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60047 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60048 ssize_t for return value.
60049 (Sending Data): Likewise for send, sendto, sendmsg.
60050 (Socket Option Functions): Add a missing const in setsockopt prototype.
60051 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60052 use wchar_t for the argument.
60053 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60054 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60055 take no arguments.
60056 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60057 double/float/long double for second argument.
60058 Fix return types of significand, significandf, significandl.
60059 * manual/filesys.texi (Setting Permissions): Use mode_t for second
60060 argument in fchmod prototype.
60061 (File Owner): Use uid_t and gid_t in fchown prototype.
60062 (File Times): Add const to utimes, futimes, and lutimes prototypes.
60063 (Making Special Files): Use mode_t and dev_t in mknod prototype.
60064 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60065 use 'const struct dirent **' as argument types to CMP function pointer
60066 argument.
60067 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60068 (File Times): Fix summary magic @comment for struct utimbuf and utime
60069 to refer to utime.h, not time.h.
60070 * manual/string.texi (Argz Functions): Add missing const in
60071 argz_extract and argz_next prototypes.
60072 (Finding Tokens in a String): Likewise for basename.
60073 (String/Array Comparison): Fix typo in wcscasecmp prototype.
60074 (Copying and Concatenation): Fix typo in wmemmove prototype.
60075 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60076 (Signal Stack): Remove erroneous const in sigstack prototype.
60077 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60078 prototype.
60079 (Simple Calendar Time): Likewise for stime.
60080 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60081 prototype.
60082 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60083 say sys/sysctl.h instead.
60084 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60085 and vsyslog prototypes.
60086
60087 2013-02-11 Tom de Vries <tom@codesourcery.com>
60088
60089 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60090 Remove.
60091
60092 2013-02-11 Roland McGrath <roland@hack.frob.com>
60093
60094 * misc/sys/mman.h: Fix typo in mremap comment.
60095
60096 2013-02-08 Roland McGrath <roland@hack.frob.com>
60097
60098 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60099 the '\0' terminator.
60100
60101 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60102
60103 [BZ #13550]
60104 * debug/segfault.c: Don't include <bp-checks.h>.
60105 * sysdeps/generic/bp-checks.h: Remove file.
60106 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60107 (__GETDENTS): Don't use CHECK_N.
60108 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60109 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60110 (__getgroups): Don't use CHECK_N.
60111 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60112 (setgroups): Don't use CHECK_N.
60113 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60114 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60115 (__libc_msgrcv): Don't use CHECK_N.
60116 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60117 (__libc_msgsnd): Don't use CHECK_N.
60118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60119 <bp-checks.h>.
60120 (__libc_pread): Don't use CHECK_N.
60121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60122 include <bp-checks.h>.
60123 (__libc_pread64): Don't use CHECK_N.
60124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60125 include <bp-checks.h>.
60126 (__libc_pwrite): Don't use CHECK_N.
60127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60128 include <bp-checks.h>.
60129 (__libc_pwrite64): Don't use CHECK_N.
60130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60131 <bp-checks.h>.
60132 (__libc_pread): Don't use CHECK_N.
60133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60134 include <bp-checks.h>.
60135 (__libc_pread64): Don't use CHECK_N.
60136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60137 include <bp-checks.h>.
60138 (__libc_pwrite): Don't use CHECK_N.
60139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60140 include <bp-checks.h>.
60141 (__libc_pwrite64): Don't use CHECK_N.
60142 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60143 (do_pread): Don't use CHECK_N.
60144 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60145 (do_pread64): Don't use CHECK_N.
60146 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60147 (do_pwrite): Don't use CHECK_N.
60148 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60149 (do_pwrite64): Don't use CHECK_N.
60150 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60151 (__libc_readv): Don't use CHECK_N.
60152 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60153 (semop): Don't use CHECK_N.
60154 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60155 <bp-checks.h>.
60156 (semtimedop): Don't use CHECK_N.
60157 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60158 (__libc_pread): Don't use CHECK_N.
60159 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60160 <bp-checks.h>.
60161 (__libc_pread64): Don't use CHECK_N.
60162 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60163 <bp-checks.h>.
60164 (__libc_pwrite): Don't use CHECK_N.
60165 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60166 <bp-checks.h>.
60167 (__libc_pwrite64): Don't use CHECK_N.
60168 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60169 <bp-checks.h>.
60170 (__libc_msgrcv): Don't use CHECK_N.
60171 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60172 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
60173 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60174 (__libc_writev): Don't use CHECK_N.
60175
60176 2013-02-08 Roland McGrath <roland@hack.frob.com>
60177
60178 * string/strcpy.c: Removed unused variable.
60179
60180 * Makeconfig (+sysdep-includes): Define with := rather than =.
60181 Use an existing include/ subdir of each sysdeps dir before it.
60182
60183 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60184
60185 * nscd/connection.c (register_traced_file): Comment function.
60186 [HAVE_INOTIFY] (union __inev): Define.
60187 [HAVE_INOTIFY] (inotify_check_files): New function.
60188 [HAVE_INOTIFY] (clear_db_cache): Likewise.
60189 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60190 clear_db_cache.
60191 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60192
60193 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60194
60195 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60196 loaded if not already and that a failure is permanent.
60197
60198 2013-02-08 Carlos O'Donell <carlos@redhat.com>
60199
60200 [BZ #15006]
60201 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60202 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60203
60204 2013-02-08 Joseph Myers <joseph@codesourcery.com>
60205
60206 [BZ #13550]
60207 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60208 (CHECK_1_NULL_OK): Likewise.
60209 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60210 (__fxstat): Do not use CHECK_1.
60211 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60212 <bp-checks.h>.
60213 (___fxstat64): Do not use CHECK_1.
60214 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60215 <bp-checks.h>.
60216 (__fxstatat): Do not use CHECK_1.
60217 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60218 <bp-checks.h>.
60219 (__fxstatat64): Do not use CHECK_1.
60220 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60221 <bp-checks.h>.
60222 (__fxstat): Do not use CHECK_1.
60223 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60224 <bp-checks.h>.
60225 (__fxstatat): Do not use CHECK_1.
60226 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60227 <bp-checks.h>.
60228 (__getresgid): Do not use CHECK_1.
60229 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60230 <bp-checks.h>.
60231 (__getresuid): Do not use CHECK_1.
60232 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60233 <bp-checks.h>.
60234 (__lxstat): Do not use CHECK_1.
60235 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60236 <bp-checks.h>.
60237 (__old_msgctl): Do not use CHECK_1.
60238 (__new_msgctl): Likewise.
60239 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60240 <bp-checks.h>.
60241 (__new_setrlimit): Do not use CHECK_1.
60242 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60243 <bp-checks.h>.
60244 (__old_shmctl): Do not use CHECK_1.
60245 (__new_shmctl): Likewise.
60246 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60247 <bp-checks.h>.
60248 (__xstat): Do not use CHECK_1.
60249 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60250 (__lxstat): Do not use CHECK_1.
60251 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60252 <bp-checks.h>.
60253 (___lxstat64): Do not use CHECK_1.
60254 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60255 (__old_msgctl): Do not use CHECK_1.
60256 (__new_msgctl): Likewise.
60257 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60258 <bp-checks.h>.
60259 (__gettimeofday): Do not use CHECK_1.
60260 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60261 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60262 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60263 <bp-checks.h>.
60264 (__gettimeofday): Do not use CHECK_1.
60265 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60266 (__old_shmctl): Do not use CHECK_1_NULL_OK.
60267 (__new_shmctl): Do not use CHECK_1.
60268 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60269 <bp-checks.h>.
60270 (do_sigtimedwait): Do not use CHECK_1.
60271 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60272 <bp-checks.h>.
60273 (do_sigwaitinfo): Do not use CHECK_1.
60274 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60275 <bp-checks.h>.
60276 (msgctl): Do not use CHECK_1.
60277 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60278 <bp-checks.h>.
60279 (shmctl): Do not use CHECK_1.
60280 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60281 (ustat): Do not use CHECK_1.
60282 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60283 <bp-checks.h>.
60284 (__fxstat): Do not use CHECK_1.
60285 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60286 <bp-checks.h>.
60287 (__fxstatat): Do not use CHECK_1.
60288 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60289 <bp-checks.h>.
60290 (__lxstat): Do not use CHECK_1.
60291 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60292 <bp-checks.h>.
60293 (__xstat): Do not use CHECK_1.
60294 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60295 (__xstat): Do not use CHECK_1.
60296 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60297 (___xstat64): Do not use CHECK_1.
60298
60299 [BZ #13550]
60300 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60301 definitions.
60302 (CHECK_BOUNDS_HIGH): Likewise.
60303 * string/strcpy.c: Do not include <bp-checks.h>.
60304 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60305
60306 2013-02-07 Roland McGrath <roland@hack.frob.com>
60307
60308 * nscd/nscd-client.h (__nscd_drop_map_ref):
60309 Add __attribute__ ((unused)).
60310 * nis/nss-nisplus.h (niserr2nss): Likewise.
60311
60312 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60313 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60314
60315 * csu/libc-tls.c (init_static_tls, init_slotinfo):
60316 Remove inline keyword.
60317 * include/rounding-mode.h (round_away): Likewise.
60318 * libio/wfileops.c (adjust_wide_data): Likewise.
60319 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60320 (__m128i_strloadu_tolower): Likewise.
60321 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60322 (__m128i_strloadu_tolower): Likewise.
60323 * time/mktime.c (ydhms_diff): Likewise.
60324 * locale/elem-hash.h (elem_hash): Likewise.
60325 * locale/setlocale.c (setdata): Likewise.
60326 * posix/regex_internal.h (re_string_char_size_at): Likewise.
60327 (re_string_wchar_at): Likewise.
60328 (bitset_not, bitset_merge, bitset_mask): Likewise.
60329 [!(__GNUC__ > 3)] (inline): Remove macro.
60330 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60331 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60332 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60333 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60334 * string/memcmp.c (memcmp_bytes): Likewise.
60335 * locale/programs/locarchive.c (compute_hashval): Likewise.
60336 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60337 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60338 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60339 * nss/getent.c (print_rpc, print_protocols): Likewise.
60340 (print_passwd, print_group, print_aliases): Likewise.
60341 * nis/nss-nisplus.h (niserr2nss): Likewise.
60342 * nscd/connections.c (restart_p): Likewise.
60343 Change return type to bool.
60344
60345 2013-02-05 Roland McGrath <roland@hack.frob.com>
60346
60347 * Makeconfig (all-Depend-files): Add existing
60348 $(sorted-subdirs:=/Depend) files.
60349 (all-subdirs): Remove nss.
60350 * sysdeps/unix/inet/Subdirs: Add it here instead.
60351 * hesiod/Depend: New file.
60352
60353 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60354 instead of calling alloca.
60355
60356 * io/lseek.c (__lseek): Rename to __libc_lseek.
60357 Define __lseek as an alias.
60358
60359 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60360
60361 2013-02-04 Carlos O'Donell <carlos@redhat.com>
60362
60363 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60364 else clause and remove check for non-standard endianness.
60365
60366 2013-02-04 David S. Miller <davem@davemloft.net>
60367
60368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60369
60370 2013-02-04 Joseph Myers <joseph@codesourcery.com>
60371
60372 [BZ #13550]
60373 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60374 (__ubp_memchr): Remove prototype.
60375 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60376 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60377 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60378 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60379 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60380 Remove alias.
60381 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60382 (__ubp_memchr): Likewise.
60383 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60384 (__ubp_memchr): Likewise.
60385 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60386 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60387 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60388 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60389 CHECK_STRING.
60390 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60391 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60392 (__getcwd): Do not use CHECK_STRING.
60393 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60394 <bp-checks.h>.
60395 (__real_chown): Do not use CHECK_STRING.
60396 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60397 <bp-checks.h>.
60398 (fchownat): Do not use CHECK_STRING.
60399 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60400 CHECK_STRING.
60401 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60402 <bp-checks.h>.
60403 (__lchown): Do not use CHECK_STRING.
60404 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60405 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60406 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60407 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60409 include <bp-checks.h>.
60410 (truncate64): Do not use CHECK_STRING.
60411 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60412 <bp-checks.h>.
60413 (__real_chown): Do not use CHECK_STRING.
60414 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60415 <bp-checks.h>.
60416 (__lchown): Do not use CHECK_STRING.
60417 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60418 <bp-checks.h>.
60419 (__chown): Do not use CHECK_STRING.
60420 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60421 <bp-checks.h>.
60422 (truncate64): Do not use CHECK_STRING.
60423 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60424 Likewise.
60425 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60426 (__xmknod): Do not use CHECK_STRING.
60427 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60428 <bp-checks.h>.
60429 (__xmknodat): Do not use CHECK_STRING.
60430 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60431 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60432
60433 2013-02-04 Andreas Schwab <schwab@suse.de>
60434
60435 [BZ #14142]
60436 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60437 * include/netdb.h: Likewise for h_errno.
60438 * elf/tst-stackguard1.c: Include <tls.h>.
60439
60440 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
60441
60442 * elf/link.h (struct link_map): Extend the l_addr comment.
60443 * include/link.h (struct link_map): Likewise.
60444
60445 2013-02-01 Joseph Myers <joseph@codesourcery.com>
60446
60447 [BZ #13550]
60448 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60449 (BOUNDED_1): Remove macro.
60450 * debug/backtrace.c: Don't include <bp-checks.h>.
60451 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60452 (__backtrace): Likewise.
60453 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60454 <bp-checks.h>.
60455 (__backtrace): Don't use BOUNDED_1.
60456 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60457 <bp-checks.h>.
60458 (__backtrace): Don't use BOUNDED_1.
60459 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60460 (__backtrace): Don't use BOUNDED_1.
60461 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60462 (shmat): Don't use BOUNDED_N.
60463
60464 2013-01-31 Joseph Myers <joseph@codesourcery.com>
60465
60466 [BZ #13550]
60467 * sysdeps/generic/bp-start.h: Remove file.
60468 * csu/libc-start.c: Don't include <bp-start.h>.
60469 (LIBC_START_MAIN): Set up __environ directly instead of using
60470 INIT_ARGV_and_ENVIRON.
60471 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60472 <bp-start.h>.
60473
60474 [BZ #13550]
60475 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60476 definitions.
60477 (CHECK_FCNTL): Likewise.
60478 (CHECK_N_PAGES): Likewise.
60479
60480 [BZ #13550]
60481 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60482 definitions.
60483 (CHECK_SIGSET_NULL_OK): Likewise.
60484 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60485 <bp-checks.h>.
60486 (sigpending): Don't use CHECK_SIGSET.
60487 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60488 <bp-checks.h>.
60489 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60490 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60491 <bp-checks.h>.
60492 (do_sigsuspend): Don't use CHECK_SIGSET.
60493 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60494 use CHECK_SIGSET.
60495 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60496 (do_sigwait): Don't use CHECK_SIGSET.
60497 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60498 use CHECK_SIGSET.
60499 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60500 include <bp-checks.h>.
60501 (sigpending): Don't use CHECK_SIGSET.
60502 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60503 include <bp-checks.h>.
60504 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60505 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60506 <bp-checks.h>.
60507 (sigpending): Don't use CHECK_SIGSET.
60508 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60509 <bp-checks.h>.
60510 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60511
60512 [BZ #13550]
60513 * sysdeps/generic/bp-semctl.h: Remove file.
60514 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60515 <bp-checks.h> and <bp-semctl.h>.
60516 (__old_semctl): Don't use CHECK_SEMCTL.
60517 (__new_semctl): Likewise.
60518 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60519 and <bp-semctl.h>.
60520 (__old_semctl): Don't use CHECK_SEMCTL.
60521 (__new_semctl): Likewise.
60522 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60523 <bp-checks.h> and <bp-semctl.h>.
60524 (__old_semctl): Don't use CHECK_SEMCTL.
60525 (__new_semctl): Likewise.
60526 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60527 <bp-checks.h> and <bp-semctl.h>.
60528 (semctl): Don't use CHECK_SEMCTL.
60529
60530 [BZ #13550]
60531 * Makerules (elide-bp-thunks): Remove variable.
60532 (elide-routines.oS): Don't use $(elide-bp-thunks).
60533 (elide-routines.os): Likewise.
60534 (elide-routines.o): Likewise.
60535 (elide-routines.op): Likewise.
60536 (elide-routines.og): Likewise.
60537 (objects): Don't use $(bp-thunks).
60538 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60539 include.
60540 (common-generated): Do not add s-proto-bp.d.
60541 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60542 (int): Likewise.
60543 (typ): Likewise.
60544 Do not generate makefile rules for bounded-pointer thunks.
60545 * sysdeps/generic/bp-thunks.h: Remove file.
60546 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60547 * sysdeps/unix/s-proto-bp.S: Likewise.
60548
60549 [BZ #15062]
60550 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60551 parts of result separately when argument is not close to line from
60552 -i to i and one part of argument is small.
60553 * math/k_casinhf.c (__kernel_casinhf): Likewise.
60554 * math/k_casinhl.c (__kernel_casinhl): Likewise.
60555 * math/libm-test.inc (cacos_test): Add more tests.
60556 (casin_test): Likewise.
60557 (casinh_test): Likewise.
60558 * sysdeps/i386/fpu/libm-test-ulps: Update.
60559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60560
60561 2013-01-31 David S. Miller <davem@davemloft.net>
60562
60563 * po/de.po: Update from translation team.
60564
60565 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
60566
60567 * time/tzfile.c: Include stdint.h for SIZE_MAX.
60568
60569 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
60570
60571 * configure.in (_AC_PROG_CC_C89): New definition.
60572 * configure: Regenerate.
60573
60574 * configure.in (AC_PROG_CPP): New definition.
60575 * configure: Regenerate.
60576
60577 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60578
60579 * debug/tst-backtrace.h: New file.
60580 * debug/tst-backtrace2.c: Include tst-backtrace.h.
60581 (ret): Remove variable.
60582 (x): Likewise.
60583 (FAIL): Remove macro.
60584 (NO_INLINE): Likewise.
60585 (fn1): Use match function instead of strstr.
60586 * debug/tst-backtrace3.c: Include tst-backtrace.h.
60587 (ret): Remove variable.
60588 (x): Likewise.
60589 (FAIL): Remove macro.
60590 (NO_INLINE): Likewise.
60591 (fn): Use match function instead of strstr.
60592 * debug/tst-backtrace4.c: Include tst-backtrace.h.
60593 (ret): Remove variable.
60594 (x): Likewise.
60595 (FAIL): Remove macro.
60596 (NO_INLINE): Likewise.
60597 (handle_signal): Use match function instead of strstr.
60598 * debug/tst-backtrace5.c: Include tst-backtrace.h.
60599 (ret): Remove variable.
60600 (x): Likewise.
60601 (FAIL): Remove macro.
60602 (NO_INLINE): Likewise.
60603 (handle_signal): Use match function instead of strstr.
60604
60605 2013-01-23 Roland McGrath <roland@hack.frob.com>
60606
60607 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60608
60609 2013-01-23 David S. Miller <davem@davemloft.net>
60610
60611 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60612 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60613 argument of CAS if possible.
60614 * sysdeps/sparc/sparc64/bits/atomic.h
60615 (__arch_compare_and_exchange_val_32_acq): Likewise.
60616 (__arch_compare_and_exchange_val_64_acq): Likewise.
60617
60618 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
60619
60620 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60621 * sysdeps/posix/ulimit.c: ... this.
60622 Include <limits.h>.
60623 * sysdeps/unix/bsd/ulimit.c: Remove file.
60624
60625 2013-01-23 Adam Conrad <adconrad@0c3.net>
60626
60627 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60628 (LDFLAGS-tst-array5): Likewise.
60629
60630 2013-01-23 Joseph Myers <joseph@codesourcery.com>
60631
60632 [BZ #15036]
60633 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60634 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60635 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60636 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60637
60638 2013-01-21 David S. Miller <davem@davemloft.net>
60639
60640 * sysdeps/sparc/backtrace.c: New file.
60641 * sysdeps/sparc/sparc32/backtrace.h: New file.
60642 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60643 * sysdeps/sparc/sparc64/backtrace.h: New file.
60644 * sysdeps/sparc/sparc64/backtrace.c: Delete.
60645 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60646 -funwind-tables.
60647
60648 2013-01-21 Andreas Schwab <schwab@suse.de>
60649
60650 [BZ #15020]
60651 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60652 closed its stdout.
60653
60654 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
60655
60656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60657 "mpa2.h".
60658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60659
60660 2013-01-18 Joseph Myers <joseph@codesourcery.com>
60661 Mark Mitchell <mark@codesourcery.com>
60662 Tom de Vries <tom@codesourcery.com>
60663 Paul Pluzhnikov <ppluzhnikov@google.com>
60664
60665 * debug/tst-backtrace2.c: New file.
60666 * debug/tst-backtrace3.c: Likewise.
60667 * debug/tst-backtrace4.c: Likewise.
60668 * debug/tst-backtrace5.c: Likewise.
60669 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60670 (CFLAGS-tst-backtrace3.c): Likewise.
60671 (CFLAGS-tst-backtrace4.c): Likewise.
60672 (CFLAGS-tst-backtrace5.c): Likewise.
60673 (LDFLAGS-tst-backtrace2): Likewise.
60674 (LDFLAGS-tst-backtrace3): Likewise.
60675 (LDFLAGS-tst-backtrace4): Likewise.
60676 (LDFLAGS-tst-backtrace5): Likewise.
60677 (tests): Add new tests tst-backtrace2, tst-backtrace3,
60678 tst-backtrace4 and tst-backtrace5.
60679
60680 2013-01-18 Anton Blanchard <anton@samba.org>
60681 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
60682
60683 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60684 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60685 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60686 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60688 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60689 "+r" and remove output regs list as redundant. Add explicit inline
60690 asm to specify register of return val to work around compiler codegen
60691 bug. Remove (int) cast on return value. Add return type parameter to
60692 use in macro so that this macro does not truncate return value for
60693 64-bit values.
60694 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60695 pass to INTERNAL_VSYSCALL_NCS.
60696 (INLINE_VSYSCALL): Add 'long int' as return type to
60697 INTERNAL_VSYSCALL_NCS macro invocation.
60698 (INTERNAL_VSYSCALL): Add 'long int' as return type to
60699 INTERNAL_VSYSCALL_NCS macro invocation.
60700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60701
60702 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60703
60704 [BZ #14496]
60705 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60706 Fix application of SIMD FP exception mask.
60707
60708 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60709 mp_no from a power of two.
60710 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60711 __mpexp_twomm1. Use __pow_mp.
60712
60713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60714 multiplication.
60715
60716 2013-01-17 David S. Miller <davem@davemloft.net>
60717
60718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
60719
60720 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60721
60722 [BZ #15023]
60723 * include/complex.h: Condition contents on [!_COMPLEX_H].
60724 (__kernel_casinhf): New prototype.
60725 (__kernel_casinh): Likewise.
60726 (__kernel_casinhl): Likewise.
60727 * math/Makefile (libm_calls): Add k_casinh.
60728 * math/k_casinh.c: New file.
60729 * math/k_casinhf.c: Likewise.
60730 * math/k_casinhl.c: Likewise.
60731 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60732 finite nonzero arguments.
60733 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60734 finite nonzero arguments.
60735 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60736 finite nonzero arguments.
60737 * math/s_casinh.c: Do not include <float.h>.
60738 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60739 * math/s_casinhf.c: Do not include <float.h>.
60740 (__casinhf): Move code for finite nonzero arguments to
60741 k_casinhf.c.
60742 * math/s_casinhl.c: Do not include <float.h>.
60743 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60744 redefine.
60745 (__casinhl): Move code for finite nonzero arguments to
60746 k_casinhl.c.
60747 * math/libm-test.inc (cacos_test): Add more tests.
60748 * sysdeps/i386/fpu/libm-test-ulps: Update.
60749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60750
60751 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
60752
60753 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60754 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60755 [!HAVE_MREMAP]: Remove [defined linux] case.
60756 * malloc/arena.c: Do not include <malloc-sysdep.h>.
60757
60758 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
60759
60760 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60761
60762 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
60763
60764 * elf/elf.h (R_386_SIZE32): New relocation.
60765 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60766 R_386_SIZE32.
60767 (elf_machine_rela): Likewise.
60768 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60769 R_X86_64_SIZE64 and R_X86_64_SIZE32.
60770
60771 2013-01-17 Joseph Myers <joseph@codesourcery.com>
60772
60773 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60774 (FP_FAST_FMA): Do not define.
60775 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60776 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60777 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60778 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60779 !_SOFT_FLOAT]: Likewise.
60780 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60781 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60782 value.
60783 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60784 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60785 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60786 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60787 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60788 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60789 file.
60790
60791 2013-01-16 Andreas Schwab <schwab@suse.de>
60792
60793 [BZ #14327]
60794 * include/stdlib.h (__mktemp): Add declaration.
60795 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60796 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60797
60798 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
60799
60800 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60801 definitions.
60802 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60803 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60804 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60805 definitions here.
60806 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60807 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60808 definitions.
60809 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60810 and ONE.
60811 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60812 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60813 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60814 definitions.
60815 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60816 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60817 definitions.
60818 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60819
60820 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60821
60822 2013-01-15 David S. Miller <davem@davemloft.net>
60823
60824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60825 trunc{,f} to libm-sysdep_routes.
60826 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60828 file.
60829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60831 file.
60832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60833 file.
60834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60836 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60837 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60838 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60839 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60840 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60841 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60842
60843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60844 nearbyint{,f} to libm-sysdep_routes.
60845 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60847 New file.
60848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60849 file.
60850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60851 New file.
60852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60853 file.
60854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60856 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60857 file.
60858 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60859 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60860 file.
60861 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60862 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60863 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60864
60865 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60866 libc_feholdexcept and libc_fesetenv.
60867
60868 2013-01-15 Mike Frysinger <vapier@gentoo.org>
60869
60870 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60871
60872 2013-01-14 David S. Miller <davem@davemloft.net>
60873
60874 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60875 (SPARC_ASM_VIS2_IFUNC): Likewise.
60876 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60878 use of 'siam' instruction.
60879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60880 Likewise.
60881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60882 Likewise.
60883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60884 Likewise.
60885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60888 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60890 file.
60891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60892 file.
60893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60894 file.
60895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60896 file.
60897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60902 new VIS2 routines.
60903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60906 Likewise.
60907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60912 routines to libm-sysdep_routines.
60913 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60914
60915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60916 fdim/fdimf to libm-sysdep_routines.
60917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
60918 file.
60919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
60920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
60921 file.
60922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
60923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
60924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
60925 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
60926 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
60927 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
60928 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
60929
60930 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60931
60932 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
60933 to optimize copies.
60934
60935 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
60936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60937 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60938
60939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
60940 local variable MPTWO.
60941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60942 Likewise.
60943
60944 2013-01-13 Mike Frysinger <vapier@gentoo.org>
60945
60946 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
60947 GLOB_NOESCAPE.
60948
60949 2013-01-13 Mike Frysinger <vapier@gentoo.org>
60950
60951 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
60952
60953 2013-01-13 Mike Frysinger <vapier@gentoo.org>
60954
60955 * manual/pattern.texi (glob_t): Document gl_flags.
60956 (glob64_t): Likewise.
60957
60958 2013-01-11 David S. Miller <davem@davemloft.net>
60959
60960 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
60961 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
60962 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
60963 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
60964 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
60965 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
60966 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
60967 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
60968 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
60969 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
60970 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
60971 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
60972 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
60973
60974 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
60975 sparc V9 rather than using V8 code.
60976 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
60977 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
60978
60979 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
60980 Move to...
60981 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
60982 Here.
60983
60984 2013-01-11 Roland McGrath <roland@hack.frob.com>
60985
60986 [BZ #14941]
60987 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
60988 not in the main loop.
60989 * configure: Regenerated.
60990
60991 2013-01-11 Joseph Myers <joseph@codesourcery.com>
60992
60993 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
60994 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
60995 to just #else.
60996 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
60997 [!__GLIBC_HAVE_LONG_LONG] case.
60998 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
60999 condition to just #else.
61000 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61001 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61002 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61003 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61004 unconditional.
61005 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61006 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61007 #elif condition to just #else.
61008 * sysdeps/unix/sysv/linux/sys/sysmacros.h
61009 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61010 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61011 #elif condition to just #else.
61012
61013 2013-01-11 Steve Ellcey <sellcey@mips.com>
61014
61015 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61016 (EF_MIPS_ARCH_64): Fix value.
61017 (EF_MIPS_ARCH_32R2): New.
61018 (EF_MIPS_ARCH_64R2): New.
61019
61020 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
61021
61022 * Makeconfig (+link-pie-before-libc): New.
61023 (+link-pie-after-libc): Likewise.
61024 (+link-pie-tests): Likewise.
61025 (+link-pie): Rewritten.
61026 (link-before-libc): Remove $(config-LDFLAGS).
61027 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61028 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61029 (config-LDFLAGS): Renamed to ...
61030 (rtld-LDFLAGS): This.
61031 (rtld-tests-LDFLAGS): New macro.
61032 (link-libc-rpath-link): Likewise.
61033 (link-libc-tests-rpath-link): Likewise.
61034 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61035 (link-libc): Prepand $(link-libc-rpath-link).
61036 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61037 (test-program-prefix): New macro.
61038 (test-via-rtld-prefix): Likewise.
61039 (test-program-cmd): Likewise.
61040 (host-test-program-cmd): Likewise.
61041 * Makefile ($(common-objpfx)testrun.sh): Replace
61042 $(run-program-prefix) with $(test-program-prefix).
61043 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61044 $(rtld-LDFLAGS).
61045 ($(common-objpfx)shlib.lds): Likewise.
61046 (build-module-helper): Likewise.
61047 ($(common-objpfx)format.lds): Likewise.
61048 * Rules (binaries-pie-tests): New.
61049 (binaries-pie-notests): Likewise.
61050 (binaries-pie): Rewritten.
61051 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61052 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61053 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61054 (make-test-out): Replace $(host-built-program-cmd) with
61055 $(host-test-program-cmd).
61056 * config.make.in (build-hardcoded-path-in-tests): New variable.
61057 * configure.in (--enable-hardcoded-path-in-tests): New configure
61058 option.
61059 (hardcoded_path_in_tests): New AC_SUBST.
61060 * configure: Regenerated.
61061 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61062 $(built-program-cmd) with $(test-program-cmd).
61063 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61064 (test_program_cmd): This.
61065 * elf/Makefile ($(objpfx)order.out): Run test with
61066 $(test-program-prefix).
61067 ($(objpfx)order2.out): Likewise.
61068 ($(objpfx)tst-initorder.out): Likewise.
61069 ($(objpfx)tst-initorder2.out): Likewise.
61070 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61071 $(test-program-cmd).
61072 ($(objpfx)tst-array1-static.out): Likewise.
61073 ($(objpfx)tst-array2.out): Likewise.
61074 ($(objpfx)tst-array3.out): Likewise.
61075 ($(objpfx)tst-array4.out): Likewise.
61076 ($(objpfx)tst-array5.out): Likewise.
61077 ($(objpfx)tst-array5-static.out): Likewise.
61078 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61079 $(test-program-cmd).
61080 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61081 $(run-program-prefix) with $(test-program-prefix).
61082 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61083 (test_program_prefix): This.
61084 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61085 $(run-program-prefix) with $(test-program-prefix).
61086 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61087 (test_program_prefix): This.
61088 * iconvdata/tst-tables.sh: Likewise.
61089 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61090 $(run-program-prefix) with $(test-program-prefix).
61091 ($(objpfx)tst-translit.out): Likewise.
61092 ($(objpfx)tst-gettext2.out): Likewise.
61093 ($(objpfx)tst-gettext4.out): Likewise.
61094 ($(objpfx)tst-gettext6.out): Likewise.
61095 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61096 (test_program_prefix): This.
61097 * intl/tst-gettext2.sh: Likewise.
61098 * intl/tst-gettext4.sh Likewise.
61099 * intl/tst-gettext6.sh: Likewise.
61100 * intl/tst-translit.sh: Likewise.
61101 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61102 with $(test-program-cmd).
61103 * libio/Makefile ($(objpfx)test-freopen.out): Replace
61104 $(run-program-prefix) with $(test-program-prefix).
61105 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61106 (test_program_prefix): This.
61107 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61108 $(run-program-prefix) with $(test-program-prefix).
61109 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61110 (test_program_prefix): This.
61111 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61112 * posix/Makefile ($(objpfx)globtest.out): Replace
61113 $(run-via-rtld-prefix) and $(test-wrapper) with
61114 $(test-program-prefix) and $(test-via-rtld-prefix).
61115 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61116 $(test-program-prefix).
61117 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61118 $(host-test-program-cmd).
61119 (tst-spawn-ARGS): Likewise.
61120 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61121 $(test-program-prefix).
61122 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61123 (test_via_rtld_prefix): This.
61124 (test_wrapper): Renamed to ...
61125 (test_program_prefix): This.
61126 (run_program_prefix): Replaced by test_program_prefix.
61127 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61128 (test_program_prefix): This.
61129 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61130 with $(host-test-program-cmd).
61131 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61132 $(run-program-prefix) with $(test-program-prefix).
61133 ($(objpfx)tst-printf.out): Likewise.
61134 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61135 $(test-program-cmd).
61136 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61137 (test_program_prefix): This.
61138 * stdio-common/tst-unbputc.sh: Likewise.
61139 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61140 $(run-program-prefix) with $(test-program-prefix).
61141 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61142 (test_program_prefix): This.
61143 * string/Makefile ($(objpfx)tst-svc.out): Replace
61144 $(built-program-cmd) with $(test-program-cmd).
61145
61146 2013-01-11 Andreas Jaeger <aj@suse.de>
61147
61148 [BZ #15003]
61149 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61150 value. Sync with Linux 3.7.
61151
61152 2013-01-10 David S. Miller <davem@davemloft.net>
61153
61154 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61155 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61156 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61157
61158 2013-01-10 Roland McGrath <roland@hack.frob.com>
61159
61160 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61161 never set.
61162 * configure: Regenerated.
61163
61164 2013-01-10 David S. Miller <davem@davemloft.net>
61165
61166 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61167 sparc V9 rather than using V8 code.
61168 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61169 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61170
61171 2013-01-10 Roland McGrath <roland@hack.frob.com>
61172
61173 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61174 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61175 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61176 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61177 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61178 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61179 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61180 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61181 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61182 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61183 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61184 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61185 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61186 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61187 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61188 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61189 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61190 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61191 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61192 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61193 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61194 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61195 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61196 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61197 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61198 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61199 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61200
61201 2013-01-10 David S. Miller <davem@davemloft.net>
61202
61203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61204
61205 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61206
61207 * posix/Makefile (tests-static): New variable.
61208 (tests): Add $(tests-static).
61209 (tst-exec-static-ARGS): New variable.
61210 (tst-spawn-static-ARGS): Likewise.
61211 * posix/tst-exec-static.c: New file.
61212 * posix/tst-spawn-static.c: Likewise.
61213 * posix/tst-exec.c: Support run directly.
61214 * posix/tst-spawn.c: Likewise.
61215
61216 2013-01-10 Joseph Myers <joseph@codesourcery.com>
61217
61218 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61219 long.
61220 * math/bits/mathcalls.h (llrint): Likewise.
61221 (llround): Likewise.
61222 * stdlib/stdlib.h (struct drand48_data): Likewise.
61223 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61224 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61225 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61226 Likewise.
61227 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61228 Likewise.
61229 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61230 (elf_greg_t): Likewise.
61231 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61232 (__jmp_buf): Likewise.
61233 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61234 definitions.
61235 (llrint): Likewise, for all definitions.
61236 (llrintl): Likewise.
61237
61238 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61239 Remove [__GNUC__] condition.
61240 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61241 condition to just [__USE_ISOC99].
61242 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61243
61244 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
61245
61246 [BZ #14200]
61247 * sysdeps/unix/sysv/linux/x86/bits/environments.h
61248 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61249 defined.
61250 (_POSIX_V6_ILP32_OFF32): Likewise.
61251 (_XBS5_ILP32_OFF32): Likewise.
61252 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61253 (__ILP32_OFFBIG_LDFLAGS): Likewise.
61254
61255 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
61256
61257 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61258
61259 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61260 doubles __mpexp_twomm1. Adjust usage.
61261 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61262 Remove.
61263
61264 2013-01-10 Andreas Schwab <schwab@suse.de>
61265
61266 [BZ #14964]
61267 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61268 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61269
61270 2013-01-09 David S. Miller <davem@davemloft.net>
61271
61272 [BZ #15003]
61273 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61274 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61275 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61276 (TCP_FASTOPEN): Define.
61277 (tcp_repair_opt): New structure.
61278 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61279 enum values.
61280 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61281 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61282 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61283 (tcp_cookie_transactions): New structure.
61284
61285 2013-01-09 Anton Blanchard <anton@samba.org>
61286
61287 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61288 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61289 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61290 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61291
61292 2013-01-09 Joseph Myers <joseph@codesourcery.com>
61293
61294 * include/features.h (__USE_ANSI): Remove.
61295
61296 2013-01-09 Roland McGrath <roland@hack.frob.com>
61297
61298 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61299
61300 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61301
61302 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
61303
61304 * sysdeps/s390/fpu/libm-test-ulps: Update.
61305
61306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61307
61308 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61309 (__acr): Likewise.
61310 (__cpy): Likewise.
61311 (norm): Likewise.
61312 (denorm): Likewise.
61313 (__mp_dbl): Likewise.
61314 (__dbl_mp): Likewise.
61315 (add_magnitudes): Likewise.
61316 (sub_magnitudes): Likewise.
61317 (__add): Likewise.
61318 (__sub): Likewise.
61319 (__mul): Likewise.
61320 (__inv): Likewise.
61321 (__dvd): Likewise.
61322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61323 (__acr): Likewise.
61324 (__cpy): Likewise.
61325 (norm): Likewise.
61326 (denorm): Likewise.
61327 (__mp_dbl): Likewise.
61328 (__dbl_mp): Likewise.
61329 (add_magnitudes): Likewise.
61330 (sub_magnitudes): Likewise.
61331 (__add): Likewise.
61332 (__sub): Likewise.
61333 (__mul): Likewise.
61334 (__inv): Likewise.
61335 (__dvd): Likewise.
61336 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61337 (__acr): Likewise.
61338 (__cpy): Likewise.
61339 (norm): Likewise.
61340 (denorm): Likewise.
61341 (__mp_dbl): Likewise.
61342 (__dbl_mp): Likewise.
61343 (add_magnitudes): Likewise.
61344 (sub_magnitudes): Likewise.
61345 (__add): Likewise.
61346 (__sub): Likewise.
61347 (__mul): Likewise.
61348 (__inv): Likewise.
61349 (__dvd): Likewise.
61350
61351 2013-01-08 Joseph Myers <joseph@codesourcery.com>
61352
61353 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61354 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61355 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61356 2 && __USE_EXTERN_INLINES]: Likewise.
61357
61358 2013-01-08 Andreas Jaeger <aj@suse.de>
61359
61360 [BZ# 14985]
61361 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61362 Remove.
61363 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61364 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61365
61366 2013-01-07 Anton Blanchard <anton@samba.org>
61367
61368 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61369 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61370 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61371 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61372 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61373 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61374 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61375 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61377 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61378 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61379 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61380 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61381 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61382 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61383 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61384 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61385 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61386 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61387 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61388 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61389 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61390 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61391 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61392 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61393 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61394 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61395 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61396 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61397 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61398 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61400 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61401 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61402 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61403 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61404 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61405 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61406 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61407 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61408 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61409 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61410 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61411
61412 2013-01-07 Joseph Myers <joseph@codesourcery.com>
61413
61414 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61415 (__MALLOC_PMT): Likewise.
61416 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61417 [__GNUC__], only on [_LIBC].
61418 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61419 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61420 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61421 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61422 forward declaration.
61423 (realloc_hook_ini): Likewise.
61424 (memalign_hook_ini): Likewise.
61425 (__libc_memalign): Do not use __MALLOC_PMT in variable
61426 declaration.
61427 (__libc_valloc): Likewise.
61428 (__libc_pvalloc): Likewise.
61429 (__libc_calloc): Likewise.
61430 (__posix_memalign): Likewise.
61431
61432 [BZ #14996]
61433 * math/s_casinh.c: Include <float.h>.
61434 (__casinh): Do not do computation with squaring and square root
61435 for large arguments.
61436 * math/s_casinhf.c: Include <float.h>.
61437 (__casinhf): Do not do computation with squaring and square root
61438 for large arguments.
61439 * math/s_casinhl.c: Include <float.h>.
61440 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61441 (__casinhl): Do not do computation with squaring and square root
61442 for large arguments.
61443 * math/libm-test.inc (casin_test): Add more tests.
61444 (casinh_test): Likewise.
61445 * sysdeps/i386/fpu/libm-test-ulps: Update.
61446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61447
61448 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
61449
61450 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61451 (__x86_64_raw_data_cache_size): Likewise.
61452 (__x86_64_data_cache_size_half): Likewise.
61453 (__x86_64_raw_data_cache_size_half): Likewise.
61454 (__x86_64_shared_cache_size): Likewise.
61455 (__x86_64_raw_shared_cache_size): Likewise.
61456 (__x86_64_shared_cache_size_half): Likewise.
61457 (__x86_64_raw_shared_cache_size_half): Likewise.
61458 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61459 to ...
61460 (__x86_data_cache_size): This.
61461 (__x86_64_raw_data_cache_size): Renamed to ...
61462 (__x86_raw_data_cache_size): This.
61463 (__x86_64_data_cache_size_half): Renamed to ...
61464 (__x86_data_cache_size_half): This.
61465 (__x86_64_raw_data_cache_size_half): Renamed to ...
61466 (__x86_raw_data_cache_size_half): This.
61467 (__x86_64_shared_cache_size): Renamed to ...
61468 (__x86_shared_cache_size): This.
61469 (__x86_64_raw_shared_cache_size): Renamed to ...
61470 (__x86_raw_shared_cache_size): This.
61471 (__x86_64_shared_cache_size_half): Renamed to ...
61472 (__x86_shared_cache_size_half): This.
61473 (__x86_64_raw_shared_cache_size_half): Renamed to ...
61474 (__x86_raw_shared_cache_size_half): This.
61475 * sysdeps/x86_64/memcpy.S: Updated.
61476 * sysdeps/x86_64/memset.S: Likewise.
61477 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61478 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61480
61481 2013-01-04 David S. Miller <davem@davemloft.net>
61482
61483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61484
61485 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
61486
61487 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61488 1 to avoid redefinition warning.
61489 (__USE_GNU): Don't define.
61490 (init_signaling_nan): Protoize.
61491
61492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61493
61494 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61495
61496 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61498 (__cpymn): Likewise.
61499 (norm): Remove commented code.
61500 (denorm): Likewise.
61501 (__mp_dbl): Likewise.
61502 (__inv): Likewise.
61503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61504 (__cpymn): Likewise.
61505 (norm): Remove commented code.
61506 (denorm): Likewise.
61507 (__mp_dbl): Likewise.
61508 (__inv): Likewise.
61509
61510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61511 mp_no value for 1.0 and 2.0.
61512 (norm): Use RADIXI instead of radixi.d.
61513 (denorm): Likewise.
61514 (__mul): Use 0.0 instead of zero.d.
61515 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61516 mp_no value for 1.0 and 2.0.
61517 (norm): Use RADIXI instead of radixi.d.
61518 (denorm): Likewise.
61519 (__mul): Use 0.0 instead of zero.d.
61520
61521 2013-01-04 Joseph Myers <joseph@codesourcery.com>
61522
61523 [BZ #14994]
61524 * math/s_casinh.c (__casinh): Reduce finite argument to first
61525 quadrant then set signs of results at the end.
61526 * math/s_casinhf.c (__casinhf): Likewise.
61527 * math/s_casinhl.c (__casinhl): Likewise.
61528 * math/libm-test.inc (casin_test): Add more tests.
61529 (casinh_test): Likewise.
61530 * sysdeps/i386/fpu/libm-test-ulps: Update.
61531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61532
61533 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
61534
61535 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61536
61537 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61538
61539 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61540 declarations.
61541 (denorm): Likewise.
61542 (__mp_dbl): Likewise.
61543 (__inv): Likewise.
61544
61545 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61546 and adjust the header comment.
61547
61548 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61549 variable name from declaration.
61550
61551 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
61552
61553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61554 Initialize COMMON_CPUID_INDEX_7 element.
61555 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61556 (CPUID_RTM): Likewise.
61557 (HAS_RTM): Likewise.
61558 (COMMON_CPUID_INDEX_7): New enum.
61559
61560 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
61561
61562 [BZ #14981]
61563 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61564 size is zero, record memory as freed.
61565
61566 2013-01-03 Andreas Jaeger <aj@suse.de>
61567
61568 * po/ia.po: Add new Interlingua translation.
61569
61570 2012-01-03 Allan McRae <allan@archlinux.org>
61571
61572 * locale/programs/localedef.c: Fix description of '--posix' flag.
61573
61574 2013-01-02 Joseph Myers <joseph@codesourcery.com>
61575
61576 * NEWS: Update dates in second copyright notice.
61577 * README: Update copyright dates in example.
61578 * manual/libc.texinfo: Update copyright dates.
61579 * scripts/test-installation.pl: Update copyright date in --version
61580 output.
61581
61582 * hurd/ctty-input.c: Fix copyright notice formatting.
61583 * hurd/ctty-output.c: Likewise.
61584 * hurd/dtable.c: Likewise.
61585 * hurd/hurd-raise.c: Likewise.
61586 * hurd/hurdprio.c: Likewise.
61587 * hurd/msgportdemux.c: Likewise.
61588 * misc/sys/file.h: Likewise.
61589 * misc/sys/ioctl.h: Likewise.
61590 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61591 * sysdeps/mach/hurd/chdir.c: Likewise.
61592 * sysdeps/mach/hurd/fchdir.c: Likewise.
61593 * sysdeps/mach/hurd/rename.c: Likewise.
61594 * sysdeps/mach/hurd/rmdir.c: Likewise.
61595 * sysdeps/mach/hurd/seekdir.c: Likewise.
61596 * sysdeps/mach/hurd/setsid.c: Likewise.
61597 * sysdeps/posix/wait3.c: Likewise.
61598
61599 * All files with FSF copyright notices: Update copyright dates
61600 using scripts/update-copyrights.
61601 * intl/plural.c: Regenerated.
61602 * locale/programs/charmap-kw.h: Likewise.
61603 * locale/programs/locfile-kw.h: Likewise.
61604
61605 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
61606
61607 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61608 four values.
61609
61610 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61611 calculation loop and add branch prediction.
61612
61613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61614 check access beyond bounds of m1np.
61615
61616 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61617 MPTWO.
61618 (__inv): Remove local variable MPTWO to use the global
61619 constant.
61620 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61621 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61622 variable MPTWO.
61623 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61624 MP3HALFS static const.
61625
61626 2013-01-01 David S. Miller <davem@davemloft.net>
61627
61628 * po/ca.po: Update from translation team.
61629
61630 2013-01-01 Joseph Myers <joseph@codesourcery.com>
61631
61632 * scripts/update-copyrights: New file.
61633 * Makeconfig: Reformat copyright notice.
61634 * ctype/ctype.h: Likewise.
61635 * debug/swprintf_chk.c: Likewise.
61636 * elf/dl-cache.c: Likewise.
61637 * elf/dl-debug.c: Likewise.
61638 * elf/dl-object.c: Likewise.
61639 * grp/initgroups.c: Likewise.
61640 * hurd/Makefile: Likewise.
61641 * hurd/hurd/signal.h: Likewise.
61642 * hurd/hurdfault.c: Likewise.
61643 * hurd/hurdioctl.c: Likewise.
61644 * hurd/hurdlookup.c: Likewise.
61645 * hurd/intr-msg.c: Likewise.
61646 * iconv/gconv_open.c: Likewise.
61647 * libio/swprintf.c: Likewise.
61648 * locale/lc-ctype.c: Likewise.
61649 * locale/nl_langinfo.c: Likewise.
61650 * mach/Machrules: Likewise.
61651 * mach/Makefile: Likewise.
61652 * malloc/obstack.h: Likewise.
61653 * manual/Makefile: Likewise.
61654 * manual/tsort.awk: Likewise.
61655 * misc/bits/stab.def: Likewise.
61656 * nis/nis_print_group_entry.c: Likewise.
61657 * nis/nis_table.c: Likewise.
61658 * nis/nss_compat/compat-pwd.c: Likewise.
61659 * nis/nss_compat/compat-spwd.c: Likewise.
61660 * po/Makefile: Likewise.
61661 * posix/fnmatch.c: Likewise.
61662 * posix/regex.h: Likewise.
61663 * resolv/Makefile: Likewise.
61664 * resolv/nss_dns/dns-network.c: Likewise.
61665 * resolv/res_hconf.c: Likewise.
61666 * scripts/gen-sorted.awk: Likewise.
61667 * soft-fp/soft-fp.h: Likewise.
61668 * stdio-common/printf.h: Likewise.
61669 * stdlib/monetary.h: Likewise.
61670 * stdlib/random.c: Likewise.
61671 * stdlib/random_r.c: Likewise.
61672 * sysdeps/generic/Makefile: Likewise.
61673 * sysdeps/gnu/Makefile: Likewise.
61674 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61675 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61676 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61677 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61681 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61682 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61683 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61684 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61685 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61686 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61687 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61688 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61689 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61690 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61691 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61692 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61693 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61694 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61695 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61696 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61697 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61698 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61699 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61700 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61701 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61702 * sysdeps/mach/hurd/errnos.awk: Likewise.
61703 * sysdeps/mach/hurd/fork.c: Likewise.
61704 * sysdeps/mach/hurd/getcwd.c: Likewise.
61705 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61706 * sysdeps/mach/hurd/mmap.c: Likewise.
61707 * sysdeps/mach/hurd/utimes.c: Likewise.
61708 * sysdeps/mach/hurd/xmknod.c: Likewise.
61709 * sysdeps/posix/profil.c: Likewise.
61710 * sysdeps/posix/readdir_r.c: Likewise.
61711 * sysdeps/powerpc/bits/mathdef.h: Likewise.
61712 * sysdeps/powerpc/bits/setjmp.h: Likewise.
61713 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61714 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61716 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61717 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61718 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61720 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61721 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61722 * sysdeps/pthread/lio_listio.c: Likewise.
61723 * sysdeps/sparc/dl-procinfo.h: Likewise.
61724 * sysdeps/unix/i386/sysdep.S: Likewise.
61725 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61726 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61727 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61728 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61730 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61731 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61732 * sysdeps/unix/sysv/linux/speed.c: Likewise.
61733 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61734 * sysdeps/wordsize-32/divdi3.c: Likewise.
61735 * time/sys/time.h: Likewise.
61736 * wcsmbs/Makefile: Likewise.
61737
61738 2013-01-01 David S. Miller <davem@davemloft.net>
61739
61740 * po/fr.po: Update from translation team.
61741
61742 * catgets/gencat.c: Update copyright year.
61743 * csu/version.c: Likewise.
61744 * debug/catchsegv.sh: Likewise.
61745 * debug/pcprofiledump.c: Likewise.
61746 * debug/xtrace.sh: Likewise.
61747 * elf/ldconfig.c: Likewise.
61748 * elf/ldd.bash.in: Likewise.
61749 * elf/pldd.c: Likewise.
61750 * elf/sotruss.ksh: Likewise.
61751 * elf/sprof.c: Likewise.
61752 * iconv/iconv_prog.c: Likewise.
61753 * iconv/iconvconfig.c: Likewise.
61754 * locale/programs/locale.c: Likewise.
61755 * locale/programs/localedef.c: Likewise.
61756 * login/programs/pt_chown.c: Likewise.
61757 * malloc/memusage.sh: Likewise.
61758 * malloc/memusagestat.c: Likewise.
61759 * malloc/mtrace.pl: Likewise.
61760 * nscd/nscd.c: Likewise.
61761 * nss/getent.c: Likewise.
61762 * nss/makedb.c: Likewise.
61763 * posix/getconf.c: Likewise.
61764
61765 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
61766
61767 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61768 numbers.
61769
61770 2012-12-30 Mike Frysinger <vapier@gentoo.org>
61771
61772 * math/bits/mathcalls.h (modf): Use __nonnull.
61773
61774 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
61775
61776 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61777 (split): Use macro CN instead of the bare value.
61778 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61779 could be used.
61780 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61781 instead of the bare value.
61782 (power1): Likewise.
61783
61784 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61785
61786 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61787 __ATAN_TWOM.
61788 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61789
61790 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61791 their values.
61792 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61793 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61794 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61795 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61796
61797 2012-12-28 Andreas Jaeger <aj@suse.de>
61798
61799 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
61800 values are from Linux 3.7.
61801
61802 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61803 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
61804
61805 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
61806
61807 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61808 TRUE case.
61809
61810 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61811 (norm): Likewise.
61812 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61813 variables with preprocessor constants.
61814 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61815 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61816 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61817
61818 2012-12-27 Bruno Haible <bruno@clisp.org>
61819
61820 [BZ #14317]
61821 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61822 only if needed.
61823
61824 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
61825
61826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61827 and use variable directly.
61828 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61829
61830 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61831 MPONE.
61832 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61833 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61834 variable MPONE.
61835 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61836 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61837 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61838 include directive. Remove local variable MPONE.
61839 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61840 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61841 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61842
61843 2012-12-25 David S. Miller <davem@davemloft.net>
61844
61845 * version.h (RELEASE): Set to "development".
61846 (VERSION): Set to "2.17.90".
61847 * NEWS: Add 2.18 section.
61848
61849 2012-12-21 David S. Miller <davem@davemloft.net>
61850
61851 * po/hr.po: Update from translation team.
61852
61853 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61854
61855 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61856
61857 2012-12-19 Steve Ellcey <sellcey@mips.com>
61858
61859 * NEWS: Mention new memcpy for MIPS.
61860
61861 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
61862
61863 * manual/contrib.texi (Contributors): Spelling correction.
61864
61865 2012-12-15 David S. Miller <davem@davemloft.net>
61866
61867 * po/ru.po: Update from translation team.
61868
61869 2012-12-13 David S. Miller <davem@davemloft.net>
61870
61871 * NEWS: Mention IFUNC testsuite enhancements.
61872
61873 * po/pl.po: Update from translation team.
61874 * po/bg.po: Likewise.
61875
61876 * manual/contrib.texi (Contributors): Update entries for Hongjiu
61877 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
61878
61879 2012-12-11 David S. Miller <davem@davemloft.net>
61880
61881 * po/sv.po: Update from translation team.
61882
61883 * po/vi.po: Update from translation team.
61884
61885 * po/cs.po: Update from translation team.
61886
61887 * po/de.po: Update from translation team.
61888 * po/eo.po: Likewise.
61889 * po/nl.po: Likewise.
61890
61891 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
61892
61893 [BZ #14246]
61894 * manual/argp.texi (Argp Helper Functions): Move node to follow
61895 Argp Parsing State.
61896
61897 [BZ #14872]
61898 * manual/conf.texi (Limits on File System Capacity): Mention if
61899 terminating null is included in the max size.
61900
61901 2012-12-10 Andreas Jaeger <aj@suse.de>
61902
61903 * po/cs.po: Update from translation team.
61904
61905 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
61906
61907 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61908 void pointer and cast to uintptr_t.
61909 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61910 path.
61911 * sysdeps/s390/s390-64/memcpy.S: Likewise.
61912 * sysdeps/s390/s390-64/memset.S: Likewise.
61913
61914 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
61915
61916 [BZ #14833]
61917 * menual/message.texi (Message Translation): Fix typos.
61918 (Helper programs for gettext): Likewise.
61919
61920 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
61921
61922 [BZ #14898]
61923 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
61924 Change to -1.
61925
61926 2012-12-07 David S. Miller <davem@davemloft.net>
61927
61928 * po/libc.pot: Update.
61929
61930 2012-12-07 Richard Henderson <rth@redhat.com>
61931
61932 [BZ #10114]
61933 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
61934 normal/normal case to before the switch.
61935 (_FP_DIV): Likewise.
61936
61937 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
61938 Mike Frysinger <vapier@gentoo.org>
61939
61940 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
61941 check for __NR_fadvise64_64.
61942
61943 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
61944
61945 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
61946 0, not just to plain "0" as a statement.
61947 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
61948 with cw.
61949
61950 2012-12-06 Joseph Myers <joseph@codesourcery.com>
61951
61952 * NEWS: Use sourceware.org in Bugzilla URL.
61953
61954 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
61955
61956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
61957 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
61958
61959 * stdio-common/tst-put-error.c (do_test): Add newline to the
61960 padded test to ensure flush.
61961
61962 2012-12-05 Jeff Law <law@redhat.com>
61963
61964 * sunrpc/etc.rpc (fedfs_admin): Add entry.
61965
61966 2012-12-05 Joseph Myers <joseph@codesourcery.com>
61967
61968 * README: Don't refer to ports add-on as distributed separately.
61969 Mention AArch64 in list of systems supported in the ports add-on.
61970
61971 * LICENSES: Add more non-FSF copyright and license notices.
61972
61973 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
61974 ((unused)).
61975
61976 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
61977
61978 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
61979 10000 as width of padded output.
61980
61981 2012-12-04 Joseph Myers <joseph@codesourcery.com>
61982
61983 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
61984
61985 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
61986 variable LX with __attribute__ ((unused)).
61987 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
61988 Likewise.
61989 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
61990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
61991 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
61992 with __attribute__ ((unused)).
61993
61994 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
61995
61996 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
61997
61998 2012-12-04 Joseph Myers <joseph@codesourcery.com>
61999
62000 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62001 (CFLAGS-nldbl-acos.c): New variable.
62002 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62003 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62004 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62005 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62006 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62007 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62008 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62009 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62010 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62011 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62012 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62013 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62014 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62015 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62016 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62017 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62018 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62019 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62020 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62021 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62022 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62023 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62024 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62025 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62026 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62027 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62028 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62029 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62030 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62031 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62032 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62033 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62034 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62035 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62036 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62037 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62038 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62039 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62040 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62041 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62042 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62043 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62044 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62045 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62046 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62047 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62048 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62049 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62050 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62051 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62052 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62053 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62054 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62055 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62056 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62057 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62058 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62059 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62060 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62061 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62062 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62063 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62064 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62065 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62066 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62067 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62068 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62069 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62070 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62071 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62072 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62073 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62074 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62075 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62076 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62077 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62078 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62079 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62080 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62081 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62082 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62083 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62084 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62085 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62086 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62087 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62088 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62089 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62090 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62091 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62092 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62093 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62094 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62095 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62096 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62097 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62098 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62099
62100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62101 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62102
62103 [BZ #14914]
62104 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62105 whole low double instead of just low 47 bits when splitting values
62106 into two parts.
62107
62108 2012-12-03 Allan McRae <allan@archlinux.org>
62109
62110 * manual/stdio.texi (Predefined Printf Handlers): Remove
62111 @hsep and @vsep usage.
62112
62113 2012-12-03 Mike Frysinger <vapier@gentoo.org>
62114
62115 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62116 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62117
62118 2012-12-03 Jeff Law <law@redhat.com>
62119
62120 * time/sys/time.h (settimeofday): Do not mark TV argument
62121 as __nonnull.
62122
62123 2012-12-01 Mike Frysinger <vapier@gentoo.org>
62124
62125 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62126 when currently writing and seek to current position when not.
62127 * libio/Makefile (tests): Remove bug-fclose1.
62128 * libio/bug-fclose1.c: Delete.
62129
62130 2012-12-01 Joseph Myers <joseph@codesourcery.com>
62131
62132 * manual/arith.texi (feenableexcept): Fix typo.
62133 (fedisableexcept): Likewise.
62134
62135 2012-11-30 Roland McGrath <roland@hack.frob.com>
62136
62137 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62138 second, differently-typed declaration, rather than a cast.
62139
62140 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
62141
62142 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62143 * include/rpc/svc.h: ... here.
62144
62145 2012-11-30 Aurelien Jarno <aurel32@debian.org>
62146
62147 [BZ #13013]
62148 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62149 depending n and resplen2 to catch cases where answer
62150 equals answerp2.
62151
62152 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
62153
62154 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62155 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62156
62157 2012-11-29 Mike Frysinger <vapier@gentoo.org>
62158
62159 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62160
62161 2012-11-29 Roland McGrath <roland@hack.frob.com>
62162
62163 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62164
62165 2012-11-28 Jeff Law <law@redhat.com>
62166
62167 [BZ #13761]
62168 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62169 dataset_temporary. Track alloca usage into alloca_used.
62170 If dataset is large allocate and release it via malloc/free.
62171
62172 2012-06-04 Florian Weimer <fweimer@redhat.com>
62173
62174 [BZ #14197]
62175 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62176
62177 2012-11-28 David S. Miller <davem@davemloft.net>
62178
62179 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62180
62181 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62182
62183 [BZ #14803]
62184 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62185 of pi/2 rounded to nearest to 64 bits.
62186 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62187 nearest to 64 bits.
62188 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62189 bits.
62190
62191 2012-11-28 Jeff Law <law@redhat.com>
62192 Martin Osvald <mosvald@redhat.com>
62193
62194 [BZ #14889]
62195 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62196 * sunrpc/svc.c: Include time.h.
62197 (__svc_accept_failed): New function.
62198 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62199 any reason other than EINTR, call __svc_accept_failed.
62200 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62201 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62202
62203 2012-11-28 Andreas Schwab <schwab@suse.de>
62204
62205 * scripts/abilist.awk: Also handle indirect functions in .opd
62206 section.
62207
62208 2012-11-28 Joseph Myers <joseph@codesourcery.com>
62209
62210 [BZ #13881]
62211 * sysdeps/x86/fpu/powl_helper.c: New file.
62212 * sysdeps/x86/fpu/Makefile: Likewise.
62213 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62214 (p3): New object.
62215 (__ieee754_powl): Use __powl_helper for finite arguments except
62216 integer exponents below 8.
62217 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62218 (p3): New object.
62219 (__ieee754_powl): Use __powl_helper for finite arguments except
62220 integer exponents below 8.
62221 * math/libm-test.inc (pow_test): Add more tests and enable some
62222 previously disabled tests.
62223 * sysdeps/i386/fpu/libm-test-ulps: Update.
62224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62225
62226 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62227 Carlos O'Donell <carlos_odonell@mentor.com>
62228
62229 * nss/makedb.c (is_prime): Assert that input is odd and greater
62230 than 4. Note that fact in a comment too.
62231 (next_prime): Add 4 to input.
62232
62233 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62234
62235 [BZ #11741]
62236 * libio/Makefile (tests): Add test case tst-fwrite-error.
62237 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62238 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62239 * libio/tst-fwrite-error.c: New test case.
62240
62241 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
62242
62243 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62244 before casting to void *.
62245 * include/libc-internal.h (__pointer_type): New macro.
62246 (__integer_if_pointer_type_sub): Likewise.
62247 (__integer_if_pointer_type): Likewise.
62248 (cast_to_integer): Likewise.
62249 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62250 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62251 before casting to atomic64_t.
62252 (atomic_exchange_acq): Likewise.
62253 (__arch_exchange_and_add_body): Likewise.
62254 (__arch_add_body): Likewise.
62255 (atomic_add_negative): Likewise.
62256 (atomic_add_zero): Likewise.
62257
62258 2012-11-26 Joseph Myers <joseph@codesourcery.com>
62259
62260 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62261 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62262 (add_fdes): Likewise.
62263 (linear_search_fdes): Likewise.
62264 (binary_search_unencoded_fdes): Likewise.
62265
62266 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
62267
62268 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62269
62270 2012-11-24 Adam Conrad <adconrad@0c3.net>
62271
62272 * configure.in: Autodetect C++ header directories.
62273 * configure: Regenerated.
62274
62275 2012-11-23 Mike Frysinger <vapier@gentoo.org>
62276
62277 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62278
62279 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
62280
62281 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62282
62283 2012-11-22 Joseph Myers <joseph@codesourcery.com>
62284
62285 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62286 LDBL_MANT_DIG == 106]: Disable some tests.
62287 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62288 Likewise.
62289 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62290 Likewise.
62291
62292 [BZ #14871]
62293 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62294 input for small inputs. Return +/- pi/2 for large inputs.
62295 * math/libm-test.inc (atan_test): Add more tests.
62296
62297 * sysdeps/generic/unwind-dw2-fde-glibc.c
62298 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62299 __attribute__ ((unused)).
62300
62301 [BZ #14645]
62302 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62303 x * y if x and y are nonzero and z is zero.
62304
62305 [BZ #14811]
62306 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62307 nonzero exponents with absolute value below 0x1p-117 to +/-
62308 0x1p-117.
62309
62310 [BZ #14869]
62311 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62312 up arguments below 2**-450, not just those below 2**-500.
62313 * math/libm-test.inc (hypot_test): Add another test.
62314
62315 [BZ #14868]
62316 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62317 Return a+b for ratio over 2**120, not 2**60.
62318 * math/libm-test.inc (hypot_test): Add another test.
62319
62320 * math/libm-test.inc (clog_test): Use
62321 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62322 (clog10_test): Likewise.
62323
62324 [BZ #6778]
62325 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62326
62327 2012-11-22 Andreas Schwab <schwab@suse.de>
62328
62329 * sysdeps/i386/fpu/libm-test-ulps: Update.
62330
62331 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
62332
62333 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62334 printf output with newline.
62335
62336 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
62337
62338 [BZ #14865]
62339 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62340 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62341 -z nodlopen, -z initfirst and -z execstack support.
62342 * configure: Regenerated.
62343
62344 * elf/elf.h (DF_1_NODIRECT): New macro.
62345 (DF_1_IGNMULDEF): Likewise.
62346 (DF_1_NOKSYMS): Likewise.
62347 (DF_1_NOHDR): Likewise.
62348 (DF_1_EDITED): Likewise.
62349 (DF_1_NORELOC): Likewise.
62350 (DF_1_SYMINTPOSE): Likewise.
62351 (DF_1_GLOBAUDIT): Likewise.
62352 (DF_1_SINGLETON): Likewise.
62353 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62354 DT_1_SUPPORTED_MASK bits.
62355 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62356
62357 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
62358
62359 * sysdeps/unix/make-syscalls.sh: Document prefixes.
62360
62361 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
62362
62363 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62364 macro.
62365
62366 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62367 (sendmmsg): Move declarations...
62368 * socket/sys/socket.h: ... here.
62369 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62370 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62371 include it from...
62372 * socket/recvmmsg.c: ... this new file.
62373 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62374 (sendmmsg): Rename to __sendmmsg, create weak alias and make
62375 definition of __sendmmsg hidden.
62376 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62377 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62378 Move ENOSYS stub into and include it from...
62379 * socket/sendmmsg.c: ... this new file.
62380 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62381 (sysdep_routines): Move recvmmsg and sendmmsg...
62382 * socket/Makefile (routines): ... here.
62383 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62384 (GLIBC_PRIVATE): Add __sendmmsg.
62385 * include/sys/socket.h (__sendmmsg): Add declarations.
62386 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62387 sendmmsg.
62388
62389 2012-11-20 Joseph Myers <joseph@codesourcery.com>
62390
62391 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62392 variable I1 with __attribute__ ((unused)).
62393 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62394
62395 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62396
62397 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62398 DUMMY variables with __attribute__ ((unused)).
62399
62400 * bits/byteswap.h: Include <bits/types.h>.
62401 (__bswap_64): Use __uint64_t instead of unsigned long long int.
62402
62403 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62404
62405 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62406 string_t. Do not manually set errno.
62407 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62408 length with __strnlen. Make sure to both set errno and return it on
62409 failure.
62410
62411 2012-11-19 David S. Miller <davem@davemloft.net>
62412
62413 With help from Joseph Myers.
62414 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62415 very large arguments properly.
62416 * math/libm-test.inc (atan_test): New tests.
62417 (atan2_test): New tests.
62418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62420
62421 2012-11-19 Joseph Myers <joseph@codesourcery.com>
62422
62423 [BZ #14856]
62424 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62425 Define to 3.
62426
62427 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62428 [POSIX] (EADDRNOTAVAIL): Likewise.
62429 [POSIX] (EAFNOSUPPORT): Likewise.
62430 [POSIX] (EALREADY): Likewise.
62431 [POSIX] (ECONNABORTED): Likewise.
62432 [POSIX] (ECONNREFUSED): Likewise.
62433 [POSIX] (ECONNRESET): Likewise.
62434 [POSIX] (EDESTADDRREQ): Likewise.
62435 [POSIX] (EDQUOT): Likewise.
62436 [POSIX] (EHOSTUNREACH): Likewise.
62437 [POSIX] (EIDRM): Likewise.
62438 [POSIX] (EISCONN): Likewise.
62439 [POSIX] (ELOOP): Likewise.
62440 [POSIX] (EMULTIHOP): Likewise.
62441 [POSIX] (ENETDOWN): Likewise.
62442 [POSIX] (ENETUNREACH): Likewise.
62443 [POSIX] (ENOBUFS): Likewise.
62444 [POSIX] (ENODATA): Likewise.
62445 [POSIX] (ENOLINK): Likewise.
62446 [POSIX] (ENOMSG): Likewise.
62447 [POSIX] (ENOPROTOOPT): Likewise.
62448 [POSIX] (ENOSR): Likewise.
62449 [POSIX] (ENOSTR): Likewise.
62450 [POSIX] (ENOTCONN): Likewise.
62451 [POSIX] (ENOTSOCK): Likewise.
62452 [POSIX] (EOPNOTSUPP): Likewise.
62453 [POSIX] (EOVERFLOW): Likewise.
62454 [POSIX] (EPROTO): Likewise.
62455 [POSIX] (EPROTONOSUPPORT): Likewise.
62456 [POSIX] (EPROTOTYPE): Likewise.
62457 [POSIX] (ESTALE): Likewise.
62458 [POSIX] (ETIME): Likewise.
62459 [POSIX] (ETXTBSY): Likewise.
62460 [POSIX] (EWOULDBLOCK): Likewise.
62461 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62462 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62463 [POSIX] (SEEK_CUR): Likewise.
62464 [POSIX] (SEEK_END): Likewise.
62465 [POSIX || UNIX98] (mode_t): Do not require.
62466 [POSIX] (off_t): Likewise.
62467 [POSIX] (pid_t): Likewise.
62468 [POSIX] (sys/stat.h): Do not allow header.
62469 [POSIX] (unistd.h): Likewise.
62470 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62471 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62472 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62473 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62474 require.
62475 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62476 sigevent): Specify elements.
62477 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62478 entry.
62479 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62480 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62481
62482 * conform/data/cpio.h-data [POSIX]: Disable whole file.
62483 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62484 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62485 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62486 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62487 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62488 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62489 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62490 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62491 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62492 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62493 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62494 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62495 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62496 Likewise.
62497 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62498 Likewise.
62499 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62500 Likewise.
62501 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62502 Likewise.
62503 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62504 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62505 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62506 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62507 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62508 Specify lower bound on value.
62509 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62510 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62511 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62512 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62513 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62514 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62515 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62516 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62517 value.
62518 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62519 as optional.
62520 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62521 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62522 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62523 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62524 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62525 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62526 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62527 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62528 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62529 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62530 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62531 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62532 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62533 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62534 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62535 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62536 entry.
62537 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62538 optional.
62539 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62540 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62541 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62542 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62543 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62544 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62545 Likewise.
62546 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62547 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62548 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62549 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62550 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
62551 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62552 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62553 as optional.
62554 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62555 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62556 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62557 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62558 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62559 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62560 specify as optional.
62561 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62562 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62563 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62564 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62565 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62566 [XPG3] (NL_LANGMAX): Likewise.
62567 [POSIX || XPG3] (NL_MSGMAX): Likewise.
62568 [POSIX || XPG3] (NL_NMAX): Likewise.
62569 [POSIX || XPG3] (NL_SETMAX): Likewise.
62570 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62571 [XPG3] (NZERO): Likewise.
62572 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62573 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62574 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62575 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62576 (REG_ERANGE): Expect.
62577 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62578 optional-constant.
62579 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62580 Use (void) in prototype.
62581 [POSIX] (*_t): Allow.
62582 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62583 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62584 (WRDE_BADVAL): Expect.
62585
62586 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62587 expect.
62588 [XPG3 || XPG4] (O_RSYNC): Likewise.
62589 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62590 Likewise.
62591 [XPG3 || XPG4] (pthread_sigmask): Likewise.
62592 [XPG3 || XPG4] (sigqueue): Likewise.
62593 [XPG3 || XPG4] (sigtimedwait): Likewise.
62594 [XPG3 || XPG4] (sigwaitinfo): Likewise.
62595 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62596 [XPG3 || XPG4] (vsnprintf): Likewise.
62597 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62598 Likewise.
62599 [XPG3 || XPG4] (blksize_t): Likewise.
62600 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62601 Likewise.
62602 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62603 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62604 [XPG3 || XPG4] (struct itimerspec): Likewise.
62605 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62606 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62607 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62608 [XPG3 || XPG4] (clockid_t): Likewise.
62609 [XPG3 || XPG4] (timer_t): Likewise.
62610 [XPG3 || XPG4] (clock_getres): Likewise.
62611 [XPG3 || XPG4] (clock_gettime): Likewise.
62612 [XPG3 || XPG4] (clock_settime): Likewise.
62613 [XPG3 || XPG4] (nanosleep): Likewise.
62614 [XPG3 || XPG4] (timer_create): Likewise.
62615 [XPG3 || XPG4] (timer_delete): Likewise.
62616 [XPG3 || XPG4] (timer_gettime): Likewise.
62617 [XPG3 || XPG4] (timer_getoverrun): Likewise.
62618 [XPG3 || XPG4] (timer_settime): Likewise.
62619 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62620 [XPG3 || XPG4] (getlogin_r): Likewise.
62621 [XPG3 || XPG4] (pread): Likewise.
62622 [XPG3 || XPG4] (pthread_atfork): Likewise.
62623 [XPG3 || XPG4] (pwrite): Likewise.
62624
62625 [BZ #14835]
62626 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62627 <bits/siginfo.h>.
62628
62629 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
62630
62631 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62632 finalizing MALLSTREAM.
62633
62634 * sysdeps/mach/hurd/syncfs.c: New file.
62635
62636 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
62637
62638 [BZ #14719]
62639 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62640 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62641 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62642 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62643 (_nss_dns_gethostbyname4_r): Likewise.
62644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62645 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62646
62647 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
62648
62649 [BZ #13763]
62650 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62651
62652 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
62653
62654 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62655 * elf/cache.c (print_entry): Print ",AArch64" for
62656 FLAG_AARCH64_LIB64
62657
62658 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62659 * elf/cache.c (print_entry): Print ",hard-float" for
62660 FLAG_ARM_LIBHF.
62661
62662 2012-11-18 David S. Miller <davem@davemloft.net>
62663
62664 With help from Joseph Myers.
62665 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62666 cutoff to 2**-13.
62667 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62668 cutoff to 2**-25.
62669 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62670 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62671 small.
62672 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62673 * math/libm-test.inc (y0_test): New tests.
62674 (y1_test): New tests.
62675 * sysdeps/i386/fpu/libm-test-ulps: Update.
62676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62677 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62678
62679 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
62680
62681 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62682 64-bit targets.
62683 * configure: Regenerated.
62684
62685 2012-11-17 David S. Miller <davem@davemloft.net>
62686
62687 [BZ #14811]
62688 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62689 nonzero exponents with absolute value below 0x1p-128 to +/-
62690 0x1p-128.
62691
62692 2012-11-17 Joseph Myers <joseph@codesourcery.com>
62693
62694 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62695
62696 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62697
62698 * posix/getconf-speclist.c: New file.
62699 * posix/posix-envs.def: Likewise.
62700 * posix/confstr.c (START_ENV_GROUP): New macro.
62701 (END_ENV_GROUP): Likewise.
62702 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62703 (KNOWN_PRESENT_ENV_STRING): Likewise.
62704 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62705 (UNKNOWN_ENVIRONMENT): Likewise.
62706 (confstr): Include posix-envs.def instead of handling
62707 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62708 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62709 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62710 (END_ENV_GROUP): Likewise.
62711 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62712 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62713 (UNKNOWN_ENVIRONMENT): Likewise.
62714 (__sysconf): Include posix-envs.def instead of handling associated
62715 cases directly here.
62716 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62717 preprocessing getconf-speclist.c rather than running getconf or
62718 generating empty file.
62719
62720 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
62721
62722 * scripts/check-local-headers.sh: Ignore 'mach' headers.
62723
62724 2012-11-16 Andrej Lajovic <natrij@gmail.com>
62725
62726 [BZ #14672]
62727 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62728
62729 2012-11-16 David S. Miller <davem@davemloft.net>
62730
62731 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62732 smaller than LDBL_EPSILON/2.0L, just return xm1.
62733
62734 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
62735
62736 * elf/tst-array1.c (init): Set constructor priority to 1000.
62737 (fini): Set destructor priority to 1000.
62738 * elf/tst-array2dep.c: Likewise.
62739
62740 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62741
62742 [BZ #11741]
62743 * libio/fileops.c (_IO_new_file_write): Correctly return error.
62744 (_IO_new_file_xsputn): Also return EOF if none of the input
62745 data was written when overflow failed.
62746 * libio/iopadn.c (_IO_padn): Likewise.
62747 * libio/iowpadn.c (_IO_wpadn): Likewise.
62748 * stdio-common/tst-put-error.c: Add copyright notice.
62749 (do_test): Add case for printing padded string.
62750 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62751 _IO_padn returned error.
62752 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62753 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62754 return EOF.
62755
62756 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
62757
62758 * libio/libioP.h: Add comment note that the references to C++
62759 bits are now obsolete.
62760
62761 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62762
62763 * math/libm-test.inc (check_complex): Use asprintf.
62764
62765 2012-11-14 Joseph Myers <joseph@codesourcery.com>
62766
62767 * debug/pcprofiledump.c (print_version): Update copyright year.
62768 * malloc/memusagestat.c (print_version): Likewise.
62769
62770 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
62771
62772 [BZ #14831]
62773 * elf/Makefile (tests): Add tst-audit8.
62774 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62775 ($(objpfx)tst-audit8.out): New target.
62776 (tst-audit8-ENV): New variable.
62777 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62778 audit if l_reloc_result is NULL.
62779 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62780 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62781 * elf/tst-audit8.c: New file.
62782
62783 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62784
62785 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62786 * misc/Makefile (CFLAGS-select.c): Define.
62787 * posix/Makefile (CFLAGS-pause.c): Define.
62788
62789 2012-11-13 David S. Miller <davem@davemloft.net>
62790
62791 * crypt/Makefile: Move test targets after toplevel Rules
62792 inclusion. Grab any necessary sysdep routines when linking.
62793 * crypt/md5.c (md5_process_block): Remove define, we will always
62794 name it __md5_process_block.
62795 (md5_finish_ctx): Update md5_process_block call.
62796 (md5_stream): Likewise.
62797 (md5_process_bytes): Likewise.
62798 (md5_process_block): Rename to __md5_process_block and move to ...
62799 * crypt/md5-block.c: ... here.
62800 * crypt/sha256.c (sha256_process_block): Move to ...
62801 * crypt/sha256-block.c: ... here.
62802 * crypt/sha512.c (sha512_process_block): Move to ...
62803 * crypt/sha512-block.c: ... here.
62804 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62805 path.
62806 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62807 * sysdeps/sparc/sparc64/multiarch/Makefile
62808 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62809 crypt subdir.
62810 (localedef-aux): Add md5 crypto assembler when in locale subdir.
62811 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62812 multiarch changes.
62813 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62814 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62815 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62816 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62817 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62818 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62819 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62820 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62821 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62822 file.
62823 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62824 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62825 file.
62826 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62827
62828 2012-11-13 Joseph Myers <joseph@codesourcery.com>
62829
62830 * timezone/tzselect.ksh: Update from tzcode git revision
62831 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62832 * timezone/zdump.c: Likewise.
62833 * timezone/zic.c: Likewise.
62834 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62835 in TZVERSION setting, not $(PKGVERSION).
62836 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
62837 REPORT_BUGS_TO settings.
62838
62839 [BZ #14838]
62840 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62841 macro.
62842
62843 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
62844
62845 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62846 detection to immediately after _FP_ROUND().
62847 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62848 bits are 0.
62849
62850 2012-11-11 David S. Miller <davem@davemloft.net>
62851
62852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62853 inttypes.h
62854 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62855 __close rather than their public counterparts.
62856
62857 2012-11-10 Joseph Myers <joseph@codesourcery.com>
62858
62859 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62860 file.
62861 [UNIX98] (sem_timedwait): Do not expect.
62862 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62863 [XPG4 || UNIX98] (sockatmark): Do not expect.
62864 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62865 (clock_getcpuclockid): Do not expect.
62866 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62867 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62868 Do not expect.
62869 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62870 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62871 [UNIX98] (vwscanf): Likewise.
62872 [UNIX98] (vswscanf): Likewise.
62873
62874 2012-11-09 Joseph Myers <joseph@codesourcery.com>
62875
62876 * timezone/version.h: Remove file.
62877 * timezone/README: Do not refer to version.h.
62878 * timezone/Makefile ($(objpfx)zic.o): New dependency on
62879 $(objpfx)version.h.
62880 ($(objpfx)zdump.o): Likewise.
62881 ($(objpfx)version.h): New target.
62882
62883 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62884 2012i.
62885 * timezone/README: Don't mention modification to tzselect.ksh.
62886 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62887 work on unmodified tzselect.ksh. Substitute version numbers in
62888 tzselect.ksh.
62889
62890 * Makefile (format-me): Remove.
62891 (INSTALL): Adjust indentation. Use commands directly instead of
62892 using $(format-me).
62893
62894 * aclocal.m4 (ACX_PKGVERSION): New macro.
62895 (ACX_BUGURL): Likewise.
62896 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62897 (PKGVERSION): New AC_DEFINE_UNQUOTED.
62898 (REPORT_BUGS_TO): Likewise.
62899 * configure: Regenerated.
62900 * config.h.in (PKGVERSION): New macro.
62901 (REPORT_BUGS_TO): Likewise.
62902 * config.make.in (PKGVERSION): New variable.
62903 (PKGVERSION_TEXI): Likewise.
62904 (REPORT_BUGS_TO): Likewise.
62905 (REPORT_BUGS_TEXI): Likewise.
62906 * Makefile (format-me): Use -I$(common-objpfx)manual.
62907 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62908 ($(common-objpfx)manual/%): New target.
62909 (manual/%): Remove target.
62910 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62911 (print_version): Use PKGVERSION.
62912 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
62913 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
62914 and REPORT_BUGS_TO.
62915 ($(objpfx)xtrace): Likewise.
62916 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
62917 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62918 (print_version): Use PKGVERSION.
62919 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
62920 (do_version): Use PKGVERSION.
62921 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
62922 REPORT_BUGS_TO.
62923 (common-ldd-rewrite): Likewise.
62924 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
62925 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
62926 (print_version): Use PKGVERSION.
62927 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
62928 * elf/pldd.c (argp_program_bug_address): Remove variable.
62929 (more_help): New function.
62930 (argp): Use more_help.
62931 (print_version): Use PKGVERSION.
62932 * elf/sln.c (main): Use PKGVERSION.
62933 (usage): Use REPORT_BUGS_TO.
62934 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
62935 (top level): Use PKGVERSION.
62936 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
62937 (print_version): Use PKGVERSION.
62938 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
62939 (print_version): Use PKGVERSION.
62940 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
62941 (print_version): Use PKGVERSION.
62942 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
62943 (print_version): Use PKGVERSION.
62944 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
62945 (print_version): Use PKGVERSION.
62946 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
62947 (print_version): Use PKGVERSION.
62948 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
62949 and BUGURL.
62950 ($(objpfx)memusage): Likewise.
62951 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
62952 (do_version): Use PKGVERSION.
62953 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
62954 (print_version): Use PKGVERSION.
62955 * malloc/mtrace.pl ($PACKAGE): Remove variable.
62956 ($PKGVERSION): New variable.
62957 ($REPORT_BUGS_TO): Likewise.
62958 (usage): Use $REPORT_BUGS_TO.
62959 (top level): Use $PKGVERSION.
62960 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
62961 ($(objpfx)pkgvers.texi): New rule.
62962 ($(objpfx)stamp-pkgvers): Likewise.
62963 * manual/install.texi: Include pkgvers.texi.
62964 (--with-pkgversion): Document new configure option.
62965 (--with-bugurl): Likewise.
62966 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
62967 than necessarily for this particular distribution. Use
62968 REPORT_BUGS_TO for where to report bugs.
62969 * INSTALL: Regenerated.
62970 * manual/libc.texinfo: Include pkgvers.texi.
62971 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
62972 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
62973 (print_version): Use PKGVERSION.
62974 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
62975 (print_version): Use PKGVERSION.
62976 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
62977 (print_version): Use PKGVERSION.
62978 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
62979 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
62980 macro.
62981 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
62982 (print_version): Use PKGVERSION.
62983 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
62984 (print_version): Use PKGVERSION.
62985 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
62986 and PKGVERSION.
62987
62988 * timezone/checktab.awk: Update from tzcode 2012i.
62989 * timezone/ialloc.c: Likewise.
62990 * timezone/private.h: Likewise.
62991 * timezone/scheck.c: Likewise.
62992 * timezone/tzfile.h: Likewise.
62993 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
62994 (TZVERSION): Hardcode tzcode version number.
62995 * timezone/zdump.c: Update from tzcode 2012i.
62996 * timezone/zic.c: Likewise.
62997 * timezone/version.h: New file.
62998 * timezone/README: Describe version.h. Update upstream location.
62999
63000 [BZ #14824]
63001 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63002 (mktemp): Enable declaration.
63003 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63004 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63005 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63006 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63007 Likewise.
63008 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63009 Likewise.
63010 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63011 Likewise.
63012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63013 Likewise.
63014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63015 Likewise.
63016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63017 Likewise.
63018
63019 [BZ #14821]
63020 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63021 offset in buffer as u_int32_t not u_long. Consistently use memcpy
63022 for copies of such integer values.
63023 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63024 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63025
63026 2012-11-09 Andreas Jaeger <aj@suse.de>
63027
63028 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63029 definitions and declarations that are provided by
63030 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63031
63032 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63033
63034 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63035 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63036 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63037 definition.
63038
63039 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63040
63041 * elf/elf.h: Update comment before AArch64 relocations.
63042
63043 2012-11-07 David S. Miller <davem@davemloft.net>
63044
63045 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63046 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63047 (__start_context): Declare.
63048 (__makecontext_ret): Delete.
63049 (__makecontext): Hook up __start_context instead of
63050 __makecontext_ret.
63051 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63052 (sysdep_routines): Add __start_context when in stdlib.
63053
63054 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63055
63056 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63057 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63058 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
63059 hardcoded "nm".
63060 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
63061 (READELF): New variable. Use it instead of hardcoded "readelf".
63062
63063 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
63064
63065 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63066 * sysdeps/x86/Makefile: Here.
63067 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63068 * sysdeps/x86/tst-xmmymm.sh: This.
63069
63070 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63071
63072 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63073 expectations.
63074 [UNIX98] (pthread_barrier_t): Do not expect.
63075 [UNIX98] (pthread_barrierattr_t): Likewise.
63076 [UNIX98] (pthread_spinlock_t): Likewise.
63077 [UNIX98] (pthread_barrier_destroy): Likewise.
63078 [UNIX98] (pthread_barrier_init): Likewise.
63079 [UNIX98] (pthread_barrier_wait): Likewise.
63080 [UNIX98] (pthread_barrierattr_destroy): Likewise.
63081 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63082 [UNIX98] (pthread_barrierattr_init): Likewise.
63083 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63084 [UNIX98] (pthread_getcpuclockid): Likewise.
63085 [UNIX98] (pthread_mutex_timedlock): Likewise.
63086 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63087 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63088 [UNIX98] (pthread_sigmask): Likewise.
63089 [UNIX98] (pthread_spin_destroy): Likewise.
63090 [UNIX98] (pthread_spin_init): Likewise.
63091 [UNIX98] (pthread_spin_lock): Likewise.
63092 [UNIX98] (pthread_spin_trylock): Likewise.
63093 [UNIX98] (pthread_spin_unlock): Likewise.
63094 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63095 Do not expect.
63096 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63097 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63098 [XPG3 || XPG4] (pthread_cond_t): Likewise.
63099 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63100 [XPG3 || XPG4] (pthread_key_t): Likewise.
63101 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63102 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63103 [XPG3 || XPG4] (pthread_once_t): Likewise.
63104 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63105 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63106 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63107 [XPG3 || XPG4] (pthread_t): Likewise.
63108
63109 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63110 not expect.
63111 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63112
63113 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63114 Change function return type to int.
63115
63116 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63117 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63118 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63119 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63120 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63121 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63122 [!POSIX] (posix_madvise): Likewise.
63123 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63124 && !UNIX98].
63125 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63126 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63127 (mode_t): Likewise.
63128 (posix_mem_offset): Likewise.
63129 (posix_typed_mem_get_info): Likewise.
63130 (posix_typed_mem_open): Likewise.
63131
63132 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63133 Change condition to [XOPEN2K8].
63134
63135 * conform/conformtest.pl: Preprocess allow-header data with -x c
63136 instead of from stdin.
63137 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63138 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63139 [C99-based standards] (cerfc): Likewise.
63140 [C99-based standards] (cexp2): Likewise.
63141 [C99-based standards] (cexpm1): Likewise.
63142 [C99-based standards] (clog10): Likewise.
63143 [C99-based standards] (clog1p): Likewise.
63144 [C99-based standards] (clog2): Likewise.
63145 [C99-based standards] (clgamma): Likewise.
63146 [C99-based standards] (ctgamma): Likewise.
63147 [C99-based standards] (cerff): Likewise.
63148 [C99-based standards] (cerfcf): Likewise.
63149 [C99-based standards] (cexp2f): Likewise.
63150 [C99-based standards] (cexpm1f): Likewise.
63151 [C99-based standards] (clog10f): Likewise.
63152 [C99-based standards] (clog1pf): Likewise.
63153 [C99-based standards] (clog2f): Likewise.
63154 [C99-based standards] (clgammaf): Likewise.
63155 [C99-based standards] (ctgammaf): Likewise.
63156 [C99-based standards] (cerfl): Likewise.
63157 [C99-based standards] (cerfcl): Likewise.
63158 [C99-based standards] (cexp2l): Likewise.
63159 [C99-based standards] (cexpm1l): Likewise.
63160 [C99-based standards] (clog10l): Likewise.
63161 [C99-based standards] (clog1pl): Likewise.
63162 [C99-based standards] (clog2l): Likewise.
63163 [C99-based standards] (clgammal): Likewise.
63164 [C99-based standards] (ctgammal): Likewise.
63165 * conform/data/inttypes.h-data [C99-based standards]: Include
63166 stdint.h-data. Remove all expectations for stdint.h contents.
63167 [C99-based standards] (PRI*): Do not allow.
63168 [C99-based standards] (SCN*): Likewise.
63169 [C99-based standards] (*_t): Likewise.
63170 [C99-based-standards] (PRId8): Expect macro.
63171 [C99-based-standards] (PRIi8): Likewise.
63172 [C99-based-standards] (PRIo8): Likewise.
63173 [C99-based-standards] (PRIu8): Likewise.
63174 [C99-based-standards] (PRIx8): Likewise.
63175 [C99-based-standards] (PRIX8): Likewise.
63176 [C99-based-standards] (SCNd8): Likewise.
63177 [C99-based-standards] (SCNi8): Likewise.
63178 [C99-based-standards] (SCNo8): Likewise.
63179 [C99-based-standards] (SCNu8): Likewise.
63180 [C99-based-standards] (SCNx8): Likewise.
63181 [C99-based-standards] (PRIdLEAST8): Likewise.
63182 [C99-based-standards] (PRIiLEAST8): Likewise.
63183 [C99-based-standards] (PRIoLEAST8): Likewise.
63184 [C99-based-standards] (PRIuLEAST8): Likewise.
63185 [C99-based-standards] (PRIxLEAST8): Likewise.
63186 [C99-based-standards] (PRIXLEAST8): Likewise.
63187 [C99-based-standards] (SCNdLEAST8): Likewise.
63188 [C99-based-standards] (SCNiLEAST8): Likewise.
63189 [C99-based-standards] (SCNoLEAST8): Likewise.
63190 [C99-based-standards] (SCNuLEAST8): Likewise.
63191 [C99-based-standards] (SCNxLEAST8): Likewise.
63192 [C99-based-standards] (PRIdFAST8): Likewise.
63193 [C99-based-standards] (PRIiFAST8): Likewise.
63194 [C99-based-standards] (PRIoFAST8): Likewise.
63195 [C99-based-standards] (PRIuFAST8): Likewise.
63196 [C99-based-standards] (PRIxFAST8): Likewise.
63197 [C99-based-standards] (PRIXFAST8): Likewise.
63198 [C99-based-standards] (SCNdFAST8): Likewise.
63199 [C99-based-standards] (SCNiFAST8): Likewise.
63200 [C99-based-standards] (SCNoFAST8): Likewise.
63201 [C99-based-standards] (SCNuFAST8): Likewise.
63202 [C99-based-standards] (SCNxFAST8): Likewise.
63203 [C99-based-standards] (PRId16): Likewise.
63204 [C99-based-standards] (PRIi16): Likewise.
63205 [C99-based-standards] (PRIo16): Likewise.
63206 [C99-based-standards] (PRIu16): Likewise.
63207 [C99-based-standards] (PRIx16): Likewise.
63208 [C99-based-standards] (PRIX16): Likewise.
63209 [C99-based-standards] (SCNd16): Likewise.
63210 [C99-based-standards] (SCNi16): Likewise.
63211 [C99-based-standards] (SCNo16): Likewise.
63212 [C99-based-standards] (SCNu16): Likewise.
63213 [C99-based-standards] (SCNx16): Likewise.
63214 [C99-based-standards] (PRIdLEAST16): Likewise.
63215 [C99-based-standards] (PRIiLEAST16): Likewise.
63216 [C99-based-standards] (PRIoLEAST16): Likewise.
63217 [C99-based-standards] (PRIuLEAST16): Likewise.
63218 [C99-based-standards] (PRIxLEAST16): Likewise.
63219 [C99-based-standards] (PRIXLEAST16): Likewise.
63220 [C99-based-standards] (SCNdLEAST16): Likewise.
63221 [C99-based-standards] (SCNiLEAST16): Likewise.
63222 [C99-based-standards] (SCNoLEAST16): Likewise.
63223 [C99-based-standards] (SCNuLEAST16): Likewise.
63224 [C99-based-standards] (SCNxLEAST16): Likewise.
63225 [C99-based-standards] (PRIdFAST16): Likewise.
63226 [C99-based-standards] (PRIiFAST16): Likewise.
63227 [C99-based-standards] (PRIoFAST16): Likewise.
63228 [C99-based-standards] (PRIuFAST16): Likewise.
63229 [C99-based-standards] (PRIxFAST16): Likewise.
63230 [C99-based-standards] (PRIXFAST16): Likewise.
63231 [C99-based-standards] (SCNdFAST16): Likewise.
63232 [C99-based-standards] (SCNiFAST16): Likewise.
63233 [C99-based-standards] (SCNoFAST16): Likewise.
63234 [C99-based-standards] (SCNuFAST16): Likewise.
63235 [C99-based-standards] (SCNxFAST16): Likewise.
63236 [C99-based-standards] (PRId32): Likewise.
63237 [C99-based-standards] (PRIi32): Likewise.
63238 [C99-based-standards] (PRIo32): Likewise.
63239 [C99-based-standards] (PRIu32): Likewise.
63240 [C99-based-standards] (PRIx32): Likewise.
63241 [C99-based-standards] (PRIX32): Likewise.
63242 [C99-based-standards] (SCNd32): Likewise.
63243 [C99-based-standards] (SCNi32): Likewise.
63244 [C99-based-standards] (SCNo32): Likewise.
63245 [C99-based-standards] (SCNu32): Likewise.
63246 [C99-based-standards] (SCNx32): Likewise.
63247 [C99-based-standards] (PRIdLEAST32): Likewise.
63248 [C99-based-standards] (PRIiLEAST32): Likewise.
63249 [C99-based-standards] (PRIoLEAST32): Likewise.
63250 [C99-based-standards] (PRIuLEAST32): Likewise.
63251 [C99-based-standards] (PRIxLEAST32): Likewise.
63252 [C99-based-standards] (PRIXLEAST32): Likewise.
63253 [C99-based-standards] (SCNdLEAST32): Likewise.
63254 [C99-based-standards] (SCNiLEAST32): Likewise.
63255 [C99-based-standards] (SCNoLEAST32): Likewise.
63256 [C99-based-standards] (SCNuLEAST32): Likewise.
63257 [C99-based-standards] (SCNxLEAST32): Likewise.
63258 [C99-based-standards] (PRIdFAST32): Likewise.
63259 [C99-based-standards] (PRIiFAST32): Likewise.
63260 [C99-based-standards] (PRIoFAST32): Likewise.
63261 [C99-based-standards] (PRIuFAST32): Likewise.
63262 [C99-based-standards] (PRIxFAST32): Likewise.
63263 [C99-based-standards] (PRIXFAST32): Likewise.
63264 [C99-based-standards] (SCNdFAST32): Likewise.
63265 [C99-based-standards] (SCNiFAST32): Likewise.
63266 [C99-based-standards] (SCNoFAST32): Likewise.
63267 [C99-based-standards] (SCNuFAST32): Likewise.
63268 [C99-based-standards] (SCNxFAST32): Likewise.
63269 [C99-based-standards] (PRId64): Likewise.
63270 [C99-based-standards] (PRIi64): Likewise.
63271 [C99-based-standards] (PRIo64): Likewise.
63272 [C99-based-standards] (PRIu64): Likewise.
63273 [C99-based-standards] (PRIx64): Likewise.
63274 [C99-based-standards] (PRIX64): Likewise.
63275 [C99-based-standards] (SCNd64): Likewise.
63276 [C99-based-standards] (SCNi64): Likewise.
63277 [C99-based-standards] (SCNo64): Likewise.
63278 [C99-based-standards] (SCNu64): Likewise.
63279 [C99-based-standards] (SCNx64): Likewise.
63280 [C99-based-standards] (PRIdLEAST64): Likewise.
63281 [C99-based-standards] (PRIiLEAST64): Likewise.
63282 [C99-based-standards] (PRIoLEAST64): Likewise.
63283 [C99-based-standards] (PRIuLEAST64): Likewise.
63284 [C99-based-standards] (PRIxLEAST64): Likewise.
63285 [C99-based-standards] (PRIXLEAST64): Likewise.
63286 [C99-based-standards] (SCNdLEAST64): Likewise.
63287 [C99-based-standards] (SCNiLEAST64): Likewise.
63288 [C99-based-standards] (SCNoLEAST64): Likewise.
63289 [C99-based-standards] (SCNuLEAST64): Likewise.
63290 [C99-based-standards] (SCNxLEAST64): Likewise.
63291 [C99-based-standards] (PRIdFAST64): Likewise.
63292 [C99-based-standards] (PRIiFAST64): Likewise.
63293 [C99-based-standards] (PRIoFAST64): Likewise.
63294 [C99-based-standards] (PRIuFAST64): Likewise.
63295 [C99-based-standards] (PRIxFAST64): Likewise.
63296 [C99-based-standards] (PRIXFAST64): Likewise.
63297 [C99-based-standards] (SCNdFAST64): Likewise.
63298 [C99-based-standards] (SCNiFAST64): Likewise.
63299 [C99-based-standards] (SCNoFAST64): Likewise.
63300 [C99-based-standards] (SCNuFAST64): Likewise.
63301 [C99-based-standards] (SCNxFAST64): Likewise.
63302 [C99-based-standards] (PRIdMAX): Likewise.
63303 [C99-based-standards] (PRIiMAX): Likewise.
63304 [C99-based-standards] (PRIoMAX): Likewise.
63305 [C99-based-standards] (PRIuMAX): Likewise.
63306 [C99-based-standards] (PRIxMAX): Likewise.
63307 [C99-based-standards] (PRIXMAX): Likewise.
63308 [C99-based-standards] (SCNdMAX): Likewise.
63309 [C99-based-standards] (SCNiMAX): Likewise.
63310 [C99-based-standards] (SCNoMAX): Likewise.
63311 [C99-based-standards] (SCNuMAX): Likewise.
63312 [C99-based-standards] (SCNxMAX): Likewise.
63313 [C99-based-standards] (PRIdPTR): Likewise.
63314 [C99-based-standards] (PRIiPTR): Likewise.
63315 [C99-based-standards] (PRIoPTR): Likewise.
63316 [C99-based-standards] (PRIuPTR): Likewise.
63317 [C99-based-standards] (PRIxPTR): Likewise.
63318 [C99-based-standards] (PRIXPTR): Likewise.
63319 [C99-based-standards] (SCNdPTR): Likewise.
63320 [C99-based-standards] (SCNiPTR): Likewise.
63321 [C99-based-standards] (SCNoPTR): Likewise.
63322 [C99-based-standards] (SCNuPTR): Likewise.
63323 [C99-based-standards] (SCNxPTR): Likewise.
63324 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63325 allow.
63326 * conform/data/stdint.h-data: Update comments to clarify
63327 requirements.
63328 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
63329 type.
63330 [C99-based standards] (INT8_MAX): Likewise.
63331 [C99-based standards] (INT16_MIN): Likewise.
63332 [C99-based standards] (INT16_MAX): Likewise.
63333 [C99-based standards] (INT32_MIN): Likewise.
63334 [C99-based standards] (INT32_MAX): Likewise.
63335 [C99-based standards] (INT64_MIN): Likewise.
63336 [C99-based standards] (INT64_MAX): Likewise.
63337 [C99-based standards] (UINT8_MAX): Likewise.
63338 [C99-based standards] (UINT16_MAX): Likewise.
63339 [C99-based standards] (UINT32_MAX): Likewise.
63340 [C99-based standards] (UINT64_MAX): Likewise.
63341 [C99-based standards] (INT_LEAST8_MIN): Likewise.
63342 [C99-based standards] (INT_LEAST8_MAX): Likewise.
63343 [C99-based standards] (INT_LEAST16_MIN): Likewise.
63344 [C99-based standards] (INT_LEAST16_MAX): Likewise.
63345 [C99-based standards] (INT_LEAST32_MIN): Likewise.
63346 [C99-based standards] (INT_LEAST32_MAX): Likewise.
63347 [C99-based standards] (INT_LEAST64_MIN): Likewise.
63348 [C99-based standards] (INT_LEAST64_MAX): Likewise.
63349 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63350 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63351 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63352 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63353 [C99-based standards] (INT_FAST8_MIN): Likewise.
63354 [C99-based standards] (INT_FAST8_MAX): Likewise.
63355 [C99-based standards] (INT_FAST16_MIN): Likewise.
63356 [C99-based standards] (INT_FAST16_MAX): Likewise.
63357 [C99-based standards] (INT_FAST32_MIN): Likewise.
63358 [C99-based standards] (INT_FAST32_MAX): Likewise.
63359 [C99-based standards] (INT_FAST64_MIN): Likewise.
63360 [C99-based standards] (INT_FAST64_MAX): Likewise.
63361 [C99-based standards] (UINT_FAST8_MAX): Likewise.
63362 [C99-based standards] (UINT_FAST16_MAX): Likewise.
63363 [C99-based standards] (UINT_FAST32_MAX): Likewise.
63364 [C99-based standards] (UINT_FAST64_MAX): Likewise.
63365 [C99-based standards] (INTPTR_MIN): Likewise.
63366 [C99-based standards] (INTPTR_MAX): Likewise.
63367 [C99-based standards] (UINTPTR_MAX): Likewise.
63368 [C99-based standards] (INTMAX_MIN): Likewise.
63369 [C99-based standards] (INTMAX_MAX): Likewise.
63370 [C99-based standards] (UINTMAX_MAX): Likewise.
63371 [C99-based standards] (PTRDIFF_MIN): Likewise.
63372 [C99-based standards] (PTRDIFF_MAX): Likewise.
63373 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63374 [C99-based standards] (SIZE_MAX): Likewise.
63375 [C99-based standards] (WCHAR_MAX): Likewise.
63376 [C99-based standards] (WINT_MAX): Likewise.
63377 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
63378 constraint on value.
63379 [C99-based standards] (WCHAR_MIN): Likewise.
63380 [C99-based standards] (WINT_MIN): Likewise.
63381 [C99-based standards] (*_t): Allow.
63382 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63383 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63384 Include math.h-data and complex.h-data. Remove all expectations
63385 of math.h and complex.h contents.
63386 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63387 at end of line.
63388 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63389 (struct tm): Expect tag.
63390 [C99-based-standards] (wcstof): Expect function.
63391 [C99-based-standards] (wcstold): Likewise.
63392 [C99-based-standards] (wcstoll): Likewise.
63393 [C99-based-standards] (wcstoull): Likewise.
63394 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63395 macro-int-constant. Specify type.
63396 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
63397 constraint on value.
63398 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63399 Specify type.
63400 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63401 Specify value.
63402 [ISO C standards]: Do not allow headers.
63403 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63404 wcs[abcdefghijklmnopqrstuvwxyz]*.
63405 [ISO C standards] (*_t): Do not allow.
63406 * conform/data/wctype.h-data [C99-based standards] (iswblank):
63407 Expect function.
63408 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63409 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63410 Specify type.
63411 [ISO C standards]: Do not allow headers.
63412 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63413 is[abcdefghijklmnopqrstuvwxyz]*.
63414 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63415 to[abcdefghijklmnopqrstuvwxyz]*.
63416 [ISO C standards] (*_t): Do not allow.
63417 * conform/data/stdalign.h-data: New file.
63418 * conform/data/stdbool.h-data: Likewise.
63419 * conform/data/stdnoreturn.h-data: Likewise.
63420
63421 2012-11-07 Roland McGrath <roland@hack.frob.com>
63422
63423 [BZ #14815]
63424 * manual/filesys.texi (Directory Entries): Typo fix.
63425 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63426
63427 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63428
63429 * elf/elf.h (EM_AARCH64): New macro.
63430 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63431 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63432 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63433 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63434 (R_AARCH64_TLSDESC): Likewise.
63435 (NT_ARM_TLS): Likewise.
63436 (NT_ARM_HW_BREAK): Likewise.
63437 (NT_ARM_HW_WATCH): Likewise.
63438
63439 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63440
63441 [BZ #14811]
63442 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63443 (__ieee754_powl): Saturate nonzero exponents with absolute value
63444 below 0x1p-79 to +/- 0x1p-79.
63445 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63446 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63447 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63448 nonzero exponents with absolute value below 0x1p-32 to +/-
63449 0x1p-32.
63450 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63451 (__ieee754_powl): Saturate nonzero exponents with absolute value
63452 below 0x1p-79 to +/- 0x1p-79.
63453 * math/libm-test.inc (pow_test): Add more tests.
63454
63455 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63456
63457 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63458 _dl_s390_cap_flags with kernel. Increase string length.
63459 (_dl_s390_platforms): Add z196 and zEC12.
63460
63461 2012-11-07 Joseph Myers <joseph@codesourcery.com>
63462
63463 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63464 Change XOPEN21K to XOPEN2K.
63465
63466 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
63467
63468 * string/memmove.c: Use memcpy when possible.
63469
63470 2012-11-06 Andreas Jaeger <aj@suse.de>
63471
63472 * po/eo.po: Update from translation team.
63473
63474 2012-11-06 Joseph Myers <joseph@codesourcery.com>
63475
63476 [BZ #14793]
63477 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63478 exponent and small x and y exponents, scale x or y up. Increase
63479 by 2 the exponent used in scaling up.
63480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63481 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63482 * math/libm-test.inc (fma_test): Add more tests.
63483 (fma_test_towardzero): Likewise.
63484 (fma_test_downward): Likewise.
63485 (fma_test_upward): Likewise.
63486
63487 2012-11-05 Joseph Myers <joseph@codesourcery.com>
63488
63489 [BZ #14805]
63490 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63491 fenv_t *.
63492
63493 [BZ #14801]
63494 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63495 namespace for names of struct fields.
63496 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63497 fenv_t fields.
63498 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63499 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63500
63501 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
63502
63503 [BZ #3665]
63504 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63505
63506 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63507
63508 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63509 PTR_DEMANGLE.
63510
63511 [BZ #5246]
63512 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63513 PTR_DEMANGLE.
63514
63515 2012-11-04 Joseph Myers <joseph@codesourcery.com>
63516
63517 [BZ #14797]
63518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63519 definitely overflow as x * y not x * y + z.
63520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63521 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63522 * math/libm-test.inc (fma_test): Add more tests.
63523 (fma_test_towardzero): Likewise.
63524 (fma_test_downward): Likewise.
63525 (fma_test_upward): Likewise.
63526
63527 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
63528
63529 [BZ #157]
63530
63531 * include/stub-tag.h: Remove file.
63532 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63533 '#include' of it.
63534 * manual/maint.texi (Porting): Don't reference it.
63535 * Makerules ($(objpfx)stubs): Likewise.
63536 * dirent/closedir.c: Don't include <stub-tag.h>.
63537 * dirent/dirfd.c: Likewise.
63538 * dirent/fdopendir.c: Likewise.
63539 * dirent/getdents.c: Likewise.
63540 * dirent/getdents64.c: Likewise.
63541 * dirent/opendir.c: Likewise.
63542 * dirent/readdir.c: Likewise.
63543 * dirent/readdir64.c: Likewise.
63544 * dirent/readdir64_r.c: Likewise.
63545 * dirent/readdir_r.c: Likewise.
63546 * dirent/rewinddir.c: Likewise.
63547 * dirent/seekdir.c: Likewise.
63548 * dirent/telldir.c: Likewise.
63549 * gmon/profil.c: Likewise.
63550 * grp/setgroups.c: Likewise.
63551 * inet/if_index.c: Likewise.
63552 * io/access.c: Likewise.
63553 * io/chdir.c: Likewise.
63554 * io/chmod.c: Likewise.
63555 * io/chown.c: Likewise.
63556 * io/close.c: Likewise.
63557 * io/dup.c: Likewise.
63558 * io/dup2.c: Likewise.
63559 * io/dup3.c: Likewise.
63560 * io/euidaccess.c: Likewise.
63561 * io/faccessat.c: Likewise.
63562 * io/fchdir.c: Likewise.
63563 * io/fchmod.c: Likewise.
63564 * io/fchmodat.c: Likewise.
63565 * io/fchown.c: Likewise.
63566 * io/fchownat.c: Likewise.
63567 * io/fcntl.c: Likewise.
63568 * io/flock.c: Likewise.
63569 * io/fstatfs.c: Likewise.
63570 * io/fstatfs64.c: Likewise.
63571 * io/fstatvfs.c: Likewise.
63572 * io/fstatvfs64.c: Likewise.
63573 * io/futimens.c: Likewise.
63574 * io/fxstat.c: Likewise.
63575 * io/fxstat64.c: Likewise.
63576 * io/fxstatat.c: Likewise.
63577 * io/fxstatat64.c: Likewise.
63578 * io/getcwd.c: Likewise.
63579 * io/isatty.c: Likewise.
63580 * io/lchmod.c: Likewise.
63581 * io/lchown.c: Likewise.
63582 * io/link.c: Likewise.
63583 * io/linkat.c: Likewise.
63584 * io/lseek.c: Likewise.
63585 * io/lseek64.c: Likewise.
63586 * io/lxstat64.c: Likewise.
63587 * io/mkdir.c: Likewise.
63588 * io/mkdirat.c: Likewise.
63589 * io/mkfifo.c: Likewise.
63590 * io/mkfifoat.c: Likewise.
63591 * io/open.c: Likewise.
63592 * io/open64.c: Likewise.
63593 * io/openat.c: Likewise.
63594 * io/openat64.c: Likewise.
63595 * io/pipe.c: Likewise.
63596 * io/pipe2.c: Likewise.
63597 * io/poll.c: Likewise.
63598 * io/posix_fadvise.c: Likewise.
63599 * io/posix_fadvise64.c: Likewise.
63600 * io/posix_fallocate.c: Likewise.
63601 * io/posix_fallocate64.c: Likewise.
63602 * io/read.c: Likewise.
63603 * io/readlink.c: Likewise.
63604 * io/readlinkat.c: Likewise.
63605 * io/rmdir.c: Likewise.
63606 * io/sendfile.c: Likewise.
63607 * io/sendfile64.c: Likewise.
63608 * io/statfs.c: Likewise.
63609 * io/statfs64.c: Likewise.
63610 * io/statvfs.c: Likewise.
63611 * io/statvfs64.c: Likewise.
63612 * io/symlink.c: Likewise.
63613 * io/symlinkat.c: Likewise.
63614 * io/ttyname.c: Likewise.
63615 * io/ttyname_r.c: Likewise.
63616 * io/umask.c: Likewise.
63617 * io/unlink.c: Likewise.
63618 * io/unlinkat.c: Likewise.
63619 * io/utime.c: Likewise.
63620 * io/utimensat.c: Likewise.
63621 * io/write.c: Likewise.
63622 * io/xmknod.c: Likewise.
63623 * io/xmknodat.c: Likewise.
63624 * io/xstat.c: Likewise.
63625 * io/xstat64.c: Likewise.
63626 * login/getpt.c: Likewise.
63627 * login/grantpt.c: Likewise.
63628 * login/unlockpt.c: Likewise.
63629 * math/e_acoshl.c: Likewise.
63630 * math/e_acosl.c: Likewise.
63631 * math/e_asinl.c: Likewise.
63632 * math/e_atan2l.c: Likewise.
63633 * math/e_atanhl.c: Likewise.
63634 * math/e_coshl.c: Likewise.
63635 * math/e_expl.c: Likewise.
63636 * math/e_fmodl.c: Likewise.
63637 * math/e_gammal_r.c: Likewise.
63638 * math/e_hypotl.c: Likewise.
63639 * math/e_j0l.c: Likewise.
63640 * math/e_j1l.c: Likewise.
63641 * math/e_jnl.c: Likewise.
63642 * math/e_lgammal_r.c: Likewise.
63643 * math/e_log10l.c: Likewise.
63644 * math/e_log2l.c: Likewise.
63645 * math/e_logl.c: Likewise.
63646 * math/e_powl.c: Likewise.
63647 * math/e_rem_pio2l.c: Likewise.
63648 * math/e_sinhl.c: Likewise.
63649 * math/e_sqrtl.c: Likewise.
63650 * math/fclrexcpt.c: Likewise.
63651 * math/fedisblxcpt.c: Likewise.
63652 * math/feenablxcpt.c: Likewise.
63653 * math/fegetenv.c: Likewise.
63654 * math/fegetexcept.c: Likewise.
63655 * math/fegetround.c: Likewise.
63656 * math/feholdexcpt.c: Likewise.
63657 * math/fesetenv.c: Likewise.
63658 * math/fesetround.c: Likewise.
63659 * math/feupdateenv.c: Likewise.
63660 * math/fgetexcptflg.c: Likewise.
63661 * math/fraiseexcpt.c: Likewise.
63662 * math/fsetexcptflg.c: Likewise.
63663 * math/ftestexcept.c: Likewise.
63664 * math/k_cosl.c: Likewise.
63665 * math/k_rem_pio2l.c: Likewise.
63666 * math/k_sinl.c: Likewise.
63667 * math/k_tanl.c: Likewise.
63668 * math/s_asinhl.c: Likewise.
63669 * math/s_atanl.c: Likewise.
63670 * math/s_cbrtl.c: Likewise.
63671 * math/s_erfl.c: Likewise.
63672 * math/s_expm1l.c: Likewise.
63673 * math/s_log1pl.c: Likewise.
63674 * math/s_tanhl.c: Likewise.
63675 * misc/acct.c: Likewise.
63676 * misc/brk.c: Likewise.
63677 * misc/chflags.c: Likewise.
63678 * misc/chroot.c: Likewise.
63679 * misc/fchflags.c: Likewise.
63680 * misc/fgetxattr.c: Likewise.
63681 * misc/flistxattr.c: Likewise.
63682 * misc/fremovexattr.c: Likewise.
63683 * misc/fsetxattr.c: Likewise.
63684 * misc/fsync.c: Likewise.
63685 * misc/ftruncate.c: Likewise.
63686 * misc/futimes.c: Likewise.
63687 * misc/futimesat.c: Likewise.
63688 * misc/getdomain.c: Likewise.
63689 * misc/getdtsz.c: Likewise.
63690 * misc/gethostid.c: Likewise.
63691 * misc/gethostname.c: Likewise.
63692 * misc/getloadavg.c: Likewise.
63693 * misc/getpagesize.c: Likewise.
63694 * misc/getsysstats.c: Likewise.
63695 * misc/getxattr.c: Likewise.
63696 * misc/gtty.c: Likewise.
63697 * misc/ioctl.c: Likewise.
63698 * misc/lgetxattr.c: Likewise.
63699 * misc/listxattr.c: Likewise.
63700 * misc/llistxattr.c: Likewise.
63701 * misc/lremovexattr.c: Likewise.
63702 * misc/lsetxattr.c: Likewise.
63703 * misc/lutimes.c: Likewise.
63704 * misc/madvise.c: Likewise.
63705 * misc/mincore.c: Likewise.
63706 * misc/mlock.c: Likewise.
63707 * misc/mlockall.c: Likewise.
63708 * misc/mmap.c: Likewise.
63709 * misc/mprotect.c: Likewise.
63710 * misc/msync.c: Likewise.
63711 * misc/munlock.c: Likewise.
63712 * misc/munlockall.c: Likewise.
63713 * misc/munmap.c: Likewise.
63714 * misc/preadv.c: Likewise.
63715 * misc/preadv64.c: Likewise.
63716 * misc/ptrace.c: Likewise.
63717 * misc/pwritev.c: Likewise.
63718 * misc/pwritev64.c: Likewise.
63719 * misc/readv.c: Likewise.
63720 * misc/reboot.c: Likewise.
63721 * misc/remap_file_pages.c: Likewise.
63722 * misc/removexattr.c: Likewise.
63723 * misc/revoke.c: Likewise.
63724 * misc/select.c: Likewise.
63725 * misc/setdomain.c: Likewise.
63726 * misc/setegid.c: Likewise.
63727 * misc/seteuid.c: Likewise.
63728 * misc/sethostid.c: Likewise.
63729 * misc/sethostname.c: Likewise.
63730 * misc/setregid.c: Likewise.
63731 * misc/setreuid.c: Likewise.
63732 * misc/setxattr.c: Likewise.
63733 * misc/sstk.c: Likewise.
63734 * misc/stty.c: Likewise.
63735 * misc/swapoff.c: Likewise.
63736 * misc/swapon.c: Likewise.
63737 * misc/sync.c: Likewise.
63738 * misc/syncfs.c: Likewise.
63739 * misc/syscall.c: Likewise.
63740 * misc/truncate.c: Likewise.
63741 * misc/ualarm.c: Likewise.
63742 * misc/usleep.c: Likewise.
63743 * misc/ustat.c: Likewise.
63744 * misc/utimes.c: Likewise.
63745 * misc/vhangup.c: Likewise.
63746 * misc/writev.c: Likewise.
63747 * posix/_exit.c: Likewise.
63748 * posix/alarm.c: Likewise.
63749 * posix/execve.c: Likewise.
63750 * posix/fexecve.c: Likewise.
63751 * posix/fork.c: Likewise.
63752 * posix/fpathconf.c: Likewise.
63753 * posix/getaddrinfo.c: Likewise.
63754 * posix/getegid.c: Likewise.
63755 * posix/geteuid.c: Likewise.
63756 * posix/getgid.c: Likewise.
63757 * posix/getgroups.c: Likewise.
63758 * posix/getlogin.c: Likewise.
63759 * posix/getlogin_r.c: Likewise.
63760 * posix/getpgid.c: Likewise.
63761 * posix/getpid.c: Likewise.
63762 * posix/getppid.c: Likewise.
63763 * posix/getresgid.c: Likewise.
63764 * posix/getresuid.c: Likewise.
63765 * posix/getsid.c: Likewise.
63766 * posix/getuid.c: Likewise.
63767 * posix/glob64.c: Likewise.
63768 * posix/nanosleep.c: Likewise.
63769 * posix/pathconf.c: Likewise.
63770 * posix/pause.c: Likewise.
63771 * posix/posix_madvise.c: Likewise.
63772 * posix/pread.c: Likewise.
63773 * posix/pread64.c: Likewise.
63774 * posix/pwrite.c: Likewise.
63775 * posix/pwrite64.c: Likewise.
63776 * posix/sched_getaffinity.c: Likewise.
63777 * posix/sched_getp.c: Likewise.
63778 * posix/sched_gets.c: Likewise.
63779 * posix/sched_primax.c: Likewise.
63780 * posix/sched_primin.c: Likewise.
63781 * posix/sched_rr_gi.c: Likewise.
63782 * posix/sched_setaffinity.c: Likewise.
63783 * posix/sched_setp.c: Likewise.
63784 * posix/sched_sets.c: Likewise.
63785 * posix/sched_yield.c: Likewise.
63786 * posix/setgid.c: Likewise.
63787 * posix/setlogin.c: Likewise.
63788 * posix/setpgid.c: Likewise.
63789 * posix/setresgid.c: Likewise.
63790 * posix/setresuid.c: Likewise.
63791 * posix/setsid.c: Likewise.
63792 * posix/setuid.c: Likewise.
63793 * posix/sleep.c: Likewise.
63794 * posix/spawni.c: Likewise.
63795 * posix/sysconf.c: Likewise.
63796 * posix/times.c: Likewise.
63797 * posix/wait.c: Likewise.
63798 * posix/wait3.c: Likewise.
63799 * posix/wait4.c: Likewise.
63800 * posix/waitpid.c: Likewise.
63801 * resolv/gai_sigqueue.c: Likewise.
63802 * resource/getpriority.c: Likewise.
63803 * resource/getrlimit.c: Likewise.
63804 * resource/getrusage.c: Likewise.
63805 * resource/nice.c: Likewise.
63806 * resource/setpriority.c: Likewise.
63807 * resource/setrlimit.c: Likewise.
63808 * resource/ulimit.c: Likewise.
63809 * rt/aio_cancel.c: Likewise.
63810 * rt/aio_fsync.c: Likewise.
63811 * rt/aio_read.c: Likewise.
63812 * rt/aio_sigqueue.c: Likewise.
63813 * rt/aio_suspend.c: Likewise.
63814 * rt/aio_write.c: Likewise.
63815 * rt/clock_getres.c: Likewise.
63816 * rt/clock_gettime.c: Likewise.
63817 * rt/clock_nanosleep.c: Likewise.
63818 * rt/clock_settime.c: Likewise.
63819 * rt/lio_listio.c: Likewise.
63820 * rt/mq_close.c: Likewise.
63821 * rt/mq_getattr.c: Likewise.
63822 * rt/mq_notify.c: Likewise.
63823 * rt/mq_open.c: Likewise.
63824 * rt/mq_receive.c: Likewise.
63825 * rt/mq_send.c: Likewise.
63826 * rt/mq_setattr.c: Likewise.
63827 * rt/mq_timedreceive.c: Likewise.
63828 * rt/mq_timedsend.c: Likewise.
63829 * rt/mq_unlink.c: Likewise.
63830 * rt/shm_open.c: Likewise.
63831 * rt/shm_unlink.c: Likewise.
63832 * rt/timer_create.c: Likewise.
63833 * rt/timer_delete.c: Likewise.
63834 * rt/timer_getoverr.c: Likewise.
63835 * rt/timer_gettime.c: Likewise.
63836 * rt/timer_settime.c: Likewise.
63837 * setjmp/__longjmp.c: Likewise.
63838 * setjmp/setjmp.c: Likewise.
63839 * signal/kill.c: Likewise.
63840 * signal/killpg.c: Likewise.
63841 * signal/raise.c: Likewise.
63842 * signal/sigaction.c: Likewise.
63843 * signal/sigaltstack.c: Likewise.
63844 * signal/sigblock.c: Likewise.
63845 * signal/sigignore.c: Likewise.
63846 * signal/sigintr.c: Likewise.
63847 * signal/signal.c: Likewise.
63848 * signal/sigpause.c: Likewise.
63849 * signal/sigpending.c: Likewise.
63850 * signal/sigqueue.c: Likewise.
63851 * signal/sigreturn.c: Likewise.
63852 * signal/sigset.c: Likewise.
63853 * signal/sigsetmask.c: Likewise.
63854 * signal/sigstack.c: Likewise.
63855 * signal/sigsuspend.c: Likewise.
63856 * signal/sigtimedwait.c: Likewise.
63857 * signal/sigvec.c: Likewise.
63858 * signal/sigwait.c: Likewise.
63859 * signal/sigwaitinfo.c: Likewise.
63860 * signal/sysv_signal.c: Likewise.
63861 * socket/accept.c: Likewise.
63862 * socket/accept4.c: Likewise.
63863 * socket/bind.c: Likewise.
63864 * socket/connect.c: Likewise.
63865 * socket/getpeername.c: Likewise.
63866 * socket/getsockname.c: Likewise.
63867 * socket/getsockopt.c: Likewise.
63868 * socket/isfdtype.c: Likewise.
63869 * socket/listen.c: Likewise.
63870 * socket/recv.c: Likewise.
63871 * socket/recvfrom.c: Likewise.
63872 * socket/recvmsg.c: Likewise.
63873 * socket/send.c: Likewise.
63874 * socket/sendmsg.c: Likewise.
63875 * socket/sendto.c: Likewise.
63876 * socket/setsockopt.c: Likewise.
63877 * socket/shutdown.c: Likewise.
63878 * socket/sockatmark.c: Likewise.
63879 * socket/socket.c: Likewise.
63880 * socket/socketpair.c: Likewise.
63881 * stdio-common/ctermid.c: Likewise.
63882 * stdio-common/cuserid.c: Likewise.
63883 * stdio-common/remove.c: Likewise.
63884 * stdio-common/rename.c: Likewise.
63885 * stdio-common/renameat.c: Likewise.
63886 * stdio-common/tempname.c: Likewise.
63887 * stdlib/getcontext.c: Likewise.
63888 * stdlib/makecontext.c: Likewise.
63889 * stdlib/setcontext.c: Likewise.
63890 * stdlib/swapcontext.c: Likewise.
63891 * stdlib/system.c: Likewise.
63892 * streams/fattach.c: Likewise.
63893 * streams/fdetach.c: Likewise.
63894 * streams/getmsg.c: Likewise.
63895 * streams/getpmsg.c: Likewise.
63896 * streams/putmsg.c: Likewise.
63897 * streams/putpmsg.c: Likewise.
63898 * sysdeps/unix/bsd/getpt.c: Likewise.
63899 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63900 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63901 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63903 Likewise.
63904 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63905 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63906 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63907 * sysvipc/msgctl.c: Likewise.
63908 * sysvipc/msgget.c: Likewise.
63909 * sysvipc/msgrcv.c: Likewise.
63910 * sysvipc/msgsnd.c: Likewise.
63911 * sysvipc/semctl.c: Likewise.
63912 * sysvipc/semget.c: Likewise.
63913 * sysvipc/semop.c: Likewise.
63914 * sysvipc/semtimedop.c: Likewise.
63915 * sysvipc/shmat.c: Likewise.
63916 * sysvipc/shmctl.c: Likewise.
63917 * sysvipc/shmdt.c: Likewise.
63918 * sysvipc/shmget.c: Likewise.
63919 * termios/tcdrain.c: Likewise.
63920 * termios/tcflow.c: Likewise.
63921 * termios/tcflush.c: Likewise.
63922 * termios/tcgetattr.c: Likewise.
63923 * termios/tcgetpgrp.c: Likewise.
63924 * termios/tcsendbrk.c: Likewise.
63925 * termios/tcsetattr.c: Likewise.
63926 * termios/tcsetpgrp.c: Likewise.
63927 * time/adjtime.c: Likewise.
63928 * time/clock.c: Likewise.
63929 * time/getitimer.c: Likewise.
63930 * time/gettimeofday.c: Likewise.
63931 * time/setitimer.c: Likewise.
63932 * time/settimeofday.c: Likewise.
63933 * time/stime.c: Likewise.
63934 * time/time.c: Likewise.
63935
63936 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
63937
63938 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
63939 /usr/old/bin.
63940
63941 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
63942 instead of spaces.
63943 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
63944
63945 2012-11-03 Joseph Myers <joseph@codesourcery.com>
63946
63947 [BZ #14796]
63948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
63949 FE_TONEAREST before applying Dekker multiplication and Knuth
63950 addition. Clear inexact exceptions and check for exact zero
63951 results afterwards.
63952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63953 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63954 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63955 * math/libm-test.inc (fma_test): Add more tests.
63956 (fma_test_towardzero): Likewise.
63957 (fma_test_downward): Likewise.
63958 (fma_test_upward): Likewise.
63959 * sysdeps/generic/math_private.h (default_libc_fesetround): New
63960 function.
63961 (libc_fesetround): New macro.
63962 (libc_fesetroundf): Likewise.
63963 (libc_fesetroundl): Likewise.
63964 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
63965 function.
63966 (libc_fesetround_387): Likewise.
63967 (libc_fesetroundf): New macro.
63968 (libc_fesetround): Likewise.
63969 (libc_fesetroundl): Likewise.
63970 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
63971 function.
63972 (libc_fesetroundf): New macro.
63973 (libc_fesetround): Likewise.
63974 (libc_fesetroundl): Likewise.
63975 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
63976 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
63977 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
63978 libm_hidden_ver.
63979 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
63980 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
63981 libm_hidden_def.
63982 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
63983 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
63984 libm_hidden_ver.
63985 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
63986 libm_hidden_def.
63987
63988 [BZ #3439]
63989 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
63990 integer constant usable in #if and use that to give value to enum
63991 constant.
63992 (FE_DIVBYZERO): Likewise.
63993 (FE_UNDERFLOW): Likewise.
63994 (FE_OVERFLOW): Likewise.
63995 (FE_INVALID): Likewise.
63996 (FE_INVALID_SNAN): Likewise.
63997 (FE_INVALID_ISI): Likewise.
63998 (FE_INVALID_IDI): Likewise.
63999 (FE_INVALID_ZDZ): Likewise.
64000 (FE_INVALID_IMZ): Likewise.
64001 (FE_INVALID_COMPARE): Likewise.
64002 (FE_INVALID_SOFTWARE): Likewise.
64003 (FE_INVALID_SQRT): Likewise.
64004 (FE_INVALID_INTEGER_CONVERSION): Likewise.
64005 (FE_TONEAREST): Likewise.
64006 (FE_TOWARDZERO): Likewise.
64007 (FE_UPWARD): Likewise.
64008 (FE_DOWNWARD): Likewise.
64009 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64010 (FE_DIVBYZERO): Likewise.
64011 (FE_OVERFLOW): Likewise.
64012 (FE_UNDERFLOW): Likewise.
64013 (FE_INEXACT): Likewise.
64014 (FE_TONEAREST): Likewise.
64015 (FE_DOWNWARD): Likewise.
64016 (FE_UPWARD): Likewise.
64017 (FE_TOWARDZERO): Likewise.
64018 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64019 (FE_UNDERFLOW): Likewise.
64020 (FE_OVERFLOW): Likewise.
64021 (FE_DIVBYZERO): Likewise.
64022 (FE_INVALID): Likewise.
64023 (FE_TONEAREST): Likewise.
64024 (FE_TOWARDZERO): Likewise.
64025 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64026 (FE_OVERFLOW): Likewise.
64027 (FE_UNDERFLOW): Likewise.
64028 (FE_DIVBYZERO): Likewise.
64029 (FE_INEXACT): Likewise.
64030 (FE_TONEAREST): Likewise.
64031 (FE_TOWARDZERO): Likewise.
64032 (FE_UPWARD): Likewise.
64033 (FE_DOWNWARD): Likewise.
64034 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64035 (FE_DIVBYZERO): Likewise.
64036 (FE_OVERFLOW): Likewise.
64037 (FE_UNDERFLOW): Likewise.
64038 (FE_INEXACT): Likewise.
64039 (FE_TONEAREST): Likewise.
64040 (FE_DOWNWARD): Likewise.
64041 (FE_UPWARD): Likewise.
64042 (FE_TOWARDZERO): Likewise.
64043
64044 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
64045
64046 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64047
64048 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
64049
64050 * scripts/cross-test-ssh.sh (command): Use newlines to separate
64051 commands. Quote $PWD.
64052 (blacklist_exports): Don't use remove_newlines. Replace "declare
64053 -x" by "export".
64054 (remove_newlines): Remove.
64055
64056 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
64057
64058 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64059 * stdlib/stdlib.h (atof): Moved to ...
64060 * include/bits/stdlib-float.h: Here. New file.
64061 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64062 * stdlib/bits/stdlib-float.h: New file.
64063 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64064 -mno-sse -mno-mmx.
64065 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64066 <xmmintrin.h>.
64067
64068 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64069
64070 * conform/conformtest.pl (@headers): Add fenv.h.
64071 * conform/data/fenv.h-data: New file.
64072 * include/fenv.h [_ISOMAC]: Disable all contents of file except
64073 include of <math/fenv.h>.
64074
64075 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64076 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64077 && !UNIX98]. Enables tests for XOPEN2K8.
64078 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64079 POSIX2008]: Likewise.
64080
64081 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64082 (struct rusage): Do not expect type or its members.
64083
64084 [BZ #3439]
64085 * math/math.h (FP_NAN): Define macro to integer constant usable in
64086 #if and use that to give value to enum constant.
64087 (FP_INFINITE): Likewise.
64088 (FP_ZERO): Likewise.
64089 (FP_SUBNORMAL): Likewise.
64090 (FP_NORMAL): Likewise.
64091
64092 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
64093
64094 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64095 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64096 arguments.
64097
64098 2012-11-02 Roland McGrath <roland@hack.frob.com>
64099
64100 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64101 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64102 autoconf-time if not.
64103 * configure.in: Remove AC_PREREQ.
64104
64105 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64106
64107 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64108 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64109 of the internal implementation.
64110
64111 2012-11-02 Joseph Myers <joseph@codesourcery.com>
64112
64113 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64114 except include of <misc/sys/syslog.h>.
64115
64116 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64117
64118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64119 function returns with a NULL context exit with zero.
64120
64121 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64122
64123 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64124
64125 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
64126
64127 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64128 (run_program_cmd): This.
64129 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64130 (tst_langinfo): New variable. Use it.
64131
64132 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
64133
64134 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64135 floating point opcodes.
64136
64137 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64138
64139 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64140 variable.
64141
64142 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64143
64144 * sysdeps/mach/hurd/powerpc: Remove directory.
64145 * sysdeps/mach/powerpc: Likewise.
64146
64147 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
64148
64149 * scripts/check-local-headers.sh: Ignore c++ headers.
64150
64151 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64152
64153 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64154 __libc_cleanup_region_start argument.
64155
64156 2012-11-01 Joseph Myers <joseph@codesourcery.com>
64157
64158 [BZ #14784]
64159 [BZ #14785]
64160 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64161 x * y using scaling, not as x * y + z.
64162 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64163 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64164 * math/libm-test.inc (fma_test): Add more tests.
64165 (fma_test_towardzero): Likewise.
64166 (fma_test_downward): Likewise.
64167 (fma_test_upward): Likewise.
64168
64169 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
64170
64171 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64172
64173 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64174
64175 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64176 New variable.
64177
64178 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
64179
64180 * rt/tst-shm.c (worker): Correct checking for mmap failure.
64181
64182 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64183
64184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64185 Fix sort order.
64186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64187 Likewise.
64188
64189 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64190
64191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64192 Fix the order of the list for glibc 2.17.
64193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64194 Likewise.
64195
64196 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
64197
64198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64199
64200 2012-10-31 Joseph Myers <joseph@codesourcery.com>
64201
64202 [BZ #14610]
64203 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64204 for low part of x being zero before using __atanl (y).
64205 * math/libm-test.inc (atan2_test): Add another test.
64206
64207 * manual/install.texi (Configuring and compiling): Document
64208 general use of test-wrapper and test-wrapper-env.
64209 * INSTALL: Regenerated.
64210
64211 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64212 (__fma): Do not extract and scale down low bits on after-rounding
64213 systems when result rounded to normal precision would have normal
64214 exponent.
64215 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64216 (__fmal): Do not extract and scale down low bits on after-rounding
64217 systems when result rounded to normal precision would have normal
64218 exponent.
64219 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64220 (__fmal): Do not extract and scale down low bits on after-rounding
64221 systems when result rounded to normal precision would have normal
64222 exponent.
64223 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64224 macro.
64225 (fma_test): Add more tests.
64226 (fma_test_towardzero): Likewise.
64227 (fma_test_downward): Likewise.
64228 (fma_test_upward): Likewise.
64229
64230 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
64231
64232 * sysdeps/i386/tininess.h: Renamed to ...
64233 * sysdeps/x86/tininess.h: This.
64234 * sysdeps/x86_64/tininess.h: Removed.
64235
64236 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64237
64238 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64239 input. Use $(build-program-cmd).
64240 ($(objpfx)tst-array1-static.out): Likewise.
64241 ($(objpfx)tst-array2.out): Likewise.
64242 ($(objpfx)tst-array3.out): Likewise.
64243 ($(objpfx)tst-array4.out): Likewise.
64244 ($(objpfx)tst-array5.out): Likewise.
64245 ($(objpfx)tst-array5-static.out): Likewise.
64246
64247 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
64248
64249 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64250 if defined.
64251
64252 * nss/nsswitch.h (nss_interface_function): Provide new
64253 macro for use with NSS functions.
64254 * grp/initgroups.c: Use new macro.
64255 * nss/getXXbyYY.c: Likewise.
64256 * nss/getXXbyYY_r.c: Likewise.
64257 * nss/getXXent.c: Likewise.
64258 * nss/getXXent_r.c: Likewise.
64259 * sysdeps/posix/getaddrinfo.c: Likewise.
64260
64261 2012-10-30 Andreas Jaeger <aj@suse.de>
64262
64263 * po/ru.po: Update Russion translation from translation project.
64264
64265 2012-10-30 Joseph Myers <joseph@codesourcery.com>
64266
64267 [BZ #14152]
64268 [BZ #14783]
64269 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64270 result and shift together with sticky bit instead of replicating
64271 round-to-nearest rounding.
64272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64274 * math/libm-test.inc (fma_test): Add more tests. Do not permit
64275 missing underflow exceptions.
64276 (fma_test_towardzero): Add more tests.
64277 (fma_test_downward): Likewise.
64278 (fma_test_upward): Likewise.
64279
64280 [BZ #14047]
64281 * sysdeps/generic/tininess.h: New file.
64282 * sysdeps/i386/tininess.h: Likewise.
64283 * sysdeps/sh/tininess.h: Likewise.
64284 * sysdeps/x86_64/tininess.h: Likewise.
64285 * stdlib/tst-strtod-underflow.c: Likewise.
64286 * stdlib/tst-tininess.c: Likewise.
64287 * stdlib/strtod_l.c: Include <tininess.h>.
64288 (round_and_return): Do not set errno for exact underflow cases.
64289 Force an underflow exception when setting errno for underflow.
64290 Determine underflow based on rounding to normal precision if
64291 TININESS_AFTER_ROUNDING.
64292 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64293 ERANGE for exact underflow cases.
64294 * stdlib/Makefile (tests): Add tst-tininess and
64295 tst-strtod-underflow.
64296 ($(objpfx)tst-tininess): Use $(link-libm).
64297 ($(objpfx)tst-strtod-underflow): Likewise.
64298
64299 2012-10-30 Andreas Jaeger <aj@suse.de>
64300
64301 [BZ#14767]
64302 * elf/Makefile (tests): Remove conditional for have-initfini-array
64303 since this is now always required and the variable does not exist
64304 anymore.
64305 (tests-static): Likewise.
64306 (modules-names): Likewise.
64307
64308 * po/eo.po: Add Esperanto translation from translation project.
64309
64310 * elf/tst-array1.c (fini_array): Make writeable so that it can be
64311 merged with constructor/destructor.
64312 (init_array): Likewise.
64313 * elf/tst-array2dep.c (fini_array): Likewise.
64314 (init_array): Likewise.
64315
64316 2012-10-29 Mike Frysinger <vapier@gentoo.org>
64317
64318 * manual/message.texi: Delete @cartouche tags.
64319
64320 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
64321
64322 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64323 EOPNOTSUPP.
64324 * sysdeps/mach/hurd/fsync.c: Likewise.
64325
64326 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64327 [_POSIX_REALTIME_SIGNALS]: Change condition to
64328 [_POSIX_REALTIME_SIGNALS > 0].
64329
64330 2012-10-27 Andreas Jaeger <aj@suse.de>
64331
64332 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64333 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64334 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64335 [__WORDSIZE != 64]: Likewise.
64336
64337 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
64338
64339 * iconvdata/tst-table.sh: Remove ${SHELL}.
64340 * iconvdata/tst-tables.sh: Likewise.
64341
64342 2012-10-25 David S. Miller <davem@davemloft.net>
64343
64344 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64345 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64346 of strtoull.
64347
64348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64349 ifunc-impl-list.c
64350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64351 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64352 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64353 file.
64354
64355 2012-10-25 Roland McGrath <roland@hack.frob.com>
64356
64357 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64358 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64359 __getdirentries.
64360
64361 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64362 Jim Blandy <jimb@codesourcery.com>
64363
64364 * scripts/cross-test-ssh.sh: New file.
64365 * manual/install.texi (Configuring and compiling): Document use of
64366 cross-test-ssh.sh.
64367 * INSTALL: Regenerated.
64368
64369 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
64370
64371 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64372 EOPNOTSUPP.
64373
64374 2012-10-25 Joseph Myers <joseph@codesourcery.com>
64375
64376 * Makeconfig (run-program-prefix): Fix comment.
64377
64378 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64379 Jim Blandy <jimb@codesourcery.com>
64380
64381 * Makeconfig (test-wrapper): New variable,
64382 (test-wrapper-env): Likewise.
64383 [$(cross-compiling) = yes && $(test-wrapper) != ""]
64384 (run-built-tests): Define to yes.
64385 (run-program-prefix): Use $(test-wrapper).
64386 (built-program-cmd): Likewise.
64387 * Rules (make-test-out): Use $(test-wrapper-env) and
64388 $(host-built-program-cmd).
64389 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64390 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64391 tst-pathopt.sh.
64392 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64393 $(test-wrapper-env) to tst-rtld-load-self.sh.
64394 ($(objpfx)order2.out): Use $(test-wrapper).
64395 ($(objpfx)tst-initorder.out): Likewise.
64396 ($(objpfx)tst-initorder2.out): Likewise.
64397 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64398 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64399 (test_wrapper_env): New variable. Use it to run ld.so.
64400 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64401 Use it to run ld.so.
64402 (test_wrapper_env): Likewise.
64403 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64404 $(test-wrapper) to run-iconv-test.sh.
64405 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64406 (ICONV): Use $test_wrapper.
64407 * posix/Makefile ($(objpfx)globtest.out): Pass
64408 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64409 globtest.sh, not $(run-program-prefix).
64410 * posix/globtest.sh (run_via_rtld_prefix): New variable.
64411 (test_wrapper): Likewise.
64412 (test_wrapper_env): Likewise. Use it to run globtest with HOME
64413 set together with run_via_rtld_prefix.
64414 (run_program_prefix): Define in terms of test_wrapper and
64415 run_via_rtld_prefix.
64416
64417 2012-10-24 Roland McGrath <roland@hack.frob.com>
64418
64419 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64420 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64421 Targets removed.
64422
64423 [BZ #14743]
64424 * include/time.h: Remove librt_hidden_proto (clock_gettime).
64425 Declare __clock_getres, __clock_gettime, __clock_settime,
64426 __clock_nanosleep, and __clock_getcpuclockid.
64427 * rt/clock_gettime.c: Define __clock_gettime as an alias.
64428 Remove librt_hidden_def (clock_gettime).
64429 * sysdeps/unix/clock_gettime.c: Likewise.
64430 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64431 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64432 * rt/clock_getres.c: Define __clock_getres as an alias.
64433 * sysdeps/posix/clock_getres.c: Likewise.
64434 * rt/clock_settime.c: Define __clock_settime as an alias.
64435 * sysdeps/unix/clock_settime.c: Likewise.
64436 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64437 * sysdeps/unix/clock_nanosleep.c: Likewise.
64438 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64439 * rt/clock-compat.c: New file.
64440 * rt/Makefile (librt-routines): Add clock-compat and move
64441 $(clock-routines) to ...
64442 (routines): ... here, new variable.
64443 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64444 Don't add get_clockfreq here.
64445 * rt/Versions (libc: GLIBC_2.17): New version set.
64446 Add clock_* symbols here.
64447 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
64448 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64449 (GLIBC_2.17): Add clock_* symbols.
64450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64451 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64452 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64454 Likewise.
64455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64456 Likewise.
64457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64458 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64461 * NEWS: Mention the move.
64462
64463 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64464 Use __open, __read, __close rather than their public counterparts.
64465 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64466 (__get_clockfreq_via_cpuinfo): Likewise.
64467 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64468 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64469
64470 * config.h.in (HAVE_IFUNC): New #undef.
64471 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64472 was successful.
64473 * configure: Regenerated.
64474
64475 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64476
64477 * configure.in: Move READELF check to start of file.
64478 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64479 libc_cv_asm_gnu_indirect_function in the process.
64480 * configure: Regenerated.
64481
64482 2012-10-24 Mike Frysinger <vapier@gentoo.org>
64483
64484 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64485 send the output to /dev/null.
64486 (libc_cv_cc_with_libunwind): Likewise.
64487 (libc_cv_as_noexecstack): Likewise.
64488 * configure: Regenerate.
64489
64490 2012-10-24 Joseph Myers <joseph@codesourcery.com>
64491
64492 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64493
64494 * posix/globtest.sh (TMPDIR): Do not set.
64495 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64496 (testout): Likewise.
64497
64498 2012-10-24 Andreas Jaeger <aj@suse.de>
64499
64500 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64501 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64502 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64503 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64504 posix_fadvise64, posix_fallocate64.
64505
64506 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64507 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64508 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64509 Likewise.
64510 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64511 Likewise.
64512 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64513
64514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64515 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64516 <bits/fcntl-linux.h>.
64517 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64518
64519 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64520 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64521 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64522 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64523 [__WORDSIZE != 64]: Likewise.
64524
64525 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64526
64527 * Makeconfig (run-built-tests): New variable.
64528 * Rules [$(cross-compiling) = yes]: Change condition to
64529 [$(run-built-tests) = no].
64530 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64531 to [$(run-built-tests) = yes].
64532 * elf/Makefile [$(cross-compiling) = no]: Likewise.
64533 * grp/Makefile [$(cross-compiling) = no]: Likewise.
64534 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64535 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64536 * intl/Makefile [$(cross-compiling) = no]: Likewise.
64537 * io/Makefile [$(cross-compiling) = no]: Likewise.
64538 * libio/Makefile [$(cross-compiling) = no]: Likewise.
64539 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64540 * misc/Makefile [$(cross-compiling) = no]: Likewise.
64541 * posix/Makefile [$(cross-compiling) = no]: Likewise.
64542 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64543 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64544 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64545 * string/Makefile [$(cross-compiling) = no]: Likewise.
64546
64547 * posix/Makefile ($(objpfx)globtest.out): Pass
64548 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64549 $(rtld-installed-name).
64550 * posix/globtest.sh (elf_objpfx): Remove variable.
64551 (rtld_installed_name): Likewise.
64552 (library_path): Likewise.
64553 (run_program_prefix): New variable. Use for running globtest
64554 binary.
64555
64556 2012-10-23 Jim Blandy <jimb@codesourcery.com>
64557 Joseph Myers <joseph@codesourcery.com>
64558
64559 * Makeconfig (host-built-program-cmd): New variable.
64560 * elf/Makefile (tst-stackguard1-ARGS): Use
64561 $(host-built-program-cmd).
64562 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64563 (tst-spawn-ARGS): Likewise.
64564 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64565
64566 2012-10-23 Joseph Myers <joseph@codesourcery.com>
64567 Jim Blandy <jimb@codesourcery.com>
64568
64569 * Makeconfig (run-via-rtld-prefix): New variable.
64570 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64571 (built-program-cmd): Likewise.
64572
64573 2012-10-22 Andreas Jaeger <aj@suse.de>
64574
64575 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64576 __O_RSYNC if it exists, otherwise to O_SYNC.
64577
64578 2012-10-22 Jim Blandy <jimb@codesourcery.com>
64579 Joseph Myers <joseph@codesourcery.com>
64580
64581 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64582 /dev/null.
64583 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64584 from /dev/null
64585 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64586 /dev/null.
64587
64588 2012-10-22 Andreas Jaeger <aj@suse.de>
64589
64590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64591 Define always.
64592 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64593
64594 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64595 bits/fcntl-linux.h.
64596
64597 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64598 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64599
64600 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64601 to __O_LARGEFILE.
64602 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64603 to __O_LARGEFILE.
64604
64605 2012-10-21 Jim Blandy <jimb@codesourcery.com>
64606 Joseph Myers <joseph@codesourcery.com>
64607
64608 * config.make.in (NM): New variable.
64609
64610 2012-10-21 Andreas Jaeger <aj@suse.de>
64611
64612 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64613 definitions and declarations that are provided by
64614 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64615
64616 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64617
64618 [BZ #14683]
64619 * elf/Makefile (tests-static): Add tst-leaks1-static.
64620 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64621 ($(objpfx)tst-leaks1-static): New rule.
64622 ($(objpfx)tst-leaks1-static-mem): Likewise.
64623 (tst-leaks1-static-ENV): New macro.
64624 * elf/dl-open.c (dl_open_worker): Check the main application
64625 only if SHARED is defined.
64626 * elf/tst-leaks1-static.c: New file.
64627
64628 2012-10-20 Andreas Jaeger <aj@suse.de>
64629
64630 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64631 generic values for Linux.
64632 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64633 and declarations that are provided by <bits/fcntl-linux.h> and
64634 include <bits/fcntl-linux.h>.
64635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64636 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64637
64638 2012-10-20 Roland McGrath <roland@hack.frob.com>
64639
64640 * io/fcntl.h: Move include of <bits/types.h> to the top and
64641 include it unconditionally.
64642
64643 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
64644
64645 * wcsmbs/Makefile (tests-ifunc): New variable.
64646 (tests): Add $(tests-ifunc).
64647 * wcsmbs/test-wcschr-ifunc.c: New file.
64648 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64649 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64650 * wcsmbs/test-wcslen-ifunc.c: Likewise.
64651 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64652 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64653
64654 * string/Makefile (tests-ifunc): New variable.
64655 (tests): Add $(tests-ifunc).
64656 * string/test-memccpy.c (TEST_NAME): New macro.
64657 * string/test-memchr.c (TEST_NAME): Likewise.
64658 * string/test-memcmp.c (TEST_NAME): Likewise.
64659 * string/test-memcpy.c (TEST_NAME): Likewise.
64660 * string/test-memmem.c (TEST_NAME): Likewise.
64661 * string/test-memmove.c (TEST_NAME): Likewise.
64662 * string/test-memset.c (TEST_NAME): Likewise.
64663 * string/test-rawmemchr.c (TEST_NAME): Likewise.
64664 * string/test-stpcpy.c (TEST_NAME): Likewise.
64665 * string/test-stpncpy.c (TEST_NAME): Likewise.
64666 * string/test-strcasecmp.c (TEST_NAME): Likewise.
64667 * string/test-strcasestr.c (TEST_NAME): Likewise.
64668 * string/test-strcat.c (TEST_NAME): Likewise.
64669 * string/test-strchr.c (TEST_NAME): Likewise.
64670 * string/test-strcmp.c(TEST_NAME): Likewise.
64671 * string/test-strcpy.c (TEST_NAME): Likewise.
64672 * string/test-strcspn.c (TEST_NAME): Likewise.
64673 * string/test-strlen.c (TEST_NAME): Likewise.
64674 * string/test-strncasecmp.c (TEST_NAME): Likewise.
64675 * string/test-strncmp.c (TEST_NAME): Likewise.
64676 * string/test-strncpy.c (TEST_NAME): Likewise.
64677 * string/test-strnlen.c (TEST_NAME): Likewise.
64678 * string/test-strpbrk.c (TEST_NAME): Likewise.
64679 * string/test-strrchr.c (TEST_NAME): Likewise.
64680 * string/test-strspn.c (TEST_NAME): Likewise.
64681 * string/test-strstr.c (TEST_NAME): Likewise.
64682 * string/test-bcopy-ifunc.c: New file.
64683 * string/test-bzero-ifunc.c: Likewise.
64684 * string/test-memccpy-ifunc.c: Likewise.
64685 * string/test-memchr-ifunc.c: Likewise.
64686 * string/test-memcmp-ifunc.c: Likewise.
64687 * string/test-memcpy-ifunc.c: Likewise.
64688 * string/test-memmem-ifunc.c: Likewise.
64689 * string/test-memmove-ifunc.c: Likewise.
64690 * string/test-mempcpy-ifunc.c: Likewise.
64691 * string/test-memset-ifunc.c: Likewise.
64692 * string/test-rawmemchr-ifunc.c: Likewise.
64693 * string/test-stpcpy-ifunc.c: Likewise.
64694 * string/test-stpncpy-ifunc.c: Likewise.
64695 * string/test-strcasecmp-ifunc.c: Likewise.
64696 * string/test-strcasestr-ifunc.c: Likewise.
64697 * string/test-strcat-ifunc.c: Likewise.
64698 * string/test-strchr-ifunc.c: Likewise.
64699 * string/test-strchrnul-ifunc.c: Likewise.
64700 * string/test-strcmp-ifunc.c: Likewise.
64701 * string/test-strcpy-ifunc.c: Likewise.
64702 * string/test-strcspn-ifunc.c: Likewise.
64703 * string/test-strlen-ifunc.c: Likewise.
64704 * string/test-strncasecmp-ifunc.c: Likewise.
64705 * string/test-strncat-ifunc.c: Likewise.
64706 * string/test-strncmp-ifunc.c: Likewise.
64707 * string/test-strncpy-ifunc.c: Likewise.
64708 * string/test-strnlen-ifunc.c: Likewise.
64709 * string/test-strpbrk-ifunc.c: Likewise.
64710 * string/test-strrchr-ifunc.c: Likewise.
64711 * string/test-strspn-ifunc.c: Likewise.
64712 * string/test-strstr-ifunc.c: Likewise.
64713
64714 * debug/Makefile (tests-ifunc): New variable.
64715 (tests): Add $(tests-ifunc).
64716 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64717 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64718 * debug/test-stpcpy_chk-ifunc.c: New file.
64719 * debug/test-strcpy_chk-ifunc.c: Likewise.
64720
64721 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
64722
64723 [BZ #13601]
64724 * elf/dl-load.c (open_verify): Retry read if the entire ELF
64725 header is not read in.
64726
64727 2012-10-19 Joseph Myers <joseph@codesourcery.com>
64728
64729 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
64730 script to $(SHELL) as $<. Pass $(common-objpfx) to script
64731 directly. Pass built executable to script as
64732 $(built-program-cmd).
64733 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
64734 $testprogram without using LD_LIBRARY_PATH and $ldso.
64735
64736 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64737 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64738 $(rtld-installed-name).
64739 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64740 (rtld_installed_name): Likewise.
64741 (library_path): Likewise.
64742 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
64743 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64744 $(run-program-prefix) to tst-tables.sh.
64745 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
64746 it to run tst-table-from and tst-table-to.
64747 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64748 Pass it to tst-table.sh.
64749 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64750 $(run-program-prefix) to tst-gettext.sh.
64751 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64752 tst-translit.sh.
64753 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64754 tst-gettext2.sh.
64755 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
64756 to run tst-gettext.
64757 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
64758 to run tst-gettext2.
64759 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
64760 to run tst-translit.
64761 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64762 $(run-program-prefix) to tst-mtrace.sh.
64763 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
64764 to run tst-mtrace.
64765 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64766 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64767 $(rtld-installed-name).
64768 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64769 (rtld_installed_name): Likewise.
64770 (run_program_prefix): New variable. Use it to run wordexp-test.
64771
64772 * Makeconfig (ARCH): Remove all definitions.
64773 (machine): Likewise.
64774 [ARCH]: Remove conditional code.
64775 [!objdir]: Give error.
64776 [!objdir] (objpfx): Remove.
64777 [!objdir] (common-objpfx): Likewise.
64778 [!objdir] (common-objdir): Likewise.
64779 * configure.in (config_makefile): Remove. Hardcode Makefile in
64780 AC_CONFIG_FILES call.
64781 * configure: Regenerated.
64782
64783 [BZ #13888]
64784 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64785 or TMPDIR.
64786 (testout): Likewise.
64787
64788 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64789 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64790 $(rtld-installed-name).
64791 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64792 (rtld_installed_name): Likewise.
64793 (runit): Remove function.
64794 (run_getconf): New variable, Use it for running getconf binary.
64795
64796 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
64797
64798 [BZ #14716]
64799 * string/test-memmem.c (check_result): New function.
64800 (do_one_test): Use it.
64801 (check1): New function.
64802 (test_main): Use it.
64803
64804 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
64805
64806 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64807
64808 2012-10-18 Joseph Myers <joseph@codesourcery.com>
64809
64810 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64811 (_G_LSEEK64): Likewise.
64812 (_G_MMAP64): Likewise.
64813 (_G_FSTAT64): Likewise.
64814 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64815 (_G_LSEEK64): Likewise.
64816 (_G_MMAP64): Likewise.
64817 (_G_FSTAT64): Likewise.
64818 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64819 unconditional. Call __mmap64 directly.
64820 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64821 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
64822 __lseek64 directly.
64823 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64824 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
64825 __mmap64 directly.
64826 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64827 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
64828 __lseek64 directly.
64829 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64830 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
64831 __lseek64 directly.
64832 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64833 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
64834 __lseek64 directly.
64835 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64836 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
64837 __fxstat64 directly.
64838 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64839 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64840 unconditional.
64841 (freopen64) [!_G_OPEN64]: Remove conditional code.
64842 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64843 unconditional.
64844 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64845 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64846 unconditional.
64847 (ftello64) [!_G_LSEEK64]: Remove conditional code.
64848 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64849 unconditional.
64850 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64851 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64852 unconditional.
64853 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64854 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64855 unconditional.
64856 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64857 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64858 unconditional.
64859 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64860 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64861 unconditional.
64862 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64863
64864 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
64865
64866 [BZ #12140]
64867 * manual/memory.texi (Malloc Tunable Parameters): Add note
64868 about free list pointers overwriting some perturb bytes.
64869 Wording suggested by Roland McGrath.
64870
64871 2012-10-17 Joseph Myers <joseph@codesourcery.com>
64872
64873 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64874 (lgamma_test): Likewise.
64875 (tgamma_test): Likewise.
64876
64877 2012-10-16 Florian Weimer <fweimer@redhat.com>
64878
64879 [BZ #14700]
64880 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64881 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64882
64883 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
64884
64885 * NEWS: Mention BZ #14716.
64886 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64887 when removing AVAILABLE1_USES_J macro.
64888
64889 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
64890
64891 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64892 (__bswap_64): __uint64_t for unsigned 64-bit int.
64893
64894 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
64895
64896 * include/string.h (memmem): Declare libc hidden alias.
64897 * string/memmem.c (memmem): Define libc hidden alias.
64898 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64899 __read, __close instead of open, read, close.
64900
64901 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
64902
64903 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64904 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64905 global and hidden.
64906 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64907 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64908 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64909 Likewise.
64910 (__rawmemchr_sse2): Likewise.
64911 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64912 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
64913 (__strchr_sse2): Likewise.
64914 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
64915 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
64916 (__strcasecmp_sse2): Likewise.
64917 (__strncasecmp_sse2): Likewise.
64918 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
64919 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
64920 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
64921 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
64922 (__strrchr_sse2): Likewise.
64923 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
64924 ifunc-impl-list.c.
64925 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
64926 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
64927 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
64928 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64929 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
64930 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
64931 * sysdeps/x86_64/multiarch/memset.S: Likewise.
64932 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64933 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
64934 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
64935 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
64936 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
64937 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
64938 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
64939 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
64940 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64941 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
64942 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
64943 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
64944 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
64945 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
64946 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
64947 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
64948 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64949 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
64950 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64951 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
64952 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64953 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
64954 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
64955
64956 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
64957 global and hidden.
64958 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
64959 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
64960 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
64961 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
64962 Likewise.
64963 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
64964 Likewise.
64965 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
64966 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
64967 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
64968 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
64969 ifunc-impl-list.c.
64970 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
64971 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
64972 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
64973 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
64974 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
64975 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
64976 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
64977 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
64978 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
64979 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
64980 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
64981 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
64982 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
64983 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
64984 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
64985 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64986 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
64987 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
64988 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
64989 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
64990 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
64991 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
64992 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
64993 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
64994 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64995 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
64996 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
64997 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
64998 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
64999 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65000 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65001 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65002 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65003 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65004 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65005 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65007 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65008 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65009 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65010 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65011
65012 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65013 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65014 * include/ifunc-impl-list.h: New file.
65015 * misc/ifunc-impl-list.c: Likewise.
65016 * misc/Makefile (routines): Add ifunc-impl-list.
65017 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65018 * string/test-string.h: Include <ifunc-impl-list.h>.
65019 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65020 TEST_NAME]: New variables.
65021 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65022 are defined.
65023 (test_init): Call __libc_ifunc_impl_list to initialize
65024 func_list if TEST_IFUNC and TEST_NAME are defined.
65025
65026 * string/Makefile (strop-tests): Add bcopy and bzero.
65027 * string/test-bcopy.c: New file.
65028 * string/test-bzero.c: Likewise.
65029 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65030 defined.
65031 * string/test-memset.c: Support bzero test if TEST_BZERO is
65032 defined.
65033 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65034 __libc_memmove.
65035 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65036 __libc_memset.
65037 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65038 of memset.
65039
65040 2012-10-10 Joseph Myers <joseph@codesourcery.com>
65041
65042 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65043 * configure: Regenerated.
65044
65045 * Makeconfig (+link-static-before-libc): Don't include
65046 $(link-static-libc).
65047
65048 * libio/libio.h (_IO_pos_t): Remove.
65049
65050 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65051
65052 * NEWS: Add note about FIPS mode. Wording suggested by Roland
65053 McGrath.
65054
65055 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65056
65057 * crypt/crypt-entry.c: Include fips-private.h.
65058 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65059 * crypt/md5c-test.c (main): Tolerate disabled MD5.
65060 * sysdeps/unix/sysv/linux/fips-private.h: New file.
65061 * sysdeps/generic/fips-private.h: New file, dummy fallback.
65062
65063 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
65064
65065 * crypt/crypt-private.h: Include stdbool.h.
65066 (_ufc_setup_salt_r): Return bool.
65067 * crypt/crypt-entry.c: Include errno.h.
65068 (__crypt_r): Return NULL with EINVAL for bad salt.
65069 * crypt/crypt_util.c (bad_for_salt): New.
65070 (_ufc_setup_salt_r): Check that salt is long enough and within
65071 the specified alphabet.
65072 * crypt/badsalttest.c: New file.
65073 * crypt/Makefile (tests): Add it.
65074 ($(objpfx)badsalttest): New.
65075
65076 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
65077
65078 * NEWS: Add entry for BZ #14602.
65079
65080 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65081
65082 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65083 type-generic.
65084 * math/libm-test.inc: Update comment listing what functions and
65085 macros are tested.
65086 (isgreater_test): New function.
65087 (isgreaterequal_test): Likewise.
65088 (isless_test): Likewise.
65089 (islessequal_test): Likewise.
65090 (islessgreater_test): Likewise.
65091 (isunordered_test): Likewise.
65092 (main): Call the new functions.
65093
65094 2012-10-09 Roland McGrath <roland@hack.frob.com>
65095
65096 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65097 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65098 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65099 * sysdeps/i386/configure: Regenerated.
65100 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65101 * sysdeps/mach/configure: Regenerated.
65102 * sysdeps/mach/hurd/configure: Regenerated.
65103 * sysdeps/powerpc/configure: Regenerated.
65104 * sysdeps/powerpc/powerpc32/configure: Regenerated.
65105 * sysdeps/powerpc/powerpc64/configure: Regenerated.
65106 * sysdeps/s390/s390-32/configure: Regenerated.
65107 * sysdeps/s390/s390-64/configure: Regenerated.
65108 * sysdeps/sh/configure: Regenerated.
65109 * sysdeps/sparc/configure: Regenerated.
65110 * sysdeps/unix/sysv/linux/configure: Regenerated.
65111 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65112 * sysdeps/x86_64/configure: Regenerated.
65113
65114 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65115 defined. Don't check if MAP is NULL.
65116
65117 2012-10-09 Joseph Myers <joseph@codesourcery.com>
65118
65119 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65120 (_G_stat64): Likewise.
65121 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65122 (_G_stat64): Likewise.
65123 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65124 instead of struct _G_stat64.
65125 * libio/fileops.c (mmap_remap_check): Likewise.
65126 (decide_maybe_mmap): Likewise.
65127 (_IO_new_file_seekoff): Likewise.
65128 (_IO_file_stat): Likewise.
65129 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65130 _G_off64_t.
65131 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65132 instead of struct _G_stat64.
65133 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65134
65135 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
65136
65137 [BZ #14602]
65138 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65139 Replace with ...
65140 (CHECK_EOL): New macro.
65141 (two_way_short_needle): Check beginning of haystack for EOL. Use
65142 CHECK_EOL.
65143 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65144 Replace with CHECK_EOL.
65145 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65146 Replace with CHECK_EOL.
65147
65148 2012-10-08 Joseph Myers <joseph@codesourcery.com>
65149
65150 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65151 type-generic.
65152 * math/libm-test.inc: Update comment listing what functions and
65153 macros are tested.
65154 (finite_test): New function.
65155 (isinf_test): Likewise.
65156 (isnan_test): Likewise.
65157 (fpclassify_test): Test subnormal input.
65158 (isfinite_test): Likewise.
65159 (isnormal_test): Likewise.
65160 (main): Call the new functions.
65161
65162 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
65163
65164 [BZ #14660]
65165 * Makerules (%.dynsym): Force C locale when running
65166 $(OBJDUMP) --dynamic-syms.
65167
65168 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
65169
65170 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65171 <stdint.h>.
65172
65173 2012-10-06 David S. Miller <davem@davemloft.net>
65174
65175 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65176 upper 32-bits of the length value in %o2 since we use branch-on-register
65177 tests which consider the entire 64-bit register.
65178
65179 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
65180
65181 * string/test-strstr.c (check2): Add a test for page boundary.
65182
65183 2012-10-05 David S. Miller <davem@davemloft.net>
65184
65185 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65186 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65187 file.
65188 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65189 sysdep_routines.
65190 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65191 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65192 and bzero when HWCAP_SPARC_CRYPTO is present.
65193
65194 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
65195
65196 [BZ #14602]
65197 * string/test-strstr.c (check2): New function.
65198 (test_main): Call check2.
65199
65200 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65201 and bug-strchr1.
65202 * string/bug-strcasestr1.c (do_test): Moved to ...
65203 * string/test-strcasestr.c (check1): Here. New function.
65204 (do_one_test): Break out result checking code into ...
65205 (check_result): This. New function.
65206 (do_one_test): Call check_result.
65207 (test_main): Call check1.
65208 * string/bug-strchr1.c (do_test): Moved to ...
65209 * string/test-strchr.c (check1): Here. New function.
65210 (do_one_test): Break out result checking code into ...
65211 (check_result): This. New function.
65212 (do_one_test): Call check_result.
65213 (test_main): Call check1.
65214 * string/bug-strstr1.c (main): Moved to ...
65215 * string/test-strstr.c (check1): Here. New function.
65216 (do_one_test): Break out result checking code into ...
65217 (check_result): This. New function.
65218 (do_one_test): Call check_result.
65219 (test_main): Call check1.
65220 * string/bug-strcasestr1.c: Removed.
65221 * string/bug-strchr1.c: Likewise.
65222 * string/bug-strstr1.c: Likewise.
65223
65224 * elf/Makefile (dl-routines): Add hwcaps.
65225 * elf/dl-support.c (_dl_important_hwcaps): Removed.
65226 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65227 (_dl_important_hwcaps): Moved to ...
65228 * elf/dl-hwcaps.c: Here. New file.
65229 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65230
65231 [BZ #14557]
65232 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65233 if IS_IN_rtld isn't defined.
65234
65235 * elf/dl-support.c (_dl_sysinfo_map): New.
65236 Include "get-dynamic-info.h" and "setup-vdso.h".
65237 (_dl_non_dynamic_init): Call setup_vdso.
65238 * elf/dynamic-link.h: Don't include <assert.h>.
65239 (elf_get_dynamic_info): Moved to ...
65240 * elf/get-dynamic-info.h: Here. New file.
65241 * elf/dynamic-link.h: Include "get-dynamic-info.h".
65242 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65243 * elf/setup-vdso.h: Here. New file.
65244 * elf/rtld.c: Include "setup-vdso.h".
65245 (dl_main): Call setup_vdso.
65246
65247 2012-10-05 Joseph Myers <joseph@codesourcery.com>
65248
65249 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65250 creal in comment listing functions tested. List finite, isinf,
65251 isnan, isless, islessequal, isgreater, isgreaterequal,
65252 islessgreater, isunordered, lgamma_r and pow10 as functions and
65253 macros not tested. Mention which functions not tested are aliases
65254 for other functions. Fix typo. Note that signs of NaNs are not
65255 tested.
65256
65257 * scripts/config.guess: Update from config.git.
65258 * scripts/config.sub: Likewise.
65259
65260 2012-10-04 Roland McGrath <roland@hack.frob.com>
65261
65262 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65263 * misc/madvise.c (madvise): Renamed to __madvise.
65264 Make madvise a weak alias.
65265 * include/sys/mman.h: Declare __madvise.
65266 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65267 * sysdeps/unix/syscalls.list
65268 (madvise): Make __madvise the strong name, and madvise a weak alias.
65269 * sysdeps/unix/sysv/linux/syscalls.list
65270 (madvise, mmap): Remove redundant entries.
65271 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65272 * malloc/malloc.c (mtrim): Likewise.
65273 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65274
65275 2012-10-03 Roland McGrath <roland@hack.frob.com>
65276
65277 * sysdeps/mach/hurd/dl-cache.c: File removed.
65278 * config.h.in (USE_LDCONFIG): New #undef.
65279 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65280 * configure: Regenerated.
65281 * elf/Makefile (dl-routines): Add dl-cache only under
65282 [$(use-ldconfig) = yes].
65283 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65284 cache on [USE_LDCONFIG].
65285 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65286 [USE_LDCONFIG].
65287 * elf/rtld.c (dl_main): Likewise.
65288
65289 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
65290
65291 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65292 _SC_LEVEL4_CACHE_LINESIZE.
65293
65294 2012-10-03 Roland McGrath <roland@hack.frob.com>
65295
65296 * sysdeps/unix/bsd/confstr.h: File removed.
65297
65298 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
65299
65300 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65301 sys/sdt-config.h.
65302
65303 2012-10-02 Roland McGrath <roland@hack.frob.com>
65304
65305 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65306 Make 'mapoff' field ElfW(Off) rather than off_t.
65307
65308 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
65309
65310 * nscd/Makefile: Remove nscd-cflags and all its users.
65311 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65312 (CFLAGS-nonlib): Add compiler flags for nscd modules.
65313
65314 [BZ #10631]
65315 * malloc.c (malloc_printerr): Clarify error message.
65316
65317 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
65318
65319 [BZ #14648]
65320 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65321 Set bit_FMA_Usable if FMA is supported.
65322 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65323 macro.
65324 (bit_FMA4_Usable): Updated.
65325 (index_FMA_Usable): New macro.
65326 (CPUID_FMA): Likewise.
65327 (HAS_FMA): Defined with bit_FMA_Usable.
65328
65329 2012-10-01 Roland McGrath <roland@hack.frob.com>
65330
65331 * bits/types.h (__swblk_t): Type removed.
65332 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65333 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65334 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65335 (__SWBLK_T_TYPE): Likewise.
65336 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65337 (__SWBLK_T_TYPE): Likewise.
65338 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65339 (__SWBLK_T_TYPE): Likewise.
65340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65341 (__SWBLK_T_TYPE): Likewise.
65342
65343 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
65344 Honza Horak <hhorak@redhat.com>
65345
65346 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65347 (xdr_mapname): Use YPMAXMAP as maxsize.
65348 (xdr_peername): Use YPMAXPEER as maxsize.
65349 (xdr_keydat): Use YPAXRECORD as maxsize.
65350 (xdr_valdat): Use YPMAXRECORD as maxsize.
65351
65352 2012-10-01 Roland McGrath <roland@hack.frob.com>
65353
65354 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65355
65356 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65357 * csu/init-first.c: ... here.
65358 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65359 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65360 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65361 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65362 * sysdeps/i386/init-first.c: File removed.
65363 * sysdeps/sh/init-first.c: File removed.
65364
65365 2012-10-01 Joseph Myers <joseph@codesourcery.com>
65366
65367 [BZ #14645]
65368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65369 if x * y might underflow to zero and z is zero.
65370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65371 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65372 * math/libm-test.inc (min_subnorm_value): New variable.
65373 (fma_test): Add more tests.
65374 (fma_test_towardzero): Likewise.
65375 (fma_test_downward): Likewise.
65376 (fma_test_upward): Likewise.
65377 (initialize): Set min_subnorm_value.
65378
65379 2012-09-29 Joseph Myers <joseph@codesourcery.com>
65380
65381 [BZ #14638]
65382 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65383 0 + 0.
65384 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65385 mode for addition resulting in exact zero.
65386 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65387 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65388 exact 0 + 0.
65389 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65390 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65391 * math/libm-test.inc (fma_test): Add more tests.
65392 (fma_test_towardzero): New function.
65393 (fma_test_downward): Likewise.
65394 (fma_test_upward): Likewise.
65395 (main): Call the new functions.
65396
65397 2012-09-28 David S. Miller <davem@davemloft.net>
65398
65399 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65400
65401 2012-09-28 Roland McGrath <roland@hack.frob.com>
65402
65403 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65404 instead of SIGALRM.
65405
65406 * sysdeps/gnu/_G_config.h: Moved to ...
65407 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65408 * sysdeps/mach/hurd/_G_config.h: Moved to ...
65409 * sysdeps/generic/_G_config.h: ... here.
65410
65411 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
65412
65413 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65414
65415 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65416 Conditionalize target on [libnss_test1.so-version].
65417
65418 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65419
65420 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65421 (elfobjdir): Move out of conditionals.
65422
65423 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65424 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65425 (__nss_lookup_function): Conditionalize label remove_from_tree on
65426 [!DO_STATIC_NSS || SHARED], matching its only use.
65427
65428 2012-09-28 David S. Miller <davem@davemloft.net>
65429
65430 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65431 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65432 file.
65433 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65434 sysdep_routines.
65435 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65437 when HWCAP_SPARC_CRYPTO is present.
65438
65439 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65440
65441 * io/tst-mknodat.c: Create a FIFO instead of a socket.
65442
65443 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
65444
65445 [BZ #6530]
65446 * stdio-common/vfprintf.c (process_string_arg): Revert
65447 2000-07-22 change.
65448
65449 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
65450
65451 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65452 for testcase.
65453 * stdio-common/tst-sprintf.c: Include <locale.h>
65454 (main): Test sprintf's handling of incomplete multibyte
65455 characters.
65456
65457 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
65458
65459 * elf/dl-runtime.c (VERSYMIDX): Removed.
65460 * elf/dl-version.c (VERSYMIDX): Likewise.
65461 * elf/do-rel.h (VERSYMIDX): Likewise.
65462 (VALIDX): Likewise.
65463 * elf/dynamic-link.h (VERSYMIDX): Likewise.
65464 * elf/rtld.c (VALIDX): Likewise.
65465 (ADDRIDX): Likewise.
65466 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65467 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65468 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65469 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65470 (VALIDX): Likewise.
65471 (ADDRIDX): Likewise.
65472
65473 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65474
65475 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65476
65477 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
65478
65479 [BZ #11438]
65480 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65481 to global scope.
65482 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65483 addresses are in the same scope as 192.0.2/24.
65484 * posix/gai.conf: Document new scope table defaults.
65485
65486 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65487
65488 [BZ #5298]
65489 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65490 for ftell. Compute offsets from write pointers instead.
65491 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65492
65493 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
65494
65495 [BZ #14543]
65496 * libio/Makefile (tests): New test case tst-fseek.
65497 * libio/tst-fseek.c: New test case to verify that fseek/ftell
65498 combination works in wide mode.
65499 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65500 state when the external buffer state changes.
65501
65502 2012-09-27 David S. Miller <davem@davemloft.net>
65503
65504 [BZ #14376]
65505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65506 pass reloc->r_addend in as the 'high' argument to
65507 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65508
65509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
65510
65511 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
65512
65513 * rt/tst-aio2.c: Include <pthread.h>.
65514 * rt/tst-aio3.c: Likewise.
65515
65516 2012-09-27 Steve Ellcey <sellcey@mips.com>
65517
65518 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65519
65520 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
65521
65522 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65523 contents on [SHARED].
65524
65525 2012-09-26 Marek Polacek <polacek@redhat.com>
65526
65527 [BZ #14530]
65528 [BZ #13741]
65529 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65530 for C++ and GCC <4.3 as well as for non GCC compilers.
65531
65532 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
65533
65534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65535
65536 2012-09-25 Roland McGrath <roland@hack.frob.com>
65537
65538 * Makefile.in (all, install): Declare with .PHONY.
65539 Reported by Michael Hope <michael.hope@linaro.org>.
65540
65541 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65542
65543 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65544 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65545 system header.
65546 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65547 Likewise.
65548 (sydep_routines): Add the new and the internal functions.
65549 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65550 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65552 (GLIBC_2.17): Add the new function.
65553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65554 (GLIBC_2.17): Likewise.
65555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65556 (GLIBC_2.17): Likewise.
65557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65558 (GLIBC_2.17): Likewise.
65559 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65560
65561 2012-09-25 Alan Modra <amodra@gmail.com>
65562
65563 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65564 Add release barrier before setting once_control to say
65565 initialisation is done. Add hints on lwarx. Use macro in
65566 place of isync.
65567 (clear_once_control): Add release barrier.
65568
65569 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65570
65571 [BZ #13629]
65572 * math/s_clog.c (__clog): Handle more values close to |z| = 1
65573 specially.
65574 * math/s_clog10.c (__clog10): Likewise.
65575 * math/s_clog10f.c (__clog10f): Likewise.
65576 * math/s_clog10l.c (__clog10l): Likewise.
65577 * math/s_clogf.c (__clogf): Likewise.
65578 * math/s_clogl.c (__clogl): Likewise.
65579 * math/Makefile (libm-calls): Add x2y2m1.
65580 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65581 (__x2y2m1): Likewise.
65582 (__x2y2m1l): Likewise.
65583 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65584 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65585 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65586 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65587 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65588 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65589 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65590 * sysdeps/i386/fpu/libm-test-ulps: Update.
65591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65592
65593 [BZ #14621]
65594 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65595 int as type of variable DEPTH.
65596 (glob): Use size_t instead of int as type of variables NEWCOUNT
65597 and OLD_PATHC.
65598
65599 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65600
65601 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65602 Add s_sincosf-sse2.
65603 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65604 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65605 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65606 macros for using routine as __sincosf_ia32.
65607 Use macro for function declaration and weak_alias.
65608 * sysdeps/i386/fpu/libm-test-ulps: Update.
65609
65610 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65612
65613 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65614 subnormal argument.
65615 * math/s_cexpf.c (__cexpf): Likewise.
65616 * math/s_csinf.c (__csinf): Likewise.
65617 * math/s_csinhf.c (__csinhf): Likewise.
65618 * math/s_ctanf.c (__ctanf): Likewise.
65619 * math/s_ctanhf.c (__ctanhf): Likewise.
65620 * math/s_ccosh.c (__ccoshf): Likewise.
65621 * math/s_cexp.c (__cexpl): Likewise.
65622 * math/s_csin.c (__csin): Likewise.
65623 * math/s_csinh.c (__csinh): Likewise.
65624 * math/s_ctan.c (__ctan): Likewise.
65625 * math/s_ctanh.c (ctanh): Likewise.
65626 * math/s_ccoshl.c (__ccoshl): Likewise.
65627 * math/s_cexpl.c (__cexpl): Likewise.
65628 * math/s_csinl.c (__csinl): Likewise.
65629 * math/s_csinhl.c (__csinhl): Likewise.
65630 * math/s_ctanl.c (__ctanl): Likewise.
65631 * math/s_ctanhl.c (__ctanhl): Likewise.
65632
65633 2012-09-25 Joseph Myers <joseph@codesourcery.com>
65634
65635 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65636 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65637 (_IO_off_t): Define to __off_t, not _G_off_t.
65638 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65639 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65640 (_IO_wint_t): Define to wint_t, not _G_wint_t.
65641 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65642 type of __dummy and __dummy2 fields.
65643 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65644 (_G_ssize_t): Likewise.
65645 (_G_off_t): Likewise.
65646 (_G_pid_t): Likewise.
65647 (_G_uid_t): Likewise.
65648 (_G_wchar_t): Likewise.
65649 (_G_wint_t): Likewise.
65650 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65651 (_G_ssize_t): Likewise.
65652 (_G_off_t): Likewise.
65653 (_G_pid_t): Likewise.
65654 (_G_uid_t): Likewise.
65655 (_G_wchar_t): Likewise.
65656 (_G_wint_t): Likewise.
65657 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65658 (_G_ssize_t): Likewise.
65659 (_G_off_t): Likewise.
65660 (_G_pid_t): Likewise.
65661 (_G_uid_t): Likewise.
65662 (_G_wchar_t): Likewise.
65663 (_G_wint_t): Likewise.
65664
65665 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65666
65667 * malloc/arena.c: Include malloc-sysdep.h.
65668 (shrink_heap): Use check_may_shrink_heap to decide if madvise
65669 is sufficient to shrink the heap or an unmap is needed.
65670 * sysdeps/generic/malloc-sysdep.h: New file. Define
65671 new function check_may_shrink_heap.
65672 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
65673 new function check_may_shrink_heap.
65674
65675 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
65676
65677 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65678 comments.
65679
65680 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
65681
65682 * catgets/test-gencat.sh: Add "set -e".
65683 * elf/tst-pathopt.sh: Likewise.
65684 * grp/tst_fgetgrent.sh: Likewise.
65685 * iconvdata/run-iconv-test.sh: Likewise.
65686 * intl/tst-gettext.sh: Likewise.
65687 * intl/tst-gettext2.sh: Likewise.
65688 * intl/tst-gettext4.sh: Likewise.
65689 * intl/tst-gettext6.sh: Likewise.
65690 * intl/tst-translit.sh: Likewise.
65691 * io/ftwtest-sh: Likewise.
65692 * libio/test-freopen.sh: Likewise.
65693 * malloc/tst-mtrace.sh: Likewise.
65694 * posix/globtest.sh: Likewise.
65695 * posix/tst-getconf.sh: Likewise.
65696 * posix/wordexp-tst.sh: Likewise.
65697 * stdio-common/tst-printf.sh: Likewise.
65698 * stdio-common/tst-unbputc.sh: Likewise.
65699 * stdlib/tst-fmtmsg.sh: Likewise.
65700 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65701 * catgets/Makefile: Do not specify -e option when running
65702 testsuite shell scripts.
65703 * elf/Makefile: Likewise.
65704 * grp/Makefile: Likewise.
65705 * iconvdata/Makefile: Likewise.
65706 * intl/Makefile: Likewise.
65707 * io/Makefile: Likewise.
65708 * libio/Makefile: Likewise.
65709 * malloc/Makefile: Likewise.
65710 * posix/Makefile: Likewise.
65711 * stdio-common/Makefile: Likewise.
65712 * stdlib/Makefile: Likewise.
65713 * sysdeps/x86_64/Makefile: Likewise.
65714
65715 * io/ftwtest-sh: Add copyright header.
65716 * posix/globtest.sh: Likewise.
65717 * posix/tst-getconf.sh: Likewise.
65718 * posix/wordexp-tst.sh: Likewise.
65719 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65720
65721 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
65722
65723 [BZ #13679]
65724 * Makeconfig (+link): Defined as $(+link-static) if
65725 $(build-shared) isn't yes.
65726 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65727 isn't yes.
65728 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65729
65730 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65731
65732 [BZ #14562]
65733 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65734 new chunk size with MALLOC_ALIGN_MASK.
65735
65736 2012-09-24 Joseph Myers <joseph@codesourcery.com>
65737
65738 [BZ #5044]
65739 * stdio-common/printf_fphex.c: Include <stdbool.h> and
65740 <rounding-mode.h>.
65741 (__printf_fphex): Determine rounding using get_rounding_mode and
65742 round_away.
65743 * stdio-common/tst-printf-round.c (struct hex_test): New
65744 structure.
65745 (hex_tests): New variable.
65746 (test_hex_in_one_mode): New function.
65747 (do_test): Also run tests for hex float output.
65748
65749 2012-09-21 Joseph Myers <joseph@codesourcery.com>
65750
65751 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65752 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65753 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65754 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65755 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65756 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65757 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65758 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65759
65760 2012-09-20 Joseph Myers <joseph@codesourcery.com>
65761
65762 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65763 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65764 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65765 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65766
65767 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
65768
65769 [BZ #14579]
65770 * elf/rtld.c (dl_main): Limit the check for self loading to normal
65771 mode only.
65772 * elf/tst-rtld-load-self.sh: New test.
65773 * elf/Makefile: Run it.
65774
65775 2012-09-18 Joseph Myers <joseph@codesourcery.com>
65776
65777 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65778 (tst-writev-ENV): Remove.
65779 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65780
65781 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
65782
65783 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65784
65785 2012-09-17 Joseph Myers <joseph@codesourcery.com>
65786
65787 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65788 unconditional.
65789 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65790 Likewise.
65791 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65792 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65793 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65794 Likewise.
65795
65796 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
65797
65798 [BZ #14587]
65799 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65800 * config.make.in (have-cpp-asm-debuginfo): Removed.
65801 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65802 * configure: Regenerated.
65803
65804 2012-09-14 Joseph Myers <joseph@codesourcery.com>
65805
65806 [BZ #5044]
65807 * stdio-common/printf_fp.c: Include <stdbool.h> and
65808 <rounding-mode.h>.
65809 (___printf_fp): Determine rounding using get_rounding_mode and
65810 round_away.
65811 * stdio-common/tst-printf-round.c: New file.
65812 * stdio-common/Makefile (tests): Add tst-printf-round.
65813 (link-libm): New variable.
65814 ($(objpfx)tst-printf-round): Depend in $(link-libm).
65815
65816 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
65817
65818 [BZ #14576]
65819 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65820 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65821 Likewise.
65822 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65823 Likewise.
65824
65825 2012-09-13 Joseph Myers <joseph@codesourcery.com>
65826
65827 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65828 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65829 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65830 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65831
65832 2012-09-12 Joseph Myers <joseph@codesourcery.com>
65833
65834 [BZ #14518]
65835 * include/rounding-mode.h: New file.
65836 * sysdeps/generic/get-rounding-mode.h: Likewise.
65837 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65838 * stdlib/strtod_l.c: Include <rounding-mode.h>.
65839 (MAX_VALUE): New macro.
65840 (MIN_VALUE): Likewise.
65841 (overflow_value): New function.
65842 (underflow_value): Likewise.
65843 (round_and_return): Use overflow_value and underflow_value to
65844 determine return values in overflow and underflow cases. Use
65845 round_away to determine rounding depending on rounding mode.
65846 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65847 determine return values in overflow and underflow cases.
65848 * stdlib/tst-strtod-round.c: Include <fenv.h>.
65849 (struct test_results): New structure.
65850 (struct test): Use struct test_results to store expected results
65851 for all rounding modes.
65852 (TEST): Include expected results for all rounding modes.
65853 (test_in_one_mode): New function.
65854 (do_test): Use test_in_one_mode to compute and check results.
65855 Check results for all rounding modes.
65856 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65857 $(link-libm).
65858
65859 2012-12-09 Allan McRae <allan@archlinux.org>
65860
65861 * sysdeps/i386/fpu/libm-test-ulps: Update
65862
65863 2012-09-11 Joseph Myers <joseph@codesourcery.com>
65864
65865 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65866 (_G_int32_t): Likewise.
65867 (_G_uint16_t): Likewise.
65868 (_G_uint32_t): Likewise.
65869 (_G_HAVE_BOOL): Likewise.
65870 (_G_HAVE_ATEXIT): Likewise.
65871 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65872 (_G_HAVE_IO_FILE_OPEN): Likewise.
65873 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65874 (_G_int32_t): Likewise.
65875 (_G_uint16_t): Likewise.
65876 (_G_uint32_t): Likewise.
65877 (_G_HAVE_BOOL): Likewise.
65878 (_G_HAVE_ATEXIT): Likewise.
65879 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65880 (_G_HAVE_IO_FILE_OPEN): Likewise.
65881 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65882 (_G_int32_t): Likewise.
65883 (_G_uint16_t): Likewise.
65884 (_G_uint32_t): Likewise.
65885 (_G_HAVE_BOOL): Likewise.
65886 (_G_HAVE_ATEXIT): Likewise.
65887 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65888 (_G_HAVE_IO_FILE_OPEN): Likewise.
65889
65890 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
65891
65892 * csu/libc-tls.c: Update copyright years.
65893
65894 2012-09-10 Joseph Myers <joseph@codesourcery.com>
65895
65896 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65897 [!_G_USING_THUNKS]: Remove conditional code.
65898 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65899 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65900
65901 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65902 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65903 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65904 (_G_VTABLE_LABEL_PREFIX): Likewise.
65905 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65906 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65907 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65908 (_G_VTABLE_LABEL_PREFIX): Likewise.
65909 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65910 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65911 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65912 (_G_VTABLE_LABEL_PREFIX): Likewise.
65913 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65914
65915 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
65916
65917 * libio/Makefile: Include ../Makeconfig before tests.
65918 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
65919 only if $(build-shared) is yes.
65920
65921 * iconv/gconv_db.c: Update copyright years.
65922
65923 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
65924
65925 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
65926 unwind info if defined PIC. Fix special cases description.
65927 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
65928
65929 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
65930 DP_HI_MASK entry.
65931 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
65932
65933 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
65934
65935 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
65936
65937 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
65938 is NULL.
65939
65940 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
65941 (LDLIBS-tst-chk4): This.
65942 (LDFLAGS-tst-chk5): Renamed to ...
65943 (LDLIBS-tst-chk5): This.
65944 (LDFLAGS-tst-chk6): Renamed to ...
65945 (LDLIBS-tst-chk6): This.
65946 (LDFLAGS-tst-lfschk4): Renamed to ...
65947 (LDLIBS-tst-lfschk4): This.
65948 (LDFLAGS-tst-lfschk5): Renamed to ...
65949 (LDLIBS-tst-lfschk5): This.
65950 (LDFLAGS-tst-lfschk6): Renamed to ...
65951 (LDLIBS-tst-lfschk6): This.
65952
65953 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
65954 on $(common-objpfx)soversions.mk.
65955
65956 2012-09-07 Joseph Myers <joseph@codesourcery.com>
65957
65958 [BZ #10014]
65959 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
65960 example host name.
65961
65962 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
65963
65964 * malloc/arena.c (arena_get_retry): New function that gets
65965 another arena for the caller to try its request on.
65966 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
65967 current arena cannot fulfill the request.
65968 (__libc_memalign): Likewise.
65969 (__libc_memalign): Likewise.
65970 (__libc_pvalloc): Likewise.
65971 (__libc_calloc): Likewise.
65972
65973 2012-09-05 John Tobey <john.tobey@gmail.com>
65974
65975 [BZ #13542]
65976 * manual/arith.texi (Operations on Complex): Fix description
65977 of carg branch cut.
65978
65979 2012-09-06 Joseph Myers <joseph@codesourcery.com>
65980
65981 [BZ #10014]
65982 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
65983 host name.
65984
65985 [BZ #10038]
65986 * manual/memory.texi (Memory): Make order of menu items match
65987 order of sections.
65988
65989 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
65990
65991 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
65992 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
65993 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
65994
65995 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
65996
65997 * csu/libc-tls.c (static_dtv): Renamed to ...
65998 (_dl_static_dtv): This. Make it global.
65999 (_dl_initial_dtv): Removed.
66000 (__libc_setup_tls): Updated.
66001 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66002 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66003 DL_INITIAL_DTV.
66004
66005 2012-09-06 Petr Machata <pmachata@redhat.com>
66006
66007 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66008 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66009 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66010 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66011
66012 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66013
66014 [BZ #14545]
66015 * csu/libc-tls.c (_dl_initial_dtv): New variable.
66016 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66017 freeing dtv[-1].
66018
66019 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
66020
66021 [BZ #14544]
66022 * Makeconfig (link-static-before-libc): Replace $(+prector)
66023 with $(+prectorT).
66024 (link-static-after-libc): Replace $(+postctor) with
66025 $(+postctorT).
66026 (link-bounded): Replace $(+prector)/$(+postctor) with
66027 $(+prectorT)/$(+postctorT).
66028 (+prectorT): New macro.
66029 (+postctorT): Likewise.
66030
66031 2012-09-06 Joseph Myers <joseph@codesourcery.com>
66032
66033 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66034 (round_str): Handle values above the maximum for IBM long double
66035 as inexact.
66036 * stdlib/tst-strtod-round.c (tests): Regenerated.
66037
66038 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66039
66040 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66041 assembler flag.
66042 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66043 zarch_nohighgprs around the zarch optimized routines.
66044 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66045 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66046 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66047 for zarch.
66048
66049 2012-09-05 David S. Miller <davem@davemloft.net>
66050
66051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66052
66053 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66054 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66055 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66056 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66057 entries.
66058
66059 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66060
66061 * malloc/arena.c: Fold copyright years.
66062 * malloc/mcheck.c, malloc/memusage.c: Likewise.
66063
66064 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66065
66066 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66067
66068 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66069
66070 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
66071
66072 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66073
66074 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66075 change internal state upon failure.
66076
66077 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
66078
66079 * malloc/mcheck.c (mcheck_check_all): Fix typo.
66080 * malloc/memusage.c (mmap): Likewise.
66081 (mmap64, mremap): Likewise. Adjust name in comment.
66082
66083 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66084
66085 * libio/fileops.c: Fix typos in comments.
66086 * libio/oldfileops.c: Likewise.
66087 * libio/wfileops.c: Likewise.
66088
66089 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
66090
66091 [BZ #1349]
66092 * malloc/Makefile (tests): Add tst-malloc-usable test case.
66093 (tst-malloc-usable-ENV): Set environment for test case.
66094 * malloc/hooks.c (malloc_check_get_size): New function to get
66095 requested size.
66096 * malloc/malloc.c (musable): Use malloc_check_get_size.
66097 * malloc/tst-malloc-usable.c: New test case.
66098
66099 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66100
66101 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66102
66103 2012-09-05 Allan McRae <allan@archlinux.org>
66104
66105 [BZ #13966]
66106 * configure.in (CXX_SYSINCLUDES): Use compiler output to
66107 determine header location.
66108 * configure: Regenerated.
66109
66110 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
66111
66112 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66113 float format.
66114 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66115 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66116 format.
66117 (test): Regenerate.
66118
66119 2012-09-04 David S. Miller <davem@davemloft.net>
66120
66121 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66122 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66123 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66124
66125 2012-09-04 Florian Weimer <fweimer@redhat.com>
66126
66127 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66128 failures.
66129
66130 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66131
66132 2012-09-04 Joseph Myers <joseph@codesourcery.com>
66133
66134 [BZ #9914]
66135 * libio/iogetdelim.c: Include <limits.h>.
66136 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66137 + len + 1 would overflow.
66138
66139 2012-09-03 Andreas Jaeger <aj@suse.de>
66140
66141 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66142 * sysdeps/i386/fpu/libm-test-ulps: Update.
66143
66144 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66145
66146 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66147 Add s_sinf-sse2, s_conf-sse2.
66148
66149 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66150 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66151 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66152 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66153
66154 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66155 for using routine as __sinf_ia32.
66156 Use macro for function declaration and weak_alias.
66157 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66158 for using routine as __cosf_ia32.
66159 Use macro for function declaration and weak_alias.
66160
66161 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66162 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66163
66164 * sysdeps/x86_64/fpu/s_sinf.S: New file.
66165 * sysdeps/x86_64/fpu/s_cosf.S: New file.
66166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66167
66168 * math/libm-test.inc (cos_test): Add more test cases.
66169 (sin_test): Likewise.
66170 (sincos_test): Likewise.
66171
66172 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66173
66174 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66175 (IFUNC_RESOLVE): Make pointers to the specialized implementations
66176 hidden.
66177 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66178
66179 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
66180
66181 [BZ #14538]
66182 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66183 first element of the GOT.
66184 (elf_machine_load_address): Return the difference between
66185 the runtime address of _DYNAMIC and elf_machine_dynamic ().
66186
66187 2012-09-01 Allan McRae <allan@archlinux.org>
66188
66189 [BZ #13412]
66190 * configure.in (AWK): Require gawk version 3.0 or later.
66191 * configure: Regenerated.
66192
66193 2012-09-01 Joseph Myers <joseph@codesourcery.com>
66194
66195 * sysdeps/unix/sysv/linux/kernel-features.h
66196 (__ASSUME_POSIX_CPU_TIMERS): Remove.
66197 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66198 [__NR_clock_getres]: Make code unconditional.
66199 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66200 (clock_getcpuclockid): Remove code left unreachable by removal of
66201 conditionals.
66202 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66203 code unconditional.
66204 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66205 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66206 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66207 Make code unconditional.
66208 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66209 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66210 * sysdeps/unix/sysv/linux/clock_settime.c
66211 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66212 conditional code.
66213 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66214 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66215
66216 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
66217
66218 [BZ #14476]
66219 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66220 scripts/test-installation.pl.
66221
66222 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66223 and $ld_so_version if it is set.
66224
66225 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
66226
66227 [BZ #14516]
66228 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66229 failure if reading from procfs failed.
66230 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66231
66232 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66233
66234 * sysdeps/unix/sysv/linux/kernel-features.h
66235 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66236 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66237 Remove conditional code.
66238 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66239 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66240 Remove conditional code.
66241 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66242 * sysdeps/unix/sysv/linux/i386/fxstat.c
66243 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66244 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66245 * sysdeps/unix/sysv/linux/i386/fxstatat.c
66246 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66247 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66248 * sysdeps/unix/sysv/linux/i386/lxstat.c
66249 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66250 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66251 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66252 Remove conditional code.
66253 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66254 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66255 Remove conditional code.
66256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66257 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66258 <kernel-features.h>.
66259 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66260 Remove.
66261 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66262 Remove conditional code.
66263 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66264 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66265 Remove conditional.
66266
66267 2012-08-27 Mike Frysinger <vapier@gentoo.org>
66268
66269 [BZ #5400]
66270 * NEWS: Add fixed bug number.
66271
66272 2012-08-27 Joseph Myers <joseph@codesourcery.com>
66273
66274 [BZ #14519]
66275 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66276 underflowing exponent in case of negative sign.
66277 * stdlib/tst-strtod-round-data: Add more tests.
66278 * stdlib/tst-strtod-round.c (tests): Regenerated.
66279
66280 [BZ #3479]
66281 * stdlib/strtod_l.c (NDIG): Remove.
66282 (HEXNDIG): Likewise.
66283 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66284 smallest representable value.
66285 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66286 lie within an exact representation of 1/2 ulp of the result.
66287 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66288 unconditionally.
66289 (TENS_P9_IDX): Define unconditionally.
66290 (TENS_P9_SIZE): Likewise.
66291 (TENS_P10_IDX): Likewise.
66292 (TENS_P10_SIZE): Likewise.
66293 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66294 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66295 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66296 entries for 10^2^13 and 10^2^14.
66297 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66298 (TENS_P13_IDX): Define.
66299 (TENS_P13_SIZE): Likewise.
66300 (TENS_P14_IDX): Likewise.
66301 (TENS_P14_SIZE): Likewise.
66302 (_fpioconst_pow10): Change array size to
66303 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
66304 unconditional.
66305 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66306 1024]: Add entries for 10^2^13 and 10^2^14.
66307 [LAST_POW10 > _LAST_POW10]: Remove #error.
66308 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66309 (_fpioconst_pow10): Change array size to
66310 FPIOCONST_POW10_ARRAY_SIZE.
66311 * stdlib/gen-fpioconst.c: New file.
66312 * stdlib/gen-tst-strtod-round.c: Likewise.
66313 * stdlib/tst-strtod-round-data: Likewise.
66314 * stdlib/tst-strtod-round.c: Likewise.
66315 * stdlib/Makefile (tests): Add tst-strtod-round.
66316
66317 [BZ #14459]
66318 * stdlib/strtod_l.c: Include <stdint.h>.
66319 (NDEBUG): Do not define.
66320 (round_and_return): Change EXPONENT parameter to type intmax_t.
66321 Rearrange calculations to avoid internal overflow possibilities.
66322 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66323 Rearrange calculations to avoid internal overflow possibilities.
66324 Assert that number fits inside MPNSIZE limbs.
66325 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66326 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
66327 calculations and add assertions to avoid internal overflow
66328 possibilities. Add casts to avoid signed/unsigned operations.
66329 * stdlib/tst-strtod-overflow.c: New file.
66330 * stdlib/Makefile (tests): Add tst-strtod-overflow.
66331
66332 2012-08-25 Marek Polacek <polacek@redhat.com>
66333
66334 * time/time.h: Fix some typos in comments.
66335
66336 2012-08-23 Roland McGrath <roland@hack.frob.com>
66337
66338 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66339 * posix/tst-rfc3484-2.c: Likewise.
66340 * posix/tst-rfc3484-3.c: Likewise.
66341
66342 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
66343
66344 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66345 (EF_ARM_ABI_FLOAT_HARD): Likewise.
66346
66347 2012-08-23 Joseph Myers <joseph@codesourcery.com>
66348
66349 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66350 #include of fxstatat64.c.
66351
66352 2012-08-22 Roland McGrath <roland@hack.frob.com>
66353
66354 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66355 * shadow/getspent_r.c: Likewise.
66356 * shadow/getspnam.c: Likewise.
66357 * shadow/getspnam_r.c: Likewise.
66358 * gshadow/getsgent.c: Likewise.
66359 * gshadow/getsgent_r.c: Likewise.
66360 * gshadow/getsgnam.c: Likewise.
66361 * gshadow/getsgnam_r.c: Likewise.
66362 * inet/getnetbyad.c: Likewise.
66363 * inet/getnetbyad_r.c: Likewise.
66364 * inet/getnetbynm.c: Likewise.
66365 * inet/getnetbynm_r.c: Likewise.
66366 * inet/getnetent.c: Likewise.
66367 * inet/getnetent_r.c: Likewise.
66368 * inet/getproto.c: Likewise.
66369 * inet/getproto_r.c: Likewise.
66370 * inet/getprtent.c: Likewise.
66371 * inet/getprtent_r.c: Likewise.
66372 * inet/getprtname.c: Likewise.
66373 * inet/getprtname_r.c: Likewise.
66374 * inet/getrpcbyname.c: Likewise.
66375 * inet/getrpcbyname_r.c: Likewise.
66376 * inet/getrpcbynumber.c: Likewise.
66377 * inet/getrpcbynumber_r.c: Likewise.
66378 * inet/getrpcent.c: Likewise.
66379 * inet/getrpcent_r.c: Likewise.
66380 * inet/getaliasent.c: Likewise.
66381 * inet/getaliasent_r.c: Likewise.
66382 * inet/getaliasname.c: Likewise.
66383 * inet/getaliasname_r.c: Likewise.
66384 * nscd/getgrgid_r.c: Likewise.
66385 * nscd/getgrnam_r.c: Likewise.
66386 * nscd/gethstbyad_r.c: Likewise.
66387 * nscd/gethstbynm3_r.c: Likewise.
66388 * nscd/getpwnam_r.c: Likewise.
66389 * nscd/getpwuid_r.c: Likewise.
66390 * nscd/getsrvbynm_r.c: Likewise.
66391 * nscd/getsrvbypt_r.c: Likewise.
66392 * nscd/gai.c: Likewise.
66393
66394 * configure.in (build_nscd): New substituted variable, set
66395 by --disable-build-nscd and defaults to $use_nscd.
66396 * configure: Regenerated.
66397 * config.make.in (build-nscd): New substituted variable.
66398 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66399 Change conditional to require [$(build-nscd) = yes] as well.
66400 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66401
66402 [BZ# 13696]
66403 * configure.in (use_nscd): New substituted variable, set by
66404 --disable-nscd. If enabled, define USE_NSCD.
66405 * configure: Regenerated.
66406 * config.h.in: Add USE_NSCD.
66407 * config.make.in (use-nscd): New substituted variable.
66408 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66409 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66410 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66411 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66412 (CFLAGS-getgrnam_r.c): Likewise.
66413 (CFLAGS-initgroups.c): Likewise.
66414 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66415 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66416 Variables removed.
66417 * inet/getnetgrent_r.c
66418 (nscd_setnetgrent): New function, broken out of ...
66419 (setnetgrent): ... here. Call it.
66420 (innetgr): Conditionalize nscd bits on [USE_NSCD].
66421 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66422 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66423 * nscd/Makefile (routines, aux): Move definitions after include of
66424 Makeconfig. Conditionalize on [$(use-nscd) != no].
66425 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66426 Conditionalize on [USE_NSCD].
66427 (is_nscd, nscd_init_cb): Likewise.
66428 (nss_load_library): Conditionalize init callback on [USE_NSCD].
66429 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66430 * nss/nss_db/db-init.c: Likewise.
66431 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66432 [USE_NSCD].
66433 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66434 (make_request): Use it.
66435 (cache_valid_p): New function.
66436 (__check_pf): Use it.
66437 * NEWS: Add item for --disable-nscd.
66438
66439 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
66440
66441 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66442 to support sed >= 4.2.1-20-ga9bf076.
66443 * configure: Regenerated.
66444
66445 2012-08-22 Roland McGrath <roland@hack.frob.com>
66446
66447 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66448 Conditionalize whole body on [IREL].
66449
66450 2012-08-22 Jeff Law <law@redhat.com>
66451
66452 [BZ #14505]
66453 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66454 if the family is PF_UNSPEC.
66455
66456 2012-08-22 Mike Frysinger <vapier@gentoo.org>
66457
66458 * Makerules (lib-version): Rename from V.
66459 (install-lib-nosubdir): Change V to lib-version.
66460
66461 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
66462
66463 [BZ #14252]
66464 * powerpc32/power6/wcschr.c: New file.
66465 * powerpc32/power6/wcscpy.c: New file.
66466 * powerpc32/power6/wcsrchr.c: New file.
66467 * powerpc64/power6/wcschr.c: New file.
66468 * powerpc64/power6/wcscpy.c: New file.
66469 * powerpc64/power6/wcsrchr.c: New file.
66470
66471 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66472
66473 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66474 (two_way_short_needle): Use it.
66475 * string/strstr.c (AVAILABLE1_USES_J): Define.
66476 * string/strcasestr.c: Likewise.
66477
66478 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66479 array references.
66480 * string/strcasestr.c (TOLOWER): Make side-effect safe.
66481
66482 [BZ #11607]
66483 * NEWS: Add an entry.
66484 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66485 define their defaults.
66486 (two_way_short_needle): Detect end-of-string on-the-fly.
66487 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66488 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66489 * string/bug-strcasestr1.c: New test.
66490 * string/Makefile: Run it.
66491
66492 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
66493
66494 [BZ #11607]
66495 * string/str-two-way.h (two_way_short_needle): Optimize matching of
66496 the first character.
66497
66498 2012-08-21 Roland McGrath <roland@hack.frob.com>
66499
66500 * csu/elf-init.c (__libc_csu_irel): Function removed.
66501 * csu/libc-start.c (apply_irel): New function.
66502 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66503
66504 2012-08-21 Joseph Myers <joseph@codesourcery.com>
66505
66506 * sysdeps/unix/sysv/linux/kernel-features.h
66507 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66508 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66509 <kernel-features.h>.
66510 [__NR_fadvise64_64]: Make code unconditional.
66511 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66512 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66513 !__NR_fadvise64_64)]: Likewise.
66514 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66515 !__NR_fadvise64_64))]: Likewise.
66516 [__NR_fadvise64]: Make code unconditional.
66517 [!__NR_fadvise64]: Remove conditional code.
66518 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66519 <kernel-features.h>.
66520 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66521 unconditional.
66522 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66523 conditional code.
66524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66525 not include <kernel-features.h>.
66526 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66527 unconditional.
66528 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66529 conditional code.
66530 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66531 include <kernel-features.h>.
66532 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66533 unconditional.
66534 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66535 conditional code.
66536
66537 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
66538
66539 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66540 slight instruction rearrangements per scrollpipe analysis.
66541 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66542
66543 2012-08-20 Roland McGrath <roland@hack.frob.com>
66544
66545 * manual/syslog.texi (syslog; vsyslog, closelog):
66546 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66547 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66548
66549 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66550 DSOCAPS to match condition on defining it.
66551
66552 2012-08-20 Joseph Myers <joseph@codesourcery.com>
66553
66554 * sysdeps/unix/sysv/linux/kernel-features.h
66555 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66557 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66558 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66560 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66561 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66563 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66564 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66565
66566 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66567 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66568
66569 * sysdeps/unix/sysv/linux/kernel-features.h
66570 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66571 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66572 unconditional.
66573 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66574 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66575 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66576 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66577 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66578 Make code unconditional.
66579 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66580 (__mmap64) [!__NR_mmap2]: Likewise.
66581 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66582 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66583 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66584 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66585 [__NR_mmap2]: Make code unconditional.
66586 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66587 (__mmap64) [!__NR_mmap2]: Likewise.
66588
66589 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66590
66591 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66592
66593 2012-08-18 Andreas Jaeger <aj@suse.de>
66594
66595 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66596
66597 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66598
66599 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66600 * include/unistd.h (__have_sock_cloexec): Likewise.
66601 (__have_pipe2): Likewise.
66602 (__have_dup3): Likewise.
66603
66604 2012-08-18 Mike Frysinger <vapier@gentoo.org>
66605
66606 [BZ #9685]
66607 * include/unistd.h (__have_pipe2): Change define into an extern int.
66608 (__have_dup3): Likewise.
66609 * socket/have_sock_cloexec.c: Include fcntl.h.
66610 (__have_pipe2): New variable.
66611 (__have_dup3): Likewise.
66612
66613 2012-08-17 Mike Frysinger <vapier@gentoo.org>
66614
66615 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66616
66617 2012-08-17 Marek Polacek <polacek@redhat.com>
66618
66619 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66620 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66621
66622 2012-08-17 Roland McGrath <roland@hack.frob.com>
66623
66624 * configure.in: Add AC_SUBST for sysheaders.
66625 * configure: Regenerated.
66626 * config.make.in (sysheaders): New substituted variable.
66627
66628 * sysdeps/unix/mkfifo.c: Moved ...
66629 * sysdeps/posix/mkfifo.c: ... here.
66630 * sysdeps/unix/mkfifoat.c: Moved ...
66631 * sysdeps/posix/mkfifoat.c: ... here.
66632
66633 * sysdeps/unix/utime.c: Moved ...
66634 * sysdeps/posix/utime.c: ... here.
66635
66636 * sysdeps/unix/time.c: Moved ...
66637 * sysdeps/posix/time.c: ... here.
66638 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66639 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66640
66641 * sysdeps/unix/nice.c: Moved ...
66642 * sysdeps/posix/nice.c: ... here.
66643
66644 * sysdeps/unix/alarm.c: Moved ...
66645 * sysdeps/posix/alarm.c: ... here.
66646
66647 * intl/Makefile ($(codeset_mo)): Depend on the input file.
66648
66649 2012-08-17 Jeff Law <law@redhat.com>
66650
66651 * intl/Makefile (codeset_mo): New variable.
66652 ($(codeset_mo)): New target.
66653 (tst-codeset.out): Depend on that. Remove explicit rule.
66654 (tst-gettext3.out, tst-gettext5.out): Likewise.
66655 (LOCPATH-ENV, tst-codeset-ENV): New variables.
66656 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66657 * intl/tst-codeset.sh: Remove.
66658 * intl/tst-gettext3.sh: Likewise.
66659 * intl/tst-gettext5.sh: Likewise.
66660
66661 2012-08-17 Roland McGrath <roland@hack.frob.com>
66662
66663 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
66664 * sysdeps/unix/syscalls.list: ... here.
66665
66666 * sysdeps/posix/getaddrinfo.c
66667 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66668 (gaiconf_init, gaiconf_reload): Use them.
66669 [!_STATBUF_ST_NSEC]
66670 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66671 Define using time_t rather than struct timespec.
66672
66673 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66674 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66675 Macros removed.
66676 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66677 [!NO_THREADS].
66678 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66679 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66680 Likewise.
66681
66682 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66683 __libc_cleanup_push argument.
66684
66685 * bits/param.h: New file.
66686 * misc/sys/param.h: New file.
66687 * include/sys/param.h: New file.
66688 * misc/Makefile (headers): Add bits/param.h.
66689 * sysdeps/generic/sys/param.h: File removed.
66690 * sysdeps/unix/sysv/linux/bits/param.h: New file.
66691 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66692 * sysdeps/mach/hurd/bits/param.h: New file.
66693 * sysdeps/mach/hurd/sys/param.h: File removed.
66694
66695 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66696 last change.
66697
66698 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66699 [_IO_MTSAFE_IO].
66700 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66701 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66702 New macros.
66703
66704 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66705 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66706 rather than -D_IO_MTSAFE_IO conditionally.
66707 * stdio-common/Makefile (CPPFLAGS): Likewise.
66708 * wcsmbs/Makefile (CPPFLAGS): Likewise.
66709 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66710 Use $(libio-mtsafe).
66711 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66712 of -D_IO_MTSAFE_IO.
66713 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66714 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66715 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66716 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66717 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66718 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66719 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66720 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66721 (CFLAGS-fread_u_chk.c): Likewise.
66722 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66723 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66724 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66725 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66726 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66727 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66728 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66729 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66730 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66731
66732 * libio/Makefile: Test [$(libc-reentrant) = yes]
66733 instead of [$(filter %REENTRANT, $(defines)) nonempty].
66734
66735 * Makeconfig
66736 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66737 * sysdeps/pthread/configure: File removed.
66738 * sysdeps/pthread/Makeconfig: New file.
66739 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66740 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66741
66742 2012-08-16 Gary Benson <gbenson@redhat.com>
66743
66744 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66745 unmapping the first object in a namespace.
66746
66747 2012-08-16 Roland McGrath <roland@hack.frob.com>
66748
66749 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66750 (__internal_setnetgrent): ... this. Add internal_function to
66751 definition. Add libc_hidden_def.
66752 (setnetgrent): Update caller.
66753 (internal_endnetgrent): Renamed to ...
66754 (__internal_endnetgrent): ... this. Add internal_function to
66755 definition. Add libc_hidden_def.
66756 (endnetgrent): Update caller.
66757 (internal_getnetgrent_r): Renamed to ...
66758 (__internal_getnetgrent_r): ... this. Add internal_function to
66759 definition. Add libc_hidden_def.
66760 (__getnetgrent_r): Update caller.
66761 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
66762
66763 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66764
66765 * stdlib/longlong.h: Update from GCC.
66766
66767 2012-08-16 Roland McGrath <roland@hack.frob.com>
66768
66769 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66770 on _QL, which is set by umul_ppmm but never used.
66771 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66772 variables, which are set by GMP macros but never used.
66773 * stdio-common/_itowa.c (_itowa): Likewise.
66774 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66775 * stdlib/mod_1.c (mpn_mod_1): Likewise.
66776
66777 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
66778
66779 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66780 struct La_sh_regs is not constant.
66781 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66782 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66783 and struct La_sparc64_regs are not constant.
66784
66785 2012-08-16 Joseph Myers <joseph@codesourcery.com>
66786
66787 * sysdeps/unix/sysv/linux/kernel-features.h
66788 (__ASSUME_POSIX_TIMERS): Remove.
66789 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66790 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66791 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66792 Make code unconditional.
66793 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66794 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66795 Make code unconditional.
66796 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66797 * sysdeps/unix/sysv/linux/clock_nanosleep.c
66798 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66799 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66800 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66801 Make code unconditional.
66802 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66803 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66804 (__libc_missing_posix_timers): Remove.
66805
66806 2012-08-15 Roland McGrath <roland@hack.frob.com>
66807
66808 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66809 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66810
66811 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66812
66813 * elf/dl-sym.c: Include <stdlib.h>.
66814
66815 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66816 constants, which avoids warnings in 32-bit builds.
66817
66818 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66819 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66820
66821 * misc/lseek.c: File moved to ...
66822 * io/lseek.c: ... here.
66823
66824 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66825
66826 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66827 shifting LEN more than 31 bits at once.
66828
66829 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66830
66831 [BZ #14195]
66832 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66833 segmentation fault for a case of two empty input strings.
66834 * string/test-strncasecmp.c (check1): Renamed to...
66835 (bz12205): ...this.
66836 (bz14195): Add new testcase for two empty input strings and N > 0.
66837 (test_main): Call new testcase, adapt for renamed function.
66838
66839 2012-08-15 Andreas Jaeger <aj@suse.de>
66840
66841 [BZ #14090]
66842 * crypt/md5test2.c: New test, based on test supplied by Serge
66843 Belyshev <belyshev@depni.sinp.msu.ru>.
66844 * crypt/Makefile (xtests): Add md5test-giant..
66845 * crypt/Makefile ($(objpfx)md5test-giant): Add.
66846
66847 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
66848
66849 [BZ #14090]
66850 * crypt/md5.c (md5_process_block): Don't assume the buffer
66851 length is less than 2**32.
66852 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66853 length is less than 2**64.
66854
66855 2012-08-15 Roland McGrath <roland@hack.frob.com>
66856
66857 * string/str-two-way.h: Include <sys/param.h>.
66858 (MAX): Macro removed.
66859
66860 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66861 Move #define and #undef of memmove to just before and after
66862 including <string.h>.
66863
66864 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66865 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66866 and after including <string.h>. Move declarations of
66867 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66868 to before #include "string/memmove.c".
66869
66870 * include/dirent.h: Declare __getdirentries.
66871
66872 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66873 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66874
66875 2012-08-14 Mike Frysinger <vapier@gentoo.org>
66876
66877 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66878 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66879 * sysdeps/i386/configure: Regenerated.
66880 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66881 STABS_CURRENT_FILE, and STABS_FUN.
66882 (END): Remove call to STABS_FUN_END.
66883 (STABS_CURRENT_FILE1): Delete.
66884 (STABS_CURRENT_FILE): Likewise.
66885 (STABS_FUN): Likewise.
66886 (STABS_FUN_END): Likewise.
66887 (STABS_FUN2): Likewise.
66888 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66889 * sysdeps/x86_64/configure: Regenerated.
66890
66891 2012-08-14 Roland McGrath <roland@hack.frob.com>
66892
66893 * elf/dl-open.c: Include <atomic.h>.
66894 * elf/dl-lookup.c: Likewise.
66895
66896 2012-08-14 Joseph Myers <joseph@codesourcery.com>
66897
66898 * sysdeps/unix/sysv/linux/kernel-features.h
66899 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66900 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66901 unconditionally.
66902 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66903 unconditionally.
66904 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66905 condition on __ASSUME_CLONE_THREAD_FLAGS.
66906
66907 2012-08-14 Andreas Jaeger <aj@suse.de>
66908
66909 * sysdeps/i386/fpu/libm-test-ulps: Update.
66910
66911 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
66912
66913 * include/atomic.h (atomic_exchange_and_add): Split into ...
66914 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
66915 New atomic macros.
66916
66917 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
66918
66919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66920
66921 2012-08-13 Jeff Law <law@redhat.com>
66922
66923 * manual/stdio.texi (snprintf): Clarify handling of the trailing
66924 null byte in the output string.
66925
66926 2012-08-10 Joseph Myers <joseph@codesourcery.com>
66927
66928 * sysdeps/unix/sysv/linux/kernel-features.h
66929 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
66930 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
66931 (__ASSUME_ARG_MAX_STACK_BASED): Define.
66932 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
66933 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
66934 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
66935 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
66936
66937 2012-08-09 Jeff Law <law@redhat.com>
66938
66939 [BZ #13939]
66940 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
66941 When avoid_arena is set, don't retry in the that arena. Pick the
66942 next one, whatever it might be.
66943 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
66944 (arena_lock): Pass in new parameter to arena_get2.
66945 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
66946 arena_get2.
66947 (__libc_malloc): Unify retrying after main arena failure with
66948 __libc_memalign version.
66949 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
66950
66951 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
66952
66953 [BZ #14166]
66954 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
66955 to __redirect_strstr.
66956 (__strstr_sse42): Use typeof __redirect_strstr.
66957 (__strstr_ia32): Likewise.
66958 (__libc_strstr): New prototype.
66959 (strstr): Renamed to ...
66960 (__libc_strstr): This.
66961 (strstr): New strong alias of __libc_strstr.
66962 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66963 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
66964 __redirect_time.
66965 Include <time.h>.
66966 (__libc_time): New prototype.
66967 (time_ifunc): Replace time with __libc_time.
66968 (time): New strong alias and hidden definition of __libc_time.
66969 (__GI_time): Remove strong alias.
66970 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
66971 Include <stddef.h>.
66972 (memmove): Redefined to __redirect_memmove.
66973 (__memmove_sse2): Use typeof __redirect_memmove.
66974 (__memmove_ssse3): Likewise.
66975 (__memmove_ssse3_back): Likewise.
66976 (__libc_memmove): New prototype.
66977 (memmove): Renamed to ...
66978 (__libc_memmove): This.
66979 (memmove): New strong alias of __libc_memmove.
66980
66981 2012-08-08 Mark Salter <msalter@redhat.com>
66982
66983 * elf/elf.h
66984 (R_MN10300_TLS_GD): Define.
66985 (R_MN10300_TLS_LD): Likewise.
66986 (R_MN10300_TLS_LDO): Likewise.
66987 (R_MN10300_TLS_GOTIE): Likewise.
66988 (R_MN10300_TLS_IE): Likewise.
66989 (R_MN10300_TLS_LE): Likewise.
66990 (R_MN10300_TLS_DTPMOD): Likewise.
66991 (R_MN10300_TLS_DTPOFF): Likewise.
66992 (R_MN10300_TLS_TPOFF): Likewise.
66993 (R_MN10300_SYM_DIFF): Likewise.
66994 (R_MN10300_ALIGN): Likewise.
66995 (R_MN10300_NUM): Update.
66996
66997 2012-08-08 Joseph Myers <joseph@codesourcery.com>
66998
66999 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67000 Remove.
67001
67002 2012-08-08 Roland McGrath <roland@hack.frob.com>
67003
67004 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67005
67006 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67007 sysdeps/unix -> sysdeps/posix move.
67008 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67009
67010 2012-08-07 Allan McRae <allan@archlinux.org>
67011
67012 [BZ #14303]
67013 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67014 (SUNOS_CPP): Likewise.
67015 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67016 not found.
67017 (open_input): Call CPP using execvp.
67018
67019 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67020
67021 * sysdeps/unix/sysv/linux/kernel-features.h
67022 (__ASSUME_PROT_GROWSUPDOWN): Remove.
67023 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67024 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67025 (__ASSUME_WAITID_SYSCALL): Likewise.
67026 * sysdeps/unix/sysv/linux/dl-execstack.c
67027 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67028 code unconditional.
67029 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67030 conditional code.
67031 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67032 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67033 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67034 code.
67035 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67036 unconditional.
67037 [__ASSUME_WAITID_SYSCALL]: Likewise.
67038 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67039
67040 2012-08-07 Roland McGrath <roland@hack.frob.com>
67041
67042 * sysdeps/unix/closedir.c: Renamed to ...
67043 * sysdeps/posix/closedir.c: ... here.
67044 * sysdeps/unix/dirfd.c: Renamed to ...
67045 * sysdeps/posix/dirfd.c: ... here.
67046 * sysdeps/unix/dirstream.h: Renamed to ...
67047 * sysdeps/posix/dirstream.h: ... here.
67048 * sysdeps/unix/fdopendir.c: Renamed to ...
67049 * sysdeps/posix/fdopendir.c: ... here.
67050 * sysdeps/unix/opendir.c: Renamed to ...
67051 * sysdeps/posix/opendir.c: ... here.
67052 * sysdeps/unix/readdir.c: Renamed to ...
67053 * sysdeps/posix/readdir.c: ... here.
67054 * sysdeps/unix/readdir_r.c: Renamed to ...
67055 * sysdeps/posix/readdir_r.c: ... here.
67056 * sysdeps/unix/rewinddir.c: Renamed to ...
67057 * sysdeps/posix/rewinddir.c: ... here.
67058 * sysdeps/unix/seekdir.c: Renamed to ...
67059 * sysdeps/posix/seekdir.c: ... here.
67060 * sysdeps/unix/telldir.c: Renamed to ...
67061 * sysdeps/posix/telldir.c: ... here.
67062 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67063 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67064 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67065 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67066
67067 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67068 * bits/fcntl.h: ... here.
67069
67070 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67071 not 0.
67072 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67073 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67074 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67075 (struct flock): Move l_start, l_len to the beginning.
67076 Use __pid_t for l_pid.
67077 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67078 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67079 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67080 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67081 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67082 [__USE_LARGEFILE64] (struct flock64): New type.
67083 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67084
67085 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67086 * bits/dirent.h: ... here.
67087
67088 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67089 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67090
67091 2012-08-07 Joseph Myers <joseph@codesourcery.com>
67092
67093 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67094 Change from 2.6.0 to 2.6.16.
67095 * sysdeps/unix/sysv/linux/configure: Regenerated.
67096 * sysdeps/unix/sysv/linux/kernel-features.h
67097 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67098 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67099 version.
67100 (__ASSUME_UTIMES): Likewise.
67101 (__ASSUME_CLONE_STOPPED): Remove.
67102 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67103 architectures, not kernel version.
67104 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67105 (__ASSUME_NO_CLONE_DETACHED): Likewise.
67106 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67107 (__ASSUME_WAITID_SYSCALL): Likewise.
67108 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67109 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67110 * README: State 2.6.16 as minimum Linux kernel version. Do not
67111 refer to older versions.
67112
67113 2012-08-06 Roland McGrath <roland@hack.frob.com>
67114
67115 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67116 Define alphasort64 as an alias.
67117 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67118 Define versionsort64 as an alias.
67119 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67120 Define scandir64 as an alias.
67121 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67122 Define scandirat64 as an alias.
67123 * dirent/alphasort64.c (alphasort64):
67124 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67125 * dirent/versionsort64.c: Likewise.
67126 * dirent/scandir64.c: Likewise.
67127 * dirent/scandirat64.c: Likewise.
67128 * sysdeps/wordsize-64/alphasort.c: File removed.
67129 * sysdeps/wordsize-64/alphasort64.c: File removed.
67130 * sysdeps/wordsize-64/scandir.c: File removed.
67131 * sysdeps/wordsize-64/scandir64.c: File removed.
67132 * sysdeps/wordsize-64/scandirat.c: File removed.
67133 * sysdeps/wordsize-64/scandirat64.c: File removed.
67134 * sysdeps/wordsize-64/versionsort.c: File removed.
67135 * sysdeps/wordsize-64/versionsort64.c: File removed.
67136 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67137 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67138 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67139 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67140 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67141 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67142 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67143 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67144
67145 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67147 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67149 [defined __arch64__ || defined __sparcv9]
67150 (__INO_T_MATCHES_INO64_T): New macro.
67151 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67152 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67153 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67154 * sysdeps/unix/sysv/linux/bits/dirent.h
67155 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67156 (_DIRENT_MATCHES_DIRENT64): New macro.
67157
67158 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67159 Define lockf64 as an alias.
67160 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67161 Define fseeko64 as an alias.
67162 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67163 Define ftello64 as an alias.
67164 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67165 Define _IO_fgetpos64 and fgetpos64 as aliases.
67166 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67167 Define _IO_fsetpos64 and fsetpos64 as aliases.
67168 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67169 Conditionalize body on this.
67170 * libio/fseeko64.c: Likewise.
67171 * libio/ftello64.c: Likewise.
67172 * libio/iofgetpos64.c: Likewise.
67173 * libio/iofsetpos64.c: Likewise.
67174 * sysdeps/wordsize-64/lockf.c: File removed.
67175 * sysdeps/wordsize-64/lockf64.c: File removed.
67176 * sysdeps/wordsize-64/fseeko.c: File removed.
67177 * sysdeps/wordsize-64/fseeko64.c: File removed.
67178 * sysdeps/wordsize-64/ftello.c: File removed.
67179 * sysdeps/wordsize-64/ftello64.c: File removed.
67180 * sysdeps/wordsize-64/iofgetpos.c: File removed.
67181 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67182 * sysdeps/wordsize-64/iofsetpos.c: File removed.
67183 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67184 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67185 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67186 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67187 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67188 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67189 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67190 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67191 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67192 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67193 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67194
67195 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67197 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67199 [defined __arch64__ || defined __sparcv9]
67200 (__OFF_T_MATCHES_OFF64_T): New macro.
67201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67202 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67204 (__OFF_T_MATCHES_OFF64_T): New macro.
67205
67206 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67207
67208 * stdlib/secure-getenv.c (__secure_getenv): Replace
67209 GLIBC_2_16 with GLIBC_2_17.
67210
67211 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
67212
67213 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67214 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67215
67216 2012-08-03 David S. Miller <davem@davemloft.net>
67217
67218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67219
67220 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67221
67222 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67223 Remove.
67224 (__ASSUME_CORRECT_SI_PID): Likewise.
67225 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67226 (__ASSUME_TMPFS_NAME): Likewise.
67227 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67228 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67229 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67230 (HAVE_AUX_SECURE): Make definition unconditional.
67231 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67232 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67233
67234 2012-08-03 Roland McGrath <roland@hack.frob.com>
67235
67236 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67237 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67238 * sysdeps/mach/hurd/eloop-threshold.h: New file.
67239 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67240 __eloop_threshold instead of SYMLOOP_MAX.
67241
67242 * sysdeps/generic/eloop-threshold.h: New file.
67243 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67244 of MAXSYMLINKS.
67245 * elf/chroot_canon.c (chroot_canon): Likewise.
67246
67247 2012-08-03 Joseph Myers <joseph@codesourcery.com>
67248
67249 [BZ #13717]
67250 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67251 Change to 2.6.0 everywhere.
67252 * sysdeps/unix/sysv/linux/configure: Regenerated.
67253 * sysdeps/unix/sysv/linux/kernel-features.h
67254 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67255 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67256 kernel versions.
67257 (__ASSUME_POSIX_TIMERS): Define unconditionally.
67258 (__ASSUME_FUTEX_REQUEUE): Remove.
67259 (__ASSUME_STATFS64): Define unconditionally.
67260 (__ASSUME_AT_SECURE): Likewise.
67261 (__ASSUME_CORRECT_SI_PID): Likewise.
67262 (__ASSUME_TGKILL): Define without depending on kernel version for
67263 i386.
67264 (__ASSUME_UTIMES): Likewise.
67265 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67266 kernel version.
67267 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67268 (__ASSUME_TMPFS_NAME): Likewise.
67269 * README: Update reference to Linux kernel versions.
67270
67271 2012-08-02 Marek Polacek <polacek@redhat.com>
67272
67273 [BZ# 14150]
67274 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
67275 libc_cv_asm_type_prefix with %.
67276 * configure: Regenerated.
67277 * include/libc-symbols.h: Remove comment about
67278 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67279 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67280 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67281 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67282 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67283 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67284 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67285 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67286 * elf/tst-unique2mod1.c: Likewise.
67287 * elf/tst-unique1mod2.c: Likewise.
67288 * elf/tst-unique1mod1.c: Likewise.
67289 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67290 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67291 Replace ASM_TYPE_DIRECTIVE with .type.
67292 * sysdeps/s390/s390-64/sysdep.h: Likewise.
67293 * sysdeps/i386/sysdep.h: Likewise.
67294 * sysdeps/x86_64/sysdep.h: Likewise.
67295 * sysdeps/sh/sysdep.h: Likewise.
67296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67297 Do not define ASM_TYPE_DIRECTIVE.
67298 * sysdeps/powerpc/sysdep.h: Likewise.
67299 * sysdeps/powerpc/powerpc32/sysdep.h:
67300 Replace ASM_TYPE_DIRECTIVE with .type.
67301 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67302 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67303 * sysdeps/i386/fpu/e_powf.S: Likewise.
67304 * sysdeps/i386/fpu/e_expl.S: Likewise.
67305 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67306 * sysdeps/i386/fpu/e_acosh.S: Likewise.
67307 * sysdeps/i386/fpu/e_pow.S: Likewise.
67308 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67309 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67310 * sysdeps/i386/fpu/s_expm1.S: Likewise.
67311 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67312 * sysdeps/i386/fpu/e_log2.S: Likewise.
67313 * sysdeps/i386/fpu/e_log2l.S: Likewise.
67314 * sysdeps/i386/fpu/e_scalb.S: Likewise.
67315 * sysdeps/i386/fpu/e_powl.S: Likewise.
67316 * sysdeps/i386/fpu/e_log10f.S: Likewise.
67317 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67318 * sysdeps/i386/fpu/e_logl.S: Likewise.
67319 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67320 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67321 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67322 * sysdeps/i386/fpu/e_log2f.S: Likewise.
67323 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67324 * sysdeps/i386/fpu/e_log.S: Likewise.
67325 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67326 * sysdeps/i386/fpu/e_logf.S: Likewise.
67327 * sysdeps/i386/fpu/e_log10l.S: Likewise.
67328 * sysdeps/i386/fpu/e_atanh.S: Likewise.
67329 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67330 * sysdeps/i386/fpu/e_log10.S: Likewise.
67331 * sysdeps/i386/fpu/s_frexp.S: Likewise.
67332 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67333 * sysdeps/i386/fpu/s_asinh.S: Likewise.
67334 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67335 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67336 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67337 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67338 * sysdeps/i386/i686/strtok.S: Likewise.
67339 * sysdeps/i386/i386-mcount.S: Likewise.
67340 * sysdeps/i386/strtok.S: Likewise.
67341 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67342 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67343 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67344 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67345 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67346 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67347 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67348 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67349 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67350 * sysdeps/x86_64/_mcount.S: Likewise.
67351 * sysdeps/x86_64/strtok.S: Likewise.
67352 * sysdeps/sh/_mcount.S: Likewise.
67353
67354 2012-08-01 Roland McGrath <roland@hack.frob.com>
67355
67356 * libio/iofopen.c: Include <fcntl.h>.
67357 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67358 (_IO_fopen64, fopen64): Define as aliases.
67359 * libio/iofopen64.c: Include <fcntl.h>.
67360 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67361 Conditionalize body on this.
67362 * sysdeps/wordsize-64/iofopen.c: File removed.
67363 * sysdeps/wordsize-64/iofopen64.c: File removed.
67364
67365 2012-08-01 Marek Polacek <polacek@redhat.com>
67366
67367 * libc/Makeconfig: Use elf in place of binfmt-subdir.
67368 Use dlfcn directly instead of a variable.
67369 (binfmt-subdir): Do not define.
67370 (dlfcn): Likewise.
67371
67372 2012-08-01 Joseph Myers <joseph@codesourcery.com>
67373
67374 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67375 Remove all definitions.
67376 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67377 <kernel-features.h>.
67378 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67379 (miss_F_GETOWN_EX): Remove all definitions.
67380 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67381 macro definition.
67382 [!__ASSUME_FCNTL64]: Remove conditional code.
67383 [__ASSUME_FCNTL64]: Make code unconditional.
67384 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67385 <kernel-features.h>.
67386 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67387 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67388 (lockf64) [__NR_fcntl64]: Make code unconditional.
67389 (lockf64) [__ASSUME_FCNTL64]: Likewise.
67390
67391 * sysdeps/unix/sysv/linux/kernel-features.h
67392 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67393 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67394 Make code unconditional.
67395 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67396 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67398 [__NR_vfork]: Make code unconditional.
67399 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67400 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67402 [__NR_vfork]: Make code unconditional.
67403 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67404 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67405
67406 2012-08-01 Roland McGrath <roland@hack.frob.com>
67407
67408 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67409 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67410
67411 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67412 Define mkstemp64 as an alias.
67413 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67414 Define mkstemps64 as an alias.
67415 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67416 Define mkostemp64 as an alias.
67417 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67418 Define mkostemps64 as an alias.
67419 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67420 Conditionalize body on this.
67421 * misc/mkostemp64.c: Likewise.
67422 * misc/mkostemps64.c: Likewise.
67423 * misc/mkstemps64.c: Likewise.
67424 * sysdeps/wordsize-64/mkstemp64.c: File removed.
67425 * sysdeps/wordsize-64/mkostemp64.c: File removed.
67426 * sysdeps/wordsize-64/mkostemp.c: File removed.
67427 * sysdeps/wordsize-64/mkstemp.c: File removed.
67428 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67429 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67430 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67431 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67432
67433 [BZ #14138]
67434 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67435 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67436 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67437 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67438
67439 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67440 compat_symbol macros from <shlib-compat.h> rather than the underlying
67441 default_symbol_version and symbol_version macros, so that DEFAULT
67442 lines in shlib-versions are respected.
67443 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67444
67445 2012-08-01 Florian Weimer <fweimer@redhat.com>
67446
67447 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67448 Declare with warn_unused_result.
67449 (setgid, setregid, setegid, setresgid): Likewise.
67450 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67451 Likewise.
67452 * WUR-REPORT: Remove set*id functions.
67453
67454 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
67455
67456 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67457
67458 2012-07-31 Roland McGrath <roland@hack.frob.com>
67459
67460 [BZ #10191]
67461 * include/sys/socket.h (__libc_accept, __libc_accept4):
67462 Add attribute_hidden.
67463 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67464
67465 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67466 use of PTR_MANGLE.
67467 * inet/getnetgrent_r.c (setup): Likewise.
67468
67469 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67470
67471 2012-07-31 David S. Miller <davem@davemloft.net>
67472
67473 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67474
67475 2012-07-31 Joseph Myers <joseph@codesourcery.com>
67476
67477 [BZ #13629]
67478 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67479 value between 1.0 and 2.0 and smaller part has absolute value less
67480 than 1.0.
67481 * math/s_clog10.c (__clog10): Likewise.
67482 * math/s_clog10f.c (__clog10f): Likewise.
67483 * math/s_clog10l.c (__clog10l): Likewise.
67484 * math/s_clogf.c (__clogf): Likewise.
67485 * math/s_clogl.c (__clogl): Likewise.
67486 * math/libm-test.inc (clog_test): Add more tests.
67487 (clog10_test): Likewise.
67488 * sysdeps/i386/fpu/libm-test-ulps: Update.
67489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67490
67491 2012-07-31 Florian Weimer <fweimer@redhat.com>
67492
67493 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67494 Exit with zero in case no suitable GID is found, and write a
67495 message to standard error.
67496
67497 2012-07-30 Roland McGrath <roland@hack.frob.com>
67498
67499 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67500 rather than to 1.
67501 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67502 (MAXPATHLEN): Removed.
67503 (NOGROUP, NODEV): New macros.
67504 (setbit, clrbit, isset, isclr): New macros.
67505 (howmany, roundup, powerof2): New macros.
67506 (DEV_BSIZE): New macro.
67507
67508 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67509 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67510
67511 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67512 definition on [!__NO_LONG_DOUBLE_MATH].
67513
67514 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67515 PTR_MANGLE and PTR_DEMANGLE.
67516
67517 * socket/accept4.c (accept4): Rename to __libc_accept4.
67518 Define accept4 as a weak alias.
67519
67520 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67521 on [_DIRENT_HAVE_D_TYPE].
67522 * io/ftw.c (ftw_dir): Likewise.
67523
67524 * io/xmknod.c (__xmknod): Don't check PATH for being null.
67525
67526 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67527
67528 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67529 Use the BSD numbers rather than the arbitrary ones we had.
67530 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67531 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67532 (SIGXCPU, SIGXFSZ): New macros.
67533 (_NSIG): Now 32.
67534
67535 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67536 initializer on [_LIBC_REENTRANT].
67537
67538 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67539 definitions inside [_POSIX_MAPPED_FILES].
67540
67541 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67542
67543 * dirent/opendir.c: Include <fcntl.h>.
67544
67545 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67546 (__libc_getspecific): Likewise.
67547 (__libc_key_create): Likewise.
67548
67549 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67550 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67551 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67552 (tmpfile64): Define as alias.
67553 * sysdeps/wordsize-64/tmpfile.c: File removed.
67554 * sysdeps/wordsize-64/tmpfile64.c: File removed.
67555 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67556 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67557
67558 * stdio-common/vfscanf.c: Include <stdbool.h>.
67559 * nss/makedb.c: Likewise.
67560 * stdio-common/_i18n_number.h: Likewise.
67561 * argp/argp-help.c: Likewise.
67562 * posix/wordexp.c: Likewise.
67563 * sysdeps/posix/spawni.c: Likewise.
67564 * nss/nss_files/files-initgroups.c: Likewise.
67565 * stdio-common/reg-modifier.c: Include <stdlib.h>.
67566 * nss/nss_files/files-initgroups.c: Likewise.
67567 * nss/nss_db/db-netgrp.c: Likewise.
67568 * nss/nss_db/db-initgroups.c: Likewise.
67569 * io/fchmodat.c: Include <sys/stat.h>.
67570
67571 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67572 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67573
67574 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67575 [HAVE_MMAP].
67576
67577 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67578 Add multiple inclusion protection.
67579
67580 2012-07-27 David S. Miller <davem@davemloft.net>
67581
67582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67583
67584 2012-07-27 Gary Benson <gbenson@redhat.com>
67585
67586 [BZ #14298]
67587 * elf/rtld.c: Include <stap-probe.h>.
67588 (dl_main): Added static probes "init_start" and "init_complete".
67589 * elf/dl-load.c: Include <stap-probe.h>.
67590 (lose): Take new parameter "nsid".
67591 Added static probe "map_failed".
67592 (_dl_map_object_from_fd): Pass namespace id to lose.
67593 Added static probe "map_start".
67594 (open_verify): Pass namespace id to lose.
67595 * elf/dl-open.c: Include <stap-probe.h>.
67596 (dl_open_worker) Added static probes "map_complete", "reloc_start"
67597 and "reloc_complete".
67598 * elf/dl-close.c: Include <stap-probe.h>.
67599 (_dl_close_worker): Added static probes "unmap_start" and
67600 "unmap_complete".
67601 * elf/rtld-debugger-interface.txt: New file documenting the above.
67602
67603 2012-07-26 Roland McGrath <roland@hack.frob.com>
67604
67605 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67606 rather than a string variable.
67607 * sunrpc/rpc_main.c (h_output): Likewise.
67608 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67609
67610 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
67611
67612 * inet/check_native.c: New file.
67613
67614 2012-07-26 Joseph Myers <joseph@codesourcery.com>
67615
67616 [BZ #13629]
67617 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67618 if larger part has absolute value 1.0.
67619 * math/s_clog10.c (__clog10): Likewise.
67620 * math/s_clog10f.c (__clog10f): Likewise.
67621 * math/s_clog10l.c (__clog10l): Likewise.
67622 * math/s_clogf.c (__clogf): Likewise.
67623 * math/s_clogl.c (__clogl): Likewise.
67624 * math/libm-test.inc (clog_test): Add more tests.
67625 (clog10_test): Likewise.
67626 * sysdeps/i386/fpu/libm-test-ulps: Update.
67627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67628
67629 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67630 (pltexit): Likewise.
67631 (La_regs): Likewise.
67632 (La_retval): Likewise.
67633 (int_retval): Likewise.
67634 Update #error for removed macros to refer only to definitions in
67635 tst-audit.h.
67636 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67637 macro.
67638 (pltexit): Likewise.
67639 (La_regs): Likewise.
67640 (La_retval): Likewise.
67641 (int_retval): Likewise.
67642 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67643 macro.
67644 (pltexit): Likewise.
67645 (La_regs): Likewise.
67646 (La_retval): Likewise.
67647 (int_retval): Likewise.
67648 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67649 macro.
67650 (pltexit): Likewise.
67651 (La_regs): Likewise.
67652 (La_retval): Likewise.
67653 (int_retval): Likewise.
67654 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67655 macro.
67656 (pltexit): Likewise.
67657 (La_regs): Likewise.
67658 (La_retval): Likewise.
67659 (int_retval): Likewise.
67660 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67661 macro.
67662 (pltexit): Likewise.
67663 (La_regs): Likewise.
67664 (La_retval): Likewise.
67665 (int_retval): Likewise.
67666 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67667 macro.
67668 (pltexit): Likewise.
67669 (La_regs): Likewise.
67670 (La_retval): Likewise.
67671 (int_retval): Likewise.
67672 * sysdeps/generic/tst-audit.h: Update comment to refer only to
67673 macro definitions in tst-audit.h.
67674 * sysdeps/i386/tst-audit.h: New file.
67675 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67676 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67677 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67678 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67679 * sysdeps/sh/tst-audit.h: Likewise.
67680 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67681 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67682 * sysdeps/x86_64/tst-audit.h: Likewise.
67683
67684 2012-07-26 Andreas Jaeger <aj@suse.de>
67685
67686 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67687 ptrace.
67688
67689 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67690 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67691 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67692 PTRACE_O_MASK.
67693 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67694 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67695 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67696
67697 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67698 value.
67699
67700 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67701 _sigsys.
67702 (si_call_addr, si_syscall, si_arch): Define new macro.
67703 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67704 _sigsys.
67705 (si_call_addr, si_syscall, si_arch): Define new marcro.
67706 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67707 _sigsys.
67708 (si_call_addr, si_syscall, si_arch): Define new macro.
67709 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67710 _sigsys.
67711 (si_call_addr, si_syscall, si_arch): Define new macro.
67712
67713 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67714
67715 [BZ #13717]
67716 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67717 Change to 2.4.21 where previously 2.4.1.
67718 * sysdeps/unix/sysv/linux/configure: Regenerated.
67719 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67720 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67721 Linux kernel version.
67722 (__ASSUME_STD_AUXV): Remove.
67723 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67724 kernel version.
67725 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67726 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67727 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67728 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67729 (__ASSUME_NETLINK_SUPPORT): Likewise.
67730 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67731 (__no_netlink_support): Remove conditional definition.
67732 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67733 Remove.
67734 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67735 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67736 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67737 (if_nameindex_ioctl): Remove.
67738 (if_nameindex_netlink): Do not handle __no_netlink_support.
67739 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67740 code.
67741 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67742 Remove conditional code.
67743 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67744 code.
67745 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67746 unconditional.
67747 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67748 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67749 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67750 Remove.
67751 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67752 [!__ASSUME_STD_AUXV]: Remove conditional code.
67753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67754 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67755 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67757 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67758 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67759 code.
67760 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67762 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67763 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67764 conditional code.
67765 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67767 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67768 code.
67769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67770 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67771 conditional code.
67772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67773 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67774 code unconditional.
67775 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67776 conditional code.
67777 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67778 unconditional.
67779 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67780 conditional code.
67781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67782 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67783 unconditional.
67784 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67785 conditional code.
67786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67787 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67788 code unconditional.
67789 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67790 conditional code.
67791 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67792 unconditional.
67793 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67794 conditional code.
67795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67796 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67797 code unconditional.
67798 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67799 conditional code.
67800 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67801 unconditional.
67802 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67803 conditional code.
67804
67805 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
67806
67807 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67808 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67809 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67810 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67811 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67812 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67813 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67814 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67815 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67816 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67817 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67818 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67819 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67820 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67821 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67822 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67823 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67824 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67825 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67826 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67827 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67828 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67829 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67830
67831 2012-07-25 Florian Weimer <fweimer@redhat.com>
67832
67833 * Versions.def: Add GLIBC_2.17.
67834 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67835 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67836 Introduce __libc_secure_getenv.
67837 * stdlib/Versions (2.17): Add secure_getenv
67838 (GLIBC_PRIVATE): Add __libc_secure_getenv.
67839 * stdlib/secure-getenv.c: Rename __secure_getenv to
67840 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
67841 symbol __secure_getenv for GLIBC_2.0.
67842 * stdlib/tst-secure-getenv.c: New.
67843 * stdlib/Makefile (tests): Add testcase.
67844 * manual/startup.texi (Environment Access): Document
67845 secure_getenv.
67846 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67847 __libc_secure_getenv.
67848 * inet/ruserpass.c (ruserpass): Likewise.
67849 * malloc/mtrace.c (mtrace): Likewise.
67850 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67851 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67852 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67853 * sysdeps/posix/tempname.c: Likewise. Evaluate
67854 HAVE_SECURE_GETENV.
67855 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67856 __secure_getenv to __libc_secure_getenv.
67857 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67859 Likewise.
67860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67861 Likewise.
67862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67864 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67865 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67869
67870 2012-07-25 Joseph Myers <joseph@codesourcery.com>
67871
67872 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67873 (struct La_i86_retval): Likewise.
67874 (struct La_x86_64_regs): Likewise.
67875 (struct La_x86_64_retval): Likewise.
67876 (struct La_x32_regs): Likewise.
67877 (struct La_x32_retval): Likewise.
67878 (struct La_ppc32_regs): Likewise.
67879 (struct La_ppc32_retval): Likewise.
67880 (struct La_ppc64_regs): Likewise.
67881 (struct La_ppc64_retval): Likewise.
67882 (struct La_sh_regs): Likewise.
67883 (struct La_sh_retval): Likewise.
67884 (struct La_s390_32_regs): Likewise.
67885 (struct La_s390_32_retval): Likewise.
67886 (struct La_s390_64_regs): Likewise.
67887 (struct La_s390_64_retval): Likewise.
67888 (struct La_sparc32_regs): Likewise.
67889 (struct La_sparc32_retval): Likewise.
67890 (struct La_sparc64_regs): Likewise.
67891 (struct La_sparc64_retval): Likewise.
67892 (struct audit_ifaces): Remove architecture-specific pltenter and
67893 pltexit members.
67894 * sysdeps/i386/ldsodefs.h: New file.
67895 * sysdeps/powerpc/ldsodefs.h: Likewise.
67896 * sysdeps/s390/ldsodefs.h: Likewise.
67897 * sysdeps/sh/ldsodefs.h: Likewise.
67898 * sysdeps/sparc/ldsodefs.h: Likewise.
67899 * sysdeps/x86_64/ldsodefs.h: Likewise.
67900
67901 2012-07-25 Marek Polacek <polacek@redhat.com>
67902
67903 [BZ #6808]
67904 * math/libm-test.inc (yn_test): Add another test.
67905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67906 to ERANGE when the result is +-Inf.
67907 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67908 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67909 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67910 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67911
67912 2012-07-24 Joseph Myers <joseph@codesourcery.com>
67913
67914 * conform/data/time.h-data (NULL): Use macro-constant. Require
67915 equal to 0.
67916 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
67917 clock_t.
67918 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
67919
67920 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
67921
67922 * configure.in <sysdeps resolving>: Correct printing
67923 Implies_before.
67924 * configure: Regenerate.
67925
67926 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
67927
67928 * math/w_ilogb.c: Include <limits.h>.
67929 * math/w_ilogbl.c: Likewise.
67930
67931 2012-07-20 Joseph Myers <joseph@codesourcery.com>
67932
67933 * manual/lang.texi (__va_copy): Document primarily as ISO C99
67934 va_copy. Document allowing for unavailable va_copy only as
67935 pre-C99 compatibility.
67936 * manual/string.texi (Copying and Concatenation): Use va_copy
67937 instead of __va_copy in concat example.
67938
67939 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
67940
67941 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
67942 (__sendto): Use create_address_port. Initialize APORT and deallocate
67943 it if not null.
67944
67945 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
67946 with O_NOLINK passed to __file_name_lookup.
67947
67948 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
67949 with O_NOLINK passed to __file_name_lookup.
67950
67951 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
67952 negative N or less than NGIDS.
67953
67954 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
67955 type to string_t. Set ERANGE as errno and return it if NAME is not big
67956 enough. Use memcpy instead of strncpy.
67957
67958 2012-07-20 Joseph Myers <joseph@codesourcery.com>
67959
67960 * elf/Makefile (check-data): Remove.
67961 (localplt.data): New vpath directive.
67962 ($(objpfx)check-localplt.out): Use localplt.data from vpath
67963 instead of $(check-data).
67964 * scripts/data/localplt-generic.data: Move to ...
67965 * sysdeps/generic/localplt.data: ... here.
67966 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
67967 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
67968 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
67969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
67970 ... here.
67971 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
67972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
67973 ... here.
67974 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
67975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
67976 ... here.
67977 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
67978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
67979 ... here.
67980 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
67981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
67982 ... here.
67983 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
67984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
67985 ... here.
67986
67987 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
67988
67989 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
67990 PPC32 and PPC64 files.
67991 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
67992 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
67993
67994 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67995
67996 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
67997 __makecontext_ret to ...
67998 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
67999 ... here and call exit if uc_link is NULL. New file.
68000 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68001 __makecontext_ret.S.
68002 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68003 __makecontext_ret to ...
68004 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68005 ... here and call exit if uc_link is NULL. New file.
68006 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68007 __makecontext_ret.S.
68008
68009 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68010
68011 * elf/elf.h (R_390_IRELATIVE): New definition.
68012 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68013 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
68014 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68015 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68016 (elf_machine_lazy_rel): Likewise.
68017 * sysdeps/s390/dl-irel.h: New file.
68018 * sysdeps/s390/s390-64/memcpy.S: New asm code.
68019 * sysdeps/s390/s390-64/memset.S: New asm code.
68020 * sysdeps/s390/s390-64/memcmp.S: New asm code.
68021 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68022 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68023 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68024 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68025 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68026 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68027 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68028 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68029 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68030 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68031 * sysdeps/s390/s390-32/memcpy.S: New asm code.
68032 * sysdeps/s390/s390-32/memset.S: New asm code.
68033 * sysdeps/s390/s390-32/memcmp.S: New asm code.
68034
68035 2012-07-17 Marek Polacek <polacek@redhat.com>
68036
68037 [BZ #14349]
68038 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68039 * sysdeps/s390/s390-64/configure.in: Likewise.
68040 * sysdeps/sparc/configure.in: Likewise.
68041 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68042 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68043 * sysdeps/i386/configure.in: Likewise.
68044 * sysdeps/x86_64/configure.in: Likewise.
68045 * sysdeps/sh/configure.in: Likewise.
68046 * sysdeps/s390/s390-32/configure: Regenerated.
68047 * sysdeps/s390/s390-64/configure: Likewise.
68048 * sysdeps/x86_64/configure: Likewise.
68049 * sysdeps/sh/configure: Likewise.
68050 * sysdeps/powerpc/powerpc64/configure: Likewise.
68051 * sysdeps/powerpc/powerpc32/configure: Likewise.
68052 * sysdeps/sparc/configure: Likewise.
68053 * sysdeps/i386/configure: Likewise.
68054
68055 * elf/dl-open.c: Comment fixes.
68056
68057 2012-07-17 Joseph Myers <joseph@codesourcery.com>
68058
68059 * Makefile [CXX] (check-data): Remove.
68060 [CXX] (c++-types.data): New vpath directive.
68061 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68062 vpath. Do not allow for C++ type data being missing.
68063 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68064 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68065 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68066 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68067 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68068 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68069 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68071 ... here.
68072 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68074 ... here.
68075 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68077 ... here.
68078 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68080 ... here.
68081 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68083 ... here.
68084 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68086 ... here.
68087 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68088 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68089 ... here.
68090 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68092
68093 * elf/tls-macros.h (TLS_LE): Move architecture-specific
68094 definitions to architecture-specific files.
68095 (TLS_IE): Likewise.
68096 (TLS_LD): Likewise.
68097 (TLS_GD): Likewise.
68098 * sysdeps/i386/tls-macros.h: New file.
68099 * sysdeps/powerpc/tls-macros.h: Likewise.
68100 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68101 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68102 * sysdeps/sh/tls-macros.h: Likewise.
68103 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68104 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68105 * sysdeps/x86_64/tls-macros.h: Likewise.
68106
68107 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68108
68109 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68110 zero value for regular exit case.
68111
68112 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68113 (__start_context): Preserve zero value for regular exit case.
68114
68115 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
68116 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
68117
68118 * manual/setjmp.texi (setcontext): Clarify normal process
68119 termination when uc_link is the null pointer.
68120 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68121 exit call.
68122
68123 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
68124
68125 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68126 preprocessor. Test for each exception mask separately.
68127
68128 2012-07-16 Andreas Jaeger <aj@suse.de>
68129
68130 * po/ru.po: Update from translation team.
68131
68132 2012-07-15 Joseph Myers <joseph@codesourcery.com>
68133
68134 * conform/data/string.h-data (NULL): Use macro-constant. Require
68135 equal to 0.
68136 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68137 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68138 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68139 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68140 [ISO || ISO99 || ISO11] (*_t): Do not allow.
68141
68142 2012-07-13 Andreas Jaeger <aj@suse.de>
68143
68144 * po/fr.po: Update from translation team.
68145
68146 2012-07-12 Marek Polacek <polacek@redhat.com>
68147
68148 [BZ #14173]
68149 * math/libm-test.inc (yn_test): Add test for BZ #14173.
68150 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68151 loop condition.
68152
68153 2012-07-12 Joseph Myers <joseph@codesourcery.com>
68154
68155 [BZ #13717]
68156 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68157 Change to 2.4.1 where previously 2.4.0.
68158 * sysdeps/unix/sysv/linux/configure: Regenerated.
68159 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68160 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68161 version.
68162 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68163 (__ASSUME_AT_CLKTCK): Remove.
68164 (__ASSUME_AT_PAGESIZE): Likewise.
68165 (__ASSUME_AT_XID): Likewise.
68166 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68167 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68168 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68169 unconditionally.
68170 (HAVE_AUX_PAGESIZE): Likewise.
68171 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68172 [__ASSUME_AT_CLKTCK]: Make code unconditional.
68173 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68174
68175 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
68176
68177 [BZ #14307]
68178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68179 the temporary buffer used to invoke __gethostbyname2_r,
68180 __gethostbyaddr_r and gethostbyname4_r to make room for struct
68181 host_data / struct gaih_addrtuple.
68182 * resolv/nss_dns/dns-host.c (global scope): Move definition of
68183 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68184 header file nss/nsswitch.h.
68185 * nss/nsswitch.h (global scope): Add definition of implementation
68186 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68187 resolv/nss_dns/dns-host.c).
68188
68189 2012-07-11 Andreas Jaeger <aj@suse.de>
68190
68191 * po/fr.po: Update from translation team.
68192
68193 * po/sv.po: Update from translation team
68194 * po/fr.po: Another update from translation team.
68195
68196 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68197
68198 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68199 for subnormals or multiply small sinh result by itself.
68200 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68202
68203 2012-07-11 David S. Miller <davem@davemloft.net>
68204
68205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68206
68207 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
68208
68209 [BZ #14347]
68210 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68211 (INTERNAL_MARK): Shift it here.
68212
68213 2012-07-10 Marek Polacek <polacek@redhat.com>
68214
68215 [BZ #14151]
68216 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
68217 libc_cv_asm_global_directive with .globl.
68218 * configure: Regenerated.
68219 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68220 with .globl.
68221 * sysdeps/i386/configure: Regenerated.
68222 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68223 with .globl.
68224 * sysdeps/x86_64/configure: Regenerated.
68225 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68226 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68227 * elf/tst-unique2mod2.c: Likewise.
68228 * elf/tst-unique2mod1.c: Likewise.
68229 * elf/tst-unique1mod2.c: Likewise.
68230 * elf/tst-unique1mod1.c: Likewise.
68231 * sysdeps/s390/s390-32/sysdep.h: Likewise.
68232 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68233 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68234 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68235 * sysdeps/mach/sysdep.h: Likewise.
68236 * sysdeps/i386/sysdep.h: Likewise.
68237 * sysdeps/i386/i386-mcount.S: Likewise.
68238 * sysdeps/x86_64/_mcount.S: Likewise.
68239 * sysdeps/x86_64/sysdep.h: Likewise.
68240 * sysdeps/sh/_mcount.S: Likewise.
68241 * sysdeps/sh/sysdep.h: Likewise.
68242 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68243 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68244 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68245 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68246 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68247 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68248 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68249 * locale/localeinfo.h: Likewise.
68250 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68251 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68252
68253 2012-07-09 Roland McGrath <roland@hack.frob.com>
68254
68255 [BZ #14336]
68256 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68257 system".
68258 * manual/message.texi (The Uniforum approach): Likewise.
68259 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68260 (glibc iconv Implementation): Likewise.
68261
68262 2012-07-09 Joseph Myers <joseph@codesourcery.com>
68263
68264 [BZ #14337]
68265 * math/s_clog.c (__clog): Avoid scaling a value down where that
68266 could result in underflow.
68267 * math/s_clog10.c (__clog10): Likewise.
68268 * math/s_clog10f.c (__clog10f): Likewise.
68269 * math/s_clog10l.c (__clog10l): Likewise.
68270 * math/s_clogf.c (__clogf): Likewise.
68271 * math/s_clogl.c (__clogl): Likewise.
68272 * math/libm-test.inc (clog_test): Add more tests.
68273 (clog10_test): Likewise.
68274 * sysdeps/i386/fpu/libm-test-ulps: Update.
68275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68276
68277 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
68278
68279 [BZ #14283]
68280 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68281 by 7 not 8 to examine high bit of fractional part.
68282
68283 [BZ #14042]
68284 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68285 for call to __mcount_internal.
68286 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68287 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68288 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68289
68290 2012-07-06 Joseph Myers <joseph@codesourcery.com>
68291
68292 [BZ #14154]
68293 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68294 approximation for values within 0x1p-13f of an odd multiple of
68295 pi/4.
68296 * math/libm-test.inc (tan_test): Do not allow spurious underflow
68297 exception. Add more tests.
68298 * sysdeps/i386/fpu/libm-test-ulps: Update.
68299
68300 [BZ #6778]
68301 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68302 inputs and return -1 for them. Do not check for +Inf in case not
68303 reachable for +Inf.
68304 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68305 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68306 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68307 and return -1 for them. Do not check for +Inf in case not
68308 reachable for +Inf.
68309 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68310 define.
68311 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68312 and return -1 for them. Do not check for +Inf in case not
68313 reachable for +Inf.
68314 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
68315 spurious underflow.
68316 * sysdeps/i386/fpu/libm-test-ulps: Update.
68317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68318
68319 2012-07-06 Mike Frysinger <vapier@gentoo.org>
68320
68321 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68322
68323 2012-07-05 Joseph Myers <joseph@codesourcery.com>
68324
68325 [BZ #14157]
68326 [BZ #14331]
68327 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68328 could result in spurious underflow. Scale down values above
68329 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68330 * math/s_csqrtf.c (__csqrtf): Likewise.
68331 * math/s_csqrtl.c (__csqrtl): Likewise.
68332 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
68333 spurious underflow.
68334 * sysdeps/i386/fpu/libm-test-ulps: Update.
68335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68336
68337 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
68338
68339 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68340 xopen-msg.sed.
68341 * catgets/xopen-msg.awk: New file.
68342 * catgets/xopen-msg.sed: Removed.
68343
68344 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68345 po2text.sed.
68346 * intl/po2test.awk: New file.
68347 * intl/po2test.sed: Removed.
68348
68349 2012-07-04 Joseph Myers <joseph@codesourcery.com>
68350
68351 [BZ #14328]
68352 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68353 or multiply small sinh result by itself.
68354 * math/s_ctanf.c (__ctanf): Likewise.
68355 * math/s_ctanh.c (__ctanh): Likewise.
68356 * math/s_ctanhf.c (__ctanhf): Likewise.
68357 * math/s_ctanhl.c (__ctanhl): Likewise.
68358 * math/s_ctanl.c (__ctanl): Likewise.
68359 * math/libm-test.inc (ctan_test_tonearest): New function.
68360 (ctan_test_towardzero): Likewise.
68361 (ctan_test_downward): Likewise.
68362 (ctan_test_upward): Likewise.
68363 (ctanh_test_tonearest): Likewise.
68364 (ctanh_test_towardzero): Likewise.
68365 (ctanh_test_downward): Likewise.
68366 (ctanh_test_upward): Likewise.
68367 (main): Call these new functions.
68368 * sysdeps/i386/fpu/libm-test-ulps: Update.
68369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68370
68371 2012-07-03 Mike Frysinger <vapier@gentoo.org>
68372
68373 * .gitignore: Delete /ports entry.
68374
68375 2012-07-03 Andreas Jaeger <aj@suse.de>
68376
68377 * po/bg.po: Update from translation team.
68378 * po/cs.po: Likewise.
68379 * po/de.po: Likewise.
68380 * po/hr.po: Likewise.
68381 * po/nl.pl: Likewise.
68382 * po/pl.po: Likewise.
68383 * po/vi.po: Likewise.
68384
68385 2012-07-03 Joseph Myers <joseph@codesourcery.com>
68386
68387 * Makeconfig [!+link] (+link-before-libc): New variable.
68388 [!+link] (+link-after-libc): Likewise.
68389 [!+link] (+link-tests): Likewise.
68390 [!+link] (+link): Define in terms of $(+link-before-libc) and
68391 $(+link-after-libc).
68392 [!+link-static] (+link-static-before-libc): New variable.
68393 [!+link-static] (+link-static-after-libc): Likewise.
68394 [!+link-static] (+link-static-tests): Likewise.
68395 [!+link-static] (+link-static): Define in terms of
68396 $(+link-static-before-libc) and $(+link-static-after-libc).
68397 [build-shared] (link-libc-before-gnulib): New variable.
68398 [build-shared] (link-libc-tests): Likewise.
68399 [build-shared] (link-libc): Define in terms of
68400 $(link-libc-before-gnulib).
68401 [!build-shared] (link-libc-tests): New variable.
68402 (link-libc-static-tests): New variable.
68403 [!gnulib] (gnulib-arch): New variable.
68404 [!gnulib] (gnulib-tests): Likewise.
68405 [!gnulib] (static-gnulib-arch): Likewise.
68406 [!gnulib] (static-gnulib-tests): Likewise.
68407 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
68408 Define with "=" instead of ":=".
68409 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
68410 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
68411 * Rules (binaries-all-notests): New variable.
68412 (binaries-all-tests): Likewise.
68413 (binaries-static-notests): Likewise.
68414 (binaries-static-tests): Likewise.
68415 (binaries-all): Define using $(binaries-all-notests) and
68416 $(binaries-all-tests).
68417 (binaries-static): Define using $(binaries-static-notests) and
68418 $(binaries-static-tests).
68419 (binaries-shared-tests): New variable.
68420 (binaries-shared-notests): Likewise.
68421 (binaries-shared): Remove variable.
68422 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68423 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68424 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68425 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68426 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68427 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68428 * elf/Makefile (sln-modules): New variable.
68429 (extra-objs): Add $(sln-modules:=.o).
68430 (ldconfig-modules): Add static-stubs.
68431 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68432 * elf/static-stubs.c: New file.
68433
68434 [BZ #14283]
68435 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68436 by 7 not 8 to examine high bit of fractional part. Use volatile
68437 variables when splitting into final array of floats if
68438 __FLT_EVAL_METHOD__ != 0.
68439 * math/libm-test.inc (cos_test): Add another test.
68440 (sin_test): Likewise.
68441 * sysdeps/i386/fpu/libm-test-ulps: Update.
68442
68443 [BZ #14273]
68444 * math/libm-test.inc (cosh_test): Add more tests.
68445
68446 * version.h (RELEASE): Set to "development".
68447 (VERSION): Set to "2.16.90".
68448
68449 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
68450
68451 * NEWS: Update copyright. Remove last-updated date.
68452 Mention math library bug fixes and timezone data changes.
68453 * README: Mention GNU/Hurd, x32, and HPPA support status.
68454
68455 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
68456
68457 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68458
68459 2012-06-27 Andreas Jaeger <aj@suse.de>
68460
68461 * manual/contrib.texi (Contributors): Add Samuel Thibault.
68462
68463 2012-06-25 Andreas Jaeger <aj@suse.de>
68464
68465 * sysdeps/s390/fpu/libm-test-ulps: Update.
68466
68467 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
68468 Thomas Schwinge <thomas@codesourcery.com>
68469
68470 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68471 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68473 fanotify_mark.
68474
68475 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
68476
68477 * sysdeps/mach/start.c: Remove file.
68478 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68479 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68480 * sysdeps/sh/init-first.c: Likewise.
68481
68482 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68483 registers for frame unwinding purposes, add CFI directives.
68484 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68485 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68486 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68487 Likewise.
68488
68489 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68490 __fortify_fail returning.
68491 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68492
68493 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68494 sysdeps/sh/____longjmp_chk.S.
68495 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68496 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68497 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68498 (gen-as-const-headers): Append sigaltstack-offsets.sym.
68499
68500 * sysdeps/sh/abort-instr.h: New file.
68501 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68502 process in case exit returns.
68503
68504 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68505 initialize the GOT register before use.
68506
68507 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68508 calculation of ARGC > 4.
68509
68510 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68511 meaningful names to some local labels.
68512
68513 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
68514 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68515
68516 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68517 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68518 (__arch_compare_and_exchange_val_16_acq): Likewise.
68519 (__arch_compare_and_exchange_val_32_acq): Likewise.
68520 (atomic_exchange_and_add): Fix gUSA sequence.
68521 (atomic_add): Likewise.
68522 (atomic_add_negative): Likewise.
68523 (atomic_add_zero): Likewise.
68524 (atomic_bit_test_set): Likewise.
68525
68526 2012-06-22 Andreas Schwab <schwab@redhat.com>
68527
68528 [BZ #13579]
68529 * include/link.h (struct link_map): Add l_free_initfini.
68530 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68531 l_initfini.
68532 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68533 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68534 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68535 set.
68536
68537 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
68538
68539 * configure.in: Use AC_LANG_SOURCE.
68540 * configure: Regenerate.
68541
68542 2012-06-22 Roland McGrath <roland@hack.frob.com>
68543
68544 * configure.in (libc_cv_localstatedir): New substituted variable.
68545 * configure: Regenerated.
68546 * config.make.in (localstatedir): New variable, substituted from
68547 libc_cv_localstatedir.
68548 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68549 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68550 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68551 * sysdeps/gnu/configure: Regenerated.
68552
68553 2012-06-21 Jeff Law <law@redhat.com>
68554
68555 [BZ #14277]
68556 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68557 free. Simplify list management for _LIBC case.
68558
68559 2012-06-21 Joseph Myers <joseph@codesourcery.com>
68560
68561 [BZ #14273]
68562 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68563 Clear sign bit of 64-bit integer value before comparing against
68564 overflow value.
68565
68566 * sysdeps/mach/configure: Regenerated.
68567
68568 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
68569
68570 [BZ #14278]
68571 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68572
68573 2012-06-21 Jeff Law <law@redhat.com>
68574
68575 [BZ #13882]
68576 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
68577 uint16_t for elements in the "seen" array to avoid char overflows.
68578 * elf/dl-fini.c (_dl_sort_fini): Likewise.
68579 * elf/dl-open.c (dl_open_worker): Likewise.
68580
68581 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
68582
68583 * scripts/list-sources.sh: Scan PORTS for translations.
68584 * po/libc.pot: Regenerated.
68585
68586 2012-06-21 Andreas Jaeger <aj@suse.de>
68587
68588 [BZ #12194]
68589 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68590 warning.
68591 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68592 * bits/byteswap-16.h (__bswap_16): Likewise.
68593 * bits/byteswap.h (__bswap_constant_16): Likewise.
68594
68595 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
68596
68597 [BZ #14117]
68598 * sysdeps/i386/fpu_control.h: Removed.
68599 * sysdeps/x86_64/fpu_control.h: Moved to ...
68600 * sysdeps/x86/fpu_control.h: Here.
68601
68602 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68603 (_FPU_SETCW): Likewise.
68604
68605 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
68606
68607 [BZ #14117]
68608 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68609 * sysdeps/x86/fpu/bits/mathinline.h: This.
68610 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68611
68612 [BZ #14050]
68613 [BZ #14117]
68614 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68615 functions if __x86_64__ is defined.
68616
68617 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
68618
68619 * string/endian.h: Add !__ASSEMBLER__ condition for including
68620 conversion interfaces.
68621
68622 2012-06-15 Joseph Myers <joseph@codesourcery.com>
68623
68624 [BZ #14241]
68625 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68626 of ABS(x) in calculating zero to negative powers other than odd
68627 integers.
68628 * math/libm-test.inc (pow_test): Add more tests.
68629
68630 2012-06-15 Andreas Jaeger <aj@suse.de>
68631
68632 * manual/contrib.texi (Contributors): Update entry of Liubov
68633 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68634 Machado Filho.
68635
68636 2012-06-15 Cyril Hrubis <metan@ucw.cz>
68637
68638 * string/string.h: Add __wur to GNU version of strerror_r.
68639
68640 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
68641
68642 [BZ #14229]
68643 * string/Makefile (tests): Add tst-strtok_r.
68644 * string/tst-strtok_r.c: New file.
68645 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68646 RAX_LP/RDX_LP on SAVE_PTR.
68647
68648 2012-06-14 Roland McGrath <roland@hack.frob.com>
68649
68650 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68651
68652 2012-06-14 Joseph Myers <joseph@codesourcery.com>
68653
68654 * libm_test.inc (csqrt_test): Allow more spurious underflow
68655 exceptions.
68656 (j0_test): Likewise.
68657 (j1_test): Likewise.
68658 (y0_test): Likewise.
68659 (y1_test): Likewise.
68660
68661 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
68662
68663 * po/Makefile (libc.pot): Use UTF-8 charset.
68664
68665 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
68666
68667 [BZ #14210]
68668 Suppress sign-conversion warning from FD_SET.
68669 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68670 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68671 not unsigned long int.
68672 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68673
68674 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
68675
68676 [BZ #14050]
68677 [BZ #14117]
68678 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68679 __extern_always_inline instead of __extern_inline.
68680 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68681 (__signbit): Likewise.
68682 (__signbitl): Support C++ namespace.
68683 (lrintf): New inline function.
68684 (lrint): Likewise.
68685 (llrintf): Likewise.
68686 (llrint): Likewise.
68687 (fmaxf): Likewise.
68688 (fmax): Likewise.
68689 (fminf): Likewise.
68690 (fmin): Likewise.
68691 (rint): Likewise.
68692 (rintf): Likewise.
68693 (ceil): Likewise.
68694 (ceilf): Likewise.
68695 (floor): Likewise.
68696 (floorf): Likewise.
68697 (nearbyint): Likewise.
68698 (nearbyintf): Likewise.
68699
68700 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
68701
68702 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68703 non-default versions.
68704
68705 2012-06-11 Roland McGrath <roland@hack.frob.com>
68706
68707 [BZ #14218]
68708 * manual/argp.texi (Argp): Reword argp_parse description slightly.
68709
68710 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
68711
68712 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68713 (FE_UPWARD, FE_DOWNWARD): Don't define.
68714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68715 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68716
68717 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68718 reading it.
68719 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68720 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68721
68722 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
68723
68724 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68725 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68726 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68727 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68728
68729 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
68730
68731 [BZ #14117]
68732 * sysdeps/i386/fpu/bits/fenv.h: Removed.
68733 * sysdeps/i386/fpu/Implies: New file.
68734 * sysdeps/x86_64/fpu/Implies: Likewise.
68735 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68736 * sysdeps/x86/fpu/bits/fenv.h: This.
68737
68738 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68739 __SSE_MATH__.
68740
68741 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
68742
68743 [BZ #14134]
68744 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68745 character 0xffff that matches the last element of the
68746 conversion table.
68747
68748 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68749
68750 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68751 fmodl commit.
68752
68753 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68754
68755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68756 values higher than 25.6283.
68757
68758 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68759
68760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68761 subnormal exponent extraction and add some __builtin_expect.
68762 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68763 Fix for subnormal mantissa calculation.
68764
68765 2012-06-04 Mike Frysinger <vapier@gentoo.org>
68766
68767 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68768 cpu2 is -1 and errno is not ENOSYS.
68769
68770 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
68771
68772 [BZ #14117]
68773 * sysdeps/i386/i486/bits/string.h: Renamed to ...
68774 * sysdeps/x86/bits/string.h: This.
68775 * sysdeps/x86_64/bits/string.h: Removed.
68776
68777 * sysdeps/i386/i486/bits/string.h: Define inline functions only
68778 if not compiling for x86-64, but compiling for >= i486.
68779
68780 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68781 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68782
68783 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68784 New macro from Linux kernel 3.4.0.
68785 (FP_XSTATE_MAGIC2): Likewise.
68786 (FP_XSTATE_MAGIC2_SIZE): Likewise.
68787 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68788 (struct _fpx_sw_bytes): New struct.
68789 (struct _xsave_hdr): Likewise.
68790 (struct _ymmh_state): Likewise.
68791 (struct _xstate): Likewise.
68792
68793 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68794 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68795 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68796 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68797 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68798 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68799
68800 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68801 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68802 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68803 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68804 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68805 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68806
68807 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68808
68809 [BZ #13743]
68810 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68811 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68812 (sysdep_headers): Include sys/platform/ppc.h.
68813 * sysdeps/powerpc/test-gettimebase.c: Test for
68814 __ppc_get_timebase() to catch future ISA opcode/insn changes.
68815 * manual/Makefile (appendices): Include platform.texi.
68816 * manual/contrib.texi (Contributors): Update @node pointers.
68817 * manual/maint.texi (Maintenance): Likewise.
68818 (Platform): New node.
68819 * manual/platform.texi: New file. Document the new features.
68820
68821 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
68822 Jakub Jelinek <jakub@redhat.com>
68823
68824 [BZ #14188]
68825 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68826 where __builtin_expect is unavailable.
68827
68828 2012-06-03 David S. Miller <davem@davemloft.net>
68829
68830 * stdlib/longlong.h: Updated from GCC.
68831
68832 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
68833
68834 [BZ #14042]
68835 * sysdeps/powerpc/powerpc32/mcount.c: New file.
68836 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68837 __mcount_internal.
68838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68839 (GLIBC_2.16): Likewise.
68840
68841 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68842
68843 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68844
68845 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68846
68847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68848 (default-abi): New variable.
68849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68850 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68851 variable.
68852 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68853 Likewise.
68854 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68855 Likewise.
68856 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68857 Likewise.
68858
68859 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68860 definition. Document in comment.
68861
68862 2012-06-01 David S. Miller <davem@davemloft.net>
68863
68864 * stdlib/longlong.h: Updated from GCC.
68865
68866 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68867
68868 [BZ #14117]
68869 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68870 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68871 sys/debugreg.h sys/io.h here.
68872 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68873 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68874 sys/io.h.
68875 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68876 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68877 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68878 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68879 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68880 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68881
68882 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68883 Define only if __x86_64__ is defined.
68884
68885 2012-06-01 Joseph Myers <joseph@codesourcery.com>
68886
68887 [BZ #14048]
68888 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68889 Use int64_t for variable i.
68890 * math/libm-test.inc (fmod_test): Add more tests.
68891
68892 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68893 z computation is not scheduled after fetestexcept.
68894 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68895 Use math_force_eval instead of asm to ensure calculation scheduled
68896 before exception test.
68897 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68898 Ensure a1 + u.d computation is not scheduled after fetestexcept.
68899
68900 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
68901
68902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68903 computation is not scheduled after fetestexcept.
68904
68905 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
68906
68907 [BZ #14117]
68908 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68909 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68910
68911 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
68912
68913 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
68914 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68915
68916 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
68917
68918 [BZ #14117]
68919 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
68920 <bits/wordsize.h>.
68921 (__WCHAR_MIN): Support __WORDSIZE == 64.
68922 (__WCHAR_MAX): Likewise.
68923
68924 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
68925 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
68926
68927 [BZ #14183]
68928 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
68929 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
68930
68931 [BZ #14117]
68932 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
68933 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
68934
68935 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
68936 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
68937
68938 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
68939 Defined to 1 if __x86_64__ isn't defined.
68940 (_STAT_VER_LINUX_OLD): New.
68941 (st_atime): Remove duplicate.
68942 (st_mtime): Likewise.
68943 (st_ctime): Likewise.
68944
68945 2012-05-31 David S. Miller <davem@davemloft.net>
68946
68947 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
68948 entries.
68949
68950 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
68951
68952 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
68953 gen-libm-test.pl.
68954
68955 [BZ #14132]
68956 * elf/dl-reloc.c: Include <_itoa.h>.
68957 (_dl_reloc_bad_type): Remove use of INTUSE.
68958 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
68959 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
68960 * stdio-common/psiginfo.c (psiginfo): Likewise.
68961 * stdio-common/psignal.c (psignal): Likewise.
68962 * string/strsignal.c (strsignal): Likewise.
68963 * include/signal.h (_sys_siglist): Declare hidden proto.
68964 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
68965 INTVARDEF with libc_hidden_data_def.
68966 * stdio-common/itoa-udigits.c: Likewise.
68967 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
68968 (_itoa_lower_digits_internal): Remove declaration.
68969 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
68970 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
68971 (_sys_sigabbrev_internal): Remove aliases.
68972 (_sys_siglist): Define hidden alias.
68973
68974 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
68975
68976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68977 bits/sysctl.h.
68978
68979 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
68980
68981 [BZ #14117]
68982 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
68983 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
68984
68985 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
68986 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
68987 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
68988 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
68989 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
68990 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
68991
68992 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
68993 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
68994 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
68995
68996 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
68997 with __addr.
68998 (insw): Likewise.
68999 (insl): Likewise.
69000 (outsb): Likewise.
69001 (outsw): Likewise.
69002 (outsl): Likewise.
69003
69004 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69005 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69006 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69007
69008 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69009 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69010 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69011 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69012 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69013 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69014
69015 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69016 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69017
69018 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69019 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69020
69021 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69022 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69023 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69024
69025 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69026 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69027 to ...
69028 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69029
69030 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69031 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69032 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69033
69034 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69035 for x86-64.
69036 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69037
69038 2012-05-31 Joseph Myers <joseph@codesourcery.com>
69039
69040 * math/math.h (M_El): Use two more decimal places.
69041 (M_LOG2El): Likewise.
69042 (M_LOG10El): Likewise.
69043 (M_LN2l): Likewise.
69044 (M_LN10l): Likewise.
69045 (M_PIl): Likewise.
69046 (M_PI_2l): Likewise.
69047 (M_PI_4l): Likewise.
69048 (M_1_PIl): Likewise.
69049 (M_2_PIl): Likewise.
69050 (M_2_SQRTPIl): Likewise.
69051 (M_SQRT2l): Likewise.
69052 (M_SQRT1_2l): Likewise.
69053
69054 2012-05-31 David S. Miller <davem@davemloft.net>
69055
69056 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69057 values between float registers.
69058 * sysdeps/sparc/sparc64/memset.S: Likewise.
69059 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69060
69061 2012-05-31 Mike Frysinger <vapier@gentoo.org>
69062
69063 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69064 -D_FORTIFY_SOURCE=1.
69065 (CPPFLAGS-tst-longjmp_chk.c): Define.
69066 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69067 (CPPFLAGS-tst-longjmp_chk2.c): Define.
69068 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69069 CFLAGS-tst-wchar-h.c.
69070
69071 2012-05-31 Marek Polacek <polacek@redhat.com>
69072
69073 [BZ #14132]
69074 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69075 __endmntent_internal): Remove declaration.
69076 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69077 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69078 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69079
69080 2012-05-30 David S. Miller <davem@davemloft.net>
69081
69082 * sysdeps/sparc/sparc32/soft-fp/q_util.c
69083 (___Q_simulate_exceptions): Use real FP ops rather than writing
69084 into the %fsr.
69085 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69086 Likewise.
69087
69088 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69089
69090 [BZ #14117]
69091 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69092 * sysdeps/x86/bits/xtitypes.h: This.
69093
69094 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69095 * sysdeps/x86/bits/wordsize.h: This.
69096
69097 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69098 * sysdeps/x86/bits/huge_vall.h: This.
69099
69100 * sysdeps/i386/bits/select.h: Removed.
69101 * sysdeps/x86_64/bits/select.h: Renamed to ...
69102 * sysdeps/x86/bits/select.h: This.
69103
69104 * sysdeps/i386/bits/setjmp.h: Removed.
69105 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69106 * sysdeps/x86/bits/setjmp.h: This.
69107
69108 * sysdeps/i386/bits/mathdef.h: Removed.
69109 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69110 * sysdeps/x86/bits/mathdef.h: This.
69111
69112 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
69113
69114 [BZ #14132]
69115 * include/sys/socket.h (__connect_internal)
69116 (__libc_sa_len_internal): Remove declaration.
69117 (__connect, __libc_sa_len): Declare hidden_proto.
69118 (SA_LEN): Remove use of INTUSE.
69119 * socket/connect.c: Add libc_hidden_def.
69120 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69121 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69122 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69123 alias.
69124 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69125 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69126 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69127 of adding _internal alias.
69128
69129 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69130
69131 [BZ #14117]
69132 * sysdeps/i386/bits/link.h: Removed.
69133 * sysdeps/i386/bits/linkmap.h: Likewise.
69134 * sysdeps/x86_64/bits/link.h: Renamed to ...
69135 * sysdeps/x86/bits/link.h: This.
69136 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69137 * sysdeps/x86/bits/linkmap.h: This.
69138
69139 * sysdeps/i386/bits/endian.h: Removed.
69140 * sysdeps/x86_64/bits/endian.h: Renamed to ...
69141 * sysdeps/x86/bits/endian.h: This.
69142
69143 * sysdeps/i386/bits/byteswap.h: Removed.
69144 * sysdeps/i386/bits/byteswap-16.h: Likewise.
69145 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69146 * sysdeps/x86/bits/byteswap.h: This.
69147 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69148 * sysdeps/x86/bits/byteswap-16.h: This.
69149 * sysdeps/i386/Implies: Add x86.
69150 * sysdeps/x86_64/Implies: Likewise.
69151
69152 2012-05-30 David S. Miller <davem@davemloft.net>
69153
69154 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69155 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69156 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69157 (FP_TRAPPING_EXCEPTIONS): Define.
69158 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69159 (FP_TRAPPING_EXCEPTIONS): Define.
69160 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69161 subnormals only when inexact has been signalled or underflow
69162 exceptions are enabled.
69163 (_FP_PACK_CANONICAL): Likewise.
69164
69165 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69166
69167 [BZ #14183]
69168 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69169 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69170
69171 2012-05-30 Richard Henderson <rth@twiddle.net>
69172
69173 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69174 with #ifndef NOT_IN_libc.
69175
69176 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
69177 marked to avoid plt entry.
69178
69179 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
69180
69181 [BZ #14112]
69182 * Makeconfig (default-abi): New macro.
69183 (abi-includes): Likewise.
69184 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
69185 $(abi-$(default-abi)-lib-soname) for soname if defined.
69186 ($(common-objpfx)gnu/lib-names.stmp): Generate from
69187 abi-variants.
69188 * Makefile (installed-stubs): Likewise.
69189 * include/stubs-biarch.h: Removed.
69190 * scripts/lib-names.awk: Only handle one library at a time.
69191 * scripts/soversions.awk: Remove WORDSIZE support.
69192 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69193 entries.
69194 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69195 Removed.
69196 (syscall-list-default-condition): Likewise.
69197 (syscall-list-default-condition): Likewise.
69198 (syscall-list-includes): Likewise.
69199 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69200 syscall-list-* with abi-*. Handle undefined abi-variants.
69201 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69202 * sysdeps/unix/sysv/linux/i386/Implies: New file.
69203 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69204 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69205 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69206 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69207 Removed.
69208 (syscall-list-32-options): Likewise.
69209 (syscall-list-32-condition): Likewise.
69210 (syscall-list-64-options): Likewise.
69211 (syscall-list-64-condition): Likewise.
69212 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69213 macro.
69214 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69215 Renamed to ...
69216 (abi-*): This.
69217 (abi-64-ld-soname): New macro.
69218 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69219 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69220 Renamed to ...
69221 (abi-*): This.
69222 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69223 * sysdeps/x86_64/x32/shlib-versions: Likewise.
69224
69225 2012-05-30 Joseph Myers <joseph@codesourcery.com>
69226
69227 * sysdeps/unix/sysv/linux/kernel-features.h
69228 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69229 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69230 include <kernel-features.h>.
69231 [!__NR_ftruncate64]: Remove conditional code.
69232 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69233 [__NR_ftruncate64]: Make code unconditional.
69234 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69235 * sysdeps/unix/sysv/linux/truncate64.c: Do not
69236 include <kernel-features.h>.
69237 [!__NR_ftruncate64]: Remove conditional code.
69238 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69239 [__NR_ftruncate64]: Make code unconditional.
69240 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69242 include <kernel-features.h>.
69243 [!__NR_ftruncate64]: Remove conditional code.
69244 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69245 [__NR_ftruncate64]: Make code unconditional.
69246 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69248 include <kernel-features.h>.
69249 [!__NR_ftruncate64]: Remove conditional code.
69250 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69251 [__NR_ftruncate64]: Make code unconditional.
69252 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69253
69254 * configure.in (libc_cv_fpie): Weaken to a compile test using
69255 LIBC_TRY_CC_OPTION.
69256 * configure: Regenerated.
69257
69258 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69259
69260 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69261 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69264 Refreshed.
69265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69266 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69267 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69268 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69271 Refreshed.
69272
69273 2012-05-27 David S. Miller <davem@davemloft.net>
69274
69275 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69276 (___Q_zero): New.
69277 (__Q_simulate_exceptions): Return void. Change to simulate
69278 exceptions by writing into the %fsr.
69279 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69280 (__Qp_handle_exceptions): Likewise.
69281 (numbers): Delete.
69282 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69283 __Qp_handle_exceptions.
69284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69285 __Qp_handle_exceptions.
69286 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69287 as unused and give dummy FP_RND_NEAREST initializer.
69288 (FP_INHIBIT_RESULTS): Define.
69289 (___Q_simulate_exceptions): Update declaration.
69290 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69291 formatting.
69292 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69293 as unused and give dummy FP_RND_NEAREST initializer.
69294 (__Qp_handle_exceptions): Update declaration.
69295 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69296 formatting.
69297
69298 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
69299
69300 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69301 the temporary FPU control word.
69302 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69303 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69304 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69305 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69306 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69307 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69308 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69309 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69310 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69311 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69312 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69313
69314 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69315
69316 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69317 fields.
69318
69319 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
69320
69321 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69322 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69323 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69324 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69325 Likewise.
69326 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69327 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69328 Likewise.
69329
69330 2012-05-27 Ulrich Drepper <drepper@gmail.com>
69331
69332 * po/h.po: Update from translation team.
69333
69334 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
69335
69336 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69337
69338 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69339 handling of denormals.
69340 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69341 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69342 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69343 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69345 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69346 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69347 Likewise.
69348
69349 2012-05-26 Marek Polacek <polacek@redhat.com>
69350
69351 [BZ #14152]
69352 * math/libm-test.inc (fma_test): Don't always expect underflow
69353 exception.
69354
69355 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
69356
69357 [BZ #12416]
69358 * elf/tst-execstack.c: Include stackinfo.h.
69359 (do_test): Adjust test case to ensure that pthread_getattr_np
69360 behaviour remains the same after marking stack executable.
69361
69362 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69363
69364 * sysdeps/unix/sysv/linux/kernel-features.h
69365 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69366 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69367 kernel-features.h.
69368 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69369 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69370 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69371 kernel-features.h.
69372 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69373 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69374
69375 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
69376
69377 * configure.in: Define the default includes to being none.
69378 * configure: Regenerated.
69379
69380 2012-05-25 Roland McGrath <roland@hack.frob.com>
69381
69382 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69383 * sysdeps/x86_64/setjmp.S: Likewise.
69384 * sysdeps/i386/bsd-setjmp.S: Likewise.
69385 * sysdeps/i386/bsd-_setjmp.S: Likewise.
69386 * sysdeps/i386/setjmp.S: Likewise.
69387 * sysdeps/i386/__longjmp.S: Likewise.
69388 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69389 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69390
69391 * include/stap-probe.h: New file.
69392 * configure.in: Handle --enable-systemtap.
69393 * configure: Regenerated.
69394 * config.h.in (USE_STAP_PROBE): New #undef.
69395 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69396 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69397 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69398
69399 2012-05-25 Joseph Myers <joseph@codesourcery.com>
69400
69401 [BZ #13717]
69402 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69403 to 2.4.0 where earlier.
69404 * sysdeps/unix/sysv/linux/configure: Regenerated.
69405 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69406 <kernel-features.h>.
69407 [__ASSUME_32BITUIDS]: Make code unconditional.
69408 [!__ASSUME_32BITUIDS]: Remove conditional code.
69409 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69410 <kernel-features.h>.
69411 [__ASSUME_32BITUIDS]: Make code unconditional.
69412 [!__ASSUME_32BITUIDS]: Remove conditional code.
69413 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69414 [__ASSUME_32BITUIDS]: Make code unconditional.
69415 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69416 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69417 <kernel-features.h>.
69418 [__ASSUME_32BITUIDS]: Make code unconditional.
69419 [!__ASSUME_32BITUIDS]: Remove conditional code.
69420 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69421 <kernel-features.h>.
69422 [__ASSUME_32BITUIDS]: Make code unconditional.
69423 [!__ASSUME_32BITUIDS]: Remove conditional code.
69424 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69425 <kernel-features.h>.
69426 [__ASSUME_32BITUIDS]: Make code unconditional.
69427 [!__ASSUME_32BITUIDS]: Remove conditional code.
69428 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69429 <kernel-features.h>.
69430 [__ASSUME_32BITUIDS]: Make code unconditional.
69431 [!__ASSUME_32BITUIDS]: Remove conditional code.
69432 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69433 <kernel-features.h>.
69434 [__ASSUME_32BITUIDS]: Make code unconditional.
69435 [!__ASSUME_32BITUIDS]: Remove conditional code.
69436 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69437 <kernel-features.h>.
69438 [__ASSUME_32BITUIDS]: Make code unconditional.
69439 [!__ASSUME_32BITUIDS]: Remove conditional code.
69440 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69441 <kernel-features.h>.
69442 [__ASSUME_32BITUIDS]: Make code unconditional.
69443 [!__ASSUME_32BITUIDS]: Remove conditional code.
69444 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69445 <kernel-features.h>.
69446 [__ASSUME_32BITUIDS]: Make code unconditional.
69447 [!__ASSUME_32BITUIDS]: Remove conditional code.
69448 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69449 <kernel-features.h>.
69450 [__ASSUME_32BITUIDS]: Make code unconditional.
69451 [!__ASSUME_32BITUIDS]: Remove conditional code.
69452 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69453 <kernel-features.h>.
69454 [__ASSUME_32BITUIDS]: Make code unconditional.
69455 [!__ASSUME_32BITUIDS]: Remove conditional code.
69456 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69457 <kernel-features.h>.
69458 [__NR_setresgid] (__setresgid): Do not declare.
69459 [__ASSUME_32BITUIDS]: Make code unconditional.
69460 [!__ASSUME_32BITUIDS]: Remove conditional code.
69461 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69462 <kernel-features.h>.
69463 [__NR_setresuid] (__setresuid): Do not declare.
69464 [__ASSUME_32BITUIDS]: Make code unconditional.
69465 [!__ASSUME_32BITUIDS]: Remove conditional code.
69466 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.c: Do not include
69491 <kernel-features.h>.
69492 [__ASSUME_32BITUIDS]: Make code unconditional.
69493 [!__ASSUME_32BITUIDS]: Remove conditional code.
69494 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69495 <kernel-features.h>.
69496 [__ASSUME_32BITUIDS]: Make code unconditional.
69497 [!__ASSUME_32BITUIDS]: Remove conditional code.
69498 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69499 <kernel-features.h>.
69500 [__ASSUME_32BITUIDS]: Make code unconditional.
69501 [!__ASSUME_32BITUIDS]: Remove conditional code.
69502 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69503 <kernel-features.h>.
69504 [__ASSUME_32BITUIDS]: Make code unconditional.
69505 [!__ASSUME_32BITUIDS]: Remove conditional code.
69506 * sysdeps/unix/sysv/linux/kernel-features.h
69507 (__ASSUME_SETRESUID_SYSCALL): Remove.
69508 (__ASSUME_SETRESGID_SYSCALL): Likewise.
69509 (__ASSUME_32BITUIDS): Likewise.
69510 (__ASSUME_LDT_WORKS): Likewise.
69511 (__ASSUME_O_DIRECTORY): Likewise.
69512 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69513 architecture but not kernel version.
69514 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69515 (__ASSUME_MMAP2_SYSCALL): Likewise.
69516 (__ASSUME_STAT64_SYSCALL): Likewise.
69517 (__ASSUME_IPC64): Likewise.
69518 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69519 <kernel-features.h>.
69520 [__ASSUME_32BITUIDS]: Make code unconditional.
69521 [!__ASSUME_32BITUIDS]: Remove conditional code.
69522 * sysdeps/unix/sysv/linux/opendir.c: Do not include
69523 <kernel-features.h>.
69524 [__ASSUME_O_DIRECTORY]: Make code unconditional.
69525 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69526 132096]: Remove conditional code.
69527 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69528 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
69537 <kernel-features.h>.
69538 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69539 unconditional.
69540 (__setresgid): Do not declare.
69541 [__ASSUME_32BITUIDS]: Make code unconditional.
69542 [!__ASSUME_32BITUIDS]: Remove conditional code.
69543 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69544 <kernel-features.h>.
69545 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69546 unconditional.
69547 (__setresuid): Do not declare.
69548 [__ASSUME_32BITUIDS]: Make code unconditional.
69549 [!__ASSUME_32BITUIDS]: Remove conditional code.
69550 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69551 <kernel-features.h>.
69552 [__ASSUME_32BITUIDS]: Make code unconditional.
69553 [!__ASSUME_32BITUIDS]: Remove conditional code.
69554 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69555 <kernel-features.h>.
69556 [__ASSUME_32BITUIDS]: Make code unconditional.
69557 [!__ASSUME_32BITUIDS]: Remove conditional code.
69558
69559 2012-05-25 Richard Henderson <rth@twiddle.net>
69560
69561 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69562 dl_hwcap to ifunc resolver.
69563 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69564 elf_ifunc_invoke.
69565 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69566 dl_hwcap to ifunc resolver.
69567 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69568
69569 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69570
69571 [BZ #14153]
69572 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69573 for |x| <= 2**-26, not 2**-57.
69574 * math/libm-test.inc (acos_test): Do not allow spurious underflow
69575 exception.
69576
69577 2012-05-24 Jeff Law <law@redhat.com>
69578
69579 * stdio-common/Makefile (tests): Add bug25.
69580 * stdio-common/bug25.c: New test.
69581
69582 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69583
69584 [BZ #13576]
69585 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69586 multiple of MALLOC_ALIGNMENT in size.
69587 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69588
69589 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69590
69591 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69592 Require >= 256.
69593 (FILENAME_MAX): Use macro-int-constant.
69594 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
69595 (_IOFBF): Use macro-int-constant.
69596 (_IOLBF): Likewise.
69597 (_IONBF): Likewise.
69598 (SEEK_CUR): Likewise.
69599 (SEEK_END): Likewise.
69600 (SEEK_SET): Likewise.
69601 (TMP_MAX): Likewise.
69602 (EOF): Use macro-int-constant. Require < 0.
69603 (NULL): Use macro-constant. Require == 0.
69604 (stdin): Require type to be FILE *.
69605 (stdout): Likewise.
69606 (stderr): Likewise.
69607 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69608 macro-int-constant.
69609 (EXIT_SUCCESS): Likewise.
69610 (NULL): Use macro-constant. Require == 0.
69611 (RAND_MAX): Use macro-int-constant.
69612 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69613 [C99-based standards] (strtof): Require function.
69614 [C99-based standards] (strtold): Likewise.
69615 [C99-based standards] (strtoll): Likewise.
69616 [C99-based standards] (strtoull): Likewise.
69617 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69618 [ISO || ISO99 || ISO11] (limits.h): Likewise.
69619 [ISO || ISO99 || ISO11] (math.h): Likewise.
69620 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69621 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69622 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69623
69624 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
69625
69626 [BZ #14132]
69627 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69628 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69629 * intl/dgettext.c (DCGETTEXT): Likewise.
69630 * intl/gettext.c (DCGETTEXT): Likewise.
69631 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69632 * posix/regex_internal.h (gettext): Likewise.
69633 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69634 Remove declaration.
69635 * include/argz.h (__argz_count_internal)
69636 (__argz_stringify_internal): Remove declaration.
69637 (__argz_count, __argz_stringify): Declare hidden proto.
69638 * intl/dcgettext.c: Remove use of INTDEF.
69639 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69640 * string/argz-stringify.c: Likewise.
69641 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69642 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69643 Declare hidden proto.
69644 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69645 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69646 Declare hidden proto.
69647 * include/stdio.h (__asprintf_internal): Don't declare.
69648 (__asprintf): Don't define as macro. Declare hidden proto.
69649 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69650 (__fsetlocking): Declare hidden proto.
69651 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69652 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69653 hidden proto.
69654 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69655 (_IO_setlinebuf): Remove use of INTUSE.
69656 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69657 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69658 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69659 Remove declaration.
69660 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69661 (_IO_do_flush): Remove use of INTUSE.
69662 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69663 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69664 (_IO_adjust_column, _IO_least_wmarker)
69665 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69666 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69667 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69668 (_IO_default_doallocate, _IO_wdefault_doallocate)
69669 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69670 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69671 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69672 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69673 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69674 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69675 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69676 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69677 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69678 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69679 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69680 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69681 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69682 proto.
69683 (_IO_flush_all_internal, _IO_adjust_column_internal)
69684 (_IO_default_uflow_internal, _IO_default_finish_internal)
69685 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69686 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69687 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69688 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69689 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69690 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69691 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69692 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69693 (_IO_file_close_internal, _IO_file_close_it_internal)
69694 (_IO_file_underflow_internal, _IO_file_overflow_internal)
69695 (_IO_file_init_internal, _IO_file_attach_internal)
69696 (_IO_file_fopen_internal, _IO_file_read_internal)
69697 (_IO_file_sync_internal, _IO_file_seek_internal)
69698 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69699 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69700 (_IO_str_underflow_internal, _IO_str_overflow_internal)
69701 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69702 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69703 (_IO_list_all_internal, _IO_link_in_internal)
69704 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69705 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69706 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69707 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69708 (_IO_do_write_internal, _IO_padn_internal)
69709 (_IO_getline_info_internal, _IO_getline_internal)
69710 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69711 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69712 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69713 (_IO_vfscanf_internal, _IO_vfprintf_internal)
69714 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69715 (_IO_init_internal, _IO_un_link_internal): Don't declare.
69716 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69717 with libc_hidden_ver, remove use of INTUSE.
69718 * libio/genops.c: Likewise.
69719 * libio/freopen.c: Likewise.
69720 * libio/freopen64.c: Likewise.
69721 * libio/iofclose.c: Likewise.
69722 * libio/iofdopen.c: Likewise.
69723 * libio/iofflush.c: Likewise.
69724 * libio/iofflush_u.c: Likewise.
69725 * libio/iofgets.c: Likewise.
69726 * libio/iofgets_u.c: Likewise.
69727 * libio/iofopen.c: Likewise.
69728 * libio/iofopncook.c: Likewise.
69729 * libio/iofread.c: Likewise.
69730 * libio/iofread_u.c: Likewise.
69731 * libio/ioftell.c: Likewise.
69732 * libio/iofwrite.c: Likewise.
69733 * libio/iogetline.c: Likewise.
69734 * libio/iogets.c: Likewise.
69735 * libio/iogetwline.c: Likewise.
69736 * libio/iopadn.c: Likewise.
69737 * libio/iopopen.c: Likewise.
69738 * libio/ioseekoff.c: Likewise.
69739 * libio/ioseekpos.c: Likewise.
69740 * libio/iosetbuffer.c: Likewise.
69741 * libio/iosetvbuf.c: Likewise.
69742 * libio/ioungetc.c: Likewise.
69743 * libio/ioungetwc.c: Likewise.
69744 * libio/iovdprintf.c: Likewise.
69745 * libio/iovsprintf.c: Likewise.
69746 * libio/iovsscanf.c: Likewise.
69747 * libio/memstream.c: Likewise.
69748 * libio/obprintf.c: Likewise.
69749 * libio/oldfileops.c: Likewise.
69750 * libio/oldiofclose.c: Likewise.
69751 * libio/oldiofdopen.c: Likewise.
69752 * libio/oldiofopen.c: Likewise.
69753 * libio/oldiopopen.c: Likewise.
69754 * libio/oldstdfiles.c: Likewise.
69755 * libio/putc.c: Likewise.
69756 * libio/setbuf.c: Likewise.
69757 * libio/setlinebuf.c: Likewise.
69758 * libio/stdfiles.c: Likewise.
69759 * libio/strops.c: Likewise.
69760 * libio/vasprintf.c: Likewise.
69761 * libio/vscanf.c: Likewise.
69762 * libio/vsnprintf.c: Likewise.
69763 * libio/vswprintf.c: Likewise.
69764 * libio/wfiledoalloc.c: Likewise.
69765 * libio/wfileops.c: Likewise.
69766 * libio/wgenops.c: Likewise.
69767 * libio/wmemstream.c: Likewise.
69768 * libio/wstrops.c: Likewise.
69769 * libio/__fpurge.c: Likewise.
69770 * libio/__fsetlocking.c: Likewise.
69771 * assert/assert.c: Likewise.
69772 * debug/fgets_chk.c: Likewise.
69773 * debug/fgets_u_chk.c: Likewise.
69774 * debug/fread_chk.c: Likewise.
69775 * debug/fread_u_chk.c: Likewise.
69776 * debug/gets_chk.c: Likewise.
69777 * debug/obprintf_chk.c: Likewise.
69778 * debug/vasprintf_chk.c: Likewise.
69779 * debug/vdprintf_chk.c: Likewise.
69780 * debug/vsnprintf_chk.c: Likewise.
69781 * debug/vsprintf_chk.c: Likewise.
69782 * malloc/mtrace.c: Likewise.
69783 * misc/error.c: Likewise.
69784 * misc/syslog.c: Likewise.
69785 * stdio-common/asprintf.c: Likewise.
69786 * stdio-common/fxprintf.c: Likewise.
69787 * stdio-common/getw.c: Likewise.
69788 * stdio-common/isoc99_fscanf.c: Likewise.
69789 * stdio-common/isoc99_scanf.c: Likewise.
69790 * stdio-common/isoc99_vfscanf.c: Likewise.
69791 * stdio-common/isoc99_vscanf.c: Likewise.
69792 * stdio-common/isoc99_vsscanf.c: Likewise.
69793 * stdio-common/printf-prs.c: Likewise.
69794 * stdio-common/printf_fp.c: Likewise.
69795 * stdio-common/printf_fphex.c: Likewise.
69796 * stdio-common/printf_size.c: Likewise.
69797 * stdio-common/putw.c: Likewise.
69798 * stdio-common/scanf.c: Likewise.
69799 * stdio-common/sprintf.c: Likewise.
69800 * stdio-common/tmpfile.c: Likewise.
69801 * stdio-common/vfprintf.c: Likewise.
69802 * stdio-common/vfscanf.c: Likewise.
69803 * stdlib/strfmon_l.c: Likewise.
69804 * sunrpc/openchild.c: Likewise.
69805 * sunrpc/xdr_stdio.c: Likewise.
69806 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69807 * sysdeps/mach/hurd/tmpfile.c: Likewise.
69808
69809 2012-05-24 Roland McGrath <roland@hack.frob.com>
69810
69811 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69812
69813 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69814 in the third column, to generate for the shared library an IFUNC
69815 that uses _dl_vdso_vsym.
69816 * Makerules (COMPILE.c, compile-stdin.c): New variables.
69817 * Makeconfig (object-suffixes-noshared): New variable.
69818
69819 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69820 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69821 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69822 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69823
69824 [BZ #14132]
69825 * include/sys/time.h (__gettimeofday): Remove macro.
69826 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69827 * time/gettimeofday.c (__gettimeofday): Remove #undef.
69828 Remove INTDEF.
69829 (__gettimeofday): Add libc_hidden_def.
69830 (gettimeofday): Add libc_hidden_weak.
69831 * sysdeps/mach/gettimeofday.c: Likewise.
69832 * sysdeps/posix/gettimeofday.c: Likewise.
69833 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69834 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69835 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69836 (__gettimeofday_internal): Remove strong_alias.
69837 (__gettimeofday): Add libc_hidden_def.
69838 (gettimeofday): Add libc_hidden_weak.
69839 * sysdeps/unix/syscalls.list (gettimeofday):
69840 Remove __gettimeofday_internal alias.
69841
69842 2012-05-24 Daniel Jacobowitz <drow@false.org>
69843 H.J. Lu <hongjiu.lu@intel.com>
69844
69845 [BZ #12495]
69846 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69847 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69848 (largebin_index_32_big): New.
69849 (largebin_index): Use it for 16-byte alignment.
69850 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
69851 correction with front_misalign.
69852
69853 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
69854
69855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69857 Likewise.
69858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69859 Likewise.
69860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69861 Likewise.
69862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69863 Likewise.
69864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69865 Likewise.
69866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69867 Likewise.
69868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69869 Likewise.
69870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69871 Likewise.
69872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69873 Likewise.
69874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69875 Likewise.
69876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69877 Likewise.
69878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69879 Likewise.
69880
69881 * scripts/data/c++-types-x32-linux-gnu.data: New file.
69882 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69883
69884 2012-05-24 Joseph Myers <joseph@codesourcery.com>
69885
69886 [BZ #10846]
69887 [BZ #14036]
69888 * math/libm-test.inc (exp_test): Add test from bug 14036.
69889 (pow_test): Add test from bug 10846.
69890
69891 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69892 and other flags.
69893 (special_function): Do not include flags in test name.
69894 (parse_args): Likewise.
69895 * sysdeps/i386/fpu/libm-test-ulps: Update.
69896 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69897 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69898 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69900
69901 * math/gen-libm-test.pl (%beautify): Add entries for underflow
69902 exceptions.
69903 * math/libm-test.inc ("Philosophy"): Update comment about
69904 exception testing.
69905 (UNDERFLOW_EXCEPTION): New macro.
69906 (UNDERFLOW_EXCEPTION_OK): Likewise.
69907 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69908 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69909 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69910 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69911 (INVALID_EXCEPTION_OK): Update value.
69912 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69913 (OVERFLOW_EXCEPTION_OK): Likewise.
69914 (IGNORE_ZERO_INF_SIGN): Likewise.
69915 (test_exceptions): Handle underflow exceptions.
69916 (acos_test): Update for underflow exception expectations.
69917 (cexp_test): Likewise.
69918 (clog_test): Likewise.
69919 (clog10_test): Likewise.
69920 (csqrt_test): Likewise.
69921 (ctan_test): Likewise.
69922 (ctanh_test): Likewise.
69923 (exp_test): Likewise.
69924 (exp10_test): Likewise.
69925 (exp2_test): Likewise.
69926 (expm1_test): Likewise.
69927 (fma_test): Likewise.
69928 (j0_test): Likewise.
69929 (jn_test): Likewise.
69930 (nexttoward_test): Likewise.
69931 (pow_test): Likewise.
69932 (scalbn_test): Likewise.
69933 (scalbln_test): Likewise.
69934 (tan_test): Likewise.
69935 (y1_test): Likewise.
69936 * sysdeps/i386/fpu/libm-test-ulps: Update.
69937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69938
69939 2012-05-23 David S. Miller <davem@davemloft.net>
69940
69941 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69942 (__libc_sigaction): Remove unused local variables.
69943
69944 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
69945
69946 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
69947
69948 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
69949
69950 mktime: avoid signed integer overflow
69951 * time/mktime.c (__mktime_internal): Do not mishandle the case
69952 where diff == INT_MIN.
69953
69954 mktime: simplify computation of average
69955 * time/mktime.c (ranged_convert): Use new time_t_avg function
69956 instead of rolling our own (probably-slower) code.
69957
69958 mktime: do not assume signed right shift propagates sign bit
69959 * time/mktime.c (isdst_differ): New static function.
69960 (__mktime_internal): No need to normalize tm_isdst now.
69961 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
69962 tm_isdst values.
69963
69964 mktime: merge another wrapv change from gnulib
69965 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
69966 from some compilers.
69967
69968 mktime: remove incorrect attempt at unusual arithmetics
69969 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
69970 The code didn't really work on such machines anyway.
69971 (TYPE_MINIMUM): Assume two's complement.
69972 (twos_complement_arithmetic): Verify that long_int and time_t
69973 are two's complement (or unsigned, in the latter case).
69974
69975 mktime: check signed shifts on long_int and time_t, too
69976 * time/mktime.c (SHR): Check that shifts work as desired
69977 on the types long_int and time_t too, as SHR is used on
69978 such types.
69979
69980 mktime: do not assume 'long' is wide enough
69981 * time/mktime.c (verify): Move decl up.
69982 (long_int): New type.
69983 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
69984 to remove assumption in the code that 'long' is wide enough to
69985 store year values. This assumption is not true on x32 and on
69986 some non-glibc platforms.
69987
69988 mktime: merge wrapv change from gnulib
69989 * time/mktime.c (WRAPV): New macro.
69990 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
69991 (guess_time_tm, __mktime_internal): Do not assume that signed
69992 integer overflow wraps around; modern compilers generate code
69993 where this assumption is no longer valid.
69994
69995 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
69996
69997 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
69998 Replace "jmp L(pseudo_end)" with "ret".
69999 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70000 Likewise.
70001
70002 2012-05-23 Andreas Jaeger <aj@suse.de>
70003
70004 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70005 * sysdeps/unix/sysv/linux/poll.c: Remove file.
70006
70007 2012-05-23 Andreas Jaeger <aj@suse.de>
70008 Maximilian Attems <max@stro.at>
70009
70010 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70011 New macros.
70012
70013 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
70014
70015 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70016 code so that pseudo_end is just ret and the stack pointer is
70017 correct also for static library in error case.
70018
70019 2012-05-23 Joseph Myers <joseph@codesourcery.com>
70020
70021 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70022 move to syscalls.list.
70023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70027
70028 * manual/install.texi (Running make install): Do not mention Linux
70029 kernel version for which pt_chown is not needed.
70030 (Linux): Do not mention problems with nscd with 2.0 kernels.
70031 * INSTALL: Regenerated.
70032
70033 2012-05-23 Andreas Jaeger <aj@suse.de>
70034
70035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70036 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70037 macro.
70038 * sysdeps/unix/sysv/linux/s390/bits/mman.h
70039 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70040 * sysdeps/unix/sysv/linux/sh/bits/mman.h
70041 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70042 * sysdeps/unix/sysv/linux/i386/bits/mman.h
70043 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70044 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70045 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70046 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70048 * sysdeps/unix/sysv/linux/bits/in.h
70049 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70050
70051 2012-05-22 Roland McGrath <roland@hack.frob.com>
70052
70053 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70054 (PREPARE_VERSION): Just use assert instead, it will be elided
70055 under [NDEBUG] anyway.
70056
70057 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70058
70059 * sysdeps/unix/sysv/linux/Makefile: Include
70060 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70061 (sysdep_routines): Remove sysctl.
70062 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70063 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70064 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70065 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70066 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70067
70068 2012-05-22 Andreas Jaeger <aj@suse.de>
70069
70070 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70071 that pseudo_end is just ret and the stack pointer is correct also
70072 for static library in error case.
70073
70074 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
70075
70076 [BZ #14122]
70077 * nss/nsswitch.c (defconfig_entries): New variable.
70078 (__nss_database_lookup): Don't leak defconfig entries.
70079 (nss_parse_service_list): Don't leak on error paths.
70080 (free_database_entries): New function.
70081 (free_defconfig): New function.
70082 (free_mem): Move common code to free_database_entries.
70083
70084 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70085
70086 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70087 Add arch_prctl.
70088 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70089
70090 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70091 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70093 New macro.
70094 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70095 (INTERNAL_SYSCALL_TYPES): Likewise.
70096 (LOAD_ARGS_TYPES_[1-6]): Likewise.
70097 (LOAD_REGS_TYPES_[1-6]): Likewise.
70098 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70099 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70100
70101 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70102
70103 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70104 copysignl for GLIBC_2_0.
70105 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70106 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70107 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70108 logbl for GLIBC_2_0.
70109 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70110 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70111
70112 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70113
70114 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70115 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70116
70117 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70118 Use "neg %eax".
70119
70120 * time/mktime.c: Update copyright years.
70121
70122 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
70123
70124 mktime: merge comment-quoting-style change from gnulib
70125 * time/mktime.c: Quote 'like this' in comments.
70126 The GNU coding standards suggest that we no longer quote `like this',
70127 as "`" and "'" are typically rendered asymmetrically nowadays.
70128 The typical gnulib style is to quote 'like this' when quoting
70129 code, and "like this" when quoting English.
70130
70131 * time/mktime.c (compile-command): Add "-I.".
70132
70133 mktime: merge mktime-internal.h change from gnulib
70134 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70135
70136 mktime: merge time_r change from gnulib
70137 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70138
70139 mktime: merge DEBUG change from gnulib
70140 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70141 case system <time.h> has a #define.
70142
70143 mktime: merge <sys/types.h> change from gnulib
70144 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70145 since <time.t> is now guaranteed to define time_t.
70146
70147 mktime: merge HAVE_CONFIG_H change from gnulib
70148 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70149
70150 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
70151
70152 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70153 Use "neg %eax".
70154
70155 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70156 __rlim_t cast.
70157 (struct rusage): Use anonymous union to pad each field to
70158 __syscall_slong_t.
70159
70160 2012-05-21 David S. Miller <davem@davemloft.net>
70161
70162 * Makefules (o-iterator): Remove .s cases.
70163 (compile-command.s): Delete.
70164 (COMPILE.s): Delete.
70165 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70166
70167 2012-05-21 Joseph Myers <joseph@codesourcery.com>
70168
70169 * configure.in (libc_cv_predef_stack_protector): Only consider
70170 "foobar" and "__stack_chk_fail" lines in libc_undefs.
70171 * configure: Regenerated.
70172
70173 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70174
70175 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70176 New macro. Use R*LP on int and pointer.
70177 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70178 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70179 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70180 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70181
70182 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70183 [__WORDSIZE_TIME64_COMPAT32] instead of
70184 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70185 (struct utmp): Likewise.
70186 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70187 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70188 Renamed to ...
70189 (__WORDSIZE_TIME64_COMPAT32): This.
70190 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70191 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70192 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70193 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70194 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70195 (__WORDSIZE_TIME64_COMPAT32): New macro.
70196
70197 2012-05-21 Andreas Jaeger <aj@suse.de>
70198
70199 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70200 only if [SHARED]. Add prototype for __wcschr_ia32.
70201
70202 2012-05-21 Roland McGrath <roland@hack.frob.com>
70203
70204 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70205 of %rbp unmolested in the jmp_buf while mangling the low bits.
70206 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70207 unmolested high bits of %rbp while demangling the low bits.
70208 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70209
70210 2012-05-21 Andreas Jaeger <aj@suse.de>
70211
70212 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70213 * sunrpc/svc_simple.c: Use it for registerrpc.
70214 * sunrpc/xcrypt.c: Use it for passwd2des.
70215
70216 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70217
70218 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70219
70220 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70221 Don't define if [__SYSCALL_WORDSIZE != 32].
70222 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70223 New macro.
70224
70225 2012-05-21 Bruno Haible <bruno@clisp.org>
70226 Andreas Jaeger <aj@suse.de>
70227
70228 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70229 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70230 inptr and inend for must_buffer_ch.
70231 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70232 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70233 * stdio-common/Makefile (tests): Remove bug15.
70234 (bug15-ENV): Remove macro.
70235 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70236 anymore.
70237
70238 2012-05-19 Andreas Jaeger <aj@suse.de>
70239 Roland McGrath <roland@hack.frob.com>
70240
70241 * manual/contrib.texi: Completely rewritten. It contains now an
70242 alphabetical list of contributors and their contributions.
70243
70244 2012-05-21 Richard Henderson <rth@twiddle.net>
70245
70246 * misc/getauxval.c (__getauxval): Use unsigned long int.
70247 * misc/sys/auxv.h: Include <sys/cdefs.h>.
70248 (getauxval): Use unsigned long int.
70249
70250 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
70251
70252 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70253
70254 2012-05-21 Roland McGrath <roland@hack.frob.com>
70255
70256 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70257 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70258 __alignof__ (long double).
70259
70260 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70261
70262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70263
70264 2012-05-20 Richard Henderson <rth@twiddle.net>
70265
70266 * misc/getauxval.c: New file.
70267 * misc/sys/auxv.h: New file.
70268 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70269 (routines): Add getauxval.
70270 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70271 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70272 * elf/dl-sysdep.c (_dl_auxv): Remove.
70273 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70274 * elf/dl-support.c (_dl_auxv): New variable.
70275 (_dl_aux_init): Initialize it.
70276 * manual/startup.texi (Auxiliary Vector): New node.
70277 * sysdeps/generic/bits/hwcap.h: New file.
70278 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70279 * sysdeps/powerpc/sysdep.h: ... here. Include it.
70280 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70281 * sysdeps/sparc/sysdep.h: ... here. Include it.
70282 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70283 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70285 Update.
70286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70289 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70294
70295 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70296
70297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70298
70299 2012-05-19 David S. Miller <davem@davemloft.net>
70300
70301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
70302
70303 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70304
70305 [BZ #14123]
70306 * math/s_ccosh.c: Include <float.h>
70307 (__ccosh): Avoid internal overflow calculating sinh and cosh
70308 values before multiplying by sin and cos values.
70309 * math/s_ccoshf.c: Likewise.
70310 * math/s_ccoshl.c: Likewise.
70311 * math/s_csin.c: Likewise.
70312 * math/s_csinf.c: Likewise.
70313 * math/s_csinl.c: Likewise.
70314 * math/s_csinh.c: Likewise.
70315 * math/s_csinhf.c: Likewise.
70316 * math/s_csinhl.c: Likewise.
70317 * math/libm-test.inc (ccos_test): Add more tests.
70318 (ccosh_test): Likewise.
70319 (csin_test): Likewise.
70320 (csinh_test): Likewise.
70321 * sysdeps/i386/fpu/libm-test-ulps: Update.
70322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70323
70324 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
70325
70326 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70327 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70328
70329 * sysdeps/x86_64/x32/_itoa.h: Add comment.
70330
70331 2012-05-19 Joseph Myers <joseph@codesourcery.com>
70332
70333 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70334 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70335 * sysdeps/powerpc/soft-fp/Versions: Likewise.
70336 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70337 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70338 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70339 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70340 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70341 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70342 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70343 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70344 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70345 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70346 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70347 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70348 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70349 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70350 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70351 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70352 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70353 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70354 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70355 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70356 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70357 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70358 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70359 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70360 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70361 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70362 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70363 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70364
70365 2012-05-18 Andreas Jaeger <aj@suse.de>
70366
70367 * csu/.gitignore: Delete.
70368
70369 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70370
70371 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70372 (timex): Use __syscall_slong_t.
70373
70374 2012-05-18 Andreas Jaeger <aj@suse.de>
70375 Carlos O'Donell <carlos_odonell@mentor.com>
70376
70377 * manual/install.texi (Configuring and compiling): Update
70378 description about files modified in the source directory.
70379 * INSTALL: Regenerated.
70380
70381 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70382
70383 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70384 value. Use "or" to set return value to -1.
70385 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70386 negate return value.
70387
70388 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70389
70390 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70391 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70392 failure if the compiler has Graphite support disabled.
70393 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70394 Likewise.
70395 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70396 (CFLAGS-memmove.c): Likewise.
70397 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70398 Likewise.
70399
70400 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
70401
70402 * sysdeps/x86_64/x32/_itoa.h: New file.
70403
70404 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70405 getdents system call only if kernel and user dirents have the
70406 same d_ino and d_off.
70407
70408 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70409 LLONG_MAX != LONG_MAX.
70410 (_itoa_word): Use _ITOA_WORD_TYPE on value.
70411 (_fitoa_word): Likewise.
70412
70413 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70414 years.
70415 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70416 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70417 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70418
70419 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70420 include <bits/wordsize.h>. Check __x86_64__ instead of
70421 __WORDSIZE.
70422 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70423 if __x86_64__ is defined. Use anonymous union on fpstate.
70424
70425 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70426 anonymous union.
70427
70428 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
70429
70430 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70431 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70432 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70433 Refer to _rtld_local_ro instead of _rtld_global_ro.
70434 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70435 Likewise.
70436 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70437 Likewise.
70438 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70439 Likewise.
70440 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70441 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70442 of _rtld_global, and rtld_progname instead of _dl_argv[0].
70443
70444 [BZ #10882]
70445 * sysdeps/powerpc/powerpc32/dl-machine.c
70446 (__elf_machine_runtime_setup) [PROF]: Don't reference
70447 _dl_prof_resolve.
70448
70449 2012-05-18 Andreas Jaeger <aj@suse.de>
70450
70451 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70452 function only available for GCCs before 3.4 since GCC 3.4
70453 introduced a builtin.
70454 (lrint): Likewise.
70455 (llrintf): Likewise.
70456 (llrint): Likewise.
70457 (fmaxf): Likewise.
70458 (fmax): Likewise.
70459 (fminf): Likewise.
70460 (fmin): Likewise.
70461 (rint): Likewise.
70462 (rintf): Likewise.
70463 (nearbyint): Likewise.
70464 (nearbyintf): Likewise.
70465 (ceil): Likewise.
70466 (ceilf): Likewise.
70467 (floor): Likewise.
70468 (floorf): Likewise.
70469
70470 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70471
70472 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70473 on both fields and cast pointer to __syscall_ulong_t.
70474
70475 * bits/types.h (__fsword_t): New type.
70476 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70477 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70479 (__FSWORD_T_TYPE): Likewise.
70480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70481 (__FSWORD_T_TYPE): Likewise.
70482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70483 (__FSWORD_T_TYPE): Likewise.
70484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70485 (__FSWORD_T_TYPE): Likewise.
70486 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70487 __SWORD_TYPE with __fsword_t.
70488 (statfs64): Likewise.
70489
70490 2012-05-17 David S. Miller <davem@davemloft.net>
70491
70492 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70493
70494 2012-05-17 Andreas Jaeger <aj@suse.de>
70495
70496 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70497 warning.
70498
70499 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70500
70501 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70502
70503 2012-05-17 Andreas Jaeger <aj@suse.de>
70504
70505 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70506 when it is used.
70507
70508 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70509
70510 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70511
70512 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
70513
70514 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70515 * sysdeps/x86_64/tst-mallocalign1.c: New file.
70516
70517 2012-05-17 Andreas Jaeger <aj@suse.de>
70518 Carlos O'Donell <carlos_odonell@mentor.com>
70519
70520 [BZ #14059]
70521 * sysdeps/x86_64/multiarch/init-arch.h
70522 (bit_YMM_Usable): Rename to...
70523 (bit_AVX_Usable): ... this.
70524 (bit_FMA4_Usable): New macro.
70525 (bit_XMM_state): New macro.
70526 (bit_YMM_state): New macro.
70527 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70528 [__ASSEMBLER__] (index_AVX_Usable): ... this.
70529 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70530 (CPUID_OSXSAVE): New macro.
70531 (CPUID_AVX): New macro.
70532 (CPUID_FMA4): New macro.
70533 (index_YMM_Usable): Rename to...
70534 (index_AVX_Usable): ... this.
70535 (HAS_AVX): Use HAS_ARCH_FEATURE.
70536 (HAS_FMA4): Likewise.
70537 (HAS_YMM_USABLE): Remove.
70538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70539 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70540 are present.
70541 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70542 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70543 * sysdeps/x86_64/multiarch/Makefile: Likewise.
70544 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70545 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70546
70547 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
70548
70549 * math/libm-test.c: Support platforms without multiple rounding modes.
70550 * math/bug-nextafter.c: Support platforms without FP exceptions.
70551 * math/bug-nexttoward.c: Likewise.
70552 * math/test-fenv.c: Likewise.
70553 * math/test-misc.c: Likewise.
70554 * stdlib/bug-getcontext.c: Likewise.
70555
70556 2012-05-17 Andreas Jaeger <aj@suse.de>
70557
70558 * manual/examples/search.c (critter_cmp): Change signature to
70559 avoid warnings.
70560 * manual/string.texi (Collation Functions): Likewise.
70561
70562 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70563
70564 * bits/types.h: Fold copyright years.
70565 * bits/typesizes.h: Likewise.
70566 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70567 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70568 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70569 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70570 * time/time.h: Likewise.
70571
70572 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
70573
70574 [BZ #208]
70575 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70576 in instead of returning them. Return void.
70577 (__libc_mallinfo): Accumulate over all arenas.
70578 (__malloc_stats): Adjust for change in int_mallinfo interface.
70579
70580 2012-05-16 Roland McGrath <roland@hack.frob.com>
70581
70582 [BZ #10375]
70583 * configure.in (NM): Add AC_CHECK_TOOL for it.
70584 (libc_extra_cflags): New substituted variable.
70585 Check for -fstack-protector being used implicitly.
70586 * configure: Regenerated.
70587 * config.make.in (config-extra-cflags): New variable,
70588 gets @libc_extra_cflags@.
70589 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70590
70591 [BZ #10375]
70592 * configure.in: Check for _FORTIFY_SOURCE being predefined.
70593 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70594 * configure: Regenerated.
70595 * config.make.in (CPPUNDEFS): New substituted variable.
70596 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70597 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70598 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70599
70600 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70601
70602 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70603 (mq_attr): Use __syscall_slong_t.
70604
70605 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70606
70607 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70608 Check __x86_64__ instead of __WORDSIZE.
70609 (_STAT_VER_LINUX): Likewise.
70610 (stat): Check __x86_64__ instead of __WORDSIZE. Use
70611 __syscall_ulong_t and __syscall_slong_t.
70612 (stat64): Likewise.
70613
70614 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70615
70616 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70617
70618 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70619
70620 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70621
70622 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70623
70624 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70625 __syscall_ulong_t.
70626
70627 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70628 include <bits/wordsize.h>. Check __x86_64__ instead of
70629 __WORDSIZE.
70630 (greg_t): Use "__extension__ long long int" if __x86_64__ is
70631 defined.
70632 (mcontext_t): Replace "unsigned long" with "unsigned long long".
70633
70634 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70635 include <bits/wordsize.h>. Check __x86_64__ instead of
70636 __WORDSIZE.
70637 (user_regs_struct): Use "__extension__ unsigned long long"
70638 instead of "unsigned long" if __x86_64__ is defined.
70639 (user): Likewise. Pad after pointer field if __ILP32__ is
70640 defined.
70641
70642 2012-05-16 Joseph Myers <joseph@codesourcery.com>
70643
70644 * configure.in (makeinfo): Require version 4.5 or later. Allow
70645 versions 5 to 9.
70646 * configure: Regenerated.
70647 * manual/install.texi (texinfo): Increase version requirement to
70648 4.5 or later.
70649 * INSTALL: Regenerated.
70650
70651 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70652
70653 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
70654
70655 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70656
70657 * sysdeps/x86_64/x32/ffs.c: New file.
70658
70659 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70660 __syscall_ulong_t.
70661 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70662 defined. Use __syscall_ulong_t.
70663 (shminfo): Use __syscall_ulong_t.
70664 (shm_info): Likewise.
70665
70666 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70667 __syscall_ulong_t.
70668
70669 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70670 <bits/wordsize.h>.
70671 (msgqnum_t): Use __syscall_ulong_t.
70672 (msglen_t): Likewise.
70673 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
70674 __syscall_ulong_t.
70675
70676 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70677 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70678
70679 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70680
70681 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70682 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70683
70684 * sysvipc/sys/msg.h (msgbuf): Replace long int with
70685 __syscall_slong_t.
70686
70687 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70688 include <bits/wordsize.h>. Check __x86_64__ instead of
70689 __WORDSIZE.
70690
70691 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70692 "unsigned long long int" if __x86_64__ is defined.
70693 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70694
70695 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70696 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
70697 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70698
70699 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70700 <stdint.h>.
70701 (GET_PC): Cast to uintptr_t first.
70702 (GET_FRAME): Likewise.
70703 (GET_STACK): Likewise.
70704
70705 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70706 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70707 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70708 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70709 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70710 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70711 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70712 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70713 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70714 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70715 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70716 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70717 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70718 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70720 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70721 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70722 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70723 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70724 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70725 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70726 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70727 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70728 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70729 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70730 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70731 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70732 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70733 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70734
70735 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
70736
70737 * Makerules (+depfiles): Also collect depfiles from .oS in
70738 $(extra-objs).
70739 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70740 .oS, $(libnldbl-routines)).
70741
70742 * Makerules (native-compile-mkdep-flags): Define.
70743 * sunrpc/Makefile (extra-objs): Add $(addprefix
70744 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70745 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70746 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
70747 calling $(make-target-directory).
70748
70749 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70750
70751 * bits/types.h (__snseconds_t): Removed.
70752 * time/time.h (struct timespec): Replace __snseconds_t with
70753 __syscall_slong_t.
70754 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70755 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70756 Likewise.
70757 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70758 (__SNSECONDS_T_TYPE): Likewise.
70759 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70760 (__SNSECONDS_T_TYPE): Likewise.
70761 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70762 (__SNSECONDS_T_TYPE): Likewise.
70763
70764 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70765
70766 * sysdeps/mach/hurd/bits/typesizes.h
70767 (__SYSCALL_SLONG_TYPE): New macro.
70768 (__SYSCALL_ULONG_TYPE): Likewise.
70769
70770 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70771
70772 * bits/types.h (__syscall_slong_t): New type.
70773 (__syscall_ulong_t): Likewise.
70774
70775 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70776 (__SYSCALL_ULONG_TYPE): Likewise.
70777 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70778 (__SYSCALL_SLONG_TYPE): Likewise.
70779 (__SYSCALL_ULONG_TYPE): Likewise.
70780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70781 (__SYSCALL_SLONG_TYPE): Likewise.
70782 (__SYSCALL_ULONG_TYPE): Likewise.
70783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70784 (__SYSCALL_SLONG_TYPE): Likewise.
70785 (__SYSCALL_ULONG_TYPE): Likewise.
70786
70787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70788
70789 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70790 Add sigaltstack-offsets.sym.
70791 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70792 <sigaltstack-offsets.h>.
70793 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
70794 longjmp_msg pointer.
70795 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
70796 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70797 signal stack.
70798 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70799
70800 2012-05-15 Joseph Myers <joseph@codesourcery.com>
70801
70802 * elf/stackguard-macros.h: Remove file.
70803 * sysdeps/generic/stackguard-macros.h: New file.
70804 * sysdeps/i386/stackguard-macros.h: Likewise.
70805 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70806 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70807 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70808 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70809 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70810 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70811 * sysdeps/x86_64/stackguard-macros.h: Likewise.
70812 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70813 <elf/stackguard-macros.h>.
70814
70815 [BZ #14109]
70816 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70817 __aligned__ in attribute.
70818 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70819 (gregset_t): Likewise.
70820
70821 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70822
70823 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70824 * sysdeps/x86_64/64/Implies-after: Here. New file.
70825 * sysdeps/x86_64/x32/Implies-after: New file.
70826
70827 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70828
70829 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70830 and access return value for _dl_profile_fixup. Use R10_LP to
70831 load frame size.
70832
70833 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70834
70835 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70836
70837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70838
70839 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70840 * sysdeps/x86_64/x32/sysdep.h: New file.
70841
70842 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70843
70844 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70845 * sysdeps/x86_64/setjmp.S: Likewise.
70846
70847 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70848
70849 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70850 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70851 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70852 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70853 remove unused global constant.
70854
70855 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
70856
70857 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70858 include of <not-cancel.h>.
70859
70860 2012-05-15 Roland McGrath <roland@hack.frob.com>
70861
70862 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70863
70864 2012-05-15 Jeff Law <law@redhat.com>
70865 Andreas Jaeger <aj@suse.de>
70866
70867 [BZ #13594]
70868 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70869 out from...
70870 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70871 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70872 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70873 code changing __hst_map_handle.map.
70874
70875 2012-05-15 Roland McGrath <roland@hack.frob.com>
70876
70877 * configure.in (sysnames): Look for Implies-before and Implies-after
70878 files.
70879 * configure: Regenerated.
70880
70881 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70882
70883 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70884 8-byte data alignment with LP_SIZE alignment.
70885
70886 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70887
70888 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70889 into R10_LP.
70890
70891 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70892
70893 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70894
70895 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70896
70897 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70898 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70899 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70900 Likewise.
70901 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70902
70903 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70904
70905 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70906 (stackinfo_sub_sp): Likewise.
70907
70908 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70909
70910 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70911 RAX_LP.
70912
70913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70914
70915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70916 into R*_LP.
70917
70918 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70919
70920 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
70921 sizes into R*_LP.
70922
70923 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70924
70925 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
70926
70927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70928
70929 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
70930 into R11_LP and load __x86_64_shared_cache_size_half into
70931 R8_LP.
70932
70933 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
70934
70935 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
70936 R8_LP.
70937
70938 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70939
70940 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
70941 logb for POWER7.
70942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
70943 logbf for POWER7.
70944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
70945 logbl for POWER7.
70946 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
70947 powerpc32/power7/fpu/s_logb.c via #include.
70948 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
70949 powerpc32/power7/fpu/s_logbf.c via #include.
70950 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
70951 powerpc32/power7/fpu/s_logbl.c via #include.
70952
70953 2012-05-15 Joseph Myers <joseph@codesourcery.com>
70954
70955 * README.libm: Remove file.
70956
70957 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70958
70959 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
70960 count for x32. Use R*_LP and omit operand-size suffix.
70961
70962 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70963
70964 * shlib-versions: Move x86_64-.*-linux.* entries to ...
70965 * sysdeps/x86_64/64/shlib-versions: Here. New file.
70966 * sysdeps/x86_64/x32/shlib-versions: New file.
70967
70968 2012-05-14 Roland McGrath <roland@hack.frob.com>
70969
70970 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
70971 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
70972 Use _dl_fatal_printf instead.
70973
70974 2012-05-14 Joseph Myers <joseph@codesourcery.com>
70975
70976 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
70977 set if not set by the user. Do not allow for being unset.
70978 * sysdeps/unix/sysv/linux/configure: Regenerated.
70979
70980 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70981
70982 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
70983 the `q' suffix from lea and replace .quad with ASM_ADDR.
70984
70985 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70986
70987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
70988 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
70989 instead of $17.
70990 (PTR_DEMANGLE): Likewise.
70991
70992 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
70993
70994 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
70995 (LP_OP): Likewise.
70996 (ASM_ADDR): Likewise.
70997 (RAX_LP): Likewise.
70998 (RBP_LP): Likewise.
70999 (RBX_LP): Likewise.
71000 (RCX_LP): Likewise.
71001 (RDI_LP): Likewise.
71002 (RSI_LP): Likewise.
71003 (RSP_LP): Likewise.
71004 (R8_LP): Likewise.
71005 (R9_LP): Likewise.
71006 (R10_LP): Likewise.
71007 (R10_LP): Likewise.
71008 (R11_LP): Likewise.
71009 (R12_LP): Likewise.
71010 (R13_LP): Likewise.
71011 (R14_LP): Likewise.
71012 (R15_LP): Likewise.
71013
71014 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71015
71016 * sysdeps/x86_64/x32/dl-machine.h: New file.
71017
71018 2012-05-14 Andreas Jaeger <aj@suse.de>
71019
71020 * manual/Makefile (subdir): Remove export of subdir.
71021 (all): Remove target.
71022 (.PHONY): Remove all from list.
71023 (mkinstalldirs): Remove.
71024 (.PHONY): Remove installdirs from list.
71025 ($(inst_infodir)/libc.info): Use make-target-directory.
71026 (installdirs): Remove.
71027 (subdir_%): Remove.
71028 (glibc-targets): Remove.
71029 (lib): Remove.
71030 (stubs): Remove.
71031 ($(objpfx)stubs ../po/manual.pot): Remove.
71032 ($(objpfx)stamp%): Remove.
71033 (make-target-directory): Remove.
71034 (subdir_install): Remove.
71035 (routines): Remove.
71036 (aux): Remove.
71037 (sources): Remove.
71038 (objects): Remove.
71039 (headers): Remove.
71040
71041 [BZ #13750]
71042 * manual/.gitignore: Remove, it's not needed anymore.
71043 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71044 all files in it.
71045 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71046 directory.
71047 (texis): Renamed to $(objpfx)texis.
71048 (texis-path): New, contains path to generated files.
71049 (chapters.%): Use texis-path for complete path, add extra argument
71050 libc-texinfo.sh.
71051 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71052 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71053 (summary,texi, stamp-summary): Use complete path of
71054 files. Generate files in build dir.
71055 (dir-add.texi): Build in build dir.
71056 (libm-err.texi,stamp-libm-err): Likewise.
71057 (version.texi, stamp-version): Likewise.
71058 (.%c.texi): Likewise.
71059 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71060 (mostlyclean): Remove target.
71061 (realclean): Remove target.
71062 (generated): Add new variable with contents from mostlyclean and
71063 realclean, remove entries duplicated in common-mostlyclean, add
71064 stamp-libm-err and stamp-version.
71065 (generated-dirs): Add libc directory.
71066 ($(inst_infodir)/libc.info): Install files from build dir.
71067
71068 * manual/install.texi (Configuring and compiling): Adjust since
71069 the info files are not part of the tar ball anymore.
71070
71071 2012-05-14 Andreas Jaeger <aj@suse.de>
71072
71073 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71074 variable.
71075
71076 2012-05-14 Joseph Myers <joseph@codesourcery.com>
71077
71078 [BZ #13717]
71079 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71080 to 2.2.0 where earlier.
71081 * sysdeps/unix/sysv/linux/configure: Regenerated.
71082 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71083 Remove conditional code.
71084 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71085 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71086 Remove conditional code.
71087 [!__NR_lchown]: Likewise.
71088 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71089 [__NR_lchown]: Likewise.
71090 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71091 comment referencing __ASSUME_LCHOWN_SYSCALL.
71092 * sysdeps/unix/sysv/linux/i386/sigaction.c
71093 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71094 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71095 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71096 Remove conditional code.
71097 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71098 (__protocol_available): Remove #if 0 code.
71099 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71100 conditional code.
71101 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71102 * sysdeps/unix/sysv/linux/kernel-features.h
71103 (__ASSUME_GETCWD_SYSCALL): Don't define.
71104 (__ASSUME_REALTIME_SIGNALS): Likewise.
71105 (__ASSUME_PREAD_SYSCALL): Likewise.
71106 (__ASSUME_PWRITE_SYSCALL): Likewise.
71107 (__ASSUME_POLL_SYSCALL): Likewise.
71108 (__ASSUME_LCHOWN_SYSCALL): Likewise.
71109 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71110 non-SPARC.
71111 (__ASSUME_SIOCGIFNAME): Don't define.
71112 (__ASSUME_MSG_NOSIGNAL): Likewise.
71113 (__ASSUME_SENDFILE): Define unconditionally.
71114 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71115 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71116 conditional code.
71117 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71118 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71119 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71120 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71121 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71122 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71123 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71125 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71128 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71129 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71134 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71135 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71137 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71140 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71141 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71143 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71144 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71146 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71147 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71148 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71149 Remove conditional code.
71150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71151 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71152 Remove conditional code.
71153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71154 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71155 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71156 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71157 Remove conditional code.
71158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71159 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71160 Remove conditional code.
71161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71162 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71163 Remove conditional code.
71164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71165 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71166 Remove conditional code.
71167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71168 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71169 Remove conditional code.
71170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71171 * sysdeps/unix/sysv/linux/sh/pwrite64.c
71172 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71174 * sysdeps/unix/sysv/linux/sigaction.c
71175 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71176 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71177 * sysdeps/unix/sysv/linux/sigpending.c
71178 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71179 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71180 * sysdeps/unix/sysv/linux/sigprocmask.c
71181 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71182 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71183 * sysdeps/unix/sysv/linux/sigsuspend.c
71184 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71185 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71186 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71187 (__libc_missing_rt_sigs): Remove.
71188 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71189 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71190 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71191 Remove conditional code.
71192 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71193 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71194 return 1.
71195 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71196 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71197 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71198 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71199
71200 2012-05-14 Andreas Jaeger <aj@suse.de>
71201
71202 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71203 it's not used in glibc.
71204 (__coshm1): Likewise.
71205 (__acosh1p): Likewise.
71206 (__sgn): Likewise.
71207
71208 * manual/string.texi (Copying and Concatenation): Add missing
71209 variable in concat example.
71210 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71211
71212 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71213
71214 [BZ #14103]
71215 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71216 __builtin_clzl with __builtin_clzll.
71217
71218 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71219
71220 [BZ #14104]
71221 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71222 libc_freeres_ptr.
71223
71224 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
71225
71226 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71227 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71228 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71229 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71230
71231 2012-05-14 Mike Frysinger <vapier@gentoo.org>
71232
71233 * NEWS: Update ia64 info.
71234
71235 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
71236
71237 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71238 used as bcopy.
71239
71240 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
71241
71242 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71243 * sysdeps/unix/syscalls.list (dup3): Likewise.
71244 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71245 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71246
71247 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71248
71249 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71250 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71251
71252 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
71253
71254 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71255 thread pointer.
71256 (TLS_IE): Use mov/add instead of movq/addq to load thread
71257 pointer.
71258 (TLS_GD_PREFIX): New.
71259 (TLS_GD): Use it.
71260
71261 2012-05-11 David S. Miller <davem@davemloft.net>
71262
71263 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71264 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71265 (_FPU_SETCW): Likewise.
71266
71267 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71268
71269 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71270 is 32-byte aligned.
71271
71272 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
71273
71274 [BZ #11837]
71275 * iconvdata/gb18030.c: Update tables.
71276 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
71277 characters specially.
71278 (BODY for TO_LOOP): Add encoding of missing ranges.
71279
71280 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
71281
71282 [BZ #13673]
71283 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71284 * sysdeps/mach/hurd/dup3.c: Likewise.
71285 * sysdeps/mach/hurd/readlinkat.c: Likewise.
71286 * sysdeps/powerpc/memmove.c:: Likewise.
71287
71288 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71289
71290 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71291 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71292
71293 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71294
71295 * elf/elf.h (R_X86_64_RELATIVE64): New.
71296 (R_X86_64_NUM): Updated.
71297 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71298 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
71299 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71300 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71301 tst-quad1pie tst-quad2pie
71302 (modules-names): Add tst-quadmod1 tst-quadmod2.
71303 ($(objpfx)tst-quad1): New dependency.
71304 ($(objpfx)tst-quad2): Likewise.
71305 ($(objpfx)tst-quad1pie): Likewise.
71306 ($(objpfx)tst-quad2pie): Likewise.
71307 * sysdeps/x86_64/tst-quad1.c: New file.
71308 * sysdeps/x86_64/tst-quad1pie.c: New file.
71309 * sysdeps/x86_64/tst-quad2.c: Likewise.
71310 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71311 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71312 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71313 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71314 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71315
71316 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71317
71318 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71319 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71320 * streams/stropts.h (t_scalar_t): Define type.
71321
71322 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71323 (_PATH_PRESERVE): Set to "/var/lib".
71324 (_PATH_RWHODIR): Set to "/var/spool/rwho".
71325
71326 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71327 instead of int.
71328
71329 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71330 if __dir_mkfile succeeded.
71331
71332 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71333 checking for _hurd_dtablesize. Unlock it right after having
71334 finished _hurd_dtable allocation.
71335
71336 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71337
71338 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71339 * sysdeps/mach/hurd/configure: Regenerated.
71340 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71341 special-casing to...
71342 * sysdeps/gnu/configure.in: ... this new file.
71343 * sysdeps/unix/sysv/linux/configure: Regenerated.
71344 * sysdeps/gnu/configure: New generated file.
71345
71346 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71347 for Linux: use nsec instead of usec, as well as:
71348 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71349 members of type struct timespec.
71350 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71351 New macros.
71352 (struct stat64): Likewise.
71353 (_STATBUF_ST_NSEC): New macro.
71354 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71355
71356 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71357 __strtoul_internal rather than strtoul.
71358
71359 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71360
71361 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71362 and reject them.
71363
71364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71365
71366 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71367 which preserves existing values.
71368 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71369
71370 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71371
71372 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71373 TIMEOUT values. Return EINVAL for NFDS values either negative or
71374 greater than FD_SETSIZE.
71375
71376 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71377
71378 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71379 allocated, call __vm_protect to finish enabling the existing space, and
71380 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71381 allocate the remainder.
71382
71383 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71384
71385 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71386 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
71387
71388 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71389
71390 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71391 sysdeps/mach/hurd/readlink.c.
71392
71393 * posix/tst-sysconf.c (posix_options): Only use
71394 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71395 _POSIX_SYNCHRONIZED_IO when they are defined
71396 * sysdeps/mach/hurd/bits/posix_opt.h:
71397 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71398 (_XOPEN_REALTIME): Undefine macro.
71399 (_XOPEN_REALTIME_THREADS): Undefine macro.
71400 (_XOPEN_SHM): Undefine macro.
71401 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71402 macro to -1.
71403 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71404 macro to -1.
71405 (_POSIX_ASYNC_IO): Undefine macro.
71406 (_POSIX_PRIORITIZED_IO): Undefine macro.
71407 (_POSIX_SPIN_LOCKS): Define macro to -1.
71408
71409 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71410 SA_NODEFER, SA_RESETHAND.
71411 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71412 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71413 F_DUPFD_CLOEXEC.
71414
71415 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71416
71417 * elf/Makefile (pldd-modules): Define unconditionally.
71418
71419 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71420
71421 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71422
71423 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71424
71425 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71426 Return ENOENT when name is empty.
71427 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71428
71429 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71430
71431 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71432
71433 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71434
71435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71436
71437 Fix mlock in all cases except non-readable pages.
71438 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71439 instead of VM_PROT_ALL as parameter to __vm_wire function.
71440
71441 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71442 (__mkdir): When path is `/', just fail with EEXIST.
71443 * sysdeps/mach/hurd/mkdirat.c: Likewise.
71444
71445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71446
71447 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71448 <sys/uio.h> (for writev).
71449 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71450 and <sys/param.h> (for MIN).
71451
71452 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
71453
71454 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71455 REQUESTED_TIME. Properly set the remaining time and return EINTR
71456 if interrupted.
71457
71458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71459
71460 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71461 Depend on against $(link-rpcuserlibs).
71462
71463 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71464
71465 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71466 (__libc_stack_end): Do not use attribute_relro.
71467 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71468 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71469 to libthread-provided value.
71470 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71471 attribute_relro.
71472
71473 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71474
71475 [BZ #3748]
71476 * bits/libc-lock.h (__libc_once_get): New macro.
71477 * sysdeps/mach/bits/libc-lock.h: Likewise.
71478 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71479 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71480 instead of using implementation details.
71481
71482 * libio/fileops.c: Unconditionally include <kernel-features.h>.
71483 * libio/freopen.c: Likewise.
71484 * libio/freopen64.c: Likewise.
71485 * misc/syslog.c: Likewise.
71486 * nscd/connections.c: Likewise.
71487 * nscd/netgroupcache.c: Likewise.
71488 * sysdeps/posix/getcwd.c: Likewise.
71489
71490 2012-05-10 Roland McGrath <roland@hack.frob.com>
71491
71492 * math/w_ilogbf.c: Add #include <limits.h>.
71493
71494 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71495
71496 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71497 path instead of returning without unlocking.
71498
71499 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71500 immediate-write ioctls.
71501 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71502
71503 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71504
71505 * sysdeps/mach/hurd/i386/init-first.c (init): Use
71506 __builtin_frame_address instead of making assumptions about the
71507 location of the return address relative to DATA. Force early load of
71508 the return address.
71509 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71510 __builtin_frame_address.
71511
71512 dup3 for GNU Hurd.
71513 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71514 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
71515 implement dup3 and do some further code clean-ups.
71516 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71517 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71518
71519 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71520
71521 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71522
71523 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71524 HURD_CRITICAL_END around holding _hurd_dtable_lock.
71525 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71526 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71527 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71528 d->port.lock.
71529
71530 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71531 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
71532 when handler == SIG_ERR, not when handler != SIG_ERR.
71533
71534 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71535
71536 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71537 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71538 definitions.
71539
71540 accept4 for GNU Hurd.
71541 * include/sys/socket.h (__libc_accept4): New prototype.
71542 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
71543 to implement __libc_accept4.
71544 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71545 __libc_accept4.
71546 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71547
71548 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71549 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71550 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71551 signal-defines.sym.
71552
71553 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71554
71555 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71556
71557 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
71558
71559 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71560 assertion on O_CLOEXEC flag.
71561 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71562 * hurd/intern-fd.c: Likewise.
71563 * hurd/port2fd.c: Likewise.
71564
71565 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
71566
71567 [BZ #3906]
71568 * bits/in.h (IPV6_PKTINFO): Define new macro.
71569 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71570
71571 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71572
71573 [BZ #13954]
71574 [BZ #13955]
71575 [BZ #13956]
71576 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71577 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71578 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71579 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71580 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71581 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71582 * math/libm-test.inc (logb_test) : Additional logb tests.
71583
71584 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
71585 Andreas Jaeger <aj@suse.de>
71586
71587 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71588 * configure: Regenerated.
71589 * config.h.in (LINK_OBSOLETE_RPC): New macro.
71590 * config.make.in (link-obsolete-rpc): New substituted variable.
71591 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71592 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71593 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71594 (shared-only-routines): Don't set it under [link-obsolete-rpc],
71595 so that libc.a contains the symbols.
71596 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71597 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71598 * sunrpc/auth_none.c: Likewise.
71599 * sunrpc/auth_unix.c: Likewise.
71600 * sunrpc/authdes_prot.c: Likewise.
71601 * sunrpc/authuxprot.c: Likewise.
71602 * sunrpc/clnt_gen.c: Likewise.
71603 * sunrpc/clnt_perr.c: Likewise.
71604 * sunrpc/clnt_raw.c: Likewise.
71605 * sunrpc/clnt_simp.c: Likewise.
71606 * sunrpc/clnt_tcp.c: Likewise.
71607 * sunrpc/clnt_udp.c: Likewise.
71608 * sunrpc/clnt_unix.c: Likewise.
71609 * sunrpc/des_crypt.c: Likewise.
71610 * sunrpc/des_soft.c: Likewise.
71611 * sunrpc/get_myaddr.c: Likewise.
71612 * sunrpc/key_call.c: Likewise.
71613 * sunrpc/key_prot.c: Likewise.
71614 * sunrpc/netname.c: Likewise.
71615 * sunrpc/pm_getmaps.c: Likewise.
71616 * sunrpc/pm_getport.c: Likewise.
71617 * sunrpc/pmap_clnt.c: Likewise.
71618 * sunrpc/pmap_prot.c: Likewise.
71619 * sunrpc/pmap_prot2.c: Likewise.
71620 * sunrpc/pmap_rmt.c: Likewise.
71621 * sunrpc/publickey.c: Likewise.
71622 * sunrpc/rpc_cmsg.c: Likewise.
71623 * sunrpc/rpc_common.c: Likewise.
71624 * sunrpc/rpc_dtable.c: Likewise.
71625 * sunrpc/rpc_prot.c: Likewise.
71626 * sunrpc/rpc_thread.c: Likewise.
71627 * sunrpc/rtime.c: Likewise.
71628 * sunrpc/svc.c: Likewise.
71629 * sunrpc/svc_auth.c: Likewise.
71630 * sunrpc/svc_raw.c: Likewise.
71631 * sunrpc/svc_run.c: Likewise.
71632 * sunrpc/svc_tcp.c: Likewise.
71633 * sunrpc/svc_udp.c: Likewise.
71634 * sunrpc/svc_unix.c: Likewise.
71635 * sunrpc/svcauth_des.c: Likewise.
71636 * sunrpc/xcrypt.c: Likewise.
71637 * sunrpc/xdr.c: Likewise.
71638 * sunrpc/xdr_array.c: Likewise.
71639 * sunrpc/xdr_float.c: Likewise.
71640 * sunrpc/xdr_intXX_t.c: Likewise.
71641 * sunrpc/xdr_mem.c: Likewise.
71642 * sunrpc/xdr_rec.c: Likewise.
71643 * sunrpc/xdr_ref.c: Likewise.
71644 * sunrpc/xdr_sizeof.c: Likewise.
71645 * sunrpc/xdr_stdio.c: Likewise.
71646
71647 2012-05-10 Roland McGrath <roland@hack.frob.com>
71648
71649 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71650 change. Update copyright years.
71651
71652 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71653
71654 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71655
71656 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
71657 Joseph Myers <joseph@codesourcery.com>
71658 Paul Pluzhnikov <ppluzhnikov@google.com>
71659
71660 [BZ #14012]
71661 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71662 requiring rpcgen.
71663 [cross-compiling] (extra-libs): Likewise.
71664 [cross-compiling] (extra-libs-others): Likewise.
71665 [cross-compiling] (librpcsvc-routines): Likewise.
71666 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71667 [cross-compiling] (omit-deps): Likewise.
71668 (sunrpc-CPPFLAGS): New variable.
71669 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71670 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71671 (cross-rpcgen-objs): New variable.
71672 (extra-objs): Append $(cross-rpcgen-objs).
71673 ($(cross-rpcgen-objs)): New rule.
71674 ($(objpfx)cross-rpcgen): Likewise.
71675 (rpcgen-cmd): Define to use $(built-program-file). Expand
71676 comment.
71677 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71678 ($(objpfx)x%.stmp): Likewise.
71679 * sunrpc/proto.h [IS_IN_build] (_): Define.
71680 [IS_IN_build] (_libc_intl_domainname): Likewise.
71681
71682 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
71683
71684 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71685 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71686 and R_X86_64_TPOFF64.
71687
71688 2012-05-10 Joseph Myers <joseph@codesourcery.com>
71689
71690 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71691 sysdeps/unix/sysv/syscalls.list.
71692 (stime): Likewise.
71693 (utime): Likewise.
71694 * sysdeps/unix/sysv/syscalls.list: Remove file.
71695
71696 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
71697
71698 [BZ #3440]
71699 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71700 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71701 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71702 (__LC_IDENTIFICATION): Make these macros useful in #if
71703 expressions, as required by C99.
71704
71705 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
71706
71707 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71708 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
71709 after this.
71710
71711 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
71712
71713 * stdlib/longlong.h: Updated from GCC.
71714
71715 2012-05-09 Andreas Jaeger <aj@suse.de>
71716
71717 * nscd/nscd.c (run_modes): Make named enum, reorder so that
71718 default is first entry.
71719 (run_mode): Set type.
71720 (main): Remove informal message about syslog.
71721 (options): Fix typo.
71722
71723 [BZ #14053]
71724 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71725 to asm.
71726 (lrint): Likewise.
71727 (llrintf): Likewise.
71728 (llrint): Likewise.
71729 (rint): Likewise.
71730 (rintf): Likewise.
71731 (nearbyint): Likewise.
71732 (nearbyintf): Likewise.
71733
71734 2012-05-09 Andreas Jaeger <aj@suse.de>
71735 Pedro Alves <palves@redhat.com>
71736
71737 * nscd/nscd.c (run_mode): Use enum.
71738 (main): Cleanup coding style issue.
71739
71740 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
71741 Andreas Jaeger <aj@suse.de>
71742
71743 * nscd/nscd.c (go_background): Replaced with...
71744 (run_mode): ... this.
71745 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71746 (options): Add -F --foreground.
71747 (main): Implement it.
71748 (parse_opt): Parse it.
71749
71750 2012-05-09 Andreas Jaeger <aj@suse.de>
71751
71752 [BZ #14083]
71753 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71754 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71755 -Wconversion warning.
71756 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71757 Likewise.
71758
71759 2012-05-09 Joseph Myers <joseph@codesourcery.com>
71760
71761 * conform/data/locale.h-data (NULL): Use macro-constant. Require
71762 == 0.
71763 (LC_ALL): Use macro-int-constant.
71764 (LC_COLLATE): Likewise.
71765 (LC_CTYPE): Likewise.
71766 (LC_MESSAGES): Likewise.
71767 (LC_MONETARY): Likewise.
71768 (LC_NUMERIC): Likewise.
71769 (LC_TIME): Likewise.
71770 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71771 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71773 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71774 Specify type.
71775 [C99-based standards] (float_t): Expect type.
71776 [C99-based standards] (double_t): Expect type.
71777 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
71778 type.
71779 [C99-based standards] (HUGE_VALL): Likewise.
71780 [C99-based standards] (INFINITY): Likewise.
71781 [C99-based standards] (NAN): Likewise.
71782 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71783 [C99-based standards] (FP_NAN): Likewise.
71784 [C99-based standards] (FP_NORMAL): Likewise.
71785 [C99-based standards] (FP_SUBNORMAL): Likewise.
71786 [C99-based standards] (FP_ZERO): Likewise.
71787 [C99-based standards] (FP_FAST_FMA): Use
71788 optional-macro-int-constant. Specify type. Require == 1.
71789 [C99-based standards] (FP_FAST_FMAF): Likewise.
71790 [C99-based standards] (FP_FAST_FMAL): Likewise.
71791 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71792 [C99-based standards] (FP_ILOGBNAN): Likewise.
71793 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71794 Specify type.
71795 [C99-based standards] (MATH_ERREXCEPT): Likewise.
71796 [C99-based standards] (math_errhandling): Specify type.
71797 [ISO99 || ISO11] (signgam): Do not allow.
71798 [non-C99-based standards] (copysignf): Do not allow.
71799 [non-C99-based standards] (exp2f): Likewise.
71800 [non-C99-based standards] (log2f): Likewise.
71801 [non-C99-based standards] (modff): Allow.
71802 [non-C99-based standards] (erff): Do not allow.
71803 [non-C99-based standards] (erfcf): Likewise.
71804 [non-C99-based standards] (gammaf): Likewise.
71805 [non-C99-based standards] (hypotf): Likewise.
71806 [non-C99-based standards] (j0f): Likewise.
71807 [non-C99-based standards] (j1f): Likewise.
71808 [non-C99-based standards] (jnf): Likewise.
71809 [non-C99-based standards] (lgammaf): Likewise.
71810 [non-C99-based standards] (tgammaf): Likewise.
71811 [non-C99-based standards] (y0f): Likewise.
71812 [non-C99-based standards] (y1f): Likewise.
71813 [non-C99-based standards] (ynf): Likewise.
71814 [non-C99-based standards] (isnanf): Likewise.
71815 [non-C99-based standards] (acoshf): Likewise.
71816 [non-C99-based standards] (asinhf): Likewise.
71817 [non-C99-based standards] (atanhf): Likewise.
71818 [non-C99-based standards] (cbrtf): Likewise.
71819 [non-C99-based standards] (expm1f): Likewise.
71820 [non-C99-based standards] (ilogbf): Likewise.
71821 [non-C99-based standards] (log1pf): Likewise.
71822 [non-C99-based standards] (logbf): Likewise.
71823 [non-C99-based standards] (nextafterf): Likewise.
71824 [non-C99-based standards] (remainderf): Likewise.
71825 [non-C99-based standards] (rintf): Likewise.
71826 [non-C99-based standards] (scalbf): Likewise.
71827 [non-C99-based standards] (copysignl): Likewise.
71828 [non-C99-based standards] (exp2l): Likewise.
71829 [non-C99-based standards] (log2l): Likewise.
71830 [non-C99-based standards] (modfl): Allow.
71831 [non-C99-based standards] (erfl): Do not allow.
71832 [non-C99-based standards] (erfcl): Likewise.
71833 [non-C99-based standards] (gammal): Likewise.
71834 [non-C99-based standards] (hypotl): Likewise.
71835 [non-C99-based standards] (j0l): Likewise.
71836 [non-C99-based standards] (j1l): Likewise.
71837 [non-C99-based standards] (jnl): Likewise.
71838 [non-C99-based standards] (lgammal): Likewise.
71839 [non-C99-based standards] (tgammal): Likewise.
71840 [non-C99-based standards] (y0l): Likewise.
71841 [non-C99-based standards] (y1l): Likewise.
71842 [non-C99-based standards] (ynl): Likewise.
71843 [non-C99-based standards] (isnanl): Likewise.
71844 [non-C99-based standards] (acoshl): Likewise.
71845 [non-C99-based standards] (asinhl): Likewise.
71846 [non-C99-based standards] (atanhl): Likewise.
71847 [non-C99-based standards] (cbrtl): Likewise.
71848 [non-C99-based standards] (expm1l): Likewise.
71849 [non-C99-based standards] (ilogbl): Likewise.
71850 [non-C99-based standards] (log1pl): Likewise.
71851 [non-C99-based standards] (logbl): Likewise.
71852 [non-C99-based standards] (nextafterl): Likewise.
71853 [non-C99-based standards] (remainderl): Likewise.
71854 [non-C99-based standards] (rintl): Likewise.
71855 [non-C99-based standards] (scalbl): Likewise.
71856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
71857 [non-C99-based standards] (FP_*): Do not allow.
71858 [C99-based standards] (FP_*): Change to
71859 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71860 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71861 allow.
71862 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71863 (SIG_ERR): Likewise.
71864 [X/Open-based standards] (SIG_HOLD): Likewise.
71865 (SIG_IGN): Likewise.
71866 (SIGABRT): Use macro-int-constant. Specify type. Require
71867 positive value.
71868 (SIGFPE): Likewise.
71869 (SIGILL): Likewise.
71870 (SIGINT): Likewise.
71871 (SIGSEGV): Likewise.
71872 (SIGTER): Likewise.
71873 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71874 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71875 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71876 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71877 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71878 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71879 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71880 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71881 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71882 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71883 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71884 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71885 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71886 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71887 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71888 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71889 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71890 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71891 [X/Open-based standards] (SIGTRAP): Likewise.
71892 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71893 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71894 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71895 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71896 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71897 allow.
71898
71899 2012-05-08 Ian Wienand <ianw@vmware.com>
71900
71901 [BZ #14080]
71902 * time/tzset.c (__tzset_parse_tz): Update default rules for
71903 daylight time changes in the Energy Policy Act of 2005.
71904
71905 2012-05-09 Andreas Jaeger <aj@suse.de>
71906
71907 [BZ #13983]
71908 * elf/ldconfig.c (parse_conf): Change string to make clear that
71909 ldconfig only issued a warning if ld.so.conf does not exist.
71910
71911 2012-05-08 David S. Miller <davem@davemloft.net>
71912
71913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
71914 movxtod instead of popping the value on the stack.
71915
71916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71917
71918 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
71919
71920 * config.h.in: Add HAVE_ARM_PCS_VFP.
71921
71922 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
71923
71924 [BZ #13979]
71925 * include/features.h: Warn if user requests __FORTIFY_SOURCE
71926 checking but the checks are disabled for any reason.
71927
71928 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
71929
71930 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
71931 and ELF64_R_TYPE with ELFW(R_TYPE).
71932
71933 2012-05-08 Joseph Myers <joseph@codesourcery.com>
71934
71935 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
71936 (ulimit): Likewise.
71937
71938 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
71939 (settimeofday): Likewise.
71940
71941 2012-05-08 Mike Frysinger <vapier@gentoo.org>
71942
71943 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
71944 a struct th_u2 inside the union, and move tu_block/tu_code into
71945 a new th_u3 union of tu_block/tu_code inside of that. Move
71946 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
71947 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
71948 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
71949 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
71950 (th_stuff): Change to th_u1.tu_stuff.
71951 (th_data): Define.
71952 (th_msg): Change to th_u1.th_u2.tu_data.
71953
71954 2012-05-07 David S. Miller <davem@davemloft.net>
71955
71956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71957
71958 [BZ #14074]
71959 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
71960 (SETUP_PIC_REG): Use it.
71961 (SETUP_PIC_REG_LEAF): Use it.
71962
71963 2012-05-07 Joseph Myers <joseph@codesourcery.com>
71964
71965 [BZ #13885]
71966 [BZ #13923]
71967 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71968 USE_AS_EXPM1L.
71969 (EXPL_FINITE): Likewise.
71970 (FLDLOG): Likewise.
71971 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71972 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71973 e_expl.S.
71974 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71975 USE_AS_EXPM1L.
71976 (EXPL_FINITE): Likewise.
71977 (FLDLOG): Likewise.
71978 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
71979 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
71980 e_expl.S.
71981 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
71982 test of -max_value argument for long double.
71983 * sysdeps/i386/fpu/libm-test-ulps: Update.
71984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71985
71986 2012-05-06 David S. Miller <davem@davemloft.net>
71987
71988 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
71989 quad soft-float symbols whose references which are compiler
71990 generated.
71991 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71992
71993 2012-05-06 Joseph Myers <joseph@codesourcery.com>
71994
71995 [BZ #13884]
71996 [BZ #13914]
71997 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
71998 USE_AS_EXP10L.
71999 (EXPL_FINITE): Likewise.
72000 (FLDLOG): Likewise.
72001 (c0): Likewise.
72002 (c1): Likewise.
72003 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72004 Adjust comments for base varying.
72005 (__expl_finite): Change alias to EXPL_FINITE.
72006 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72007 e_expl.S.
72008 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72009 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72010 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72011 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72012 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72013 USE_AS_EXP10L.
72014 (EXPL_FINITE): Likewise.
72015 (FLDLOG): Likewise.
72016 (c0): Likewise.
72017 (c1): Likewise.
72018 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
72019 Adjust comments for base varying.
72020 (__expl_finite): Change alias to EXPL_FINITE.
72021 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
72022 tests for bugs.
72023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72024
72025 [BZ #14064]
72026 * math/libm-test.inc (check_float_internal): Correct ulp
72027 calculation for subnormal expected results.
72028
72029 2012-05-06 Andreas Jaeger <aj@suse.de>
72030
72031 * Makeconfig (+math-flags): New, set to -frounding-math.
72032 (+cflags): Add +math-flags so that all of glibc gets compiled with
72033 it.
72034
72035 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72036
72037 2012-05-05 Joseph Myers <joseph@codesourcery.com>
72038
72039 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72040 Disable one test.
72041
72042 [BZ #13787]
72043 [BZ #13922]
72044 [BZ #14036]
72045 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72046 (__ieee754_expl): Allow for and saturate large arguments.
72047 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72048 (u_threshold): Likewise.
72049 (__exp): Call __ieee754_exp before checking for overflow and
72050 underflow.
72051 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72052 (u_threshold): Likewise.
72053 (__expf): Call __ieee754_expf before checking for overflow and
72054 underflow.
72055 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72056 (u_threshold): Likewise.
72057 (__expl): Call __ieee754_expl before checking for overflow and
72058 underflow.
72059 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72060 (__ieee754_expl): Allow for and saturate large arguments.
72061 * math/libm-test.inc (exp_test): Add another test. Do not allow
72062 missing overflow exception on overflow.
72063 (expm1_test): Do not allow missing overflow exception on overflow.
72064
72065 * sysdeps/i386/fpu/e_expl.c: Move to ...
72066 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
72067 rather than using inline asm.
72068 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72069 * sysdeps/x86_64/fpu/e_expl.S: Copy from
72070 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72071
72072 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72073 (nice): Likewise.
72074 (poll): Likewise.
72075 (signal): Likewise.
72076 (time): Likewise.
72077 (times): Likewise.
72078
72079 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72080
72081 * sysdeps/unix/syscalls.list (adjtime): Add entry from
72082 sysdeps/unix/common/syscalls.list.
72083 (fchmod): Likewise.
72084 (fchown): Likewise.
72085 (ftruncate): Likewise.
72086 (getrusage): Likewise.
72087 (gettimeofday): Likewise.
72088 (setpgid): Likewise.
72089 (setregid): Likewise.
72090 (setreuid): Likewise.
72091 (sigaction): Likewise.
72092 (truncate): Likewise.
72093 (vhangup): Likewise.
72094 * sysdeps/unix/common/syscalls.list: Remove file.
72095 * sysdeps/unix/bsd/Implies: Don't include unix/common.
72096 * sysdeps/unix/sysv/linux/Implies: Likewise.
72097
72098 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
72099
72100 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72102 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72103 Moved to ...
72104 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72105 Here.
72106 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72107 to ...
72108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72109 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72110 to ...
72111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72112 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72113 to ...
72114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72115 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72116 to ...
72117 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72118 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72119 to ...
72120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72121 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72122 to ...
72123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72124 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72125 to ...
72126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72127 Here.
72128 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72129 to ...
72130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72131 Here.
72132 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72133 to ...
72134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72135 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72136 Moved to ...
72137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72138 Here.
72139 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72140 to ...
72141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72142
72143 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72144
72145 * sysdeps/unix/common/bits/dirent.h: Remove file.
72146 * sysdeps/unix/common/bits/fcntl.h: Likewise.
72147
72148 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72149 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72150 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72151 * sysdeps/unix/bsd/isatty.c: Likewise.
72152 * sysdeps/unix/bsd/tcdrain.c: Likewise.
72153 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72154 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72155
72156 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72157
72158 [BZ #13563]
72159 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72160 long double comparison inaccuracies.
72161 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72163
72164 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
72165
72166 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72167 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72168
72169 2012-05-04 Joseph Myers <joseph@codesourcery.com>
72170
72171 [BZ #14049]
72172 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72173 nonzero digits before rounding a hex value.
72174 * stdlib/tst-strtod.c (tests): Add another test.
72175
72176 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
72177
72178 * sysdeps/s390/fpu/libm-test-ulps: Update.
72179
72180 2012-05-03 Andreas Jaeger <aj@suse.de>
72181
72182 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72183 does not get optimized out.
72184 (malloc_opt_barrier): New.
72185
72186 2012-05-03 Andreas Jaeger <aj@suse.de>
72187 Roland McGrath <roland@hack.frob.com>
72188
72189 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72190 intermediate file deletion.
72191 (generated): Add .symlist files.
72192
72193 2012-05-03 Joseph Myers <joseph@codesourcery.com>
72194
72195 [BZ #13775]
72196 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72197 Redirect under this condition.
72198 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72199 [__USE_GNU] (__dprintf_chk): Not under this condition.
72200 [__USE_GNU] (__vdprintf_chk): Likewise.
72201 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72202 under this condition.
72203 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72204 [__USE_XOPEN2K8] (dprintf): Define under this condition.
72205 [__USE_XOPEN2K8] (vdprintf): Likewise.
72206 [__USE_GNU] (__dprintf_chk): Not under this condition.
72207 [__USE_GNU] (__vdprintf_chk): Likewise.
72208 [__USE_GNU] (dprintf): Likewise.
72209 [__USE_GNU] (vdprintf): Likewise.
72210
72211 2012-05-03 Roland McGrath <roland@hack.frob.com>
72212
72213 * elf/Makefile (common-generated): Set this instead of generated for
72214 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
72215 $(all-built-dso)-derived lists.
72216
72217 2012-05-03 Andreas Jaeger <aj@suse.de>
72218
72219 * sysdeps/i386/fpu/libm-test-ulps: Update.
72220
72221 * FAQ: Removed.
72222 * FAQ.in: Likewise.
72223 * scripts/gen-FAQ.pl: Likewise.
72224 * manual/install.texi (Installation): Point to online location of
72225 FAQ.
72226 * Makefile (files-for-dist): Remove FAQ.
72227 (FAQ): Remove.
72228
72229 2012-05-02 Allan McRae <allan@archlinux.org>
72230
72231 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72232 (LDFLAGS-reldepmod5.so): Likewise.
72233 (LDFLAGS-reldep6mod1.so): Likewise.
72234 (LDFLAGS-reldep6mod4.so): Likewise.
72235 (LDFLAGS-reldep8mod3.so): Likewise.
72236 (LDFLAGS-unload4mod1.so): Likewise.
72237 (LDFLAGS-unload4mod2.so): Likewise.
72238 (LDFLAGS-tst-initorder): Likewise.
72239 (LDFLAGS-tst-initordera2.so): Likewise.
72240 (LDFLAGS-tst-initordera3.so): Likewise.
72241 (LDFLAGS-tst-initordera4.so): Likewise.
72242 (LDFLAGS-tst-initorderb2.so): Likewise.
72243 (LDFLAGS-noload): Likewise.
72244 (LDFLAGS-next): Likewise.
72245 (LDFLAGS-order2mod1.so): Likewise.
72246 (LDFLAGS-order2mod2.so): Likewise.
72247 (LDFLAGS-tst-initorder2): Likewise.
72248 (LDFLAGS-tst-initorder2a.so): Likewise.
72249 (LDFLAGS-tst-initorder2b.so): Likewise.
72250 (LDFLAGS-tst-initorder2c.so): Likewise.
72251 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72252
72253 2012-05-02 David S. Miller <davem@davemloft.net>
72254
72255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
72256
72257 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
72258
72259 [BZ #14055]
72260 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72261
72262 2012-05-02 Andreas Jaeger <aj@suse.de>
72263
72264 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72265 since we manipulate rounding mode.
72266 (CPPFLAGS-test-idouble.c): Likewise.
72267 (CPPFLAGS-test-ifloat.c): Likewise.
72268 (CFLAGS-test-ldouble.c): Likewise.
72269 (CFLAGS-test-double.c): Likewise.
72270 (CFLAGS-test-float.c): Likewise.
72271 (CFLAGS-test-misc.c): Likewise.
72272 (CFLAGS-test-test-fenv.c): Likewise.
72273
72274 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72275
72276 [BZ #2550]
72277 [BZ #2570]
72278 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72279 comparisons to determine direction to adjust input.
72280
72281 2012-05-01 Roland McGrath <roland@hack.frob.com>
72282
72283 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72284 output to the target.
72285
72286 * scripts/localplt.awk: New file.
72287 * elf/Makefile ($(objpfx)check-localplt): Target removed.
72288 (check-localplt-CFLAGS): Variable removed.
72289 ($(all-built-dso:=.jmprel)): New static pattern rule.
72290 (generated): Add those targets.
72291 (localplt-built-dso): New variable.
72292 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72293
72294 * elf/check-localplt.c: File removed.
72295
72296 * scripts/check-execstack.awk: New file.
72297 * elf/Makefile ($(objpfx)check-execstack): Target removed.
72298 (check-execstack-CFLAGS): Variable removed.
72299 ($(objpfx)check-execstack.h): Target removed.
72300 ($(objpfx)execstack-default): New target.
72301 (generated): Add that instead of check-execstack.h.
72302 ($(all-built-dso:=.phdr)): New static pattern rule.
72303 (generated): Add those targets.
72304 * elf/check-execstack.c: File removed.
72305
72306 * scripts/check-textrel.awk: New file.
72307 * elf/Makefile ($(objpfx)check-textrel): Target removed.
72308 (check-textrel-CFLAGS): Variable removed.
72309 (all-built-dso): Use := to define.o
72310 ($(all-built-dso:=.dyn)): New static pattern rule.
72311 (generated): Add those targets.
72312 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72313 * config.make.in (READELF): New substituted variable.
72314 * elf/check-textrel.c: File removed.
72315
72316 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72317
72318 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72319 allow.
72320 * conform/data/ctype.h-data [C99-based standards] (isblank):
72321 Expect function.
72322 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72323 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72325 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72326 Specify type. Require positive value.
72327 (EILSEQ): Likewise.
72328 (ERANGE): Likewise.
72329 [ISO || POSIX] (EILSEQ): Do not expect.
72330 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72331 Specify type. Require positive value.
72332 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72333 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72334 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72335 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72336 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72337 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72338 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72339 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72340 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72341 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72342 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72343 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72344 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72345 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72346 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72347 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72348 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72349 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72350 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72351 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72352 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72353 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72354 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72355 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72356 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72357 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72358 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72359 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72360 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72361 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72362 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72363 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72364 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72365 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72366 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72367 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72368 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72369 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72370 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72371 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72372 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72373 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72374 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72375 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72376 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72377 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72378 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72379 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72380 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72381 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72382 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72383 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72384 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72385 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72386 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72387 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72388 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72389 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72390 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72391 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72392 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72393 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72394 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72395 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72396 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72397 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72398 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72399 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72400 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72401 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72402 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72403 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72404 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72405 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72406 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72407 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72408 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72409 Require >= 2.
72410 (FLT_ROUNDS): Expect as macro, not constant.
72411 (FLT_MANT_DIG): Use macro-int-constant.
72412 (DBL_MANT_DIG): Likewise.
72413 (LDBL_MANT_DIG): Likewise.
72414 (FLT_DIG): Likewise.
72415 (DBL_DIG): Likewise.
72416 (LDBL_DIG): Likewise.
72417 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
72418 (DBL_MIN_EXP): Likewise.
72419 (LDBL_MIN_EXP): Likewise.
72420 (FLT_MAX_EXP): Use macro-int-constant.
72421 (DBL_MAX_EXP): Likewise.
72422 (LDBL_MAX_EXP): Likewise.
72423 (FLT_MAX_10_EXP): Likewise.
72424 (DBL_MAX_10_EXP): Likewise.
72425 (LDBL_MAX_10_EXP): Likewise.
72426 (FLT_MAX): Use macro-constant.
72427 (DBL_MAX): Likewise.
72428 (LDBL_MAX): Likewise.
72429 (FLT_EPSILON): Use macro-constant. Give upper bound.
72430 (DBL_EPSILON): Likewise.
72431 (LDBL_EPSILON): Likewise.
72432 (FLT_MIN): Likewise.
72433 (DBL_MIN): Likewise.
72434 (LDBL_MIN): Likewise.
72435 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72436 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72437 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72438 [ISO11] (FLT_HAS_SUBNORM): Likewise.
72439 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72440 [ISO11] (DBL_DECIMAL_DIG): Likewise.
72441 [ISO11] (FLT_DECIMAL_DIG): Likewise.
72442 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72443 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72444 [ISO11] (FLT_TRUE_MIN): Likewise.
72445 [ISO11] (LDBL_TRUE_MIN): Likewise.
72446 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72447 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72448 (SCHAR_MIN): Use macro-int-constant. Specify type.
72449 (SCHAR_MAX): Likewise.
72450 (UCHAR_MAX): Likewise.
72451 (CHAR_MIN): Likewise.
72452 (CHAR_MAX): Likewise.
72453 (MB_LEN_MAX): Use macro-int-constant.
72454 (SHRT_MIN): Use macro-int-constant. Specify type.
72455 (SHRT_MAX): Likewise.
72456 (USHRT_MAX): Likewise.
72457 (INT_MAX): Likewise.
72458 (INT_MIN): Use macro-int-constant. Specify type. Make upper
72459 bound negative.
72460 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
72461 bound with "U".
72462 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72463 bound with "L".
72464 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
72465 bound negative. Suffix upper bound with "L".
72466 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
72467 bound with "UL".
72468 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72469 Specify type.
72470 [C99-based standards] (LLONG_MAX): Likewise.
72471 [C99-based standards] (ULLONG_MAX): Likewise.
72472 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
72473 == 0.
72474 [ISO11] (max_align_t): Require type.
72475 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72476
72477 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72478 from $CFLAGS, without defining away __attribute__ calls.
72479 (checknamespace): Use $CFLAGS_namespace.
72480
72481 * conform/conformtest.pl (@keywords): Only include C99 keywords
72482 for standards based on C99 or C11.
72483
72484 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72485 Disable tests.
72486 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72487 UNIX98]: Likewise.
72488
72489 * conform/conformtest.pl: Handle "macro-int-constant" and test for
72490 usability of symbols in #if.
72491
72492 * conform/conformtest.pl: If macro or constant types start
72493 "promoted:", expect the symbol to be of the following type
72494 promoted by the integer promotions.
72495
72496 * conform/conformtest.pl: Parse all "constant" and "macro" lines
72497 in one place. Also handle "macro-constant".
72498
72499 * conform/conformtest.pl: Only accept expected macro values with
72500 "==". Parse all "macro" lines in one place.
72501 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72502
72503 * conform/conformtest.pl: Handle braced types on "constant" lines
72504 instead of handling "typed-constant".
72505 * conform/data/signal.h-data: Use "constant" instead of
72506 "typed-constant".
72507
72508 * conform/conformtest.pl: Handle "optional-" at start of lines in
72509 one place rather than duplicating several cases. Handle each
72510 format of "macro" line with initial "optional-".
72511
72512 * conform/conformtest.pl: Only accept expected constant or
72513 optional-constant values with "==". Parse all "constant" lines in
72514 one place. Parse all "optional-constant" lines in one place.
72515 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72516 * conform/data/fmtmsg.h-data: Likewise.
72517 * conform/data/netinet/in.h-data: Likewise.
72518 * conform/data/tar.h-data: Likewise.
72519 * conform/data/limits.h-data: Use "==" form on "constant" and
72520 "optional-constant" lines.
72521
72522 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72523 Use -std=c99 for XOPEN2K.
72524 (@knownproblems): Remove.
72525 (newtoken): Don't check %isknown.
72526
72527 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72528 Do not expect macro.
72529 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72530 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72531 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72532 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72533 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72534 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72535 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72536 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72537 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72538 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72539 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72540 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72541 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72542 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72543 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72544 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72545 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72546 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72547 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72548 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72549 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72550 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72551 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72552 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72553 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72554 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72555 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72556 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72557 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72558 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72559 [XPG3] (acosh): Likewise.
72560 [XPG3] (asinh): Likewise.
72561 [XPG3] (atanh): Likewise.
72562 [XPG3] (cbrt): Likewise.
72563 [XPG3] (expm1): Likewise.
72564 [XPG3] (ilogb): Likewise.
72565 [XPG3] (log1p): Likewise.
72566 [XPG3] (logb): Likewise.
72567 [XPG3] (nextafter): Likewise.
72568 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72569 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72570 [XPG3] (remainder): Likewise.
72571 [XPG3] (rint): Likewise.
72572 [XPG3 || XPG4 || UNIX98] (round): Likewise.
72573 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72574 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72575 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72576 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72577 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72578 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72579 [UNIX98 || XOPEN2K] (scalb): Expect.
72580 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72581 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72582 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72583 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72584 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72585 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72586 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72587 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72588 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72589 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72590 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72591 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72592 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72593 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72594 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72595 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72596 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72597 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72598 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72599 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72600 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72601 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72602 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72603 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72604 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72605 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72606 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72607 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72608 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72609 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72610 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72611 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72612 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72613 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72614 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72615 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72616 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72617 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72618 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72619 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72620 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72621 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72622 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72623 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72624 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72625 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72626 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72627 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72628 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72629 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72630 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72631 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72632 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72633 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72634 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72635 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72636 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72637 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72638 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72639 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72640 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72641 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72642 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72643 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72644 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72645 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72646 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72647 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72648 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72649 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72650 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72651 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72652 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72653 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72654 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72655 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72656 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72657 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72658 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72659 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72660 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72661 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72662 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72663 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72664 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72665 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72666 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72667 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72668 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72669 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72670 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72671 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72672 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72673 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72674 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72675 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72676 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72677 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72678 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72679 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72680 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72681 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72682 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72683 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72684 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72685 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72686 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72687 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72688 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72689 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72690 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72691 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72692 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72693 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72694 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72695 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72696 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72697 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72698 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72699 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72700 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72701 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72702 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72703 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72704 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72705 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72706 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72707 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72708 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72709 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72710 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72711 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72712 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72713 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72714 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72715 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72716 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72717
72718 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72719 _XOPEN_SOURCE_EXTENDED for XPG4.
72720
72721 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72722
72723 * Makeconfig (localtime): Remove variable.
72724 (inst_localtime-file): Likewise.
72725
72726 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72727
72728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72729 Update.
72730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72731 Update.
72732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72733 Update.
72734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72735 Update.
72736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72737 Update.
72738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72739 Update.
72740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72741 Update.
72742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72743 Update.
72744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72745 Update.
72746
72747 2012-05-01 Joseph Myers <joseph@codesourcery.com>
72748
72749 [BZ #2550]
72750 [BZ #2570]
72751 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72752 comparisons to determine direction to adjust input.
72753 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72754 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72755 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72756 Likewise.
72757 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72758 Likewise.
72759 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72760 Likewise.
72761 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72762 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72763 Likewise.
72764 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72765 Likewise.
72766 * math/libm-test.inc (nexttoward_test): Add more tests.
72767
72768 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
72769
72770 [BZ #14040]
72771 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72772 in version GLIBC_2.1, not GLIBC_2.0.
72773 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72774 Likewise.
72775
72776 2012-04-30 Joseph Myers <joseph@codesourcery.com>
72777
72778 [BZ #13942]
72779 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72780 (1 - x) * (1 + x).
72781 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72782 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72783 * math/libm-test.inc (acos_test): Add more tests.
72784 (asin_test): Likewise.
72785 * sysdeps/i386/fpu/libm-test-ulps: Update.
72786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72787
72788 [BZ #14034]
72789 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72790 of square root.
72791 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72792 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72793 * math/libm-test.inc (acos_test_tonearest): New function.
72794 (acos_test_towardzero): Likewise.
72795 (acos_test_downward): Likewise.
72796 (acos_test_upward): Likewise.
72797 (asin_test_tonearest): Likewise.
72798 (asin_test_towardzero): Likewise.
72799 (asin_test_downward): Likewise.
72800 (asin_test_upward): Likewise.
72801 (main): Call the new functions.
72802 * sysdeps/i386/fpu/libm-test-ulps: Update.
72803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72804
72805 [BZ #13884]
72806 [BZ #13924]
72807 * math/e_exp10.c: Include <float.h>.
72808 (__ieee754_exp10): Handle underflow here rather than multiplying
72809 large negative argument by M_LN10.
72810 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72811 of __ieee754_expf.
72812 * math/e_exp10l.c: Include <float.h>.
72813 (__ieee754_exp10l): Handle underflow here rather than multiplying
72814 large negative argument by M_LN10l.
72815 * math/libm-test.inc (exp10_test): Add another test. Do not allow
72816 spurious overflow exception on underflow.
72817
72818 2012-04-29 Marek Polacek <polacek@redhat.com>
72819
72820 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72821 (__fortify_function): New macro.
72822 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72823 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72824 __extern_always_inline.
72825 * libio/bits/stdio2.h: Likewise.
72826 * libio/bits/stdio.h: Likewise.
72827 * string/string.h: Likewise.
72828 * string/bits/string3.h: Likewise.
72829 * include/stdio.h: Likewise.
72830 * stdlib/bits/stdlib.h: Likewise.
72831 * stdlib/stdlib.h: Likewise.
72832 * rt/bits/mqueue2.h: Likewise.
72833 * rt/mqueue.h: Likewise.
72834 * posix/bits/unistd.h: Likewise.
72835 * posix/unistd.h: Likewise.
72836 * io/bits/poll2.h: Likewise.
72837 * io/bits/fcntl2.h: Likewise.
72838 * io/fcntl.h: Likewise.
72839 * io/sys/poll.h: Likewise.
72840 * misc/bits/syslog.h: Likewise.
72841 * misc/bits/syslog-ldbl.h: Likewise.
72842 * misc/sys/syslog.h: Likewise.
72843 * socket/bits/socket2.h: Likewise.
72844 * socket/sys/socket.h: Likewise.
72845 * debug/tst-chk1.c: Likewise.
72846 * wcsmbs/bits/wchar2.h: Likewise.
72847 * wcsmbs/bits/wchar-ldbl.h: Likewise.
72848 * wcsmbs/wchar.h: Likewise.
72849
72850 2012-04-29 Andreas Jaeger <aj@suse.de>
72851
72852 * Makerules (tests): Remove enable-check-abi protection.
72853 (check-abi-warn): Remove.
72854 (check-abi-%): Remove check-abi-warn usage.
72855
72856 * configure.in: Remove check-abi configure option.
72857 * configure: Regenerated.
72858 * config.make.in (enable-check-abi): Remove.
72859
72860 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
72861
72862 [BZ #14033]
72863 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72864 double functions to double *_finite functions.
72865
72866 [BZ #13941]
72867 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72868 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72869 LDBL_MIN_EXP.
72870 * stdio-common/Makefile (tests): Add tst-sprintf3.
72871 * stdio-common/tst-sprintf3.c: New file.
72872
72873 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72874 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72875
72876 2012-04-28 Joseph Myers <joseph@codesourcery.com>
72877
72878 * conform/conformtest.pl: Remove duplicate typed-constant
72879 handling.
72880
72881 2012-04-28 David S. Miller <davem@davemloft.net>
72882
72883 * Makerules (%.abilist): Add vpath on sysdep_dirs.
72884 (check-abi-%): Remove AWK script prerequisite and explicit
72885 abilist directory.
72886 (check-abi): Rewrite to just diff the symlist with the abilist.
72887 (config-tls, config-abi-config): Delete, no longer used.
72888 (update-abi-%): Remove AWK script and explicit abilist directory.
72889 (update-abi): Rewrite to simply compare and conditionally copy the
72890 symlist and the sysdep abilist file. Remove update-abi-config
72891 checks.
72892 * abilist/ld.abilist: Remove.
72893 * abilist/libBrokenLocale.abilist: Remove.
72894 * abilist/libanl.abilist: Remove.
72895 * abilist/libcrypt.abilist: Remove.
72896 * abilist/libdl.abilist: Remove.
72897 * abilist/librt.abilist: Remove.
72898 * abilist/libthread_db.abilist: Remove.
72899 * abilist/libutil.abilist: Remove.
72900 * scripts/extract-abilist.awk: Remove.
72901 * scripts/merge-abilist.awk: Remove.
72902 * sysdeps/generic/libcidn.abilist: New file.
72903 * sysdeps/generic/libnss_compat.abilist: New file.
72904 * sysdeps/generic/libnss_db.abilist: New file.
72905 * sysdeps/generic/libnss_dns.abilist: New file.
72906 * sysdeps/generic/libnss_files.abilist: New file.
72907 * sysdeps/generic/libnss_hesiod.abilist: New file.
72908 * sysdeps/generic/libnss_nis.abilist: New file.
72909 * sysdeps/generic/libnss_nisplus.abilist: New file.
72910 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72911 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72912 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
72913 file.
72914 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
72915 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
72916 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
72917 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
72918 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
72919 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
72920 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
72921 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
72922 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
72923 file.
72924 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
72925 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
72926 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
72927 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
72928 file.
72929 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
72930 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
72931 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
72932 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
72933 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
72934 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
72935 file.
72936 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
72937 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
72938 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
72939 file.
72940 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
72941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
72942 New file.
72943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
72944 New file.
72945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
72946 New file.
72947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
72948 New file.
72949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
72950 New file.
72951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
72952 New file.
72953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
72954 New file.
72955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
72956 New file.
72957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
72958 New file.
72959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
72960 New file.
72961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
72962 New file.
72963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
72964 New file.
72965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
72966 New file.
72967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
72968 file.
72969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
72970 New file.
72971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
72972 New file.
72973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
72974 file.
72975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
72976 New file.
72977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
72978 New file.
72979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
72980 file.
72981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
72982 New file.
72983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72984 New file.
72985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
72986 New file.
72987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
72988 New file.
72989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
72990 New file.
72991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
72992 New file.
72993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
72994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
72995 file.
72996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
72997 New file.
72998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
72999 file.
73000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73001 file.
73002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73003 file.
73004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73005 file.
73006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73007 file.
73008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73009 New file.
73010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73011 file.
73012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73013 file.
73014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73015 New file.
73016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73017 file.
73018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73020 file.
73021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73022 New file.
73023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73024 file.
73025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73026 file.
73027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73028 file.
73029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73030 file.
73031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73032 file.
73033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73034 New file.
73035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73036 file.
73037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73038 file.
73039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73040 New file.
73041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73042 file.
73043 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73044 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73045 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73046 file.
73047 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73048 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73049 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73050 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73051 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73052 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73053 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73054 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73055 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73056 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73059 file.
73060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73061 New file.
73062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73063 file.
73064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73065 file.
73066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73067 file.
73068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73069 file.
73070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73071 file.
73072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73073 New file.
73074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73075 New file.
73076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73077 file.
73078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73079 New file.
73080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73081 file.
73082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73084 file.
73085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73086 New file.
73087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73088 file.
73089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73090 file.
73091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73092 file.
73093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73094 file.
73095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73096 file.
73097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73098 New file.
73099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73100 New file.
73101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73102 file.
73103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73104 New file.
73105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73106 file.
73107
73108 2012-04-28 Joseph Myers <joseph@codesourcery.com>
73109
73110 * conform/conformtest.pl: Fix typo in handling typed-constant from
73111 allow-header.
73112
73113 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73114
73115 * README: Cut down references to pre-2.6 Linux kernels and
73116 Linuxthreads. Update lists of configurations in libc and ports
73117 and sort alphabetically. Say "or newer" with Linux kernel version
73118 requirements.
73119
73120 * config.h.in [IS_IN_build]: Allow compiling without optimization.
73121
73122 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
73123
73124 [BZ #887]
73125 * math/libm-test.inc (logb_test_downward): New test to expose
73126 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73127 rounding mode.
73128
73129 2012-04-27 Joseph Myers <joseph@codesourcery.com>
73130
73131 [BZ #14027]
73132 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73133 to be done.
73134 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73135 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73136
73137 2012-04-26 Joseph Myers <joseph@codesourcery.com>
73138
73139 * sysdeps/unix/i386/brk.S: Remove file.
73140 * sysdeps/unix/i386/dl-brk.S: Likewise.
73141 * sysdeps/unix/i386/pipe.S: Likewise.
73142 * sysdeps/unix/i386/sigreturn.S: Likewise.
73143 * sysdeps/unix/i386/syscall.S: Likewise.
73144 * sysdeps/unix/i386/vfork.S: Likewise.
73145 * sysdeps/unix/i386/wait.S: Likewise.
73146
73147 * sysdeps/unix/common/tcsendbrk.c: Move to ...
73148 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73149
73150 * configure.in (arm*-none*): Do not allow without
73151 --enable-hacker-mode.
73152 (netbsd*): Remove case setting base_os.
73153 (386bsd*): Likewise.
73154 (freebsd*): Likewise.
73155 (bsdi*): Likewise.
73156 (osf*): Likewise.
73157 (sunos*): Likewise.
73158 (ultrix*): Likewise.
73159 (newsos*): Likewise.
73160 (dynix*): Likewise.
73161 (*bsd*): Likewise.
73162 (sysv*): Likewise.
73163 (isc*): Likewise.
73164 (esix*): Likewise.
73165 (sco*): Likewise.
73166 (minix*): Likewise.
73167 (irix4*): Likewise.
73168 (irix6*): Likewise.
73169 (solaris[2-9]*): Likewise.
73170 (none): Likewise.
73171 * configure: Regenerated.
73172
73173 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73174
73175 [BZ #11521]
73176 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73177 overflow or cancellation in calculating denominator.
73178 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73179 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73180 down expression to avoid unexpected rounding in newer GCCs.
73181 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73182
73183 2012-04-26 David S. Miller <davem@davemloft.net>
73184
73185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73186 long-double compat symbols.
73187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73200
73201 2012-04-25 David S. Miller <davem@davemloft.net>
73202
73203 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73204 HWCAP_* values only after the memory barriers have been defined.
73205 (atomic_full_barrier): Define.
73206 (atomic_read_barrier): Define.
73207 (atomic_write_barrier): Define.
73208
73209 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
73210
73211 * shlib-versions: Add libgcc_s version information.
73212 * sysdeps/generic/libgcc_s.h: Remove.
73213 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73214 libgcc_s.h.
73215 * sysdeps/gnu/unwind-resume.c: Likewise.
73216 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73217
73218 2012-04-25 David S. Miller <davem@davemloft.net>
73219
73220 * sysdeps/unix/sparc/brk.S: Delete.
73221 * sysdeps/unix/sparc/dl-brk.S: Delete.
73222 * sysdeps/unix/sparc/pipe.S: Delete.
73223 * sysdeps/unix/sparc/sysdep.S: Delete.
73224 * sysdeps/unix/sparc/sysdep.h: Delete.
73225 * sysdeps/unix/sparc/vfork.S: Delete.
73226 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73227 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73228 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73229 (ret_ERRVAL, r0, r1, MOVE): Define.
73230 (JUMPTARGET): Remove.
73231 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73232 sysdeps/unix/sparc/sysdep.h
73233 (ENTRY, END): Remove.
73234 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73235
73236 2012-04-25 Joseph Myers <joseph@codesourcery.com>
73237
73238 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73239 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73240 -DIS_IN_build.
73241
73242 * timezone/README: Update upstream location and email address for
73243 tzcode and tzdata.
73244 * timezone/zdump.c: Update from tzcode 2012b.
73245 * timezone/zic.c: Likewise.
73246
73247 * configure.in (libc_cv_as_needed): Remove test.
73248 * configure: Regenerated.
73249 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73250 conditional definition.
73251 [$(have-as-needed) != yes] (no-as-needed): Likewise.
73252 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73253 * config.make.in (have-as-needed): Remove variable.
73254
73255 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
73256 Paul Pluzhnikov <ppluzhnikov@google.com>
73257
73258 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73259 strings correctly.
73260
73261 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
73262
73263 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73264 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73265 * sysdeps/sh/strlen.S: Likewise.
73266
73267 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73268
73269 * sysdeps/unix/fork.S: Remove file.
73270 * sysdeps/unix/i386/fork.S: Likewise.
73271 * sysdeps/unix/sparc/fork.S: Likewise.
73272
73273 * sysdeps/unix/system.c: Remove file.
73274 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73275
73276 * sysdeps/unix/getegid.S: Remove file.
73277 * sysdeps/unix/geteuid.S: Likewise.
73278
73279 2012-04-24 Roland McGrath <roland@hack.frob.com>
73280
73281 * scripts/check-localplt.awk: New file.
73282 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73283 of diff.
73284 * scripts/data/localplt-generic.data: Add a comment.
73285
73286 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73287 NODE when __dir_mkfile failed.
73288 * sysdeps/mach/hurd/symlinkat.c: Likewise.
73289 Reported by Ludovic Courtès <ludo@gnu.org>.
73290
73291 2012-04-24 Andreas Jaeger <aj@suse.de>
73292
73293 * Makerules (common-clean): Also remove gen-as-const-headers
73294 files.
73295
73296 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73297
73298 * Makerules (native-compile): Do not change working directory for
73299 build. Use $(OUTPUT_OPTION) in command.
73300 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73301
73302 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73303
73304 [BZ #13886]
73305 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73306 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73307 * math/libm-test.inc (floor_test): Add more tests.
73308 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73309
73310 2012-04-24 Joseph Myers <joseph@codesourcery.com>
73311
73312 * sysdeps/unix/getdents.c: Remove file.
73313 * sysdeps/unix/sysv/getdents.c: Likewise.
73314 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73315
73316 * sysdeps/unix/syscalls.list (madvise): Add syscall from
73317 sysdeps/unix/mman/syscalls.list.
73318 (mmap): Likewise.
73319 (mprotect): Likewise.
73320 (msync): Likewise.
73321 (munmap): Likewise.
73322 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73323 * sysdeps/unix/mman/syscalls.list: Remove.
73324 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73325
73326 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73327 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73328 * configure: Regenerated.
73329 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73330 $(libgcc_s_suffix).
73331 * config.make.in (libgcc_s_suffix): Remove variable.
73332
73333 2012-04-23 Joseph Myers <joseph@codesourcery.com>
73334
73335 * sysdeps/unix/sysv/gethostname.c: Move to ...
73336 * sysdeps/posix/gethostname.c: ... here.
73337
73338 * sysdeps/unix/execve.S: Remove file.
73339
73340 * sysdeps/unix/_exit.S: Remove file.
73341
73342 2012-04-23 Andreas Jaeger <aj@suse.de>
73343
73344 [BZ #13739]
73345 * manual/Makefile: Remove make dist support, there's no
73346 need for a stand-alone documentation tar ball.
73347 (TEXI2DVI): Define always, it's not in Makeconfig.
73348 (dist): Removed.
73349 (tar-it): Removed.
73350 (edition): Removed.
73351 (glibc-doc-$(edition).tar): Removed
73352 (%.Z): Removed.
73353 (%.gz): Removed.
73354 (%.uu): Removed.
73355 (ETAGS): Remove, it's in Makeconfig.
73356 (move-if-change): Remove, it's in Makeconfig.
73357
73358 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
73359
73360 [BZ #13970]
73361 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73362 (strtod, strtof, strtold, strtol, strtoul, strtoq)
73363 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73364 (strtod_l, strtof_l, strtold_l): Remove __wur.
73365 It is not necessarily an error to ignore strtol's return value.
73366 One can reliably look at the stored endptr to decide whether
73367 the number had valid syntax.
73368
73369 2012-04-21 Andreas Jaeger <aj@suse.de>
73370
73371 [BZ #13739]
73372 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73373
73374 2012-04-21 Joseph Myers <joseph@codesourcery.com>
73375
73376 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73377 * sysdeps/unix/sysv/Versions: Remove file.
73378
73379 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
73380
73381 [BZ #13927]
73382 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73383
73384 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
73385
73386 [BZ #7064]
73387 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73388 version from __vm86.
73389
73390 2012-04-20 Joseph Myers <joseph@codesourcery.com>
73391
73392 * sysdeps/unix/common/lxstat.c: Remove file.
73393 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73394
73395 * sysdeps/unix/sysv/Makefile: Remove file.
73396
73397 * sysdeps/unix/sysv/direct.h: Remove file.
73398
73399 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73400 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73401 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73402 * sysdeps/unix/sysv/bits/signum.h: Likewise.
73403 * sysdeps/unix/sysv/bits/stat.h: Likewise.
73404 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73405 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73406
73407 * sysdeps/unix/sysv/setrlimit.c: Remove file.
73408
73409 * sysdeps/unix/xmknod.c: Remove file.
73410 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73411
73412 * sysdeps/unix/sysv/settimeofday.c: Remove file.
73413
73414 * sysdeps/unix/sysv/i386/time.S: Remove file.
73415
73416 * sysdeps/unix/fxstat.c: Remove file.
73417 * sysdeps/unix/xstat.c: Likewise.
73418 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73419
73420 * sysdeps/unix/sysv/sigaction.c: Remove file.
73421
73422 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73423 (sysdep_headers): Remove variable.
73424 [termio.h not in sysdep_headers] (generated): Likewise.
73425 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73426 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73427 * sysdeps/unix/sysv/tcdrain.c: Likewise.
73428 * sysdeps/unix/sysv/tcflow.c: Likewise.
73429 * sysdeps/unix/sysv/tcflush.c: Likewise.
73430 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73431 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73432 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73433 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73434 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73435
73436 * sysdeps/unix/siglist.c: Remove file.
73437
73438 * sysdeps/unix/getppid.S: Remove file.
73439
73440 * sysdeps/unix/mkdir.c: Remove file.
73441 * sysdeps/unix/rmdir.c: Likewise.
73442
73443 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
73444
73445 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73446 ERR_MAX value.
73447 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73448 errlist-compat value.
73449
73450 2012-04-18 David S. Miller <davem@davemloft.net>
73451
73452 * sysdeps/generic/memcopy.h (reg_char): Delete.
73453 * debug/strcat_chk.c: Use char, not reg_char.
73454 * debug/strcpy_chk.c: Likewise.
73455 * debug/strncat_chk.c: Likewise.
73456 * debug/strncpy_chk.c: Likewise.
73457 * string/memchr.c: Likewise.
73458 * string/memrchr.c: Likewise.
73459 * string/rawmemchr.c: Likewise.
73460 * string/strcat.c: Likewise.
73461 * string/strchr.c: Likewise.
73462 * string/strchrnul.c: Likewise.
73463 * string/strcmp.c: Likewise.
73464 * string/strcpy.c: Likewise.
73465 * string/strncat.c: Likewise.
73466 * string/strncmp.c: Likewise.
73467 * string/strncpy.c: Likewise.
73468
73469 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73470
73471 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73472 __builtin_memcopy is called when src and dest ranges are known to not
73473 overlap.
73474
73475 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73476
73477 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73478 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73479 fwd_align_merge macro call.
73480 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73481 bwd_align_merge macro call.
73482 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73483
73484 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
73485
73486 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73487 bwd_align_merge macros.
73488 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73489 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73490 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73491
73492 2012-04-18 David S. Miller <davem@davemloft.net>
73493
73494 * sysdeps/sparc/sparc64/memcopy.h: Delete.
73495
73496 2012-04-18 Andreas Jaeger <aj@suse.de>
73497
73498 [BZ# 6794]
73499 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73500 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73501 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73502
73503 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73504 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73505 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73506
73507 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73508 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73509 Adjust for changed ldbl-128 files.
73510
73511 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73512 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73513 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73514
73515 2012-04-17 David S. Miller <davem@davemloft.net>
73516
73517 * sysdeps/sparc/sparc32/memcopy.h: Delete.
73518
73519 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
73520
73521 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73522 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73523 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73524 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73525 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73526 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73527
73528 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73529
73530 [BZ #6794]
73531 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73532 * math/libm-test.inc: Add ilogb errno and exception tests.
73533 * math/w_ilogb.c: New file: ilogb wrapper.
73534 * math/w_ilogbf.c: New file: ilogbf wrapper.
73535 * math/w_ilogbl.c: New file: ilogbl wrapper.
73536 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73537 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73538 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73539 exception being thrown with 0.0 as argument.
73540 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73541 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73542 exception being thrown with 0.0 as argument.
73543 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73544 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73545 exception being thrown with 0.0 as argument.
73546 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73547 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73548 exception being thrown with 0.0 as argument.
73549 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73550 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73551 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73552 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73553 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73554 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73555 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73556 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73557 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73558
73559 2012-04-17 Petr Baudis <pasky@ucw.cz>
73560
73561 * include/sys/uio.h: Change __vector to __iovec to avoid clash
73562 with altivec.
73563
73564 2012-04-16 Marek Polacek <polacek@redhat.com>
73565
73566 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73567
73568 2012-04-16 Marek Polacek <polacek@redhat.com>
73569
73570 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73571 operands of fdivp instruction.
73572
73573 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73574
73575 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73576 * elf/tst-auditmod3b.c: Likewise.
73577 * elf/tst-auditmod4b.c: Likewise.
73578 * elf/tst-auditmod5b.c: Likewise.
73579 * elf/tst-auditmod6b.c: Likewise.
73580 * elf/tst-auditmod6c.c: Likewise.
73581 * elf/tst-auditmod7b.c: Likewise.
73582 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73583 * sysdeps/x86_64/preconfigure.in: Likewise.
73584 * sysdeps/x86_64/preconfigure: Regenerated.
73585
73586 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
73587
73588 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73589 __ILP32__.
73590
73591 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
73592
73593 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73594 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73595
73596 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
73597
73598 [BZ #13973]
73599 * locale/iso-639.def: Fix gl language name. Spotted by
73600 Yaron Shahrabani.
73601
73602 2012-04-12 Roland McGrath <roland@hack.frob.com>
73603
73604 [BZ #2074]
73605 * libio/libio.h (__io_write_fn): Update comment.
73606
73607 2012-04-12 Petr Baudis <pasky@ucw.cz>
73608
73609 [BZ #2074]
73610 * stdio.texi (Hook Functions): The user provided writer function
73611 is not allowed to return -1.
73612
73613 2012-04-11 David S. Miller <davem@davemloft.net>
73614
73615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73616
73617 2012-04-11 Mike Frysinger <vapier@gentoo.org>
73618
73619 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73620 Add a leading slash to rtkaio.
73621
73622 2012-04-11 Jim Meyering <meyering@redhat.com>
73623
73624 [BZ #11959]
73625 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73626 It is not necessarily an error to ignore fwrite's return
73627 value. One can reliably use ferror to test for errors after
73628 the fact.
73629
73630 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73631
73632 * bits/types.h (__snseconds_t): New type.
73633 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73634
73635 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73636 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73637 (__SNSECONDS_T_TYPE): Likewise.
73638 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73639 (__SNSECONDS_T_TYPE): Likewise.
73640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73641 (__SNSECONDS_T_TYPE): Likewise.
73642
73643 2012-04-10 Andreas Jaeger <aj@suse.de>
73644
73645 [BZ #2636]
73646 * manual/time.texi (Processor Time): Return type of times is
73647 elapsed real time since an arbitrary point in the past.
73648 (CPU Time): Move CLK_TCK from here...
73649 (Processor Time): ...to here. Correct description.
73650 * manual/conf.texi (Constants for Sysconf): Correct description of
73651 _SC_CLK_TCK.
73652
73653 2012-04-10 David S. Miller <davem@davemloft.net>
73654
73655 [BZ #13967]
73656 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73657 where the is a gap between DT_REL(A) and DT_JMPREL.
73658
73659 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
73660
73661 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73662 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73663 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73664
73665 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
73666
73667 * elf/dl-support.c (_dl_inhibit_cache): New variable.
73668 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73669 (dl_main): Handle --inhibit-cache.
73670 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73671 _dl_inhibit_cache.
73672 * elf/dl-load.c (_dl_map_object): Use it.
73673 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73674
73675 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73676
73677 [BZ #13872]
73678 * sysdeps/i386/fpu/e_powl.S (p78): New object.
73679 (__ieee754_powl): Saturate large exponents rather than testing for
73680 overflow of y*log2(x).
73681 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73682 * math/libm-test.inc (pow_test): Do not permit spurious overflow
73683 exceptions.
73684
73685 [BZ #11521]
73686 * math/s_ctan.c: Include <float.h>.
73687 (__ctan): Avoid internal overflow or cancellation in calculating
73688 denominator.
73689 * math/s_ctanf.c: Likewise.
73690 * math/s_ctanl.c: Likewise.
73691 * math/s_ctanh.c: Likewise.
73692 * math/s_ctanhf.c: Likewise.
73693 * math/s_ctanhl.c: Likewise.
73694 * math/libm-test.inc (ctan_test): Add more tests.
73695 (ctanh_test): Likewise.
73696 * sysdeps/i386/fpu/libm-test-ulps: Update.
73697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73698
73699 2012-04-09 Andreas Jaeger <aj@suse.de>
73700
73701 [BZ #6894]
73702 * manual/filesys.texi (Directory Entries): Mention that d_namlen
73703 is an optional BSD extension.
73704
73705 [BZ #10254]
73706 * manual/stdio.texi (Opening Streams): Document additional fopen
73707 parameters.
73708
73709 2012-04-09 Roland McGrath <roland@hack.frob.com>
73710
73711 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73712 %eax without telling the compiler.
73713
73714 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
73715
73716 [BZ # 13963]
73717 * manual/install.texi: Use sourceware.org.
73718
73719 2012-04-09 Joseph Myers <joseph@codesourcery.com>
73720
73721 [BZ #13873]
73722 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73723 (__ieee754_pow): Generate overflow and underflow using huge*huge
73724 and tiny*tiny rather than just returning constant infinity or zero
73725 for large exponents.
73726 * math/libm-test.inc (pow_test): Require overflow exceptions for
73727 applicable cases of large exponents.
73728
73729 [BZ #706]
73730 * sysdeps/i386/fpu/e_pow.S (p10): New object.
73731 (__ieee754_pow): Use iterative multiplication algorithm only for
73732 integer exponents with absolute value below 1024. Check for odd
73733 integer exponents when using algorithm for real exponents.
73734 * math/libm-test.inc (pow_test): Add more tests.
73735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73736
73737 2012-04-08 Joseph Myers <joseph@codesourcery.com>
73738
73739 [BZ #13705]
73740 * math/libm-test.inc (exp_test): Do not allow overflow exception
73741 on underflow test.
73742
73743 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
73744
73745 [BZ #13705]
73746 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73747 instead of __kernel_standard_f.
73748
73749 2012-04-08 Mike Frysinger <vapier@gentoo.org>
73750
73751 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73752 * sysdeps/x86_64/memset_chk.S: Likewise.
73753
73754 2012-04-08 Andreas Jaeger <aj@suse.de>
73755
73756 [BZ #10153]
73757 * manual/startup.texi (Environment Access): Describe return value
73758 for putenv and setenv.
73759
73760 [BZ #6895]
73761 * manual/filesys.texi (Directory Entries): Add description for
73762 DT_LNK.
73763
73764 [BZ #6890]
73765 * manual/filesys.texi (Directory Entries): Clarify that it's file
73766 system not operating system in the description of DT_UNKNOWN.
73767
73768 [BZ #6578]
73769 * manual/syslog.texi (closelog): Fix reference, it's openlog.
73770
73771 2012-04-08 Stephen Compall <s11@member.fsf.org>
73772
73773 [BZ #6649]
73774 * manual/llio.texi (Opening and Closing Files): Add cross
73775 reference to explain mode argument.
73776
73777 2012-04-07 Mike Frysinger <vapier@gentoo.org>
73778
73779 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73780 * sysdeps/x86_64/memset_chk.S: Likewise.
73781
73782 2012-04-07 David S. Miller <davem@davemloft.net>
73783
73784 * elf/elf.h (R_SPARC_WDISP10): Define.
73785 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73786 R_SPARC_SIZE32.
73787 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73788 R_SPARC_SIZE64 and R_SPARC_H34.
73789
73790 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
73791
73792 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73793 conditions and remove no longer applicable assertion.
73794
73795 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73796
73797 * bits/byteswap.h: Include <features.h>.
73798 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73799 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73800
73801 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
73802
73803 * bits/byteswap.h (__bswap_16): Removed.
73804 Include <bits/byteswap-16.h> to get __bswap_16.
73805 * sysdeps/i386/bits/byteswap.h: Likewise.
73806 * sysdeps/s390/bits/byteswap.h: Likewise.
73807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73808 * bits/byteswap-16.h: New file.
73809 * sysdeps/i386/bits/byteswap-16.h: Likewise.
73810 * sysdeps/s390/bits/byteswap-16.h: Likewise.
73811 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73812 * string/Makefile (headers): Add bits/byteswap-16.h.
73813
73814 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
73815
73816 [BZ #13895]
73817 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73818 extra indirection.
73819 * nss/Makefile (tests-static, tests): Add tst-nss-static.
73820 * nss/tst-nss-static.c: New.
73821
73822 2012-04-06 Robert Millan <rmh@gnu.org>
73823
73824 [BZ #6486]
73825 * manual/llio.texi (File Position Primitive): lseek
73826 refers to WHENCE when it really means OFFSET.
73827
73828 2012-04-06 Andreas Jaeger <aj@suse.de>
73829
73830 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73831 strncmp declarations.
73832
73833 * abilist/libc.abilist: Add __poll and __ppoll.
73834
73835 2012-04-05 David S. Miller <davem@davemloft.net>
73836
73837 * scripts/check-local-headers.sh: Accept a host triplet in the
73838 path matched by the exclude regexp.
73839
73840 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73841 definition.
73842 * sysdeps/powerpc/powerpc32/dl-machine.h
73843 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73844 * sysdeps/s390/s390-32/dl-machine.h
73845 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73846 * sysdeps/sparc/sparc32/dl-machine.h
73847 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73848 * sysdeps/sparc/sparc64/dl-machine.h
73849 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73850
73851 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73852 lazy binding.
73853 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73854 undefined symbol errors.
73855
73856 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73857 DT_NEEDED entries.
73858
73859 2012-04-05 Michael Matz <matz@suse.de>
73860
73861 [BZ #13592]
73862 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73863
73864 2012-04-05 Andreas Jaeger <aj@suse.de>
73865
73866 [BZ #13908]
73867 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73868 comment.
73869
73870 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73871
73872 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73873 which ROUND is no valid rounding mode.
73874
73875 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73876
73877 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73878 read again.
73879 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73880
73881 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73882
73883 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73884 an exception using FPU order intentionally.
73885
73886 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
73887
73888 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73889 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73890 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73891 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73892
73893 2012-04-05 Simon Josefsson <simon@josefsson.org>
73894
73895 [BZ #12340]
73896 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73897 EINVAL when BUFLEN is too smal.
73898
73899 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
73900
73901 [BZ #13553]
73902 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73903 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73904
73905 2012-04-03 Andreas Jaeger <aj@suse.de>
73906
73907 [BZ #13938]
73908 * manual/setjmp.texi (System V contexts): Fix sentence.
73909
73910 [BZ #13926]
73911 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73912 New macro for this case.
73913 [!__GNUC__] (__bswap_64): New inline function for this case.
73914 * sysdeps/x86_64/bits/byteswap.h: Likewise.
73915 * bits/byteswap.h: Likewise.
73916 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
73917 ull, guard with __GLIBC_HAVE_LONG_LONG.
73918
73919 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
73920 __GLIBC_HAVE_LONG_LONG.
73921
73922 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
73923 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
73924
73925 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73926
73927 [BZ #13691]
73928 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
73929 inptr and inend, rather than using last_ch.
73930
73931 2012-04-02 David S. Miller <davem@davemloft.net>
73932
73933 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
73934 * stdio-common/printf-parse.h (read_int): Change return type to
73935 'int', return -1 on INT_MAX overflow.
73936 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
73937 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
73938 overflows INT_MAX. Check for overflow of in-format-string precision
73939 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
73940 SIZE_MAX not INT_MAX for integer overflow test.
73941 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
73942 skip the construct in the format string but do not record anything.
73943 * stdio-common/bug22.c: Adjust to test both width/prevision
73944 INT_MAX overflow as well as total length INT_MAX overflow. Check
73945 explicitly for proper errno values.
73946
73947 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
73948
73949 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
73950 CHAR_MAX.
73951 * string/test-strcmp.c [! WIDE]: Likewise.
73952 * time/tst-mktime2.c: Likewise for INT_MAX.
73953 * string/test-string.h: #include <sys/param.h> for MIN.
73954
73955 * csu/init-first.c (__libc_init_first): Call __ctype_init.
73956 * sysdeps/i386/init-first.c (init): Likewise.
73957 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
73958 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
73959 * sysdeps/sh/init-first.c (init): Likewise.
73960
73961 2012-04-01 Ulrich Drepper <drepper@gmail.com>
73962
73963 * po/ru.po: Update from translation team.
73964 * po/vi.po: Likewise.
73965
73966 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
73967
73968 * resolv/nss_dns/dns-host.c: Merge copyright years.
73969
73970 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
73971
73972 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73973 Optimize memcpy with prefetch if
73974 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
73975 src, dst pointers have unequal 16 byte alignments.
73976
73977 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
73978
73979 [BZ #13928]
73980 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
73981 from a CNAME entry and return the minimum ttl for the query.
73982 (gaih_getanswer_slice): Likewise.
73983
73984 2012-03-30 Jeff Law <law@redhat.com>
73985
73986 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
73987 due to long keys.
73988 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
73989 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
73990
73991 * resolv/nss_dns/dns-host.c: Update copyright year.
73992
73993 2012-03-30 Ulrich Drepper <drepper@gmail.com>
73994
73995 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
73996 requests to save a system call. Fix check that all bytes are sent.
73997
73998 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
73999 comments for sendmmsg.
74000
74001 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74002
74003 [BZ #13691]
74004 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74005 with only 1 character between 0x0041 and 0x01b0.
74006 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74007 * wcsmbs/tst-mbsnrtowcs.c: New file.
74008
74009 2012-03-29 David S. Miller <davem@davemloft.net>
74010
74011 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74012 small copies by hand.
74013
74014 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
74015
74016 [BZ #13761]
74017 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74018 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74019 group memberships.
74020
74021 2012-03-28 David S. Miller <davem@davemloft.net>
74022
74023 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74024 that branches into memcpy.
74025 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74026 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74027 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74028 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74030 bits.
74031 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74032 implementation too.
74033 * sysdeps/sparc/mempcpy.S: New file.
74034
74035 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74036 the IFUNC routine in the libc case.
74037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74038
74039 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74040 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74041 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74042 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74043 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74044 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74045 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74046 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74047
74048 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74049 loop to 256 bytes instead of 64 bytes and fix test signedness.
74050
74051 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74052 * sysdeps/sparc/sparc32/Makefile: rather than here...
74053 * sysdeps/sparc/sparc64/Makefile: and here.
74054
74055 2012-03-28 Ulrich Drepper <drepper@gmail.com>
74056
74057 * malloc/mallocbug.c: Avoid warnings about unused variables.
74058
74059 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
74060
74061 [BZ #13760]
74062 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74063 in the right place. Discard and retry query if response is
74064 larger than input buffer size.
74065
74066 2012-03-28 Joseph Myers <joseph@codesourcery.com>
74067
74068 [BZ #369]
74069 [BZ #2678]
74070 [BZ #3866]
74071 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74072 x for large integer exponent.
74073 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74074 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
74075 sign of result as needed afterwards.
74076 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74077 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74078 result for underflowing pow the same as for overflow.
74079 (__kernel_standard_l): Handle powl overflow and underflow here
74080 rather than calling __kernel_standard.
74081 * math/libm-test.inc (pow_test): Add more tests.
74082
74083 [BZ #3868]
74084 [BZ #13879]
74085 [BZ #13910]
74086 [BZ #13911]
74087 [BZ #13912]
74088 [BZ #13913]
74089 [BZ #13915]
74090 [BZ #13916]
74091 [BZ #13917]
74092 [BZ #13918]
74093 [BZ #13919]
74094 [BZ #13920]
74095 [BZ #13921]
74096 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74097 * sysdeps/ieee754/k_standard.c: Include <float.h>.
74098 (__kernel_standard_l): New function.
74099 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74100 __kernel_standard.
74101 * math/w_acosl.c (__acosl): Likewise.
74102 * math/w_asinl.c (__asinl): Likewise.
74103 * math/w_atan2l.c (__atan2l): Likewise.
74104 * math/w_atanhl.c (__atanhl): Likewise.
74105 * math/w_coshl.c (__coshl): Likewise.
74106 * math/w_exp10l.c (__exp10l): Likewise.
74107 * math/w_exp2l.c (__exp2l): Likewise.
74108 * math/w_fmodl.c (__fmodl): Likewise.
74109 * math/w_hypotl.c (__hypotl): Likewise.
74110 * math/w_j0l.c (__j0l, __y0l): Likewise.
74111 * math/w_j1l.c (__j1l, __y1l): Likewise.
74112 * math/w_jnl.c (__jnl, __ynl): Likewise.
74113 * math/w_lgammal.c (__lgammal): Likewise.
74114 * math/w_log10l.c (__log10l): Likewise.
74115 * math/w_log2l.c (__log2l): Likewise.
74116 * math/w_logl.c (__logl): Likewise.
74117 * math/w_powl.c (__powl): Likewise.
74118 * math/w_remainderl.c (__remainderl): Likewise.
74119 * math/w_scalbl.c (sysv_scalbl): Likewise.
74120 * math/w_sinhl.c (__sinhl): Likewise.
74121 * math/w_sqrtl.c (__sqrtl): Likewise.
74122 * math/w_tgammal.c (__tgammal): Likewise.
74123 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74124 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74125 * math/libm-test.inc (acos_test): Add more tests.
74126 (acosh_test): Likewise.
74127 (asin_test): Likewise.
74128 (atanh_test): Likewise.
74129 (exp_test): Likewise.
74130 (exp10_test): Likewise.
74131 (exp2_test): Likewise.
74132 (expm1_test): Likewise.
74133 (lgamma_test): Likewise.
74134 (log_test): Likewise.
74135 (log10_test): Likewise.
74136 (log1p_test): Likewise.
74137 (log2_test): Likewise.
74138 (pow_test): Do not allow some spurious overflow exceptions.
74139 (sqrt_test): Add more tests.
74140 (tgamma_test): Likewise.
74141 (y0_test): Likewise.
74142 (y1_test): Likewise.
74143 (yn_test): Likewise.
74144
74145 2012-03-27 Anton Blanchard <anton@samba.org>
74146
74147 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74148 MAP_HUGETLB.
74149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74152
74153 2012-03-27 David S. Miller <davem@davemloft.net>
74154
74155 * conform/Makefile: Run run-conformtest.sh using $(BASH).
74156
74157 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74158 have-as-vis3 check.
74159
74160 2012-03-27 Andreas Jaeger <aj@suse.de>
74161
74162 * sysdeps/x86_64/elf/configure.in: Moved to ...
74163 * sysdeps/x86_64/configure.in: ... here.
74164 * sysdeps/x86_64/elf/start.S: Moved to ...
74165 * sysdeps/x86_64/start.S: ... here.
74166 * sysdeps/x86_64/elf/configure: Delete.
74167
74168 * sysdeps/x86_64/configure.in: Merge contents from
74169 sysdeps/i386/configure.in (without i686 check).
74170
74171 * sysdeps/i386/elf/Versions: Merge into ...
74172 * sysdeps/i386/Versions: ... this.
74173 * sysdeps/i386/elf/Versions: Delete file.
74174 * sysdeps/i386/elf/start.S: Moved to ...
74175 * sysdeps/i386/start.S: ...here.
74176 * sysdeps/i386/elf/configure.in: Merge into...
74177 * sysdeps/i386/configure.in: ...here.
74178 * sysdeps/i386/elf/configure.in: Delete file.
74179 * sysdeps/i386/elf/configure: Delete file.
74180
74181 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74182 * debug/backtracesyms.c: ... here.
74183 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74184 * debug/backtracesymsfd.c: ... here.
74185 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74186 * sysdeps/generic/ifunc-sel.h: ... here.
74187
74188 * sysdeps/unix/i386/start.c: Delete file.
74189 * sysdeps/unix/sparc/start.c: Delete file.
74190 * sysdeps/unix/start.c: Delete file.
74191
74192 * sysdeps/sh/elf/configure.in: Moved to ...
74193 * sysdeps/sh/configure.in: ... here.
74194 * sysdeps/sh/elf/start.S: Moved to ...
74195 * sysdeps/sh/start.S: ... here.
74196 * sysdeps/sh/elf/configure: Delete file.
74197
74198 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74199 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74200 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74201 * sysdeps/powerpc/powerpc64/entry.h: ... here.
74202 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74203 * sysdeps/powerpc/powerpc64/start.S: here.
74204 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74205 * sysdeps/powerpc/powerpc64/Makefile: ... this.
74206 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74207 * sysdeps/powerpc/powerpc64/configure.in: ... this.
74208 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74209
74210 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74211 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74212 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74213 * sysdeps/powerpc/powerpc32/start.S: ... here.
74214 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74215 * sysdeps/powerpc/powerpc32/configure.in: ... this.
74216 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74217
74218 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74219 * sysdeps/powerpc/ifunc-sel.h: ... here.
74220 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74221 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74222
74223 * sysdeps/sparc/elf/configure.in: Moved to ...
74224 * sysdeps/sparc/configure.in: ... here.
74225 * sysdeps/sparc/elf/configure: Delete file.
74226 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74227 * sysdeps/sparc/sparc32/start.S: ... here.
74228 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74229 * sysdeps/sparc/sparc64/start.S: ... here.
74230 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74231 * sysdeps/sparc/sparc32/Makefile: ... this.
74232 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74233 * sysdeps/sparc/sparc64/Makefile: ... this.
74234
74235 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74236 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74237 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74238 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74239 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74240 * sysdeps/s390/s390-32/setjmp.S: ... here.
74241 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74242 * sysdeps/s390/s390-32/configure.in: ... here.
74243 * sysdeps/s390/s390-32/elf/configure: Delete file.
74244 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74245 * sysdeps/s390/s390-32/start.S: ... here.
74246
74247 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74248 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74249 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74250 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74251 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74252 * sysdeps/s390/s390-64/setjmp.S: ... here.
74253 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74254 * sysdeps/s390/s390-64/configure.in: ... here
74255 * sysdeps/s390/s390-64/elf/configure: Delete file.
74256 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74257 * sysdeps/s390/s390-64/start.S: ... here.
74258 * sysdeps/s390/s390-64/elf/configure: Delete.
74259
74260 * configure.in: Remove support for elf directories in sysdeps.
74261
74262 * configure: Regenerated.
74263 * sysdeps/i386/configure: Regenerated.
74264 * sysdeps/powerpc/powerpc32/configure: Regenerated.
74265 * sysdeps/powerpc/powerpc64/configure: Regenerated.
74266 * sysdeps/s390/s390-32/configure: Regenerated.
74267 * sysdeps/s390/s390-64/configure: Regenerated.
74268 * sysdeps/sh/configure: Regenerated.
74269 * sysdeps/sparc/configure: Regenerated.
74270 * sysdeps/x86_64/configure: Regenerated.
74271
74272 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
74273
74274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74275
74276 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74277 denormal result into account.
74278
74279 2012-03-25 Roland McGrath <roland@hack.frob.com>
74280
74281 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74282 Reported by Allan McRae <allan@archlinux.org>.
74283
74284 2012-03-23 Jeff Law <law@redhat.com>
74285
74286 * nss/getnssent.c (__nss_getent): Fix typo.
74287
74288 2012-03-23 David S. Miller <davem@davemloft.net>
74289
74290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74291
74292 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
74293
74294 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74295 to pad to uint64_t for each field.
74296 (dl_tls_index): Replace unsigned long with uint64_t.
74297
74298 2012-03-23 Daniel Jacobowitz <dmj@google.com>
74299 Paul Pluzhnikov <ppluzhnikov@google.com>
74300
74301 [BZ #6528]
74302 * grp/Makefile (otherlibs): Don't set it.
74303 * inet/Makefile (otherlibs): Likewise.
74304 * login/Makefile (otherlibs): Likewise.
74305 * nscd/Makefile (otherlibs): Likewise.
74306 * posix/Makefile (otherlibs): Likewise.
74307 * pwd/Makefile (otherlibs): Likewise.
74308 * rt/Makefile (otherlibs): Likewise.
74309 * sunrpc/Makefile (otherlibs): Likewise.
74310 * nss/Makefile (otherlibs): Likewise.
74311 Add libnss_files to routines and static-only-routines.
74312 ($(objpfx)getent): Remove rule.
74313 * resolv/Makefile: Add libnss_dns and libresolv to routines and
74314 static-only-routines.
74315
74316 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74317
74318 [BZ #13892]
74319 * math/s_cexp.c: Include <float.h>.
74320 (__cexp): Handle exp result overflowing not necessarily
74321 overflowing both real and imaginary parts of result.
74322 * math/s_cexpf.c: Likewise.
74323 * math/s_cexpl.c: Likewise.
74324 * math/libm-test.inc (cexp_test): Add more tests.
74325 * sysdeps/i386/fpu/libm-test-ulps: Update.
74326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74327
74328 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74329
74330 * include/link.h (ELFW): New macro.
74331 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74332 Replace ELF64_R_TYPE with ELFW(R_TYPE).
74333
74334 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74335
74336 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74337 with uint64_t.
74338
74339 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74340
74341 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74342 declaration.
74343 (struct La_x32_retval): Likewise.
74344
74345 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
74346
74347 * sysdeps/x86_64/preconfigure.in: New file.
74348 * sysdeps/x86_64/preconfigure: New generated file.
74349
74350 2012-03-22 Joseph Myers <joseph@codesourcery.com>
74351
74352 [BZ #13824]
74353 * math/e_exp2l.c: Include <float.h>.
74354 (__ieee754_exp2l): Handle overflow and underflow cases
74355 separately. Only pass fractional part of argument to
74356 __ieee754_expl.
74357 * math/libm-test.inc (exp2_test): Add more tests.
74358
74359 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74360 negating x to take absolute value.
74361 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74362 Likewise.
74363 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74364 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74365 Likewise.
74366 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74367 computing low part if x was negated.
74368 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74369
74370 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74371
74372 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74373 la_x32_gnu_pltexit.
74374 (pltexit): Cast int_retval to ptrdiff_t.
74375 * elf/tst-auditmod3b.c: Likewise.
74376 * elf/tst-auditmod4b.c: Likewise.
74377 * elf/tst-auditmod5b.c: Likewise.
74378 * elf/tst-auditmod6b.c: Likewise.
74379 * elf/tst-auditmod6c.c: Likewise.
74380 * elf/tst-auditmod7b.c: Likewise.
74381
74382 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74383 and x32_gnu_pltexit.
74384
74385 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74386 __ELF_NATIVE_CLASS.
74387 (La_x32_regs): New macro.
74388 (La_x32_retval): Likewise.
74389 (la_x32_gnu_pltenter): New function prototype.
74390 (la_x32_gnu_pltexit): Likewise.
74391
74392 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
74393
74394 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74395 exponent.
74396
74397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74398
74399 * configure.in (libc_cv_cc_nofma): Check for option to disable
74400 generation of FMA instructions.
74401 * configure: Regenerate.
74402 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74403 * sysdeps/ieee754/dbl-64/Makefile: New file.
74404 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74405 Remove brandred-fma4.
74406 (CFLAGS-brandred-fma4.c): Remove.
74407 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74408 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74409 define.
74410 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74411 define.
74412
74413 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74414
74415 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74416 LLONG_MAX != LONG_MAX.
74417 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74418 (_fitoa_word): Likewise.
74419 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74420 LLONG_MAX != LONG_MAX.
74421 * stdio-common/_itowa.h: Include <_itoa.h>.
74422 (_itowa_word): Use _ITOA_WORD_TYPE on value.
74423 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
74424 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
74425 only if not defined.
74426 (_ITOA_WORD_TYPE): Likewise.
74427 (_itoa_word): Use _ITOA_WORD_TYPE on value.
74428 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74429
74430 2012-03-21 David S. Miller <davem@davemloft.net>
74431
74432 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74433
74434 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
74435
74436 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74437 of x86_64 when setting libc_cv_slibdir, libdir and
74438 libc_cv_localedir.
74439 * sysdeps/unix/sysv/linux/configure: Regenerated.
74440
74441 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74442
74443 * manual/lang.texi (Old Varargs): Remove section.
74444 (How Variadic): Update menu.
74445 (va_start): Do not mention varargs.h.
74446
74447 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74448 Joseph Myers <joseph@codesourcery.com>
74449
74450 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74451 link test.
74452 * configure: Regenerated.
74453
74454 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
74455
74456 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74457 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74458 conformtest.pl
74459
74460 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74461
74462 * NOTES: Remove.
74463 * Makefile (files-for-dist): Remove NOTES.
74464 (NOTES): Remove rule.
74465 * README: Don't refer to NOTES.
74466 * manual/creature.texi: Don't include macros.texi.
74467 * manual/intro.texi (creature.texi): Remove comment referring to
74468 NOTES.
74469
74470 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74471 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74472 * configure: Regenerated.
74473 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74474 LIBC_TRY_CC_OPTION.
74475 (libc_cv_as_i686): Likewise.
74476 (libc_cv_cc_avx): Likewise.
74477 (libc_cv_cc_sse2avx): Likewise.
74478 (libc_cv_cc_fma4): Likewise.
74479 (libc_cv_cc_novzeroupper): Likewise.
74480 * sysdeps/i386/configure: Regenerated.
74481
74482 [BZ #13883]
74483 * sysdeps/i386/fpu/s_cexp.S: Remove.
74484 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74485 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74486 * math/libm-test.inc (cexp_test): Add more tests.
74487 * sysdeps/i386/fpu/libm-test-ulps: Update.
74488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74489
74490 2012-03-21 Allan McRae <allan@archlinux.org>
74491
74492 * timezone/Makefile: Do not install iso3166.tab and zone.tab
74493
74494 2012-03-21 Joseph Myers <joseph@codesourcery.com>
74495
74496 [BZ #13871]
74497 * math/w_exp2.c: Do not include <float.h>.
74498 (o_threshold, u_threshold): Remove.
74499 (__exp2): Calculate result before checking finiteness and calling
74500 __kernel_standard.
74501 * math/w_exp2f.c: Likewise.
74502 * math/w_exp2l.c: Likewise.
74503 * math/libm-test.inc (exp2_test): Require overflow exception for
74504 1e6 input.
74505
74506 [BZ #3866]
74507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74508 range of signed 64-bit integers before using fistpll. Remove
74509 checks for whether integers fit in mantissa bits.
74510 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74511 the range of signed 32-bit integers before using fistpl. Remove
74512 checks for whether integers fit in mantissa bits.
74513 * sysdeps/i386/fpu/e_powl.S (p64): New object.
74514 (__ieee754_powl): Test for y outside the range of signed 64-bit
74515 integers before using fistpll. Reduce 64-bit values to 63-bit
74516 ones as needed.
74517 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74518 divide-by-zero is raised for zero to large negative powers.
74519 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74520 (__ieee754_powl): Test for y outside the range of signed 64-bit
74521 integers before using fistpll. Reduce 64-bit values to 63-bit
74522 ones as needed.
74523 * math/libm-test.inc (pow_test): Add more tests.
74524
74525 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74526
74527 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74528 <stdio-common/_itoa.h>.
74529 * debug/segfault.c: Likewise.
74530 * elf/dl-cache.c: Likewise.
74531 * elf/dl-minimal.c: Likewise.
74532 * elf/dl-misc.c: Likewise.
74533 * elf/dl-sysdep.c: Likewise.
74534 * elf/dl-version.c: Likewise.
74535 * elf/rtld.c: Likewise.
74536 * hurd/hurdsock.c: Likewise.
74537 * hurd/lookup-retry.c: Likewise.
74538 * malloc/malloc.c: Likewise.
74539 * malloc/mtrace.c: Likewise.
74540 * nscd/nscd_getgr_r.c: Likewise.
74541 * nscd/nscd_getpw_r.c: Likewise.
74542 * nscd/nscd_getserv_r.c: Likewise.
74543 * posix/getopt_init.c: Likewise.
74544 * posix/wordexp.c: Likewise.
74545 * stdio-common/_itoa.c: Likewise.
74546 * stdio-common/printf_fphex.c: Likewise.
74547 * stdio-common/vfprintf.c: Likewise.
74548 * string/_strerror.c: Likewise.
74549 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74550 * sysdeps/i386/i686/hp-timing.h: Likewise.
74551 * sysdeps/mach/_strerror.c: Likewise.
74552 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74553 * sysdeps/mach/hurd/sethostid.c: Likewise.
74554 * sysdeps/mach/hurd/xmknodat.c: Likewise.
74555 * sysdeps/mach/xpg-strerror.c: Likewise.
74556 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74558 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74559 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74560 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74561 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74562 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74563 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74564 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74565 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74566 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74567 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74568 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74569 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74570 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74571 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74572 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74573 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74574 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74575 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74576 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74577
74578 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74579
74580 * stdio-common/_itoa.h: Moved to ...
74581 * sysdeps/generic/_itoa.h: Here.
74582
74583 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74584
74585 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74586 instead of "_itoa.h" and "_itowa.h".
74587 * stdio-common/vfprintf.: Likewise.
74588
74589 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74590
74591 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74592 <bits/wordsize.h>.
74593 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74594 (__signbit): Likewise.
74595 (llrintf): Likewise.
74596 (llrint): Likewise.
74597
74598 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
74599
74600 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74601 __WORDSIZE != 64.
74602
74603 2012-03-20 Joseph Myers <joseph@codesourcery.com>
74604
74605 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74606 OVERFLOW_EXCEPTION_OK.
74607 * math/libm-test.inc ("Philosophy"): Update comment about
74608 exception testing.
74609 (OVERFLOW_EXCEPTION): Define.
74610 (OVERFLOW_EXCEPTION_OK): Likewise.
74611 (INVALID_EXCEPTION_OK): Renumber.
74612 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74613 (IGNORE_ZERO_INF_SIGN): Likewise.
74614 (test_exceptions): Handle FE_OVERFLOW.
74615 (exp10_test): Expect overflow exceptions.
74616 (exp2_test): Likewise.
74617 (expm1_test): Likewise.
74618 (nextafter_test): Likewise.
74619 (pow_test): Likewise.
74620 (scalbn_test): Likewise.
74621 (scalbln_test): Likewise.
74622
74623 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74624
74625 * sysdeps/x86_64/bits/atomic.h
74626 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74627 64bit integer.
74628 (atomic_exchange_acq): Likewise.
74629 (__arch_exchange_and_add_body): Likewise.
74630 (__arch_add_body): Likewise.
74631 (atomic_add_negative): Likewise.
74632 (atomic_add_zero): Likewise.
74633
74634 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74635
74636 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74637 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74638
74639 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74640
74641 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74642 Check __x86_64__ instead of __WORDSIZE.
74643
74644 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74645
74646 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74647
74648 2012-03-19 David S. Miller <davem@davemloft.net>
74649
74650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74651
74652 * sysdeps/sparc/fpu/fenv_private.h: New file.
74653 * sysdeps/sparc/fpu/math_private.h: Use it.
74654 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74655 Remove.
74656 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74657 (libc_feholdexcept_setroundl): Remove.
74658 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74659 Remove.
74660 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74661 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74662
74663 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74664
74665 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74666 int64_t instead of long int.
74667 (INSERT_WORDS64): Likewise.
74668
74669 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
74670
74671 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74672 _Unwind_GetCFA return to _Unwind_Ptr first.
74673
74674 2012-03-19 Joseph Myers <joseph@codesourcery.com>
74675
74676 [BZ #13629]
74677 * math/s_clog.c: Include <float.h>.
74678 (__clog): Scale large or subnormal inputs.
74679 * math/s_clogf.c: Likewise.
74680 * math/s_clogl.c: Likewise.
74681 * math/s_clog10.c: Include <float.h>.
74682 (M_LOG10_2): Define.
74683 (__clog10): Scale large or subnormal inputs.
74684 * math/s_clog10f.c: Likewise.
74685 * math/s_clog10l.c: Likewise.
74686 * math/libm-test.inc (clog_test): Add more tests.
74687 (clog10_test): Likewise.
74688 * sysdeps/i386/fpu/libm-test-ulps: Update.
74689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74690
74691 [BZ #11451]
74692 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74693 x and y.
74694 * math/libm-test.inc (atan2_test): Add another test.
74695
74696 * Makerules (common-objdir-compile): Remove.
74697 * sysdeps/unix/Makefile (config-generated): Do not add
74698 $(unix-generated) to variable.
74699 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74700 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74701 Remove rule.
74702 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74703 Likewise.
74704 [generic bits/local_lim.h] (before-compile): Do not append to
74705 variable.
74706 [generic bits/local_lim.h] (common-generated): Likewise.
74707 [generic sys/param.h] (before-compile): Do not append to variable.
74708 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74709 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74710 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74711 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74712 include.
74713 [generic sys/param.h] (sys/param.h-includes): Remove variable.
74714 [generic sys/param.h] (sys/param.h-includes): Remove rule.
74715 [generic sys/param.h] ($(addprefix
74716 $(common-objpfx),$(sys/param.h-includes))): Likewise.
74717 [generic sys/param.h] (common-generated): Do not append to
74718 variable.
74719 [generic sys/param.h] (sysdep_headers): Likewise.
74720 [generic bits/errno.h] (before-compile): Do not append to
74721 variable.
74722 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74723 rule.
74724 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74725 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74726 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74727 [generic bits/errno.h] (common-generated): Do not append to
74728 variable.
74729 [generic bits/ioctls.h] (before-compile): Do not append to
74730 variable.
74731 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74732 rule.
74733 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74734 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74735 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74736 rule.
74737 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74738 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74739 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74740 [generic bits/ioctls.h] (common-generated): Do not append to
74741 variable.
74742 [generic sys/syscall.h] (syscall.h): Remove variable.
74743 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74744 rule.
74745 [generic sys/syscall.h] (before-compile): Do not append to
74746 variable.
74747 [generic sys/syscall.h] (common-generated): Likewise.
74748 * sysdeps/unix/errnos-tmpl.c: Remove file.
74749 * sysdeps/unix/errnos.awk: Likewise.
74750 * sysdeps/unix/ioctls-tmpl.c: Likewise.
74751 * sysdeps/unix/ioctls.awk: Likewise.
74752 * sysdeps/unix/mk-local_lim.c: Likewise.
74753 * sysdeps/unix/snarf-ioctls: Likewise.
74754
74755 2012-03-19 Richard Henderson <rth@twiddle.net>
74756
74757 * sysdeps/i386/fpu/fenv_private.h: New file.
74758 * sysdeps/i386/fpu/math_private.h: Use it.
74759 (math_opt_barrier, math_force_eval): Remove.
74760 (libc_feholdexcept_setround_53bit): Remove.
74761 (libc_feupdateenv_53bit): Remove.
74762 * sysdeps/x86_64/fpu/math_private.h: Likewise.
74763 (math_opt_barrier, math_force_eval): Remove.
74764 (libc_feholdexcept): Remove.
74765 (libc_feholdexcept_setround): Remove.
74766 (libc_fetestexcept, libc_fesetenv): Remove.
74767 (libc_feupdateenv_test): Remove.
74768 (libc_feupdateenv, libc_feholdsetround): Remove.
74769 (libc_feresetround): Remove.
74770
74771 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74772 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74773
74774 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74775 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74776 (libc_feupdateenv_testl): New.
74777 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74778 (libc_feupdateenv_testf): New.
74779 (libc_feupdateenv): Use libc_feupdateenv_test.
74780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74782
74783 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74784 (libc_feholdsetroundf, libc_feholdsetroundl): New.
74785 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74786 (libc_feresetround_noex): New.
74787 (libc_feresetround_noexf): New.
74788 (libc_feresetround_noexl): New.
74789 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74790 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74791 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74792 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74793 SET_RESTORE_ROUND.
74794 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74795 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74796 (__cos): Likewise.
74797 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74798 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74799 SET_RESTORE_ROUND_NOEX.
74800 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74801 SET_RESTORE_ROUND_NOEXF.
74802 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74803 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74804 (libc_feholdsetroundf): New.
74805 (libc_feresetround, libc_feresetroundf): New.
74806
74807 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74808 (libc_feholdexcept_setround_53bit): Convert from macro to function.
74809 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
74810
74811 * sysdeps/generic/math_private.h: Include <fenv.h>.
74812 (default_libc_feholdexcept): New.
74813 (default_libc_feholdexcept_setround): New.
74814 (default_libc_fesetenv, default_libc_feupdateenv): New.
74815 (libc_feholdexcept): Only define if undefined.
74816 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74817 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74818 (libc_feholdexcept_setroundl): Likewise.
74819 (libc_feholdexcept_setround_53bit): Likewise.
74820 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74821 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74822 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74823 (libc_feupdateenv_53bit): Likewise.
74824 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74825 (libc_feholdexcept): Convert from macro to inline function.
74826 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74827 (libc_fesetenv, libc_feupdateenv): Likewise.
74828
74829 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74830 not previously defined.
74831 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74832 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74833 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74834 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74835 * sysdeps/ieee754/flt-32/math_private.h: New file.
74836 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74837 math_private.h below SET_FLOAT_WORD.
74838 (__isnan, __isinf_ns, __finite): Remove.
74839 (__isnanf, __isinf_nsf, __finitef): Remove.
74840
74841 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
74842
74843 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74844
74845 2012-03-17 David S. Miller <davem@davemloft.net>
74846
74847 [BZ #6471]
74848 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74849 for 2.16.
74850
74851 2012-03-16 David S. Miller <davem@davemloft.net>
74852
74853 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74854 warnings.
74855
74856 [BZ #6471]
74857 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74858 properly.
74859 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74860 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74861 sysdep_routines when subdir is sysvipc.
74862 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74863 __getshmlba helper.
74864
74865 * sysdeps/sparc/fpu/libm-test/ulps: Update.
74866
74867 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74868
74869 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74870 [__LP64__].
74871
74872 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74873
74874 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74875 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74876 (__lround): Renamed to ...
74877 (__llround): This. Replace long int with long long int.
74878 Define lround functions as aliases of llround functions.
74879 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74880
74881 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74882
74883 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74884 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
74885 adresses to uintptr_t. Replace "long int" and "unsigned long
74886 int" with "greg_t" on va_arg.
74887
74888 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74889
74890 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74891 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74892
74893 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74894 Move e_machine check before EI_CLASS check. Handle x32
74895 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74896 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74897 SKIP_EM_IA_64 and include
74898 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74899
74900 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74901 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74902 (add_system_dir): New macro.
74903
74904 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74905 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74906
74907 2012-03-16 Joseph Myers <joseph@codesourcery.com>
74908
74909 [BZ #2551]
74910 [BZ #2552]
74911 [BZ #2553]
74912 [BZ #2554]
74913 [BZ #2562]
74914 [BZ #2563]
74915 [BZ #2565]
74916 [BZ #2566]
74917 [BZ #2576]
74918 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
74919 (y0): Likewise.
74920 * math/w_j0f.c (j0f): Likewise.
74921 (y0f): Likewise.
74922 * math/w_j0l.c (__j0l): Likewise.
74923 (__y0l): Likewise.
74924 * math/w_j1.c (j1): Likewise.
74925 (y1): Likewise.
74926 * math/w_j1f.c (j1f): Likewise.
74927 (y1f): Likewise.
74928 * math/w_j1l.c (__j1l): Likewise.
74929 (__y1l): Likewise.
74930 * math/w_jn.c (jn): Likewise.
74931 (yn): Likewise.
74932 * math/w_jnf.c (jnf): Likewise.
74933 (ynf): Likewise.
74934 * math/w_jnl.c (__jnl): Likewise.
74935 (__ynl): Likewise.
74936 * math/libm-test.inc (j0_test): Add more tests.
74937 (j1_test): Likewise.
74938 (jn_test): Likewise. Add trailing semicolon to existing test.
74939 (y0_test): Likewise.
74940 (y1_test): Likewise.
74941 * sysdeps/i386/fpu/libm-test-ulps: Update.
74942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74943
74944 [BZ #13851]
74945 [BZ #13854]
74946 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
74947 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
74948 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
74949 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
74950 (__tanl): Set errno for infinite argument.
74951 * sysdeps/i386/fpu/mptan.c: Remove.
74952 * sysdeps/i386/fpu/s_tan.S: Likewise.
74953 * sysdeps/i386/fpu/s_tanl.S: Likewise.
74954 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
74955 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
74956 * math/libm-test.inc (tan_test): Add more tests and enable more
74957 tests for double and long double.
74958 * sysdeps/i386/fpu/libm-test-ulps: Update.
74959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74960
74961 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
74962
74963 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
74964 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
74965
74966 2012-03-16 Roland McGrath <roland@hack.frob.com>
74967
74968 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
74969 * configure.in: Use it for both main tree and add-ons.
74970 * configure: Regenerated.
74971
74972 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
74973
74974 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
74975
74976 2012-03-16 Joseph Myers <joseph@codesourcery.com>
74977
74978 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
74979 in comment.
74980
74981 [BZ #13851]
74982 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
74983 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
74984 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
74985 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
74986 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
74987 infinite argument.
74988 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
74989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
74990 != 0 for prec == 2.
74991 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
74992 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
74993 * sysdeps/i386/fpu/s_cosl.S: Likewise.
74994 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
74995 * sysdeps/i386/fpu/s_sinl.S: Likewise.
74996 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
74997 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
74998 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
74999 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75000 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75001 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75002 * math/libm-test.inc (cos_test): Add more tests and enable more
75003 tests for long double.
75004 (sin_test): Likewise.
75005 (sincos_test): Likewise.
75006 * sysdeps/i386/fpu/libm-test-ulps: Update.
75007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75008
75009 2012-03-16 David S. Miller <davem@davemloft.net>
75010
75011 * sysdeps/sparc/fpu/math_private.h: New file.
75012
75013 2012-03-15 David S. Miller <davem@davemloft.net>
75014
75015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75016 file.
75017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75019 file.
75020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75026 sysdep routines.
75027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75028
75029 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75030 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75031
75032 * sysdeps/sparc/sparc-ifunc.h: New file.
75033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75034 sparc-ifunc.h
75035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75037 Likewise.
75038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75039 Likewise.
75040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75044 Likewise.
75045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75050 Likewise.
75051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75052 Likewise.
75053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75073 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75075 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75076 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75077
75078 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75079
75080 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75081 scaling.
75082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75083
75084 2012-03-15 Andreas Jaeger <aj@suse.de>
75085
75086 [BZ #13852]
75087 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75088 ieee754/flt-32 implementation for sin, cos and sincos.
75089 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75090 * sysdeps/i386/fpu/s_cosf.S: Likewise.
75091 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75092 * sysdeps/i386/fpu/s_sinf.S: Likewise.
75093 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75094 ieee754/flt-32 implementation for tan.
75095
75096 * math/libm-test.inc (cos_test): Enable some large input tests for
75097 float as well
75098 (sin_test): Likewise.
75099 (sincos_test): Likewise.
75100 (tan_test): Add tests for large input.
75101
75102 * sysdeps/i386/fpu/libm-test-ulps: Update.
75103
75104 2012-03-15 Andreas Jaeger <aj@suse.de>
75105
75106 [BZ #13658]
75107 * math/libm-test.inc (cos_test): Add more test cases.
75108 (sin_test): Likewise.
75109 (sincos_test): Likewise.
75110
75111 2012-03-15 Andreas Jaeger <aj@suse.de>
75112
75113 [BZ #13837]
75114 * math/libm-test.inc (cos_test): Add a test case for large input
75115 value.
75116 (sin_test): Likewise.
75117 (sincos_test): Likewise.
75118
75119 2012-03-15 Andreas Jaeger <aj@suse.de>
75120 Joseph Myers <joseph@codesourcery.com>
75121
75122 [BZ #13658]
75123 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75124 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75125 * sysdeps/i386/fpu/branred.c: Likewise.
75126 * sysdeps/i386/fpu/dosincos.c: Likewise.
75127 * sysdeps/i386/fpu/mpa.c: Likewise.
75128 * sysdeps/i386/fpu/s_cos.S: Likewise.
75129 * sysdeps/i386/fpu/s_sin.S: Likewise.
75130 * sysdeps/i386/fpu/s_sincos.S: Likewise.
75131 * sysdeps/i386/fpu/sincos32.c: Likewise.
75132
75133 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75134 Define.
75135 (libc_feupdateenv_53bit): Define.
75136 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75137 Define.
75138 (libc_feupdateenv_53bit): Define.
75139
75140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75141 53 bit (without extend i386 double precision).
75142
75143 * math/libm-test.inc (sincos_test): Add tests for large input.
75144 (sin): Likewise.
75145 (cos): Likewise.
75146
75147 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75148
75149 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
75150
75151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75152
75153 2012-03-15 David S. Miller <davem@davemloft.net>
75154
75155 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75156 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75157 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75158 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75171 file.
75172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75174 file.
75175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75177 file.
75178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75180 file.
75181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75183 fmin/fmax sysdep routines.
75184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75185
75186 2012-03-14 David S. Miller <davem@davemloft.net>
75187
75188 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75192 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75193 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75194 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75196 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75208 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75209 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75210 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75211 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75212 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75216 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75217 routines.
75218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75219 file.
75220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75222 file.
75223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75225 file.
75226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75228 file.
75229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75231 file.
75232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75234 file.
75235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75236 file.
75237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75238 file.
75239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75240 file.
75241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75242 New file.
75243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75244 file.
75245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75246 file.
75247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75249 file.
75250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75252 file.
75253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75255 file.
75256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75258 VIS3 routines.
75259
75260 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75261 New file.
75262
75263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75264
75265 * sysdeps/sparc/configure.in: New file.
75266 * sysdeps/sparc/configure: Generate.
75267 * configure.in (libc_cv_sparc_as_vis3): Substitute.
75268 * configure: Regenerate.
75269 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75270 * config.make.in (have-as-vis3): New.
75271 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75272 available use -Av9d instead of -Av9a.
75273 * sysdeps/sparc/sparc64/Makefile: Likewise.
75274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75276 New file.
75277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75278 file.
75279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75280 New file.
75281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75282 file.
75283 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75284 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75285 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75286 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75287 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75288
75289 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75290 fzeros/fnegs to load 0x80000000 into a float register instead of
75291 using the stack.
75292 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75293
75294 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75295
75296 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75297 bits/syscall.h.
75298 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75299 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75300 ($(inst_includedir)/bits/syscall.h): Remove rule.
75301 ($(objpfx)bits/syscall.d): Include instead of
75302 $(objpfx)syscall-list.d.
75303 (generated): Change syscall-list.h and syscall-list.d to
75304 bits/syscall.h and bits/syscall.d.
75305
75306 2012-03-14 Roland McGrath <roland@hack.frob.com>
75307
75308 [BZ #13846]
75309 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75310
75311 2012-03-14 Joseph Myers <joseph@codesourcery.com>
75312
75313 [BZ #13841]
75314 * math/s_csqrt.c: Include <float.h>.
75315 (__csqrt): Scale large or subnormal inputs.
75316 * math/s_csqrtf.c: Likewise.
75317 * math/s_csqrtl.c: Likewise.
75318 * math/libm-test.inc (csqrt_test): Add more tests.
75319 * sysdeps/i386/fpu/libm-test-ulps: Update.
75320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75321
75322 [BZ #13840]
75323 * math/libm-test.inc (hypot_test): Add more tests.
75324
75325 2012-03-13 David S. Miller <davem@davemloft.net>
75326
75327 [BZ #13840]
75328 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75329 double-precision for the calculation instead of scaling.
75330
75331 2012-03-13 Joseph Myers <joseph@codesourcery.com>
75332
75333 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75334 manipulate bits before adding and subtracting TWO52[sx].
75335 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75336 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75337 Likewise.
75338 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75339
75340 2012-03-13 David S. Miller <davem@davemloft.net>
75341
75342 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75343 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75344 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75345 rtld-global-offsets.h
75346 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75347
75348 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75349 large parameters.
75350
75351 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75352
75353 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75354 'err' in the ifdef scope in which it is actually used.
75355
75356 * nss/nss_db/db-init.c: Include string.h
75357
75358 2012-03-12 David S. Miller <davem@davemloft.net>
75359
75360 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75361 masking out of the most significant byte of random value used.
75362 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75363 Fix coding style in previous change.
75364
75365 * sysdeps/unix/sysv/linux/kernel-features.h
75366 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75367 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75368 expression.
75369 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75370 later.
75371
75372 2012-03-11 David S. Miller <davem@davemloft.net>
75373
75374 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75375 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75376 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75377 for 'resultvar' otherwise things get truncated on 64-bit.
75378
75379 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75380 Fix masking out of the most significant byte of random value used.
75381
75382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75383
75384 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
75385
75386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75387
75388 2012-03-09 David S. Miller <davem@davemloft.net>
75389
75390 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75391 variables with appropriate CPP guards.
75392 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75393 from the frame pointer, not the stack pointer. Correct layout
75394 comments. Fix test on resulting framesize and the management of
75395 the outregs buffer for pltexit. Preserve floating point return
75396 values across _dl_call_pltexit call.
75397 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75398 framesize and the management of the outregs buffer for pltexit.
75399 Preserve floating point return values across _dl_call_pltexit
75400 call.
75401 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75402 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75403 (la_sparc64_gnu_pltexit): New functions.
75404 (print_exit): Fix format string for return register value.
75405
75406 2012-03-10 Joseph Myers <joseph@codesourcery.com>
75407
75408 * sunrpc/Makefile (others): Add rpcgen.
75409 ($(objpfx)rpcgen): Remove special build rule and dependency on
75410 libc.
75411 * sunrpc/rpcgen.c: New file.
75412
75413 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
75414
75415 [BZ #13673]
75416 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75417 * stdio-common/bug-vfprintf-nargs.c: Likewise.
75418 * sysdeps/i386/crti.S: Likewise.
75419 * sysdeps/i386/crtn.S: Likewise.
75420 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75421 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75422 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75423 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75424 * sysdeps/sh/crti.S: Likewise.
75425 * sysdeps/sh/crtn.S: Likewise.
75426 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75427
75428 [BZ #13673]
75429 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75430 with URL.
75431 * locale/programs/locfile-kw.gperf: Likewise.
75432 * locale/programs/charmap-kw.h: Regenerated.
75433 * locale/programs/locfile-kw.h: Likewise.
75434
75435 [BZ #13673]
75436 * intl/plural.y: Replace FSF snail mail address with URL.
75437 * intl/plural.c: Regenerated.
75438
75439 2012-03-09 Richard Henderson <rth@twiddle.net>
75440
75441 * include/math_private.h: Remove file.
75442 * math/math_private.h: Move file ...
75443 * sysdeps/generic/math_private.h: ... here.
75444
75445 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75446 * sysdeps/powerpc/fpu/math_private.h: Likewise.
75447 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75448
75449 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75450 and <math_private.h>.
75451 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75452 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75453 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75454 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75455 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75456 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75457 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75458 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75459 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75460 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75462 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75463 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75464 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75465 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75466 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75467 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75468 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75469 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75470 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75473 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75474 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75475 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75476 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75477 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75478 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75479 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75481 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75482 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75483 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75484 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75485 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75486 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75487 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75488 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75489 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75491 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75492 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75493 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75494 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75495 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75496 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75497 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75498 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75499 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75500 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75501 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75502 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75503 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75504 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75505 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75506 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75507 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75508 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75509 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75510 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75511 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75512 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75513 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75514 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75515 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75516 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75517 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75518 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75519 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75520 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75521 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75522 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75523 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75524 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75525 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75526 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75528 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75529 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75530 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75531 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75532 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75533 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75534 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75535 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75537 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75538 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75539 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75540 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75541 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75542 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75544 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75545 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75546 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75547 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75548 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75549 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75550 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75551 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75552 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75553 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75554 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75555 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75556 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75557 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75558 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75559 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75560 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75561 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75562 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75563 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75564 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75565 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75566 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75567 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75568 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75569 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75570 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75571 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75572 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75573 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75574 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75575 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75576 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75577 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75578 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75579 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75580 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75581 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75582 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75583 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75584 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75585 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75586 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75587 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75588 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75589 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75590 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75591 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75592 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75593 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75594 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75595 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75596 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75597 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75598 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75599 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75600 * sysdeps/ieee754/k_standard.c: Likewise.
75601 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75602 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75603 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75604 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75605 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75606 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75607 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75608 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75609 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75610 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75611 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75612 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75613 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75614 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75615 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75616 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75617 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75618 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75619 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75620 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75621 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75622 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75623 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75624 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75625 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75626 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75627 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75628 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75629 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75630 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75631 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75632 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75633 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75634 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75635 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75636 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75637 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75638 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75639 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75640 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75641 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75642 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75643 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75644 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75645 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75646 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75647 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75648 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75649 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75650 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75651 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75652 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75653 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75654 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75655 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75656 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75657 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75658 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75659 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75660 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75661 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75662 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75663 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75664 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75665 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75666 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75667 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75668 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75669 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75670 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75671 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75672 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75673 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75674 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75675 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75676 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75677 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75678 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75680 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75681 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75682 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75683 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75684 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75685 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75686 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75687 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75688 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75689 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75691 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75692 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75693 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75694 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75695 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75696 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75697 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75698 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75699 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75700 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75701 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75702 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75703 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75704 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75705 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75706 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75707 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75708 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75709 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75710 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75711 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75712 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75713 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75714 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75715 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75716 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75717 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75718 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75719 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75720 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75721 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75722 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75723 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75724 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75725 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75726 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75727 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75728 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75729 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75730 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75731 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75732 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75733 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75734 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75735 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75736 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75737 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75738 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75739 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75740 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75741 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75742 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75743 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75744 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75745 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75746 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75747 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75750 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75751 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75752 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75753 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75754 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75755 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75756 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75757 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75758 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75759 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75760 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75761 * sysdeps/ieee754/s_lib_version.c: Likewise.
75762 * sysdeps/ieee754/s_matherr.c: Likewise.
75763 * sysdeps/ieee754/s_signgam.c: Likewise.
75764 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75765 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75766 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75767 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75768 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75769 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75770 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75771 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75772 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75773 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75774 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75775 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75776 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75777 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75778 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75779 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75780 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75781 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75782 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75785
75786 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75787
75788 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75789 * sunrpc/rpc_main.c: Likewise.
75790 * sunrpc/rpc_svcout.c: Likewise.
75791
75792 2012-03-09 David S. Miller <davem@davemloft.net>
75793
75794 * include/math_private.h: New file.
75795
75796 2012-03-09 Joseph Myers <joseph@codesourcery.com>
75797
75798 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75799 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75800 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75801 from <bits/socket_type.h>.
75802 (enum __socket_type): Don't define here.
75803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75804 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75805 bits/socket_type.h.
75806
75807 [BZ #13566]
75808 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75809 checking __USE_GNU.
75810
75811 * Makerules ($(inst_includedir)/%.h): New rule.
75812 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75813 (install-others): Remove variable setting.
75814 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75815
75816 2012-03-08 Richard Henderson <rth@twiddle.net>
75817
75818 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75819 from macro to inline function; merge with the
75820 !__LIBC_INTERNAL_MATH_INLINES version.
75821 (__ieee754_sqrtf): Likewise.
75822
75823 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75824 to inline function.
75825 (__rintf, __floor, __floorf): Likewise.
75826
75827 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75828 macro to inline function.
75829 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75830
75831 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75832 not <math/math_private.h>.
75833
75834 2012-03-08 David S. Miller <davem@davemloft.net>
75835
75836 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75837 copyright year.
75838 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75839
75840 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
75841
75842 * resolv/gai_misc.c (handle_requests): Fix struct timespec
75843 normalization.
75844 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75845 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75846
75847 2012-03-08 Ulrich Drepper <drepper@gmail.com>
75848
75849 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
75850 be defined individually, they must be defined as a block. Define
75851 S for printing a string instead of hidint the different by using a
75852 macro for adding the 'l'.
75853 * stdio-common/tst-fphex-wide.c: Adjust.
75854
75855 2012-03-07 Marek Polacek <polacek@redhat.com>
75856
75857 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75858
75859 2012-03-08 Marek Polacek <polacek@redhat.com>
75860
75861 [BZ #13806]
75862 * stdio-common/Makefile (tests): Add tst-fphex-wide.
75863 * stdio-common/tst-fphex.c: Define a few macros to make the
75864 test reusable. Use them.
75865 * stdio-common/tst-fphex-wide.c: New file.
75866
75867 2012-03-08 Joseph Myers <joseph@codesourcery.com>
75868
75869 [BZ #6911]
75870 * manual/macros.texi (gnusystems): New macro.
75871 (nongnusystems): Likewise.
75872 (gnulinuxhurdsystems): Likewise.
75873 (gnuhurdsystems): Likewise..
75874 (gnulinuxsystems): Likewise.
75875 * manual/charset.texi: Use new macros or @theglibc{} to refer to
75876 variants of the GNU system, not "GNU system".
75877 * manual/conf.texi: Likewise.
75878 * manual/errno.texi: Likewise. Update example of errno macro
75879 expansion.
75880 * manual/filesys.texi: Likewise.
75881 (getumask): Document as specific to GNU/Hurd.
75882 * manual/install.texi: Likewise. Reword some references to
75883 GNU/Linux.
75884 * manual/intro.texi: Likewise.
75885 * manual/io.texi: Likewise.
75886 (File Name Portability): Detail which constraints are inapplicable
75887 to all GNU systems and which are only inapplicable to GNU/Hurd.
75888 * manual/job.texi: Likewise.
75889 * manual/llio.texi: Likewise.
75890 (O_NOCTTY): Document as present on GNU/Linux.
75891 * manual/maint.texi: Likewise.
75892 * manual/memory.texi: Likewise.
75893 * manual/pattern.texi: Likewise.
75894 * manual/pipe.texi: Likewise.
75895 * manual/process.texi: Likewise.
75896 * manual/resource.texi: Likewise.
75897 (RUSAGE_CHILDREN): Remove statement about specifying a particular
75898 child on GNU/Hurd.
75899 * manual/setjmp.texi: Likewise.
75900 * manual/signal.texi: Likewise.
75901 * manual/startup.texi: Likewise.
75902 * manual/stdio.texi: Likewise.
75903 * manual/terminal.texi: Likewise.
75904 (ONLCR): Document as POSIX.
75905 (OXTABS): Document availability on GNU/Linux as XTABS.
75906 (ONOEOT): Document availability separately from other bits.
75907 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75908 * manual/time.texi: Likewise.
75909 * manual/users.texi: Likewise.
75910 * INSTALL: Regenerated.
75911 * sysdeps/gnu/errlist.c: Regenerated.
75912
75913 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
75914 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
75915 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
75916 puts.
75917 * configure: Regenerated.
75918
75919 2012-03-07 Joseph Myers <joseph@codesourcery.com>
75920
75921 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
75922 default includes instead of AC_HEADER_CHECK.
75923 * sysdeps/i386/configure: Regenerated.
75924
75925 [BZ #10716]
75926 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
75927 * math/s_cacoshf.c (__cacoshf): Likewise.
75928 * math/s_cacoshl.c (__cacoshl): Likewise.
75929 * math/s_casinh.c (__casinh): Set signs of result from argument.
75930 * math/s_casinhf.c (__casinhf): Likewise.
75931 * math/s_casinhl.c (__casinhl): Likewise.
75932 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
75933 (casinh_test): Add more tests.
75934 * sysdeps/i386/fpu/libm-test-ulps: Update.
75935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75936
75937 2012-03-07 Ulrich Drepper <drepper@gmail.com>
75938
75939 * po/zh_TW.po: Update from translation team.
75940
75941 * login/Makefile (distribute): Remove variable.
75942 * catgets/Makefile: Likewise.
75943 * mach/Makefile: Likewise.
75944 * malloc/Makefile: Likewise.
75945 * misc/Makefile: Likewise.
75946 * iconv/Makefile: Likewise.
75947 * nscd/Makefile: Likewise.
75948 * hurd/Makefile: Likewise.
75949 * manual/Makefile: Likewise.
75950 * locale/Makefile: Likewise.
75951 * intl/Makefile: Likewise.
75952 * conform/Makefile: Likewise.
75953 * nss/Makefile: Likewise.
75954 * time/Makefile: Likewise.
75955 * soft-fp/Makefile: Likewise.
75956 * dirent/Makefile: Likewise.
75957 * gmon/Makefile: Likewise.
75958 * po/Makefile: Likewise.
75959 * rt/Makefile: Likewise.
75960 * socket/Makefile: Likewise.
75961 * math/Makefile: Likewise.
75962 * signal/Makefile: Likewise.
75963 * debug/Makefile: Likewise.
75964 * elf/Makefile: Likewise.
75965 * timezone/Makefile: Likewise.
75966 * stdlib/Makefile: Likewise.
75967 * iconvdata/Makefile: Likewise.
75968 * sunrpc/Makefile: Likewise.
75969 * io/Makefile: Likewise.
75970 * argp/Makefile: Likewise.
75971 * inet/Makefile: Likewise.
75972 * hesiod/Makefile: Likewise.
75973 * grp/Makefile: Likewise.
75974 * csu/Makefile: Likewise.
75975 * wctype/Makefile: Likewise.
75976 * crypt/Makefile: Likewise.
75977 * libio/Makefile: Likewise.
75978 * string/Makefile: Likewise.
75979 * nis/Makefile: Likewise.
75980 * resolv/Makefile: Likewise.
75981 * stdio-common/Makefile: Likewise.
75982 * wcsmbs/Makefile: Likewise.
75983 * dlfcn/Makefile: Likewise.
75984 * posix/Makefile: Likewise.
75985
75986 [BZ #6959]
75987 * timezone/Makefile: Don't install timezone files, just the programs
75988 and scripts.
75989
75990 2012-03-06 Ulrich Drepper <drepper@gmail.com>
75991
75992 * nss/databases.def: Add missing gshadow entry.
75993
75994 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
75995
75996 2012-03-06 Marek Polacek <polacek@redhat.com>
75997
75998 [BZ #13726]
75999 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76000 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76001 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76002 * stdio-common/tst-long-dbl-fphex.c: New file.
76003
76004 2012-03-06 David S. Miller <davem@davemloft.net>
76005
76006 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76007 (set_obp_int): New function.
76008 (get_obp_int): New function.
76009 (__get_clockfreq_via_dev_openprom): Likewise.
76010 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76011 Avoid unused variable warnings on 'val' and use builtin_expect.
76012 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76013 __builtin_expect.
76014 (INLINE_CLONE_SYSCALL): Likewise.
76015
76016 2012-03-05 David S. Miller <davem@davemloft.net>
76017
76018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76019
76020 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
76021
76022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76023
76024 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76025 only for |x| >= 40.
76026 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76027
76028 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
76029
76030 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76031 Replace gettimeofday with __vdso_gettimeofday.
76032
76033 * sysdeps/unix/sysv/linux/x86_64/init-first.c
76034 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76035 __vdso_clock_gettime and __vdso_getcpu.
76036
76037 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76038 time with __vdso_time.
76039
76040 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76041
76042 * manual/lang.texi (size_t): Note types to which size_t may be
76043 equivalent with the GNU C Library, but do not describe when
76044 differences between them are significant.
76045
76046 2012-03-05 Andreas Jaeger <aj@suse.de>
76047
76048 * sysdeps/i386/fpu/libm-test-ulps: Update.
76049
76050 2012-03-05 Joseph Myers <joseph@codesourcery.com>
76051
76052 [BZ #3976]
76053 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76054 (__ieee754_pow): Save and restore rounding mode and use
76055 round-to-nearest for main computations.
76056 * math/libm-test.inc (pow_test_tonearest): New function.
76057 (pow_test_towardzero): Likewise.
76058 (pow_test_downward): Likewise.
76059 (pow_test_upward): Likewise.
76060 (main): Call the new functions.
76061 * sysdeps/i386/fpu/libm-test-ulps: Update.
76062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76063
76064 [BZ #3976]
76065 * math/libm-test.inc (cosh_test_tonearest): New function.
76066 (cosh_test_towardzero): Likewise.
76067 (cosh_test_downward): Likewise.
76068 (cosh_test_upward): Likewise.
76069 (sinh_test_tonearest): Likewise.
76070 (sinh_test_towardzero): Likewise.
76071 (sinh_test_downward): Likewise.
76072 (sinh_test_upward): Likewise.
76073 (main): Call the new functions.
76074 * sysdeps/i386/fpu/libm-test-ulps: Update.
76075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76076
76077 2012-03-05 Tom de Vries <tom@codesourcery.com>
76078
76079 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76080 default stack guard is set in last bytes.
76081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76082
76083 2012-03-05 Kees Cook <keescook@chromium.org>
76084
76085 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76086
76087 [BZ #13656]
76088 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76089 possibly allocate from heap instead of stack.
76090 * stdio-common/bug-vfprintf-nargs.c: New file.
76091 * stdio-common/Makefile (tests): Add nargs overflow test.
76092
76093 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
76094
76095 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76096
76097 2012-03-03 Marek Polacek <polacek@redhat.com>
76098
76099 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76100 * math/math_private.h: Likewise.
76101 * stdlib/tst-strtod.c: Likewise.
76102 * sysdeps/i386/i486/bits/atomic.h: Likewise.
76103 * sysdeps/x86_64/bits/atomic.h: Likewise.
76104
76105 2012-03-02 David S. Miller <davem@davemloft.net>
76106
76107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76111 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76112 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76113 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76114 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76115
76116 2012-03-02 Roland McGrath <roland@hack.frob.com>
76117
76118 [BZ #13792]
76119 * manual/examples/README: New file, says the example source files
76120 can be used under GPL>=2.
76121 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76122 line containing just "*/".
76123 * manual/examples/add.c: Add copyright header (GPL>=2).
76124 * manual/examples/argp-ex1.c: Likewise.
76125 * manual/examples/argp-ex2.c: Likewise.
76126 * manual/examples/argp-ex3.c: Likewise.
76127 * manual/examples/argp-ex4.c: Likewise.
76128 * manual/examples/atexit.c: Likewise.
76129 * manual/examples/db.c: Likewise.
76130 * manual/examples/dir.c: Likewise.
76131 * manual/examples/dir2.c: Likewise.
76132 * manual/examples/execinfo.c: Likewise.
76133 * manual/examples/filecli.c: Likewise.
76134 * manual/examples/filesrv.c: Likewise.
76135 * manual/examples/fmtmsgexpl.c: Likewise.
76136 * manual/examples/genpass.c: Likewise.
76137 * manual/examples/inetcli.c: Likewise.
76138 * manual/examples/inetsrv.c: Likewise.
76139 * manual/examples/isockad.c: Likewise.
76140 * manual/examples/longopt.c: Likewise.
76141 * manual/examples/memopen.c: Likewise.
76142 * manual/examples/memstrm.c: Likewise.
76143 * manual/examples/mkfsock.c: Likewise.
76144 * manual/examples/mkisock.c: Likewise.
76145 * manual/examples/mygetpass.c: Likewise.
76146 * manual/examples/pipe.c: Likewise.
76147 * manual/examples/popen.c: Likewise.
76148 * manual/examples/rprintf.c: Likewise.
76149 * manual/examples/search.c: Likewise.
76150 * manual/examples/select.c: Likewise.
76151 * manual/examples/setjmp.c: Likewise.
76152 * manual/examples/sigh1.c: Likewise.
76153 * manual/examples/sigusr.c: Likewise.
76154 * manual/examples/stpcpy.c: Likewise.
76155 * manual/examples/strdupa.c: Likewise.
76156 * manual/examples/strftim.c: Likewise.
76157 * manual/examples/strncat.c: Likewise.
76158 * manual/examples/subopt.c: Likewise.
76159 * manual/examples/swapcontext.c: Likewise.
76160 * manual/examples/termios.c: Likewise.
76161 * manual/examples/testopt.c: Likewise.
76162 * manual/examples/testpass.c: Likewise.
76163 * manual/examples/timeval_subtract.c: Likewise.
76164
76165 [BZ #13792]
76166 * manual/time.texi (Elapsed Time): Move timeval_subtract example
76167 function to ...
76168 * manual/timeval_subtract.c.texi: ... here, new file.
76169
76170 2012-03-02 David S. Miller <davem@davemloft.net>
76171
76172 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76173
76174 2012-03-02 Joseph Myers <joseph@codesourcery.com>
76175
76176 [BZ #3976]
76177 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76178 (__sin): Save and restore rounding mode and use round-to-nearest
76179 for all computations.
76180 (__cos): Save and restore rounding mode and use round-to-nearest
76181 for all computations.
76182 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76183 <fenv.h>.
76184 (tan): Save and restore rounding mode and use round-to-nearest for
76185 all computations.
76186 * math/libm-test.inc (cos_test_tonearest): New function.
76187 (cos_test_towardzero): Likewise.
76188 (cos_test_downward): Likewise.
76189 (cos_test_upward): Likewise.
76190 (sin_test_tonearest): Likewise.
76191 (sin_test_towardzero): Likewise.
76192 (sin_test_downward): Likewise.
76193 (sin_test_upward): Likewise.
76194 (tan_test_tonearest): Likewise.
76195 (tan_test_towardzero): Likewise.
76196 (tan_test_downward): Likewise.
76197 (tan_test_upward): Likewise.
76198 (main): Call the new functions.
76199 * sysdeps/i386/fpu/libm-test-ulps: Update.
76200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76201
76202 [BZ #10135]
76203 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76204 small n, then large n, before computing and testing k+n.
76205 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76206 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76207 Likewise.
76208 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76209 Likewise.
76210 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76211 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76212 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76213 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76216 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76217 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76218 * math/libm-test.inc (scalbn_test): Add more tests.
76219 (scalbln_test): Likewise.
76220
76221 * manual/filesys.texi (mode_t): Describe constraints on size and
76222 signedness, not exact equivalence to a particular type.
76223 (ino_t): Likewise.
76224 (ino64_t): Likewise.
76225 (dev_t): Likewise.
76226 (nlink_t): Likewise.
76227 (blkcnt_t): Likewise.
76228 (blkcnt64_t): Likewise.
76229 * manual/llio.texi (off_t): Likewise.
76230
76231 [BZ #3976]
76232 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76233 (__ieee754_exp): Save and restore rounding mode and use
76234 round-to-nearest for all computations.
76235 * math/libm-test.inc (exp_test_tonearest): New function.
76236 (exp_test_towardzero): Likewise.
76237 (exp_test_downward): Likewise.
76238 (exp_test_upward): Likewise.
76239 (main): Call the new functions.
76240 * sysdeps/i386/fpu/libm-test-ulps: Update.
76241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76242
76243 2012-03-01 Chris Demetriou <cgd@google.com>
76244
76245 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76246 have predictable order.
76247
76248 2012-03-01 David S. Miller <davem@davemloft.net>
76249
76250 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76251
76252 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76253 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76254 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76255 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76256
76257 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76258 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76259 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76261 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76262 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76263 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76264 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76265 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76266
76267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76268
76269 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76270 * sysdeps/sparc/fpu/libm-test-ulps: to here.
76271 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76272
76273 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76274 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76275 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76276 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76277 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76278 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76279 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76280 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76281 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76282 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76283 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76285 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76287 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76289 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76290 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76291 * sysdeps/sparc/elf/configure: Regenerated.
76292
76293 2012-03-01 Joseph Myers <joseph@codesourcery.com>
76294
76295 * configure.in (AS, LD): Require binutils 2.20 or later.
76296 * configure: Regenerated.
76297 * manual/install.texi (Tools for Compilation): Give binutils 2.20
76298 as required minimum version.
76299 * INSTALL: Regenerated.
76300
76301 [BZ #2541]
76302 [BZ #4108]
76303 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76304 before squaring exponent.
76305 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76306 bottom long double and 27 bits of top long double before squaring
76307 exponent.
76308 * math/libm-test.inc (erfc_test): Add more tests.
76309 * sysdeps/i386/fpu/libm-test-ulps: Update.
76310 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76312
76313 2012-03-01 Kai Tietz <ktietz@redhat.com>
76314
76315 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76316 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76317 containing bit-fields.
76318 * soft-fp/extended.h (_FP_UNION_E): Likewise.
76319 * soft-fp/single.h (_FP_UNION_S): Likewise.
76320 * soft-fp/double.h (_FP_UNION_D): Likewise.
76321
76322 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76323
76324 [BZ #13786]
76325 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76326 not include ../strcmp.S.
76327 [USE_AS_STRNCASECMP_L]: Likewise.
76328 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76329 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76330 * sysdeps/i386/i686/multiarch/strncase_l-c.c
76331 (__strncasecmp_l_ia32): Define as alias to
76332 __strncasecmp_l_nonascii.
76333
76334 [BZ #5794]
76335 * math/libm-test.inc (expm1_test): Add test for bug 5794.
76336 * sysdeps/i386/fpu/libm-test-ulps: Update.
76337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76338
76339 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76341
76342 2012-02-29 Jeff Law <law@redhat.com>
76343
76344 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76345 out of bounds read.
76346
76347 2012-02-29 Marek Polacek <polacek@redhat.com>
76348
76349 [BZ #13706]
76350 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76351 * elf/Makefile: Add rules to run tst-unused-dep.out.
76352
76353 2012-02-28 David S. Miller <davem@davemloft.net>
76354
76355 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76356 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76357 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76358 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76359 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76360 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76361
76362 2012-02-29 Joseph Myers <joseph@codesourcery.com>
76363
76364 * math/libm-test.inc (llround_test): Move one test from
76365 lround_test. Use TEST_f_L in moved test.
76366 (lround_test): Move misplaced test to llround_test. Add testcase
76367 from bug 2561.
76368
76369 2012-02-28 Ulrich Drepper <drepper@gmail.com>
76370
76371 * sysdeps/x86_64/fpu/e_expf.S: New file.
76372 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76373
76374 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
76375
76376 [BZ #13637]
76377 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76378 of remain_len that may cause incomplete multi-byte character and
76379 false match.
76380 * posix/bug-regex33.c: New file.
76381 * posix/Makefile (tests): Add bug-regex33.
76382
76383 2012-02-28 Joseph Myers <joseph@codesourcery.com>
76384
76385 * manual/macros.texi: New file.
76386 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76387 * manual/libc.texinfo: Include macros.texi.
76388 * manual/creatute.texi: Likewise.
76389 * manual/install.texi: Likewise.
76390 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76391 @glibcadj{} in references to the GNU C Library.
76392 * manual/charset.texi: Likewise.
76393 * manual/conf.texi: Likewise.
76394 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
76395 when not using those macros.
76396 * manual/creature.texi: Likewise.
76397 * manual/crypt.texi: Likewise.
76398 * manual/errno.texi: Likewise.
76399 * manual/filesys.texi: Likewise.
76400 * manual/header.texi: Likewise.
76401 * manual/install.texi: Likewise.
76402 * manual/intro.texi: Likewise.
76403 * manual/io.texi: Likewise.
76404 * manual/job.texi: Likewise.
76405 * manual/lang.texi: Likewise.
76406 * manual/libc.texiinfo: Likewise.
76407 * manual/llio.texi: Likewise.
76408 * manual/locale.texi: Likewise.
76409 * manual/maint.texi: Likewise.
76410 * manual/math.texi: Likewise.
76411 * manual/memory.texi: Likewise.
76412 * manual/message.texi: Likewise.
76413 * manual/nss.texi: Likewise.
76414 * manual/pattern.texi: Likewise.
76415 * manual/process.texi: Likewise.
76416 * manual/resource.texi: Likewise.
76417 * manual/search.texi: Likewise.
76418 * manual/setjmp.texi: Likewise.
76419 * manual/signal.texi: Likewise.
76420 * manual/socket.texi: Likewise.
76421 * manual/startup.texi: Likewise.
76422 * manual/stdio.texi: Likewise.
76423 * manual/string.texi: Likewise.
76424 * manual/sysinfo.texi: Likewise.
76425 * manual/syslog.texi: Likewise.
76426 * manual/terminal.texi: Likewise.
76427 * manual/time.texi: Likewise.
76428 * manual/users.texi: Likewise.
76429 * INSTALL: Regenerated.
76430 * NOTES: Regenerated.
76431 * sysdeps/gnu/errlist.c: Regenerated.
76432
76433 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
76434
76435 * include/dirent.h: Include <dirstream.h> before
76436 <dirent/dirent.h>.
76437
76438 2012-02-28 David S. Miller <davem@davemloft.net>
76439
76440 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76441 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76442 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76443 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76444
76445 2012-02-27 David S. Miller <davem@davemloft.net>
76446
76447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76449 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76450 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76451
76452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76453 frame pointer instead of stack pointer relative arg slot.
76454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76455 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76456 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76457
76458 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
76459
76460 [BZ #3992]
76461 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76462
76463 2012-02-27 David S. Miller <davem@davemloft.net>
76464
76465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76469 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76470 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76471 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76472 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76473
76474 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76475
76476 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76477 later. Allow versions 5-9.
76478 * configure: Regenerated.
76479 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76480 required minimum version and 4.6 as recommended version. Do not
76481 mention bugs in GCC 2.7 and 2.8.
76482 * INSTALL: Regenerated.
76483
76484 2012-02-27 David S. Miller <davem@davemloft.net>
76485
76486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76490 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76491 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76492 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76493 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76494
76495 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76496 manipulate bits before adding and subtracting TWO112[sx].
76497 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76498
76499 2012-02-27 Roland McGrath <roland@hack.frob.com>
76500
76501 [BZ #13775]
76502 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76503 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76504 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76505 being in POSIX, because they are in 1003.1-2008.
76506
76507 * rt/tst-aio.c: Include <fcntl.h>.
76508 * rt/tst-aio7.c: Likewise.
76509 * rt/tst-aio64.c: Likewise.
76510
76511 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76512
76513 2012-02-27 Joseph Myers <joseph@codesourcery.com>
76514
76515 * manual/install.texi (--with-headers): Describe headers as
76516 interface headers, not private headers.
76517 (Specific advice for GNU/Linux systems): Describe use of headers
76518 from "make headers_install", not private headers from older
76519 kernels.
76520 * INSTALL: Regenerated.
76521 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76522 Change to 2.6.19.
76523 * sysdeps/unix/sysv/linux/configure: Regenerated.
76524
76525 * manual/llio.texi (fclean): Remove documentation.
76526
76527 * manual/Makefile (libc-texi-generated): New variable. Include
76528 version.texi.
76529 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76530 $(libc-texi-generated), not duplicated list of files.
76531 (version.texi, stamp-version): New rules.
76532 (realclean): Remove $(libc-texi-generated), not individual files
76533 from that list. Do not remove dir-add.texinfo.
76534 * manual/libc.texinfo: Comment out uses of edition numbers and
76535 references to printed manual. Remove last-updated dates.
76536 (EDITION): Comment out.
76537 (ISBN): Likewise.
76538 (VERSION, UPDATED): Remove.
76539 (version.texi): Include.
76540
76541 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
76542
76543 * sysdeps/posix/spawni.c: Include <signal.h>.
76544 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76545 * sysdeps/pthread/aio_fsync.c: Likewise.
76546
76547 2012-02-26 Ulrich Drepper <drepper@gmail.com>
76548
76549 * conform/Makefile (tests): Run only when not cross-compiling and
76550 when fast-check is not defined.
76551
76552 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76553 * conform/data/limits.h-data: Fixes for POSIX2008.
76554 * conform/run-conformtest.sh: Run all tests.
76555 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76556 headers.
76557 * include/bits/dlfcn.h: Likewise.
76558 * include/langinfo.h: Likewise.
76559 * include/monetary.h: Likewise.
76560 * include/sys/poll.h: Likewise.
76561
76562 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76563 for __USE_GNU.
76564 * posix/spawn.h: Define __need_sigset_t.
76565 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76566 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76567 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
76568 to get sigevent_t only.
76569 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76570 only for __USE_GNU.
76571 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76572 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76573 process_vm_writev only for __USE_GNU.
76574 * termios/termios.h: Declare tcgetsid also for POSIX2008.
76575
76576 * conform/Makefile: For now ignore errors from run-conformtest.
76577 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
76578 POSIX to avoid namespace pollution. Don't prepend headers.
76579 * conform/data/aio.h-data: Fixes for POSIX testing.
76580 * conform/data/fcntl.h-data: Likewise.
76581 * conform/data/glob.h-data: Likewise.
76582 * conform/data/grp.h-data: Likewise.
76583 * conform/data/pthread.h-data: Likewise.
76584 * conform/data/pwd.h-data: Likewise.
76585 * conform/data/signal.h-data: Likewise.
76586 * conform/data/spawn.h-data: Likewise.
76587 * conform/data/stdio.h-data: Likewise.
76588 * conform/data/stdlib.h-data: Likewise.
76589 * conform/data/stropts.h-data: Likewise.
76590 * conform/data/sys/mman.h-data: Likewise.
76591 * conform/data/sys/stat.h-data: Likewise.
76592 * conform/data/sys/types.h-data: Likewise.
76593 * conform/data/sys/wait.h-data: Likewise.
76594 * conform/data/time.h-data: Likewise.
76595 * conform/data/unistd.h-data: Likewise.
76596 * conform/data/utime.h-data: Likewise.
76597
76598 * io/sys/stat.h: fchmod was always in POSIX.
76599 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76600 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76601 * rt/aio.h: Define __need_timespec before including <time.h>.
76602 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76603 struct. Add forward declaration of pthread_attr_t and use it in
76604 sigevent.
76605 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76606 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76607 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76608 always remove CLK_TCK definition.
76609
76610 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
76611
76612 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76613
76614 2012-02-25 Ulrich Drepper <drepper@gmail.com>
76615
76616 * conform/run-conformtest.sh: New file.
76617 * conform/Makefile: Run run-conformtest for tests.
76618 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
76619 support.
76620
76621 * conform/data/uchar.h-data: New file.
76622 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76623 * conform/data/arpa/inet.h-data: Likewise.
76624 * conform/data/assert.h-data: Likewise.
76625 * conform/data/complex.h-data: Likewise.
76626 * conform/data/cpio.h-data: Likewise.
76627 * conform/data/ctype.h-data: Likewise.
76628 * conform/data/dirent.h-data: Likewise.
76629 * conform/data/dlfcn.h-data: Likewise.
76630 * conform/data/errno.h-data: Likewise.
76631 * conform/data/fcntl.h-data: Likewise.
76632 * conform/data/float.h-data: Likewise.
76633 * conform/data/fmtmsg.h-data: Likewise.
76634 * conform/data/fnmatch.h-data: Likewise.
76635 * conform/data/ftw.h-data: Likewise.
76636 * conform/data/glob.h-data: Likewise.
76637 * conform/data/grp.h-data: Likewise.
76638 * conform/data/iconv.h-data: Likewise.
76639 * conform/data/inttypes.h-data: Likewise.
76640 * conform/data/langinfo.h-data: Likewise.
76641 * conform/data/libgen.h-data: Likewise.
76642 * conform/data/limits.h-data: Likewise.
76643 * conform/data/locale.h-data: Likewise.
76644 * conform/data/math.h-data: Likewise.
76645 * conform/data/monetary.h-data: Likewise.
76646 * conform/data/mqueue.h-data: Likewise.
76647 * conform/data/ndbm.h-data: Likewise.
76648 * conform/data/net/if.h-data: Likewise.
76649 * conform/data/netdb.h-data: Likewise.
76650 * conform/data/netinet/in.h-data: Likewise.
76651 * conform/data/nl_types.h-data: Likewise.
76652 * conform/data/poll.h-data: Likewise.
76653 * conform/data/pthread.h-data: Likewise.
76654 * conform/data/pwd.h-data: Likewise.
76655 * conform/data/regex.h-data: Likewise.
76656 * conform/data/sched.h-data: Likewise.
76657 * conform/data/search.h-data: Likewise.
76658 * conform/data/semaphore.h-data: Likewise.
76659 * conform/data/setjmp.h-data: Likewise.
76660 * conform/data/signal.h-data: Likewise.
76661 * conform/data/spawn.h-data: Likewise.
76662 * conform/data/stdarg.h-data: Likewise.
76663 * conform/data/stdio.h-data: Likewise.
76664 * conform/data/stdlib.h-data: Likewise.
76665 * conform/data/string.h-data: Likewise.
76666 * conform/data/strings.h-data: Likewise.
76667 * conform/data/stropts.h-data: Likewise.
76668 * conform/data/sys/ipc.h-data: Likewise.
76669 * conform/data/sys/mman.h-data: Likewise.
76670 * conform/data/sys/msg.h-data: Likewise.
76671 * conform/data/sys/resource.h-data: Likewise.
76672 * conform/data/sys/select.h-data: Likewise.
76673 * conform/data/sys/sem.h-data: Likewise.
76674 * conform/data/sys/shm.h-data: Likewise.
76675 * conform/data/sys/socket.h-data: Likewise.
76676 * conform/data/sys/stat.h-data: Likewise.
76677 * conform/data/sys/statvfs.h-data: Likewise.
76678 * conform/data/sys/time.h-data: Likewise.
76679 * conform/data/sys/timeb.h-data: Likewise.
76680 * conform/data/sys/times.h-data: Likewise.
76681 * conform/data/sys/types.h-data: Likewise.
76682 * conform/data/sys/uio.h-data: Likewise.
76683 * conform/data/sys/un.h-data: Likewise.
76684 * conform/data/sys/utsname.h-data: Likewise.
76685 * conform/data/sys/wait.h-data: Likewise.
76686 * conform/data/syslog.h-data: Likewise.
76687 * conform/data/tar.h-data: Likewise.
76688 * conform/data/termios.h-data: Likewise.
76689 * conform/data/utime.h-data: Likewise.
76690 * conform/data/utmpx.h-data: Likewise.
76691 * conform/data/varargs.h-data: Likewise.
76692 * conform/data/wchar.h-data: Likewise.
76693 * conform/data/wctype.h-data: Likewise.
76694 * conform/data/wordexp.h-data: Likewise.
76695
76696 * include/stropts.h: New file.
76697 * include/uchar.h: New file.
76698 * include/aio.h: Changes to allow conformtest.pl to use the headers.
76699 * include/assert.h: Likewise.
76700 * include/ctype.h: Likewise.
76701 * include/dirent.h: Likewise.
76702 * include/dlfcn.h: Likewise.
76703 * include/fcntl.h: Likewise.
76704 * include/fnmatch.h: Likewise.
76705 * include/glob.h: Likewise.
76706 * include/grp.h: Likewise.
76707 * include/libio.h: Likewise.
76708 * include/locale.h: Likewise.
76709 * include/math.h: Likewise.
76710 * include/net/if.h: Likewise.
76711 * include/netdb.h: Likewise.
76712 * include/netinet/in.h: Likewise.
76713 * include/pthread.h: Likewise.
76714 * include/pwd.h: Likewise.
76715 * include/regex.h: Likewise.
76716 * include/sched.h: Likewise.
76717 * include/search.h: Likewise.
76718 * include/setjmp.h: Likewise.
76719 * include/signal.h: Likewise.
76720 * include/stdio.h: Likewise.
76721 * include/stdlib.h: Likewise.
76722 * include/string.h: Likewise.
76723 * include/sys/cdefs.h: Likewise.
76724 * include/sys/mman.h: Likewise.
76725 * include/sys/msg.h: Likewise.
76726 * include/sys/resource.h: Likewise.
76727 * include/sys/select.h: Likewise.
76728 * include/sys/socket.h: Likewise.
76729 * include/sys/stat.h: Likewise.
76730 * include/sys/statvfs.h: Likewise.
76731 * include/sys/time.h: Likewise.
76732 * include/sys/times.h: Likewise.
76733 * include/sys/uio.h: Likewise.
76734 * include/sys/utsname.h: Likewise.
76735 * include/sys/wait.h: Likewise.
76736 * include/termios.h: Likewise.
76737 * include/time.h: Likewise.
76738 * include/ulimit.h: Likewise.
76739 * include/unistd.h: Likewise.
76740 * include/utime.h: Likewise.
76741 * include/wchar.h: Likewise.
76742 * include/wctype.h: Likewise.
76743 * include/wordexp.h: Likewise.
76744
76745 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76746
76747 * time/time.h: TIME_UTC must be a macro.
76748 Make timespec_get available for ISO C11 only as well.
76749
76750 2012-02-24 Ulrich Drepper <drepper@gmail.com>
76751
76752 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76753 Reported by Peng Haitao <penght@cn.fujitsu.com>.
76754
76755 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76756
76757 * configure.in: Use -o not -a in test for unsupported multi-arch.
76758
76759 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76760
76761 * manual/texinfo.tex: Update to version 2012-01-19.16.
76762
76763 2012-02-24 Joseph Myers <joseph@codesourcery.com>
76764
76765 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76766
76767 2012-02-24 Roland McGrath <roland@hack.frob.com>
76768
76769 [BZ #13738]
76770 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76771 * manual/fdl-1.3.texi: New file.
76772 * manual/fdl-1.1.texi: File removed.
76773
76774 [BZ #13738]
76775 * manual/libc.texinfo (FDL_VERSION): New @set.
76776 Use it for mention of FDL in cover text.
76777 (Documentation License): Use it in @include file name.
76778
76779 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76780 Roland McGrath <roland@hack.frob.com>
76781
76782 [BZ #5461]
76783 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76784 (not LONG_LONG_MAX and LONG_LONG_MIN.
76785 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76786 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
76787 name.
76788 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76789
76790 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76791
76792 [BZ #2547]
76793 [BZ #11365]
76794 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76795 manipulate bits before adding and subtracting TWO23[sx].
76796 * math/libm-test.inc (nearbyint_test): Add more tests.
76797
76798 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76799
76800 [BZ #2548]
76801 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76802 bits before adding and subtracting TWO23[sx].
76803 * math/libm-test.inc (rint_test): Add more tests.
76804 (rint_test_tonearest): Likewise.
76805 (rint_test_towardzero): Likewise.
76806 (rint_test_downward): Likewise.
76807 (rint_test_upward: Likewise.
76808
76809 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76810
76811 [BZ #10110]
76812 * include/stdc-predef.h: New file. Extracted from features.h.
76813 * include/features.h: Include stdc-predef.h.
76814 * Makefile (headers): Add stdc-predef.h.
76815 * CONFORMANCE (Compiler limitations): Update.
76816
76817 2012-02-22 Joseph Myers <joseph@codesourcery.com>
76818
76819 * manual/libc.texinfo (VERSION, UPDATED): Revert.
76820
76821 2012-02-21 David S. Miller <davem@davemloft.net>
76822
76823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76824 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76825
76826 2012-02-20 David S. Miller <davem@davemloft.net>
76827
76828 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76829 using a normal save/restore sequence, rather than allocating a
76830 dummy stack frame just to store a frame pointer and restore.
76831 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76832
76833 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76834
76835 * manual/install.texi: Fix stray word in line-wrapped comment.
76836
76837 2012-02-20 David S. Miller <davem@davemloft.net>
76838
76839 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76840 both binutils and gcc support GOTDATA.
76841
76842 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76843 "rd %pc" in the PIC register setup sequences.
76844
76845 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76846 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76847 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76848 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76849 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76850 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76851 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76852 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76853 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76854 (SYSCALL_ERROR_HANDLER): Likewise.
76855 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76856 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76857 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76858 (SYSCALL_ERROR_HANDLER): Likewise.
76859
76860 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76861 (HAVE_GCC_GOTDATA): New.
76862 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76863 relocation support in both binutils and gcc.
76864 * sysdeps/sparc/elf/configure: Regenerate.
76865
76866 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76867 * sysdeps/sparc/sparc32/elf/configure: Delete.
76868 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76869 * sysdeps/sparc/sparc64/elf/configure: Delete.
76870 * sysdeps/sparc/elf/configure.in: New file.
76871 * sysdeps/sparc/elf/configure: Generate.
76872
76873 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76874 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76875 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76876 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76877 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76878
76879 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76880
76881 * manual/install.texi: Do not mention specific glibc version
76882 numbers.
76883 * manual/libc.texinfo (VERSION, UPDATED): Update.
76884 (@copying): Use @copyright{} and range of years.
76885
76886 2012-02-21 Joseph Myers <joseph@codesourcery.com>
76887
76888 [BZ #13695]
76889 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76890 [crti.S not in sysdirs] (generated): Do not append.
76891 [crti.S not in sysdirs] (omit-deps): Likewise.
76892 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76893 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76894 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76895 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76896 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76897 Likewise.
76898 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76899 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76900 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76901 * csu/defs.awk: Remove file.
76902 * sysdeps/generic/initfini.c: Likewise.
76903 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76904 variable.
76905 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76906 Likewise.
76907
76908 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76909
76910 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76911 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76912 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
76913 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
76914 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76915 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
76916 <bits/epoll.h>.
76917 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
76918 (__EPOLL_PACKED): Define to empty if not defined by
76919 <bits/epoll.h>.
76920 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
76921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76922 bits/epoll.h.
76923
76924 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76925
76926 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
76927 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
76928 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
76929 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
76930 <bits/timerfd.h>.
76931 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
76932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76933 bits/timerfd.h.
76934
76935 2012-02-20 Joseph Myers <joseph@codesourcery.com>
76936
76937 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
76938 in C locale.
76939 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76940 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
76941 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
76942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76943
76944 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
76945
76946 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76947 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76948
76949 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
76950
76951 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
76952 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
76953 defined.
76954 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
76955 Likewise.
76956 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
76957 entry for 2.16.
76958
76959 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
76960
76961 * math/w_acos.c: Use non-signaling floating-point comparisons.
76962 * math/w_acosf.c: Likewise.
76963 * math/w_acosh.c: Likewise.
76964 * math/w_acoshf.c: Likewise.
76965 * math/w_acoshl.c: Likewise.
76966 * math/w_acosl.c: Likewise.
76967 * math/w_asin.c: Likewise.
76968 * math/w_asinf.c: Likewise.
76969 * math/w_asinl.c: Likewise.
76970 * math/w_atanh.c: Likewise.
76971 * math/w_atanhf.c: Likewise.
76972 * math/w_atanhl.c: Likewise.
76973 * math/w_exp2.c: Likewise.
76974 * math/w_exp2f.c: Likewise.
76975 * math/w_exp2l.c: Likewise.
76976 * math/w_j0.c: Likewise.
76977 * math/w_j0f.c: Likewise.
76978 * math/w_j0l.c: Likewise.
76979 * math/w_j1.c: Likewise.
76980 * math/w_j1f.c: Likewise.
76981 * math/w_j1l.c: Likewise.
76982 * math/w_jn.c: Likewise.
76983 * math/w_jnf.c: Likewise.
76984 * math/w_log.c: Likewise.
76985 * math/w_log10.c: Likewise.
76986 * math/w_log10f.c: Likewise.
76987 * math/w_log10l.c: Likewise.
76988 * math/w_log2.c: Likewise.
76989 * math/w_log2f.c: Likewise.
76990 * math/w_log2l.c: Likewise.
76991 * math/w_logf.c: Likewise.
76992 * math/w_logl.c: Likewise.
76993 * math/w_sqrt.c: Likewise.
76994 * math/w_sqrtf.c: Likewise.
76995 * math/w_sqrtl.c: Likewise.
76996 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76997 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
76998 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76999 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77000 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77001
77002 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77003
77004 [BZ #9739]
77005 * manual/string.texi (strnlen): Use correct parameter name in
77006 equivalent expression.
77007
77008 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77009
77010 [BZ #11174]
77011 * manual/users.texi (seteuid): Consistently use neweuid for
77012 argument name.
77013
77014 2012-02-19 Joseph Myers <joseph@codesourcery.com>
77015
77016 [BZ #13704]
77017 * manual/nss.texi (Services in the NSS configuration): Correct
77018 list of services in example configuration file.
77019
77020 2012-02-19 Nick Bowler <nbowler@draconx.ca>
77021
77022 [BZ #11322]
77023 * manual/arith.texi: Remove statements about negative zero
77024 behaving identically to zero.
77025
77026 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77027
77028 [BZ #5993]
77029 * manual/install.texi: Do not document upgrading from libc5.
77030
77031 2012-02-18 Joseph Myers <joseph@codesourcery.com>
77032
77033 [BZ #4596]
77034 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77035
77036 2012-02-18 David S. Miller <davem@davemloft.net>
77037
77038 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77039 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77040 %o7 across the call.
77041 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77042 instead.
77043 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77044 SETUP_PIC_REG_LEAF.
77045 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77046 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77047 * sysdeps/sparc/crtn.S: Likewise.
77048
77049 2012-02-17 Ulrich Drepper <drepper@gmail.com>
77050
77051 * aout/Makefile: Remove.
77052
77053 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
77054
77055 [BZ #13058]
77056 * manual/examples/argp-ex1.c (main): Format definition in GNU
77057 style.
77058 * manual/examples/argp-ex2.c (main): Likewise.
77059 * manual/examples/argp-ex3.c (main): Likewise.
77060 * manual/examples/argp-ex4.c (main): Likewise.
77061 * manual/examples/longopt.c (main): Use new-style prototype
77062 definition.
77063 * manual/examples/strncat.c (main): Specify return type and use
77064 (void) for arguments.
77065 * manual/examples/subopt.c (main): Use char **argv argument.
77066
77067 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77068
77069 [BZ #5077]
77070 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77071 rounding modes.
77072
77073 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
77074
77075 [BZ #6907]
77076 * manual/string.texi (strchr): Change when strchrnul is
77077 recommended.
77078
77079 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
77080
77081 [BZ #174]
77082 * manual/locale.texi (setlocale): Document LOCPATH.
77083
77084 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77085
77086 [BZ #10210]
77087 * manual/process.texi (execle): Move @dots{} before last argument.
77088
77089 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
77090
77091 [BZ #12047]
77092 * manual/charset.texi (Generic Charset Conversion): Fix typo
77093 (LC_TYPE -> LC_CTYPE).
77094
77095 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
77096
77097 [BZ #5805]
77098 * manual/arith.texi (scalbn): Use @var{} on parameter names.
77099 (scalbnf): Likewise.
77100 (scalbnl): Likewise.
77101 (scalbln): Likewise.
77102 (scalblnf): Likewise.
77103 (scalblnl): Likewise.
77104 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77105 (vwarnx): Likewise.
77106 (verr): Likewise.
77107 (verrx): Likewise.
77108 * manual/filesys.texi (telldir): Use braces around return type.
77109 * manual/llio.texi (mmap): Add space after comma.
77110 (mmap64): Likewise.
77111 * manual/math.texi (jn): Use @var{} on parameter names.
77112 (jnf): Likewise.
77113 (jnl): Likewise.
77114 (yn): Likewise.
77115 (ynf): Likewise.
77116 (ynl): Likewise.
77117 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77118 line.
77119 * manual/resource.texi (ulimit): Use @dots{} instead of literal
77120 "...".
77121 (sched_get_priority_min): Remove semicolon on @deftypefun line.
77122 (sched_get_priority_max): Likewise.
77123 * manual/signal.texi (sigvec): Add space after comma.
77124 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77125 names.
77126 (if_indextoname): Likewise.
77127 (if_freenameindex): Likewise.
77128 (sendto): Use ',' instead of '.' in prototype.
77129 * manual/startup.texi (syscall): Use @dots{} instead of literal
77130 "...".
77131 * manual/stdio.texi (__fpending): Separate initial words of
77132 paragraph from @deftypefun line.
77133 * manual/syslog.texi (syslog): Use @dots{} instead of literal
77134 "...".
77135 (vsyslog): Use @var{} on parameter names.
77136 * manual/terminal.texi (stty): Use @var{} on parameter names.
77137 * manual/users.texi (getutmp): Use @var{} on parameter names.
77138 (getutmpx): Likewise.
77139
77140 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77141
77142 [BZ #6884]
77143 * manual/stdio.texi (fopen): Fix typos in description of
77144 ",ccs=STRING".
77145
77146 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
77147
77148 [BZ #4026]
77149 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77150 get clock_id definition.
77151
77152 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
77153
77154 [BZ #4822]
77155 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77156 (madvise): Cast every argument to void on its own.
77157
77158 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77159
77160 [BZ #9902]
77161 * manual/startup.texi (Exit Status): Fix typo.
77162
77163 2012-02-17 Joseph Myers <joseph@codesourcery.com>
77164
77165 [BZ #10140]
77166 * manual/examples/argp-ex1.c: Include <stdlib.h>.
77167 * manual/examples/argp-ex2.c: Likewise.
77168 * manual/examples/argp-ex3.c: Likewise.
77169
77170 2012-02-16 Richard Henderson <rth@redhat.com>
77171
77172 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77173 * sysdeps/s390/s390-32/initfini.c: Remove.
77174 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77175 * sysdeps/s390/s390-64/initfini.c: Remove.
77176
77177 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
77178
77179 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77180 compiler output for sysdeps/generic/initfini.c.
77181 * sysdeps/sh/elf/initfini.c: Remove file.
77182
77183 2012-02-16 David S. Miller <davem@davemloft.net>
77184
77185 [BZ #11494]
77186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77187
77188 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77189 * sysdeps/sparc/crti.S: New file.
77190 * sysdeps/sparc/crtn.S: New file.
77191 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77192 * sysdeps/sparc/sparc64/Makefile: Likewise.
77193
77194 2012-02-15 Mike Frysinger <vapier@gentoo.org>
77195
77196 [BZ #3335]
77197 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77198
77199 2012-02-15 Roland McGrath <roland@hack.frob.com>
77200
77201 [BZ #4822]
77202 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77203
77204 * mach/devstream.c (cookie_io_functions_t): Macro removed.
77205 (write, read, close): Likewise.
77206 Patch by Aurelien Jarno <aurelien@aurel32.net>.
77207
77208 2012-02-15 Joseph Myers <joseph@codesourcery.com>
77209
77210 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77211 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77212 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77213 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77214 <bits/signalfd.h>.
77215 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77217 bits/signalfd.h.
77218
77219 2012-02-14 Marek Polacek <polacek@redhat.com>
77220
77221 * sysdeps/x86_64/crti.S: New file.
77222 * sysdeps/x86_64/crtn.S: New file.
77223 * sysdeps/x86_64/elf/initfini.c: Remove file.
77224
77225 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77226
77227 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77228 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77229 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77230 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77231 <bits/inotify.h>.
77232 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77234 bits/inotify.h.
77235
77236 2012-02-13 Joseph Myers <joseph@codesourcery.com>
77237
77238 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77239 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77240 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77241 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77242 <bits/eventfd.h>.
77243 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77245 bits/eventfd.h.
77246
77247 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
77248
77249 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77250 __feraiseexcept instead of feraiseexcept.
77251
77252 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77253 nanosleep invocations.
77254 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77255 strings, and add error checking for a nanosleep invocations.
77256
77257 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
77258
77259 Replace FSF snail mail address with URLs, as per GNU coding standards.
77260 Most of the snail mail addresses were wrong anyway, and omitting
77261 them makes the source code easier to maintain. Almost all of the
77262 changes are to license notices and to locale LC_IDENTIFICATION
77263 addresses, except for this one:
77264 * manual/libc.texinfo: In "Published by", give the FSF's URL,
77265 not its snail mail address.
77266
77267 2012-02-09 Richard Henderson <rth@twiddle.net>
77268
77269 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77270 of kernel-features.h.
77271
77272 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77273
77274 2012-02-08 Marek Polacek <polacek@redhat.com>
77275
77276 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77277 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77278 * sysdeps/gnu/_G_config.h: Likewise.
77279 * sysdeps/generic/_G_config.h: Likewise.
77280
77281 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
77282
77283 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77284 tests.
77285 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77286
77287 * sysdeps/powerpc/powerpc32/crti.S: New file.
77288 * sysdeps/powerpc/powerpc32/crtn.S: New file.
77289 * sysdeps/powerpc/powerpc64/crti.S: New file.
77290 * sysdeps/powerpc/powerpc64/crtn.S: New file.
77291
77292 * Makeconfig (have-initfini): Don't set.
77293 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77294 * configure.in (nopic_initfini): Don't substitute.
77295 * config.h.in (HAVE_INITFINI): Don't #undef.
77296 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77297 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77298
77299 2012-02-08 Joseph Myers <joseph@codesourcery.com>
77300
77301 Support crti.S and crtn.S provided directly by architectures.
77302 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77303 [crti.S in sysdirs] (omit-deps): Likewise.
77304 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77305 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77306 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77307 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77308 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77309 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77310 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77311 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77312 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77313 compiler output for sysdeps/generic/initfini.c.
77314 * sysdeps/i386/elf/Makefile: Remove file.
77315 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77316
77317 2012-02-07 Marek Polacek <polacek@redhat.com>
77318
77319 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77320 * sysdeps/gnu/_G_config.h: Likewise.
77321 * sysdeps/mach/hurd/_G_config.h: Likewise.
77322
77323 2012-02-07 Marek Polacek <polacek@redhat.com>
77324
77325 * math/Makefile (tests): Add tst-CMPLX2.
77326 * math/tst-CMPLX2.c: New file.
77327
77328 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
77329
77330 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77331
77332 * math/libm-test.inc (jn_test): Add missing L suffix.
77333
77334 2012-02-06 Marek Polacek <polacek@redhat.com>
77335
77336 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77337 * sysdeps/i386/fpu/e_powf.S: Likewise.
77338 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77339 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77340 * sysdeps/i386/fpu/e_acosh.S: Likewise.
77341 * sysdeps/i386/fpu/e_pow.S: Likewise.
77342 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77343 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77344 * sysdeps/i386/fpu/s_expm1.S: Likewise.
77345 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77346 * sysdeps/i386/fpu/e_log2.S: Likewise.
77347 * sysdeps/i386/fpu/e_log2l.S: Likewise.
77348 * sysdeps/i386/fpu/e_scalb.S: Likewise.
77349 * sysdeps/i386/fpu/e_powl.S: Likewise.
77350 * sysdeps/i386/fpu/s_log1p.S: Likewise.
77351 * sysdeps/i386/fpu/e_log10f.S: Likewise.
77352 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77353 * sysdeps/i386/fpu/e_logl.S: Likewise.
77354 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77355 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77356 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77357 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77358 * sysdeps/i386/fpu/e_log2f.S: Likewise.
77359 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77360 * sysdeps/i386/fpu/e_log.S: Likewise.
77361 * sysdeps/i386/fpu/s_cexp.S: Likewise.
77362 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77363 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77364 * sysdeps/i386/fpu/e_logf.S: Likewise.
77365 * sysdeps/i386/fpu/e_log10l.S: Likewise.
77366 * sysdeps/i386/fpu/e_atanh.S: Likewise.
77367 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77368 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77369 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77370 * sysdeps/i386/fpu/e_log10.S: Likewise.
77371 * sysdeps/i386/fpu/s_frexp.S: Likewise.
77372 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77373 * sysdeps/i386/fpu/s_asinh.S: Likewise.
77374 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77375 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77376 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77377 * sysdeps/i386/asm-syntax.h: Likewise.
77378 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77379 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77380 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77381 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77382 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77383 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77384 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77385 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77386 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77387 * sysdeps/powerpc/sysdep.h: Likewise.
77388 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77389 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77390
77391 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77392
77393 [BZ #411]
77394 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77395
77396 2012-02-06 Joseph Myers <joseph@codesourcery.com>
77397
77398 * sysdeps/i386/sysdep.h: Include <features.h>.
77399 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77400 version.
77401
77402 2012-02-05 Joseph Myers <joseph@codesourcery.com>
77403
77404 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77405 Define.
77406 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77407 LOAD_PIC_REG_STR.
77408
77409 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77410
77411 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77412 (SETUP_PIC_REG): Use GET_PC_THUNK.
77413 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77414 macro.
77415
77416 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77417
77418 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77419 for non-PIC compilation.
77420 (SETUP_PIC_REG): Add .p2align directive.
77421 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77422 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77423 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77424 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77425 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77426 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77427 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77428 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77429 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77430 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77431 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77432 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77433 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77434 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77435 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77436 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77437 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77438 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77439 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77440 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77441 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77442 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77443 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77444 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77445 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77446 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77447 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77448 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77449 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77450 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77451 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77452 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77453 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77454 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77455 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77456 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77457 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77458 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77459 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77460 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77461 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77462
77463 2012-02-03 Joseph Myers <joseph@codesourcery.com>
77464
77465 * math/tst-CMPLX.c: Include <stdio.h>.
77466
77467 2012-01-31 Joseph Myers <joseph@codesourcery.com>
77468
77469 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77470 float.
77471 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77472 * sysdeps/sparc/bits/mathdef.h: Likewise.
77473
77474 2012-01-31 Marek Polacek <polacek@redhat.com>
77475
77476 * libio/libio.h: Don't define _PARAMS.
77477 * locale/programs/config.h: Don't define PARAMS.
77478 * stdlib/strtol_l.c: Likewise.
77479 (__strtol_l): Remove PARAMS from the prototype.
77480
77481 2012-01-31 Ulrich Drepper <drepper@gmail.com>
77482
77483 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
77484 names. Just use the correct names. Remove unnecessary wrapper
77485 functions.
77486 * malloc/arena.c: Likewise.
77487 * malloc/hooks.c: Likewise.
77488
77489 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77490 ARENA_TEST says not to. Simplify test for creation of a new arena.
77491 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77492
77493 2012-01-30 Ulrich Drepper <drepper@gmail.com>
77494
77495 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77496 into tail calls.
77497 (update_get_addr): New function.
77498 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77499 GET_ADDR_MODULE parameter.
77500
77501 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77502
77503 * crypt/cert.c: Remove __STDC__ conditionals.
77504 * crypt/crypt-entry.c: Likewise.
77505 * crypt/crypt_util.c: Likewise.
77506 * libio/filedoalloc.c: Likewise.
77507 * libio/fileops.c: Likewise.
77508 * libio/genops.c: Likewise.
77509 * libio/iofclose.c: Likewise.
77510 * libio/iofdopen.c: Likewise.
77511 * libio/iofopen.c: Likewise.
77512 * libio/iofopen64.c: Likewise.
77513 * libio/iogetdelim.c: Likewise.
77514 * libio/iopopen.c: Likewise.
77515 * libio/obprintf.c: Likewise.
77516 * libio/oldfileops.c: Likewise.
77517 * libio/oldiofclose.c: Likewise.
77518 * libio/oldiofdopen.c: Likewise.
77519 * libio/oldiofopen.c: Likewise.
77520 * libio/oldiopopen.c: Likewise.
77521 * libio/wfiledoalloc.c: Likewise.
77522 * libio/wgenops.c: Likewise.
77523 * locale/programs/xmalloc.c: Likewise.
77524 * misc/syslog.c: Likewise.
77525 * stdio-common/xbug.c: Likewise.
77526 * string/memchr.c: Likewise.
77527 * string/memcmp.c: Likewise.
77528 * string/memrchr.c: Likewise.
77529 * string/rawmemchr.c: Likewise.
77530 * sysdeps/posix/getcwd.c: Likewise.
77531 * time/strftime_l.c: Likewise.
77532
77533 2012-01-30 Joseph Myers <joseph@codesourcery.com>
77534
77535 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77536 * config.make.in (config-cflags-sse2avx): Define.
77537 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77538 Fix typo.
77539
77540 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
77541
77542 * scripts/config.guess: Update from upstream config git repository.
77543 * scripts/config.sub: Likewise.
77544
77545 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
77546
77547 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77548 (EM_NUM): Update.
77549 (R_TILEPRO_*, R_TILEGX_*): New macros.
77550
77551 * scripts/firstversions.awk: Fix bug in version range handling.
77552
77553 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77554
77555 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77556
77557 * include/sys/epoll.h: New file.
77558 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77559 libc_hidden_def.
77560
77561 2012-01-28 Ulrich Drepper <drepper@gmail.com>
77562
77563 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77564 Avoid unnecessary __WORDSIZE == 64 test.
77565 (fmaxf): Use VEX format if possible.
77566 (fmax): Likewise.
77567 (fminf): Likewise.
77568 (fmin): Likewise.
77569
77570 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77571 * math/math_private.h: Remove libc_fegetround* and
77572 libc_fesetround*.
77573 * sysdeps/i386/configure.in: Check for -msse2avx.
77574 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77575 also if SSE2AVX is defined.
77576 Remove libc_fegetround* and libc_fesetround*.
77577 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77578 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
77579 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77580 of HAS_YMM_USABLE.
77581 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77582 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77583 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77584 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77585 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77586
77587 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77588
77589 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
77590
77591 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77592 size is not set.
77593 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77594
77595 2012-01-27 Ulrich Drepper <drepper@gmail.com>
77596
77597 [BZ #13618]
77598 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77599 relocation.
77600 * Makeconfig (libm): Define.
77601 * elf/Makefile: Add rules to build and run tst-relsort1.
77602 * elf/tst-relsort1.c: New file.
77603 * elf/tst-relsort1mod1.c: New file.
77604 * elf/tst-relsort1mod2.c: New file.
77605
77606 2012-01-27 Joseph Myers <joseph@codesourcery.com>
77607
77608 * math/s_ldexp.c: Remove __STDC__ conditionals.
77609 * math/s_ldexpf.c: Likewise.
77610 * math/s_ldexpl.c: Likewise.
77611 * math/s_nextafter.c: Likewise.
77612 * math/s_nexttowardf.c: Likewise.
77613 * math/s_significand.c: Likewise.
77614 * math/s_significandf.c: Likewise.
77615 * math/s_significandl.c: Likewise.
77616 * math/w_jnl.c: Likewise.
77617 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77618 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77619 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77620 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77621 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77623 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77624 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77625 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77626 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77627 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77628 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77629 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77630 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77631 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77632 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77633 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77634 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77635 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77636 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77637 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77638 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77639 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77640 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77641 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77642 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77643 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77644 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77645 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77646 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77647 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77648 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77649 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77650 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77651 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77652 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77653 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77654 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77655 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77656 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77657 * sysdeps/ieee754/k_standard.c: Likewise.
77658 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77659 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77660 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77661 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77662 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77663 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77664 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77665 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77666 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77667 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77668 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77669 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77670 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77671 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77672 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77673 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77674 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77675 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77676 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77677 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77678 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77679 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77680 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77681 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77682 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77683 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77687 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77688 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77689 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77690 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77691 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77693 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77694 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77695 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77696 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77697 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77698 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77700 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77701 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77702 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77703 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77704 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77706 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77707 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77708 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77711 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77712 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77713 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77714 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77715 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77716 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77717 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77718 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77719 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77720 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77721 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77722 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77723 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77724 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77725 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77726 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77727 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77728 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77729 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77730 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77731 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77732 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77733 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77734 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77735 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77736 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77737 * sysdeps/ieee754/s_matherr.c: Likewise.
77738 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77739 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77741 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77742
77743 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77744
77745 * crypt/md5.h: Remove __STDC__ conditionals.
77746 * libio/libioP.h: Likewise.
77747 * locale/programs/config.h: Likewise.
77748 * sysdeps/generic/sysdep.h: Likewise.
77749 * sysdeps/i386/asm-syntax.h: Likewise.
77750 * sysdeps/s390/asm-syntax.h: Likewise.
77751 * sysdeps/unix/sysdep.h: Likewise.
77752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77754
77755 2012-01-26 Joseph Myers <joseph@codesourcery.com>
77756
77757 * libio/libio.h: Remove __STDC__ conditionals.
77758 * malloc/obstack.h: Likewise.
77759 * math/complex.h: Likewise.
77760 * math/math.h: Likewise.
77761 * sysdeps/generic/_G_config.h: Likewise.
77762 * sysdeps/gnu/_G_config.h: Likewise.
77763 * sysdeps/mach/hurd/_G_config.h: Likewise.
77764 * sysdeps/powerpc/bits/mathdef.h: Likewise.
77765 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77766 * sysdeps/sparc/bits/mathdef.h: Likewise.
77767
77768 2012-01-26 Ulrich Drepper <drepper@gmail.com>
77769
77770 [BZ #13583]
77771 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77772 Clean up HAS_* macros.
77773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77774 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77775 possible.
77776 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77777 HAS_AVX.
77778 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77779 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77780 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77781 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77782 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77783
77784 2012-01-25 Joseph Myers <joseph@codesourcery.com>
77785
77786 * elf/tst-unique3.cc (gets): Remove declaration.
77787 * elf/tst-unique3lib.cc (gets): Likewise.
77788 * elf/tst-unique3lib2.cc (gets): Likewise.
77789 * elf/tst-unique4.cc (gets): Likewise.
77790
77791 2012-01-24 Ulrich Drepper <drepper@gmail.com>
77792
77793 * include/stdio.h: Add C++ protection. Add gets declarations and
77794 definitions.
77795 * debug/tst-chk1.c: Don't declare gets here.
77796 * stdio-common/tst-gets.c: Likewise.
77797
77798 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77799
77800 * posix/glob: Remove directory.
77801
77802 2012-01-24 Joseph Myers <joseph@codesourcery.com>
77803
77804 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77805
77806 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
77807
77808 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77809 of the non-standard EPFNOSUPPORT.
77810
77811 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
77812
77813 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77814 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77815 ANYWHERE set to 1 only on KERN_NO_SPACE error.
77816
77817 2012-01-21 Ulrich Drepper <drepper@gmail.com>
77818
77819 * wcsmbs/uchar.h: Test __STDC_VERSION__.
77820
77821 2012-01-20 Ulrich Drepper <drepper@gmail.com>
77822
77823 * nscd/aicache.c (addhstaiX): Do not cache negative results of
77824 transient errors.
77825 * nscd/grpcache.c (cache_addgr): Likewise.
77826 * nscd/hstcache.c (cache_addhst): Likewise.
77827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
77828 * nscd/pwdcache.c (cache_addpw): Likewise.
77829 * nscd/servicescache.c (cache_addserv): Likewise.
77830
77831 2012-01-16 Ulrich Drepper <drepper@gmail.com>
77832
77833 * malloc/malloc.c: Various cleanups.
77834 * malloc/hooks.c: Likewise.
77835
77836 * stdlib/Makefile (tests): Add bug-fmtmsg1.
77837 * stdlib/bug-fmtmsg1.c: New file.
77838
77839 * stdlib/fmtmsg.c (init): Add missing unlock.
77840 Patch by Peng Haitao <penght@cn.fujitsu.com>.
77841
77842 2012-01-12 Marek Polacek <polacek@redhat.com>
77843
77844 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77845 and _GNU_SOURCE.
77846
77847 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
77848
77849 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77850 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77851 macro to ensure uniqueness of label name.
77852 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77853 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77854
77855 2012-01-11 Ulrich Drepper <drepper@gmail.com>
77856
77857 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77858
77859 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77860 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77861 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77863
77864 2012-01-10 Ulrich Drepper <drepper@gmail.com>
77865
77866 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77867
77868 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77869 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77870 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77871
77872 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77873
77874 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77875 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77876 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77878
77879 * math/bits/math-finite.h: Add ldexp support.
77880
77881 2012-01-10 Marek Polacek <polacek@redhat.com>
77882
77883 * locale/programs/localedef.h (show_archive_content): Add noreturn
77884 attribute.
77885
77886 2012-01-09 Ulrich Drepper <drepper@gmail.com>
77887
77888 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77889
77890 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77891
77892 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77893
77894 * io/Makefile (headers): Add bits/poll2.h.
77895
77896 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
77897
77898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77899 typo #include statement.
77900
77901 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77902
77903 * include/sys/cdefs.h: Define __attribute_alloc_size.
77904 * catgets/gencat.c: Add alloc_size attribute and apply consistently
77905 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77906 * elf/pldd.c: Likewise.
77907 * iconv/iconv_charmap.c: Likewise.
77908 * iconv/iconvconfig.c: Likewise.
77909 * iconv/strtab.c: Likewise.
77910 * locale/programs/locale.c: Likewise.
77911 * locale/programs/localedef.h: Likewise.
77912 * locale/programs/simple-hash.c: Likewise.
77913 * nscd/nscd.h: Likewise.
77914 * nss/makedb.c: Likewise.
77915 * sysdeps/generic/ldconfig.h: Likewise.
77916 * locale/programs/localedef.c: Remove xmalloc prototype.
77917 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
77918
77919 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
77920
77921 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
77922 appropriate.
77923
77924 2012-01-08 Ulrich Drepper <drepper@gmail.com>
77925
77926 * math/Makefile (tests): Add tst-CMPLX.
77927 * math/tst-CMPLX.c: New file.
77928
77929 * math/complex.h (CMPLXL): Fix typo.
77930
77931 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
77932 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
77933 GLIBC_2.16.
77934 * debug/tst-chk1.c: Add poll and ppoll tests.
77935 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
77936 * include/sys/poll.h: Add hidden proto for ppoll.
77937 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
77938 * sysdeps/mach/hurd/ppoll.c: Likewise.
77939 * io/ppoll.c: Likewise.
77940 * debug/poll_chk.c: New file.
77941 * debug/ppoll_chk.c: New file.
77942 * include/bits/poll2.h: New file.
77943 * io/bits/poll2.h: New file.
77944
77945 [BZ #1350]
77946 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
77947
77948 * configure.in: static is always set to yes. Remove.
77949 * config.make.in: Don't set build-static.
77950 * Makeconfig: Remove use of build-static.
77951 * dlfcn/Makefile: Likewise.
77952 * elf/Makefile: Likewise.
77953 * math/Makefile: Likewise.
77954 * misc/Makefile: Likewise.
77955 * nptl/Makefile: Likewise.
77956 * sysdeps/mach/hurd/Makefile: Likewise.
77957
77958 * configure.in: PWD_P is not used anymore.
77959 * config.make.in: Remove PWD_P entry.
77960
77961 * configure.in: Remove last remnants of RANLIB.
77962 No need to check for signed size_t anymore.
77963 Don't set libc_commonpagesize and libc_relro_required here for Alpha
77964 and IA-64.
77965 Remove __builtin_expect test because we require at least gcc 3.4.
77966 * aclocal.m4: Likewise.
77967
77968 * wcsmbs/mbrtoc16.c: Implement using towc function.
77969 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
77970 * wcsmbs/wcsmbsload.c: Likewise.
77971 * iconv/gconv_simple.c: Likewise.
77972 * iconv/gconv_int.h: Likewise.
77973 * iconv/gconv_builtin.h: Likewise.
77974 * iconv/iconv_prog.c: Remove CHAR16 handling.
77975
77976 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
77977
77978 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
77979
77980 * configure.in: Remove --with-elf and --enable-bounded options.
77981 Dont set base_machine for ia64. More non-ELF conditions removed.
77982 Remove testing and setting of leading underscore information.
77983 * config.make.in (build-bounded): Set to no.
77984 * config.h.in: Remove NO_UNDERSCORES entry.
77985 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
77986 them.
77987 * csu/start.c: Remove !NO_UNDERSCORE code.
77988 * locale/localeinfo.h: Likewise.
77989 * sysdeps/generic/machine-gmon.h: Likewise.
77990 * sysdeps/generic/sysdep.h: Likewise.
77991 * sysdeps/i386/sysdep.h: Likewise.
77992 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
77993 * sysdeps/mach/sysdep.h: Likewise.
77994 * sysdeps/s390/s390-32/sysdep.h: Likewise.
77995 * sysdeps/s390/s390-64/sysdep.h: Likewise.
77996 * sysdeps/sh/sysdep.h: Likewise.
77997 * sysdeps/sparc/sparc32/alloca.S: Likewise.
77998 * sysdeps/unix/i386/sysdep.S: Likewise.
77999 * sysdeps/unix/sparc/start.c: Likewise.
78000 * sysdeps/unix/sparc/sysdep.S: Likewise.
78001 * sysdeps/unix/sparc/sysdep.h: Likewise.
78002 * sysdeps/unix/start.c: Likewise.
78003 * sysdeps/unix/x86_64/sysdep.S: Likewise.
78004 * sysdeps/x86_64/sysdep.h: Likewise.
78005
78006 2012-01-07 Ulrich Drepper <drepper@gmail.com>
78007
78008 [BZ #13553]
78009 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78010 for non-gcc.
78011 * argp/argp-fmtstream.h: Use const instead __const.
78012 * argp/argp.h: Likewise.
78013 * assert/assert.h: Likewise.
78014 * bits/fenv.h: Likewise.
78015 * bits/sched.h: Likewise.
78016 * bits/sigset.h: Likewise.
78017 * bits/sigthread.h: Likewise.
78018 * catgets/nl_types.h: Likewise.
78019 * conform/data/pthread.h-data: Likewise.
78020 * crypt/crypt-private.h: Likewise.
78021 * crypt/crypt.h: Likewise.
78022 * crypt/crypt_util.c: Likewise.
78023 * ctype/ctype.h: Likewise.
78024 * debug/execinfo.h: Likewise.
78025 * debug/mbsnrtowcs_chk.c: Likewise.
78026 * debug/mbsrtowcs_chk.c: Likewise.
78027 * debug/wcsnrtombs_chk.c: Likewise.
78028 * debug/wcsrtombs_chk.c: Likewise.
78029 * debug/wcstombs_chk.c: Likewise.
78030 * dirent/dirent.h: Likewise.
78031 * dlfcn/dlfcn.h: Likewise.
78032 * elf/neededtest4.c: Likewise.
78033 * grp/grp.h: Likewise.
78034 * gshadow/gshadow.h: Likewise.
78035 * iconv/gconv.h: Likewise.
78036 * iconv/gconv_int.h: Likewise.
78037 * iconv/gconv_simple.c: Likewise.
78038 * iconv/iconv.h: Likewise.
78039 * iconv/loop.c: Likewise.
78040 * iconv/skeleton.c: Likewise.
78041 * include/aio.h: Likewise.
78042 * include/aliases.h: Likewise.
78043 * include/argz.h: Likewise.
78044 * include/arpa/inet.h: Likewise.
78045 * include/assert.h: Likewise.
78046 * include/dirent.h: Likewise.
78047 * include/dlfcn.h: Likewise.
78048 * include/execinfo.h: Likewise.
78049 * include/fcntl.h: Likewise.
78050 * include/fenv.h: Likewise.
78051 * include/glob.h: Likewise.
78052 * include/grp.h: Likewise.
78053 * include/libintl.h: Likewise.
78054 * include/mntent.h: Likewise.
78055 * include/netdb.h: Likewise.
78056 * include/pwd.h: Likewise.
78057 * include/rpc/netdb.h: Likewise.
78058 * include/sched.h: Likewise.
78059 * include/search.h: Likewise.
78060 * include/shadow.h: Likewise.
78061 * include/signal.h: Likewise.
78062 * include/stdio.h: Likewise.
78063 * include/stdlib.h: Likewise.
78064 * include/string.h: Likewise.
78065 * include/sys/socket.h: Likewise.
78066 * include/sys/stat.h: Likewise.
78067 * include/sys/statfs.h: Likewise.
78068 * include/sys/statvfs.h: Likewise.
78069 * include/sys/syslog.h: Likewise.
78070 * include/sys/time.h: Likewise.
78071 * include/sys/uio.h: Likewise.
78072 * include/time.h: Likewise.
78073 * include/unistd.h: Likewise.
78074 * include/utmp.h: Likewise.
78075 * include/wchar.h: Likewise.
78076 * include/wctype.h: Likewise.
78077 * inet/aliases.h: Likewise.
78078 * inet/arpa/inet.h: Likewise.
78079 * inet/netinet/ether.h: Likewise.
78080 * inet/netinet/in.h: Likewise.
78081 * intl/libintl.h: Likewise.
78082 * io/bits/fcntl2.h: Likewise.
78083 * io/fcntl.h: Likewise.
78084 * io/ftw.h: Likewise.
78085 * io/sys/poll.h: Likewise.
78086 * io/sys/stat.h: Likewise.
78087 * io/sys/statfs.h: Likewise.
78088 * io/sys/statvfs.h: Likewise.
78089 * io/utime.h: Likewise.
78090 * libio/bits/stdio.h: Likewise.
78091 * libio/bits/stdio2.h: Likewise.
78092 * libio/libio.h: Likewise.
78093 * libio/libioP.h: Likewise.
78094 * libio/stdio.h: Likewise.
78095 * locale/lc-ctype.c: Likewise.
78096 * locale/locale.h: Likewise.
78097 * login/utmp.h: Likewise.
78098 * malloc/arena.c: Likewise.
78099 * malloc/malloc.c: Likewise.
78100 * malloc/malloc.h: Likewise.
78101 * malloc/mcheck.c: Likewise.
78102 * malloc/mtrace.c: Likewise.
78103 * math/bits/mathcalls.h: Likewise.
78104 * math/fenv.h: Likewise.
78105 * math/math_private.h: Likewise.
78106 * misc/bits/error.h: Likewise.
78107 * misc/bits/syslog.h: Likewise.
78108 * misc/err.h: Likewise.
78109 * misc/error.h: Likewise.
78110 * misc/fstab.h: Likewise.
78111 * misc/mntent.h: Likewise.
78112 * misc/regexp.h: Likewise.
78113 * misc/search.h: Likewise.
78114 * misc/sgtty.h: Likewise.
78115 * misc/sys/mman.h: Likewise.
78116 * misc/sys/syslog.h: Likewise.
78117 * misc/sys/uio.h: Likewise.
78118 * misc/sys/xattr.h: Likewise.
78119 * misc/ttyent.h: Likewise.
78120 * nis/rpcsvc/ypclnt.h: Likewise.
78121 * nss/nss.h: Likewise.
78122 * posix/bits/unistd.h: Likewise.
78123 * posix/fnmatch.h: Likewise.
78124 * posix/glob.h: Likewise.
78125 * posix/sched.h: Likewise.
78126 * posix/spawn.h: Likewise.
78127 * posix/sys/wait.h: Likewise.
78128 * posix/unistd.h: Likewise.
78129 * posix/wordexp.h: Likewise.
78130 * pwd/pwd.h: Likewise.
78131 * resolv/netdb.h: Likewise.
78132 * resource/sys/resource.h: Likewise.
78133 * rt/aio.h: Likewise.
78134 * rt/bits/mqueue2.h: Likewise.
78135 * rt/mqueue.h: Likewise.
78136 * shadow/shadow.h: Likewise.
78137 * signal/signal.h: Likewise.
78138 * socket/send.c: Likewise.
78139 * socket/sendto.c: Likewise.
78140 * socket/sys/socket.h: Likewise.
78141 * stdio-common/printf.h: Likewise.
78142 * stdlib/bits/stdlib.h: Likewise.
78143 * stdlib/fmtmsg.h: Likewise.
78144 * stdlib/monetary.h: Likewise.
78145 * stdlib/stdlib.h: Likewise.
78146 * stdlib/ucontext.h: Likewise.
78147 * streams/stropts.h: Likewise.
78148 * string/argz.h: Likewise.
78149 * string/bits/string2.h: Likewise.
78150 * string/string.h: Likewise.
78151 * string/strings.h: Likewise.
78152 * sunrpc/rpc/auth.h: Likewise.
78153 * sunrpc/rpc/auth_des.h: Likewise.
78154 * sunrpc/rpc/clnt.h: Likewise.
78155 * sunrpc/rpc/netdb.h: Likewise.
78156 * sunrpc/rpc/pmap_clnt.h: Likewise.
78157 * sunrpc/rpc/xdr.h: Likewise.
78158 * sysdeps/generic/inttypes.h: Likewise.
78159 * sysdeps/generic/net/if.h: Likewise.
78160 * sysdeps/generic/sys/swap.h: Likewise.
78161 * sysdeps/gnu/net/if.h: Likewise.
78162 * sysdeps/gnu/utmpx.h: Likewise.
78163 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78164 * sysdeps/i386/i486/bits/string.h: Likewise.
78165 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78166 * sysdeps/s390/bits/string.h: Likewise.
78167 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78168 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78169 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78170 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78171 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78172 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78173 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78174 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78175 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78176 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78177 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78178 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78179 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78180 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78181 * sysdeps/unix/sysv/linux/readv.c: Likewise.
78182 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78183 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78184 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78185 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78186 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78187 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78188 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78189 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78190 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78191 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78192 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78193 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78195 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78196 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78197 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78198 * sysvipc/sys/ipc.h: Likewise.
78199 * sysvipc/sys/msg.h: Likewise.
78200 * sysvipc/sys/sem.h: Likewise.
78201 * sysvipc/sys/shm.h: Likewise.
78202 * termios/termios.h: Likewise.
78203 * time/sys/time.h: Likewise.
78204 * time/time.h: Likewise.
78205 * wcsmbs/bits/wchar2.h: Likewise.
78206 * wcsmbs/uchar.h: Likewise.
78207 * wcsmbs/wchar.h: Likewise.
78208 * wctype/wctype.h: Likewise.
78209
78210 [BZ #13551]
78211 * Makeconfig: Remove all but ELF support including AIX support.
78212 * Makerules: Likewise.
78213 * config.h.in: Likewise.
78214 * config.make.in: Likewise.
78215 * configure: Likewise.
78216 * configure.in: Likewise.
78217 * csu/Makefile: Likewise.
78218 * csu/version.c: Likewise.
78219 * debug/Makefile: Likewise.
78220 * dlfcn/Makefile: Likewise.
78221 * elf/Makefile: Likewise.
78222 * extra-lib.mk: Likewise.
78223 * iconv/Makefile: Likewise.
78224 * include/libc-symbols.h: Likewise.
78225 * include/shlib-compat.h: Likewise.
78226 * resolv/Makefile: Likewise.
78227 * resolv/res_libc.c: Likewise.
78228 * rt/Makefile: Likewise.
78229 * sysdeps/i386/asm-syntax.h: Likewise.
78230 * sysdeps/i386/sysdep.h: Likewise.
78231 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78232 * sysdeps/mach/sysdep.h: Likewise.
78233 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78234 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78235 * sysdeps/s390/asm-syntax.h: Likewise.
78236 * sysdeps/s390/s390-32/sysdep.h: Likewise.
78237 * sysdeps/s390/s390-64/sysdep.h: Likewise.
78238 * sysdeps/sh/sysdep.h: Likewise.
78239 * sysdeps/unix/sparc/sysdep.h: Likewise.
78240 * sysdeps/wordsize-32/divdi3.c: Likewise.
78241 * sysdeps/x86_64/sysdep.h: Likewise.
78242
78243 * argp/Versions: Remove _argp_unlock_xxx.
78244
78245 [BZ #13559]
78246 * abilist/ld.abilist: Update. Adjust for removal of tls option.
78247 * abilist/libBrokenLocale.abilist: Likewise.
78248 * abilist/libanl.abilist: Likewise.
78249 * abilist/libc.abilist: Likewise.
78250 * abilist/libcrypt.abilist: Likewise.
78251 * abilist/libdl.abilist: Likewise.
78252 * abilist/libm.abilist: Likewise.
78253 * abilist/libnsl.abilist: Likewise.
78254 * abilist/libpthread.abilist: Likewise.
78255 * abilist/libresolv.abilist: Likewise.
78256 * abilist/librt.abilist: Likewise.
78257 * abilist/libthread_db.abilist: Likewise.
78258 * abilist/libutil.abilist: Likewise.
78259 * abilist/libnss_db.abilist: New file.
78260
78261 * scripts/abilist.awk: Add support for indirect functions.
78262
78263 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78264
78265 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78266
78267 * shlib-versions: Remove entries for ports architectures.
78268
78269 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
78270 files in ports.
78271 * elf/stackguard-macros.h: Remove support for IA-64.
78272 * elf/tst-auditmod1.c: Likewise.
78273 * sysdeps/generic/ldsodefs.h: Likewise.
78274
78275 * sysdeps/unix/sysv/linux/configure.in: Ports should define
78276 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78277 configure files.
78278
78279 [BZ #13552]
78280 * configure.in: Remove --enable-omitfp support.
78281 * FAQ.in: Adjust.
78282 * config.make.in: Likewise.
78283 * Makeconfig: Likewise.
78284 * manual/install.texi: Likewise.
78285
78286 In case anyone cares, the IA-64 architecture could move to ports.
78287 * sysdeps/ia64/*: Removed.
78288 * sysdeps/unix/sysv/linux/ia64/*: Removed.
78289 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78290
78291 [BZ #13555]
78292 * configure.in: Remove entries for unsupported architectures.
78293
78294 [BZ #13533]
78295 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78296 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
78297 routines.
78298 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78299 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78300 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
78301 fall back to using wcrtomb.
78302 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78303 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
78304 renaming.
78305 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78306 * wcsmbs/tst-c16c32-1.c: New file.
78307
78308 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78309 local variable.
78310
78311 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78312
78313 * elf/tst-unique3.cc: Add explicit declaration of gets.
78314 * elf/tst-unique3lib.cc: Likewise.
78315 * elf/tst-unique3lib2.cc: Likewise.
78316 * elf/tst-unique4.cc: Likewise.
78317
78318 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78319
78320 2012-01-06 Joseph Myers <joseph@codesourcery.com>
78321
78322 [BZ #13566]
78323 * assert/assert.h (static_assert): Don't define for C++.
78324 * libio/stdio.h (gets): Do declare for C++ <= C++11.
78325 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78326
78327 2012-01-03 Ulrich Drepper <drepper@gmail.com>
78328
78329 * iconv/loop.c (single loop): Fix assertion in storing of
78330 remaining bytes.
78331
78332 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78333
78334 2012-01-01 Ulrich Drepper <drepper@gmail.com>
78335
78336 * posix/getconf.c: Update copyright year.
78337 * nss/getent.c: Likewise.
78338 * nss/makedb.c: Likewise.
78339 * iconv/iconvconfig.c: Likewise.
78340 * iconv/iconv_prog.c: Likewise.
78341 * elf/ldconfig.c: Likewise.
78342 * elf/pldd.c: Likewise.
78343 * elf/sotruss.ksh: Likewise.
78344 * catgets/gencat.c: Likewise.
78345 * csu/version.c: Likewise.
78346 * elf/ldd.bash.in: Likewise.
78347 * elf/sprof.c (print_version): Likewise.
78348 * locale/programs/locale.c: Likewise.
78349 * locale/programs/localedef.c: Likewise.
78350 * login/programs/pt_chown.c: Likewise.
78351 * nscd/nscd.c (print_version): Likewise.
78352 * debug/xtrace.sh: Likewise.
78353 * malloc/memusage.sh: Likewise.
78354 * malloc/mtrace.pl: Likewise.
78355 * debug/catchsegv.sh: Likewise.
78356
78357 2011-12-30 Jakub Jelinek <jakub@redhat.com>
78358
78359 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78360 pure attribute.
78361
78362 2011-12-24 Ulrich Drepper <drepper@gmail.com>
78363
78364 [BZ #13533]
78365 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78366 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78367 transformations.
78368 * iconv/gconv_int.h: Likewise.
78369 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78370 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78371 from libc for GLIBC_2.16.
78372 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78373 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78374 * wcsmbs/uchar.h: Really define mbstate_t.
78375 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78376 * wcsmbs/c16rtomb.c: New file.
78377 * wcsmbs/mbrtoc16.c: New file.
78378 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78379 for C/POSIX locale.
78380 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78381 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78382
78383 * wcsmbs/wchar.h: Add missing __restrict.
78384
78385 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78386
78387 [BZ #13532]
78388 * time/Makefile (routines): Add timespec_get.
78389 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78390 * time/time.h: Define TIME_UTC and declare timespec_get. Define
78391 timespec for ISO C11.
78392 * time/timespec_get.c: New file.
78393 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78394 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78395
78396 [BZ #13531]
78397 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78398 * stdlib/stdlib.h: Declare aligned_alloc.
78399 * Versions.def: Add GLIBC_2.16 for libc.
78400 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78401
78402 [BZ 13527]
78403 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78404 ISO C11.
78405
78406 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78407 code.
78408
78409 [BZ #13528]
78410 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78411
78412 [BZ #13529]
78413 * assert/assert.h (static_assert): Define.
78414
78415 * version.h: Update for 2.16 development version.
78416
78417 [BZ #13526]
78418 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78419 _ISOC11_SOURCE.
78420
78421 * version.h (RELEASE): Bump for 2.15 release.
78422 * include/features.h (__GLIBC_MINOR__): Bump to 15.
78423
78424 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78425 Patch by Marek Polacek <mpolacek@redhat.com>.
78426
78427 * bits/byteswap.h: Protect long long constants with __extension__.
78428 * sysdeps/i386/bits/byteswap.h: Likewise.
78429 * sysdeps/ia64/bits/byteswap.h: Likewise.
78430 * sysdeps/s390/bits/byteswap.h: Likewise.
78431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
78432
78433 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78434
78435 [BZ #13540]
78436 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78437 destination buffer.
78438 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78439
78440 2011-12-23 Marek Polacek <polacek@redhat.com>
78441
78442 * elf/dl-addr.c (determine_info): Add inline keyword.
78443 * elf/tst-auditmod4b.c (check_avx): Likewise.
78444 * elf/tst-auditmod6b.c (check_avx): Likewise.
78445 * elf/tst-auditmod6c.c (check_avx): Likewise.
78446 * elf/tst-auditmod7b.c (check_avx): Likewise.
78447
78448 2011-12-23 Ulrich Drepper <drepper@gmail.com>
78449
78450 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78451 !__SSE_MATH__.
78452
78453 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78454
78455 [BZ #13540]
78456 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78457 processing for last bytes.
78458
78459 2011-08-06 Bruno Haible <bruno@clisp.org>
78460
78461 [BZ #13061]
78462 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78463 U+0385, not to U+1FEE.
78464
78465 [BZ #13062]
78466 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78467 entry for U+00A5 U+0301.
78468
78469 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78470
78471 [BZ #13166]
78472 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78473 buffer for the output is too small.
78474
78475 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78476 optimization.
78477
78478 [BZ #13185]
78479 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78480 SSE flags if possible.
78481
78482 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78483
78484 [BZ #13540]
78485 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78486 processing for last bytes.
78487
78488 2011-12-22 Joseph Myers <joseph@codesourcery.com>
78489
78490 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78491 (syscall-list-default-options, syscall-list-default-condition)
78492 (syscall-list-includes): Define.
78493 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78494 list of ABIs and options and #if conditions for each ABI. Do not
78495 handle common syscalls between ABIs specially.
78496 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78497 Remove.
78498 (syscall-list-variants, syscall-list-32bit-options)
78499 (syscall-list-32bit-condition, syscall-list-64bit-options)
78500 (syscall-list-64bit-condition): Define.
78501 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78502 (syscall-list-variants, syscall-list-32bit-options)
78503 (syscall-list-32bit-condition, syscall-list-64bit-options)
78504 (syscall-list-64bit-condition): Define.
78505 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78506 Remove.
78507 (syscall-list-variants, syscall-list-32bit-options)
78508 (syscall-list-32bit-condition, syscall-list-64bit-options)
78509 (syscall-list-64bit-condition): Define.
78510 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78511 Remove.
78512 (syscall-list-variants, syscall-list-32bit-options)
78513 (syscall-list-32bit-condition, syscall-list-64bit-options)
78514 (syscall-list-64bit-condition): Define.
78515
78516 2011-12-22 Ulrich Drepper <drepper@gmail.com>
78517
78518 * locale/iso-639.def: Add brx entry.
78519
78520 [BZ #13328]
78521 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78522 Proposed by Mariusz_Cukr <marcukr@op.pl>.
78523
78524 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78525 __feraiseexcept_renamed.
78526
78527 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78528
78529 [BZ #13538]
78530 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78531 EPOLLET with unsigned values.
78532 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78533 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78534
78535 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78536 to large cancellation.
78537 * math/s_cacoshf.c: Likewise.
78538 * math/s_cacoshl.c: Likewise.
78539
78540 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
78541
78542 [BZ #13305]
78543 [BZ #12786]
78544 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78545 * math/s_cacoshf.c: Likewise.
78546 * math/s_cacoshl.c: Likewise.
78547
78548 2011-12-21 Ulrich Drepper <drepper@gmail.com>
78549
78550 [BZ #13439]
78551 * iconv/gconv.h: Define __GCONV_SWAP.
78552 * iconvdata/unicode.c: The swap bit must be stored in __flags.
78553 * iconvdata/utf-16.c: Likewise.
78554 * iconvdata/utf-32.c: Likewise.
78555
78556 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
78557
78558 [BZ #13524]
78559 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78560 numerator after shifting it by one limb.
78561
78562 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
78563
78564 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78565 under [__USE_EXTERN_INLINES].
78566
78567 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78568
78569 [BZ #13446]
78570 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78571
78572 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78573
78574 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78575 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78576 optimized code.
78577 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78578 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78579 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78580 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78581 for strncasecmp/strncasecmp_l compilation.
78582 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78583 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78584
78585 2011-12-08 Marek Polacek <mpolacek@redhat.com>
78586
78587 [BZ #13484]
78588 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78589 of __asm__.
78590
78591 2011-12-17 Ulrich Drepper <drepper@gmail.com>
78592
78593 [BZ #13506]
78594 * time/tzfile.c (__tzfile_read): Check values from file header.
78595
78596 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
78597
78598 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78599 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78600 * powerpc/powerpc32/dl-start.S: Likewise.
78601 * powerpc/powerpc32/elf/start.S: Likewise.
78602 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78603 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78604 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78605 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78606 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78607 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78608 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78609 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78610 * powerpc/powerpc32/fpu/s_round.S: Likewise.
78611 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78612 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78613 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78614 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78615 * powerpc/powerpc32/memset.S: Likewise.
78616 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78617 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78618 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78619 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78620 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78621 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78622 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78623 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78624 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78625 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78626 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78627 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78628 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78629
78630 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78631
78632 * math/libm-test.inc: Added more nearbyint tests.
78633 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78634 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78635 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78636 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78637
78638 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
78639
78640 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78641 FD_CLOEXEC.
78642
78643 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78644
78645 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78646 Add wcscpy-ssse3 wcscpy-c.
78647 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78648 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78649 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78650 * sysdeps/x86_64/wcschr.S: New file.
78651 * sysdeps/x86_64/wcsrchr.S: New file.
78652 * string/test-strcmp.c: Remove checking of wcscmp function for
78653 wrong alignments.
78654 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78655 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78656 wcsrchr-sse2 wcsrchr-c.
78657 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78658 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78659 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78660 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78661 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78662 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78663 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78664 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78665 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78666 * wcsmbc/wcschr.c (WCSCHR): New macro.
78667
78668 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
78669
78670 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78671 * wcsmbs/test-wcsrchr.c: New file.
78672 * string/test-strrchr.c: Add wcsrchr support.
78673 (WIDE): New macro.
78674 * wcsmbs/test-wcscpy.c: New file.
78675 * string/test-strcpy.c: Add wcscpy support.
78676 (WIDE): New macro.
78677
78678 2011-12-10 Ulrich Drepper <drepper@gmail.com>
78679
78680 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78681 the inner loop.
78682
78683 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
78684
78685 [BZ #13472]
78686 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78687
78688 2011-12-04 Ulrich Drepper <drepper@gmail.com>
78689
78690 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78691 Minor optimizations.
78692
78693 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78694 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78695 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78696
78697 2011-12-03 Ulrich Drepper <drepper@gmail.com>
78698
78699 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78700 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78701 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78702 for gcc to avoid warnings.
78703 * inet/Makefile (tests): Add tst-checks.
78704 * inet/tst-checks.c: New file.
78705
78706 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78707 warning.
78708
78709 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78710 __wmemcmp_sse2.
78711
78712 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78713 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78714
78715 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78716
78717 2011-12-02 Ulrich Drepper <drepper@gmail.com>
78718
78719 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78720 problem.
78721
78722 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78723
78724 2011-11-29 Joseph Myers <joseph@codesourcery.com>
78725
78726 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78727 conditional on GCC version.
78728 (__arch_compare_and_exchange_val_8_acq)
78729 (__arch_compare_and_exchange_val_16_acq)
78730 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78731 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78732 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78733
78734 2011-12-02 Joseph Myers <joseph@codesourcery.com>
78735
78736 * sysdeps/sh/backtrace.c: New file.
78737
78738 2011-12-02 Andreas Schwab <schwab@redhat.com>
78739
78740 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
78741 parenthesis.
78742
78743 2011-12-01 Andreas Schwab <schwab@redhat.com>
78744
78745 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78746 falling back to utime.
78747
78748 2011-11-30 Andreas Schwab <schwab@redhat.com>
78749
78750 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78751 expectations for float.
78752
78753 2011-11-29 Andreas Schwab <schwab@redhat.com>
78754
78755 * locale/weight.h (findidx): Add parameter len.
78756 * locale/weightwc.h (findidx): Likewise.
78757 * posix/fnmatch_loop.c (FCT): Adjust caller.
78758 * posix/regcomp.c (build_equiv_class): Likewise.
78759 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78760 * posix/regexec.c (check_node_accept_bytes): Likewise.
78761 * string/strcoll_l.c (STRCOLL): Likewise.
78762 * string/strxfrm_l.c (STRXFRM): Likewise.
78763
78764 2011-11-17 Ulrich Drepper <drepper@gmail.com>
78765
78766 * Makefile.in: Remove CVSOPT handling.
78767 * configure.in: Remove use of AC_REVISION.
78768 * iconvdata/Makefile (distribute): No need to filter out CVS.
78769 * scripts/list-sources.sh: Remove CVS, subversion and monotone
78770 handling.
78771
78772 2011-11-16 Andreas Schwab <schwab@redhat.com>
78773
78774 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78775 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78776 [USE_AS_STRNCASECMP_L]: Likewise.
78777 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78778 NO_TLS_DIRECT_SEG_REFS.
78779 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78780 Fix argument offsets for non-PIC.
78781 [USE_AS_STRNCASECMP_L]: Likewise.
78782 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78783 NO_TLS_DIRECT_SEG_REFS.
78784
78785 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78786
78787 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78788 O_CLOEXEC.
78789 * locale/loadlocale.c (_nl_load_locale): Likewise.
78790
78791 2011-11-15 Andreas Schwab <schwab@redhat.com>
78792
78793 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78794 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78795 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78796 (SYSCALL_GETTIME): Set errno on error.
78797
78798 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78799 count references to noai6ai_cached.
78800
78801 2011-11-15 Ulrich Drepper <drepper@gmail.com>
78802
78803 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78804
78805 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78806 FD_CLOEXEC for /proc/self/maps.
78807
78808 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78809 FD_CLOEXEC for /proc/meminfo.
78810
78811 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78812 gai.conf.
78813
78814 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
78815 FD_CLOEXEC for given file.
78816
78817 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78818
78819 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78820 FD_CLOEXEC for /etc/hosts.
78821 (_gethtent): Likewise.
78822
78823 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78824
78825 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78826 cancellation and set FD_CLOEXEC for /etc/netgroup.
78827
78828 * nss/nss_files/files-key.c (search): Don't allow cancellation when
78829 reading /etc/publickey.
78830
78831 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78832 allow cancellation when reading /etc/group.
78833
78834 * nss/nss_files/files-alias.c (internal_setent): Don't allow
78835 cancellation.
78836 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
78837
78838 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78839 when using data file.
78840
78841 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78842
78843 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78844 (write_nis_obj): Use "c" and "e" in fopen.
78845
78846 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78847
78848 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78849
78850 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78851
78852 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78853
78854 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78855 locale.alias.
78856
78857 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78858
78859 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78860
78861 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78862
78863 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78864 file parsing and set FD_CLOEXEC.
78865
78866 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78867
78868 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78869
78870 2011-11-14 Andreas Schwab <schwab@redhat.com>
78871
78872 * malloc/arena.c (arena_get2): Don't call reused_arena when
78873 _int_new_arena failed.
78874
78875 2011-11-14 Ulrich Drepper <drepper@gmail.com>
78876
78877 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78878 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78879 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78880 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78881 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78882 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78883 to compile strcasecmp and strncasecmp.
78884 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78885 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78886
78887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78888
78889 2011-11-13 Ulrich Drepper <drepper@gmail.com>
78890
78891 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78892 locale-defines.sym to gen-as-const-headers.
78893 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78894 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78896 to compile strcasecmp and strncasecmp.
78897 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78898 strcasecmp_l and strncasecmp_l.
78899 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78900 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78901 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78902 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78903 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78904 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78905 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78906 * sysdeps/i386/i686/multiarch/strncase.S: New file.
78907 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78908 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78909 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78910
78911 2011-11-12 Ulrich Drepper <drepper@gmail.com>
78912
78913 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
78914 result of SYSDEP_GETTIME_CPU to retval.
78915 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
78916 parameter list to macro. Remove trailing semicolon. Adjust users.
78917
78918 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
78919 variable.
78920
78921 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
78922 mantissa words.
78923 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
78924
78925 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
78926 from unused variable.
78927
78928 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
78929 DWARF definitions.
78930 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
78931 for assembling.
78932
78933 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
78934 over namespaces.
78935
78936 * sunrpc/rpc_prot.c (rejected): Fix case value.
78937
78938 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
78939 unsigned long long int to avoid warnings in shift.
78940
78941 * posix/regex_internal.c (re_string_reconstruct): Actually use result
78942 of use of trans.
78943 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
78944 variable tmp.
78945
78946 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
78947 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
78948 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
78949
78950 * nis/nis_table.c (nis_list): Use variable of correct type for
78951 result of __follow_path call.
78952
78953 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78954
78955 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
78956 of math functions ceil, trunc, floor, round, and sqrt, when
78957 avaliable on the platform.
78958 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
78959 name clash.
78960 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78961 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78962 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78963
78964 2011-10-30 Marek Polacek <mpolacek@redhat.com>
78965
78966 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
78967 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
78968
78969 2011-11-11 Roland McGrath <roland@hack.frob.com>
78970
78971 * include/unistd.h: Fix __readlink return type.
78972 Reported by Chris Metcalf <cmetcalf@tilera.com>.
78973
78974 2011-11-11 Ulrich Drepper <drepper@gmail.com>
78975
78976 * stdlib/ucontext.h: Undo last change for makecontext.
78977
78978 2011-11-11 Andreas Schwab <schwab@redhat.com>
78979
78980 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
78981
78982 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
78983 * setjmp/setjmp.h: Mark functions as non-leaf.
78984 * setjmp/bits/setjmp2.h: Likewise.
78985 * stdlib/ucontext.h: Likewise.
78986
78987 2011-11-10 Andreas Schwab <schwab@redhat.com>
78988
78989 * malloc/arena.c (_int_new_arena): Don't increment narenas.
78990 (reused_arena): Don't check arena limit.
78991 (arena_get2): Atomically check arena limit.
78992
78993 2011-11-08 Ulrich Drepper <drepper@gmail.com>
78994
78995 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
78996 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
78997
78998 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
78999 instructions.
79000
79001 2011-11-07 Andreas Schwab <schwab@redhat.com>
79002
79003 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79004 handler when locking.
79005
79006 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79007 Fix size of allocated buffer.
79008
79009 2011-11-04 Andreas Schwab <schwab@redhat.com>
79010
79011 [BZ #10103]
79012 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79013 declarations for long double functions.
79014 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79015
79016 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79017
79018 2011-11-03 Andreas Schwab <schwab@redhat.com>
79019
79020 * nscd/nscd.c (main): Don't start AVC thread until credentials are
79021 installed.
79022
79023 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79024 is disabled.
79025
79026 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
79027
79028 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79029
79030 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
79031
79032 * include/alloca.h (stackinfo_alloca_round): Define.
79033 (extend_alloca): Use it.
79034 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79035 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79036 here.
79037
79038 * scripts/check-local-headers.sh: Ignore libaudit.h.
79039
79040 * nscd/Makefile (extra-objs): Make recursively expanded.
79041
79042 2011-11-01 Ulrich Drepper <drepper@gmail.com>
79043
79044 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79045 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79046
79047 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79048 * posix/tst-rfc3484-2.c: Likewise.
79049 * posix/tst-rfc3484-3.c: Likewise.
79050
79051 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79052 process_vm_writev.
79053 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79054 process_vm_writev.
79055 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79056 process_vm_writev from libc using GLIBC_2.15 version.
79057
79058 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79059
79060 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
79061
79062 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79063 stack usage.
79064
79065 2011-10-31 Ulrich Drepper <drepper@gmail.com>
79066
79067 [BZ #13367]
79068 * nss/getent.c (initgroups_keys): Show error message in case no group
79069 names are given.
79070
79071 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79072 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79073 __bump_nl_timestamp.
79074 * nscd/connections (nscd_init): When host database is served open
79075 netlink socket and request notification about configuration changes.
79076 (main_loop_poll): Track netlink file descriptor and bump timestamp
79077 in case data becomes available.
79078 (main_loop_epoll): Likewise.
79079 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79080 (database_pers_head): Add extra_data fileds.
79081 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79082 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79083 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79084 Adjust caller.
79085 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79086 in6ai data, call __free_in6ai.
79087 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79088 Add -DHAVE_NETLINK.
79089 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
79090 interface information. Reuse previous data if netlink timestamp
79091 is not changed.
79092 (__bump_nl_timestamp): New function.
79093 (__free_in6ai): New function.
79094
79095 2011-10-30 Ulrich Drepper <drepper@gmail.com>
79096
79097 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79098 close_not_cancel_no_status here.
79099 (__check_pf): Reorganize code a bit to not call close twice if OOM.
79100
79101 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79102
79103 [BZ #13276]
79104 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79105 return value.
79106
79107 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79108 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79109 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79110
79111 2011-07-03 Andreas Jaeger <aj@suse.de>
79112
79113 [BZ #10709]
79114 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79115 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79116 * math/libm-test.inc (sin_test): Add test case.
79117
79118 2011-10-29 Ulrich Drepper <drepper@gmail.com>
79119
79120 [BZ #13337]
79121 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79122 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79123
79124 * elf/chroot_canon.c (chroot_canon): Cleanups.
79125
79126 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79127
79128 [BZ #13335]
79129 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79130 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79131
79132 * string/test-strchr.c: Make usable for strchrnul testing.
79133 * string/test-strchrnul.c: New file.
79134 * string/Makefile (strop-tests): Add strchrnul.
79135
79136 * po/it.po: Update from translation team.
79137 * po/es.po: Likewise.
79138
79139 2011-10-28 Ulrich Drepper <drepper@gmail.com>
79140
79141 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79142 the three constants needed as parameters. Drop the others.
79143 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79144 __m128i_strloadu_tolower.
79145 Create and initialize variable zero and use it in all the places
79146 where _mm_setzero_si128 was used.
79147
79148 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79149 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79150 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79151 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79152 anymore.
79153 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79154 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79155 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79156 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79157 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79158 __mpranred, __mptan.
79159 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79160 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79161 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79162 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79163 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79164 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79165 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79166 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79167 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79168
79169 2011-10-28 Andreas Schwab <schwab@redhat.com>
79170
79171 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79172 redefine if SHARED.
79173 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79174
79175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79176 wide char related routines to wcsmbs subdir.
79177
79178 2011-10-27 Andreas Schwab <schwab@redhat.com>
79179
79180 [BZ #13344]
79181 * misc/sys/cdefs.h (__THROWNL): Define.
79182 * posix/unistd.h: Use __THREADNL instead of __THREAD
79183 for memory synchronization functions.
79184
79185 2011-10-26 Roland McGrath <roland@hack.frob.com>
79186
79187 [BZ #13349]
79188 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79189 doesn't exist.
79190 * manual/stdio.texi (Obstack Streams): Node removed.
79191
79192 2011-10-26 Andreas Schwab <schwab@redhat.com>
79193
79194 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79195 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79196 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79197
79198 * math/math_private.h (math_force_eval): Allow non-addressable
79199 arguments.
79200 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79201
79202 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79203
79204 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79205 file is not needed.
79206
79207 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79208 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79209 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79210 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79212 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79213 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79214 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79215 Add AVX variants.
79216 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79217 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79218 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79219 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79220 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79221 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79222 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79223 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79224 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79225 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79226 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79227 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79228 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79229 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79230 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79231 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79232 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79233 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79234 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79235
79236 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79237 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
79238
79239 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79240 place. Use VEX encoding when compiling for AVX.
79241
79242 2011-10-25 Andreas Schwab <schwab@redhat.com>
79243
79244 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79245 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79246
79247 * string/test-strchr.c (do_test): Don't generate NUL bytes.
79248
79249 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79250
79251 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79252 useless if() expression.
79253 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79254 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79255 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79256 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79257 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79258 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79259 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79260 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79261 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79262 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79263 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79264 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79265 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79266 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79267 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79268 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79269 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79270 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79271 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79272
79273 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79274
79275 2011-10-25 Andreas Schwab <schwab@redhat.com>
79276
79277 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79278 condition.
79279 * elf/dl-fini.c (_dl_sort_fini): Likewise.
79280
79281 2011-10-25 Ulrich Drepper <drepper@gmail.com>
79282
79283 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79284 .text section. Avoid duplicate constants.
79285 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79286 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79289 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79290 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79291 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79293 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79294 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79295 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79296 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79297 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79298 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79299 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79300 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79301 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79302 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79303 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79304 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79305 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79306 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79307 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79308 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79309 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79310 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79311 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79312 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79313 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79314 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79315 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79316 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79317 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79318 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79319 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79320 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79321 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79322 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79323 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79324 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79325 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79326 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79327 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79328 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79329 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79330
79331 2011-10-24 Ulrich Drepper <drepper@gmail.com>
79332
79333 * sysdeps/x86_64/dla.h: Move to ...
79334 * sysdeps/x86_64/fpu/dla.h: ...here.
79335 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79336 situations. Use __builtin_fma only for gcc 4.6 and up.
79337
79338 * config.make.in: Add have-mfma4 entry.
79339 * configure.in: Substitute libc_cv_cc_fma4.
79340 * math/Makefile (dbl-only-routines): Add sincostab.
79341 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79342 Use __sincostab not sincos.
79343 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79344 name is a macro.
79345 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79346 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79347 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79348 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
79349 using __copysign.
79350 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
79351 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
79352 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79353 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79354 and __inv.
79355 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79356 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79357 __copysign.
79358 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
79359 define aliases when function name is a macro.
79360 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79361 sysdeps/ieee754/dbl-64/sincos.tbl.
79362 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79363 fma4-enabled routines.
79364 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79365 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79366 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79367 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79368 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79369 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79370 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79371 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79372 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79373 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79374 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79375 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79376 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79377 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79378 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79379 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79380 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79381 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79382 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79383 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79384 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79385 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79386 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79387 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79388 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79389 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79390 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79391 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79392 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79393 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79394
79395 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79396 rename.
79397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79399 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79401 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79403 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79404 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79405
79406 2011-10-24 Andreas Schwab <schwab@redhat.com>
79407
79408 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79409
79410 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79411
79412 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79413
79414 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79415 prediction.
79416 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79417
79418 * string/strnlen.c: Don't define STRNLEN, reverse logic.
79419 Remove unused variable magic_bits.
79420 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79421
79422 * string/strnlen.c: Define and use STRNLEN macro.
79423 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79424 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79426 * wcsmbs/wcslen.c: Define and use WCSLEN.
79427 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79428 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79429 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79430 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79431 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79432 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79433 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79434
79435 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79436
79437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79438 strnlen-sse2-no-bsf.
79439 Rename strlen-no-bsf to strlen-sse2-no-bsf.
79440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79441 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79442 Add strnlen support.
79443 (USE_AS_STRNLEN): New macro.
79444 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79445 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79446 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79447 * sysdeps/x86_64/wcslen.S: New file.
79448
79449 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
79450
79451 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79452 XMM-moves are used for copying on small sizes.
79453
79454 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79455
79456 * wcsmbs/Makefile (strop-tests): Add wcschr.
79457 * wcsmbs/test-wcschr.c: New file.
79458 * string/test-strchr.c: Update.
79459 Add wcschr support.
79460 (WIDE): New macro.
79461
79462 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79463
79464 * wcsmbs/Makefile (strop-tests): Add wcslen.
79465 * wcsmbs/test-wcslen.c: New file.
79466 * string/test-strlen.c: Update.
79467 Add wcslen support.
79468 (WIDE): New macro.
79469
79470 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79471
79472 * po/it.po: Update from translation team.
79473
79474 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79475
79476 * sysdeps/x86_64/wcscmp.S: Update.
79477 Fix wrong comparison semantics.
79478 wcscmp shall use signed comparison not unsigned.
79479 Don't use substraction to avoid overflow bug.
79480 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79481 * wcsmbc/wcscmp.c: Likewise.
79482 * string/test-strcmp.c: Likewise.
79483 Add new tests to check cases with negative values.
79484
79485 2011-10-23 Ulrich Drepper <drepper@gmail.com>
79486
79487 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79488 * sysdeps/x86_64/dla.h: ...here. New file.
79489 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79490 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79491 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79492 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79494 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79495 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79496 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79498
79499 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
79500
79501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79502 __ynl_finite aliases.
79503
79504 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79505
79506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79507
79508 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79509 define DLA_FMA.
79510 [DLA_FMA] (EMULV): Use DLA_FMA.
79511 [DLA_FMA] (MUL12): Use EMULV.
79512 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79513 that are not needed.
79514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79518 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79520 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79521
79522 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
79523
79524 * math/s_nan.c: Undef __nan.
79525 * math/s_nanf.c: Undef __nanf.
79526 * math/s_nanl.c: Undef __nanl.
79527 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79528 "math_private.h".
79529
79530 2011-10-22 Ulrich Drepper <drepper@gmail.com>
79531
79532 * math/s_catan.c: Add branch predictions.
79533 * math/s_catanf.c: Likewise.
79534 * math/s_catanh.c: Likewise.
79535 * math/s_catanhf.c: Likewise.
79536 * math/s_catanhl.c: Likewise.
79537 * math/s_catanl.c: Likewise.
79538 * math/s_cexp.c: Likewise.
79539 * math/s_cexpf.c: Likewise.
79540 * math/s_cexpl.c: Likewise.
79541 * math/s_clog.c: Likewise.
79542 * math/s_clog10.c: Likewise.
79543 * math/s_clog10f.c: Likewise.
79544 * math/s_clog10l.c: Likewise.
79545 * math/s_clogf.c: Likewise.
79546 * math/s_clogl.c: Likewise.
79547 * math/s_csqrt.c: Likewise.
79548 * math/s_csqrtf.c: Likewise.
79549 * math/s_csqrtl.c: Likewise.
79550 * math/s_ctanf.c: Likewise.
79551 * math/s_ctanh.c: Likewise.
79552 * math/s_ctanhf.c: Likewise.
79553 * math/s_ctanhl.c: Likewise.
79554 * math/s_ctanl.c: Likewise.
79555
79556 * math/math_private.h: Define __nan, __nanf, __nanl.
79557 * math/s_cacosh.c: Include <math_private.h>.
79558 * math/s_cacoshl.c: Likewise.
79559 * math/s_casinh.c: Likewise.
79560 * math/s_casinhf.c: Likewise.
79561 * math/s_casinhl.c: Likewise.
79562 * math/s_ccos.c: Rely entire on ccosh.
79563 * math/s_ccosf.c: Rely entire on ccoshf.
79564 * math/s_ccosl.c: Rely entirely on ccoshl.
79565 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
79566 Remove tests for FE_INVALID.
79567 * math/s_ccoshf.c: Likewise.
79568 * math/s_ccoshl.c: Likewise.
79569 * math/s_csin.c: Likewise.
79570 * math/s_csinf.c: Likewise.
79571 * math/s_csinh.c Likewise.
79572 * math/s_csinhf.c: Likewise.
79573 * math/s_csinhl.c: Likewise.
79574 * math/s_csinl.c: Likewise.
79575 * math/s_ctan.c: Likewise.
79576 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79577 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79578 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79579
79580 2011-10-21 Ulrich Drepper <drepper@gmail.com>
79581
79582 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79583 compilation problems.
79584
79585 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79586 __builtin_expect.
79587
79588 2011-10-20 Ulrich Drepper <drepper@gmail.com>
79589
79590 * sysdeps/i386/configure.in: Test for -mfma4 option.
79591 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79592 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79593 COMMON_CPUID_INDEX_80000001.
79594 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79595 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79596 use it if FMA3 is not supported.
79597 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79598
79599 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79600 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79601
79602 2011-10-20 Andreas Schwab <schwab@redhat.com>
79603
79604 [BZ #12892]
79605 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79606 it would create a cycle with a link time dependency.
79607
79608 2011-10-19 Ulrich Drepper <drepper@gmail.com>
79609
79610 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79611 instruction.
79612 * string/Makefile (strop-tests): Add rawmemchr.
79613 * string/test-rawmemchr.c: New file.
79614
79615 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79616 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
79617 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
79618 when compiling str{,n}casecmp and when AVX is available. Hook up
79619 new optimized code in initializers.
79620
79621 2011-10-19 Andreas Schwab <schwab@redhat.com>
79622
79623 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79624 __feraiseexcept instead of feraiseexcept.
79625
79626 2011-10-18 Ulrich Drepper <drepper@gmail.com>
79627
79628 * math/math_private.h: Define defaults for libc_fetestexcept and
79629 libc_feupdateenv.
79630 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79631 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79632 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79633 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79634 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79635 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79636 libc_fetestexcept and libc_feupdateenv.
79637
79638 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79639 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79640 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79641 * sysdeps/x86_64/fpu/math_private.h: Define special version of
79642 libc_feholdexcept_setround.
79643
79644 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79645 Add s_nearbyint-c and s_nearbyintf-c.
79646 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79647 nearbyintf inlines.
79648 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79649 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79650 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79651 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79652
79653 * math/math_private.h: Define defaults for libc_fegetround,
79654 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79655 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79656 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79658 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79659 standard functions.
79660 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79661 Remove comments and hacks for old compiler versions.
79662 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79663 libc_fegetround, libc_fesetround, libc_feholdexcept, and
79664 libc_feholdexceptl.
79665
79666 2011-10-18 Andreas Schwab <schwab@redhat.com>
79667
79668 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79669 (__feraiseexcept_renamed): Add __NTH.
79670 (feraiseexcept): Add __NTH. Rename local variables to fix
79671 namespace violations.
79672
79673 2011-10-17 Ulrich Drepper <drepper@gmail.com>
79674
79675 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79676
79677 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79678
79679 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79680 recently added interfaces.
79681 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79682
79683 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79684 about macro parameter expansion.
79685
79686 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79687 __NO_MATH_INLINES is defined. Cleanups.
79688
79689 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79690 and __floorf is target has SSE4.1.
79691 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79692 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79693 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79694 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79695
79696 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79697 name.
79698 (floorf): Likewise.
79699
79700 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79701
79702 2011-10-17 Andreas Schwab <schwab@redhat.com>
79703
79704 * misc/sys/cdefs.h: Fix last change.
79705
79706 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79707 database lookup.
79708
79709 2011-10-16 Ulrich Drepper <drepper@gmail.com>
79710
79711 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79712
79713 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79714 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79715 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79716 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79717 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79718 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79719 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79720 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79721 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79722 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79723 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79724 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79725 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79726 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79727 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79728 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79729 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79730 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79731 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79732 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79733 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79734 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79735
79736 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79737 ceil, ceilf, floor, floorf.
79738
79739 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79740 Perform IRELATIVE relocations last.
79741
79742 * elf/do-rel.h: Add another parameter nrelative, replacing the
79743 local variable with the same name. Change name of the function
79744 to end in Rel or Rela (uppercase).
79745 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79746 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
79747 elf_dynamic_do_##reloc function.
79748
79749 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79750
79751 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79752 is sufficient, at least on modern CPUs.
79753
79754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79755
79756 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79757 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79758
79759 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79760 __expl_finite.
79761 * math/bits/math-finite.h: Add entries for exp.
79762 * math/e_expl.c: Add __*_finite alias.
79763 * sysdeps/i386/fpu/e_exp.S: Likewise.
79764 * sysdeps/i386/fpu/e_expf.S: Likewise.
79765 * sysdeps/i386/fpu/e_expl.c: Likewise.
79766 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79767 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79768 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79769 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79770 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79771 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79772 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79773
79774 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79775 is sufficient, at least on modern CPUs.
79776
79777 * ctype/ctype-info.c (__ctype_init): Define.
79778 * include/ctype.h (__ctype_init): Declare.
79779 (__ctype_b_loc): The variable is always initialized.
79780 (__ctype_toupper_loc): Likewise.
79781 (__ctype_tolower_loc): Likewise.
79782 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79783 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79784
79785 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
79786
79787 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79788
79789 * configure.in: Also look in $cxxmachine/include for C++ system
79790 headers.
79791
79792 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79793
79794 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79795 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79796 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79797 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
79798 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79799 (USE_AS_WMEMCMP): New macro.
79800 Fixing indents.
79801 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79802 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79803 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79804 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79806 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79807 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79808 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79809 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79810 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79811 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79812 (USE_AS_WMEMCMP): New macro.
79813 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79814 * sysdeps/string/test-memcmp.c: Update.
79815 Fix simple_wmemcmp.
79816 Add new tests.
79817 * wcsmbs/wmemcmp.c: Update.
79818 (WMEMCMP): New macro.
79819 Fix overflow bug.
79820
79821 2011-10-12 Andreas Jaeger <aj@suse.de>
79822
79823 [BZ #13268]
79824 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79825
79826 2011-10-15 Ulrich Drepper <drepper@gmail.com>
79827
79828 * libio/iofwide.c (do_length): Avoid warning.
79829
79830 * ctype/ctype.h (__isctype_f): Add missing __THROW.
79831
79832 2011-10-14 Ulrich Drepper <drepper@gmail.com>
79833
79834 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79835
79836 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79837 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79838 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79839 * sysdeps/i386/i686/fpu/e_log.S: New file.
79840 * sysdeps/i386/i686/fpu/e_logf.S: New file.
79841 * sysdeps/i386/i686/fpu/e_logl.S: New file.
79842
79843 * ctype/ctype.h: Add support for inlined isXXX functions when
79844 compiling C++ code.
79845
79846 2011-10-14 Andreas Schwab <schwab@redhat.com>
79847
79848 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79849
79850 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79851
79852 2011-10-13 Roland McGrath <roland@hack.frob.com>
79853
79854 [BZ #13291]
79855 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79856
79857 2011-10-13 Andreas Schwab <schwab@redhat.com>
79858
79859 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79860 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79861 feraiseexcept.
79862
79863 * sysdeps/x86_64/memrchr.S: Check for zero size.
79864
79865 * string/stratcliff.c: Add memrchr tests.
79866
79867 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79868
79869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79870 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79871 rawmemchr-sse2 rawmemchr-sse2-bsf.
79872 * sysdeps/i386/i686/multiarch/memchr.S: New file.
79873 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79874 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79875 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79876 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79877 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79878 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79879 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79880 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79881 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79882 * string/memrchr.c (MEMRCHR): New macro.
79883
79884 2011-10-12 Ulrich Drepper <drepper@gmail.com>
79885
79886 Add integration with gcc's -ffinite-math-only and optimize wrapper
79887 functions in libm.
79888 * Versions.def: Define GLIBC_2.15 version for libm.
79889 * math/Makefile (headers): Add bits/math-finite.h.
79890 * math/bits/math-finite.h: New file.
79891 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79892 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79893 * math/e_acoshl.c: Add __*_finite alias.
79894 * math/e_acosl.c: Likewise.
79895 * math/e_asinl.c: Likewise.
79896 * math/e_atan2l.c: Likewise.
79897 * math/e_atanhl.c: Likewise.
79898 * math/e_coshl.c: Likewise.
79899 * math/e_exp10.c: Likewise.
79900 * math/e_exp10f.c: Likewise.
79901 * math/e_exp10l.c: Likewise.
79902 * math/e_exp2l.c: Likewise.
79903 * math/e_fmodl.c: Likewise.
79904 * math/e_gammal_r.c: Likewise.
79905 * math/e_hypotl.c: Likewise.
79906 * math/e_j0l.c: Likewise.
79907 * math/e_j1l.c: Likewise.
79908 * math/e_jnl.c: Likewise.
79909 * math/e_lgammal_r.c: Likewise.
79910 * math/e_log10l.c: Likewise.
79911 * math/e_log2l.c: Likewise.
79912 * math/e_logl.c: Likewise.
79913 * math/e_powl.c: Likewise.
79914 * math/e_sinhl.c: Likewise.
79915 * math/e_sqrtl.c: Likewise.
79916 * math/e_scalb.c: Completely rewritten and optimized.
79917 * math/e_scalbf.c: Likewise.
79918 * math/e_scalbl.c: Likewise.
79919 * math/w_acos.c: Likewise.
79920 * math/w_acosf.c: Likewise.
79921 * math/w_acosl.c: Likewise.
79922 * math/w_acosh.c: Likewise.
79923 * math/w_acoshf.c: Likewise.
79924 * math/w_acoshl.c: Likewise.
79925 * math/w_asin.c: Likewise.
79926 * math/w_asinf.c: Likewise.
79927 * math/w_asinl.c: Likewise.
79928 * math/w_atan2.c: Likewise.
79929 * math/w_atan2f.c: Likewise.
79930 * math/w_atan2l.c: Likewise.
79931 * math/w_atanh.c: Likewise.
79932 * math/w_atanhf.c: Likewise.
79933 * math/w_atanhl.c: Likewise.
79934 * math/w_exp10.c: Likewise.
79935 * math/w_exp10f.c: Likewise.
79936 * math/w_exp10l.c: Likewise.
79937 * math/w_fmod.c: Likewise.
79938 * math/w_fmodf.c: Likewise.
79939 * math/w_fmodl.c: Likewise.
79940 * math/w_j0.c: Likewise.
79941 * math/w_j0f.c: Likewise.
79942 * math/w_j0l.c: Likewise.
79943 * math/w_j1.c: Likewise.
79944 * math/w_j1f.c: Likewise.
79945 * math/w_j1l.c: Likewise.
79946 * math/w_jn.c: Likewise.
79947 * math/w_jnf.c: Likewise.
79948 * math/w_log.c: Likewise.
79949 * math/w_logf.c: Likewise.
79950 * math/w_logl.c: Likewise.
79951 * math/w_log10.c: Likewise.
79952 * math/w_log10f.c: Likewise.
79953 * math/w_log10l.c: Likewise.
79954 * math/w_log2.c: Likewise.
79955 * math/w_log2f.c: Likewise.
79956 * math/w_log2l.c: Likewise.
79957 * math/w_pow.c: Likewise.
79958 * math/w_powf.c: Likewise.
79959 * math/w_powl.c: Likewise.
79960 * math/w_remainder.c: Likewise.
79961 * math/w_remainderf.c: Likewise.
79962 * math/w_remainderl.c: Likewise.
79963 * math/w_scalb.c: Likewise.
79964 * math/w_scalbf.c: Likewise.
79965 * math/w_scalbl.c: Likewise.
79966 * math/w_sqrt.c: Likewise.
79967 * math/w_sqrtf.c: Likewise.
79968 * math/w_sqrtl.c: Likewise.
79969 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
79970 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
79971 used.
79972 * math/math_private.h: Declare __kernel_standard_f.
79973 * math/w_cosh.c: Remove cruft and optimize a bit.
79974 * math/w_coshf.c: Likewise.
79975 * math/w_coshl.c: Likewise.
79976 * math/w_exp2.c: Likewise.
79977 * math/w_exp2f.c: Likewise.
79978 * math/w_exp2l.c: Likewise.
79979 * math/w_hypot.c: Likewise.
79980 * math/w_hypotf.c: Likewise.
79981 * math/w_hypotl.c: Likewise.
79982 * math/w_lgamma.c: Likewise.
79983 * math/w_lgamma_r.c: Likewise.
79984 * math/w_lgammaf.c: Likewise.
79985 * math/w_lgammaf_r.c: Likewise.
79986 * math/w_lgammal.c: Likewise.
79987 * math/w_lgammal_r.c: Likewise.
79988 * math/w_sinh.c: Likewise.
79989 * math/w_sinhf.c: Likewise.
79990 * math/w_sinhl.c: Likewise.
79991 * math/w_tgamma.c: Likewise.
79992 * math/w_tgammaf.c: Likewise.
79993 * math/w_tgammal.c: Likewise.
79994 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79995 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79996 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
79997 Minor optimizations. Pretty printing. Remove cruft.
79998 * sysdeps/i386/fpu/e_acosf.S: Likewise.
79999 * sysdeps/i386/fpu/e_acosh.S: Likewise.
80000 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80001 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80002 * sysdeps/i386/fpu/e_acosl.c: Likewise.
80003 * sysdeps/i386/fpu/e_asin.S: Likewise.
80004 * sysdeps/i386/fpu/e_asinf.S: Likewise.
80005 * sysdeps/i386/fpu/e_atan2.S: Likewise.
80006 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80007 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80008 * sysdeps/i386/fpu/e_atanh.S: Likewise.
80009 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80010 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80011 * sysdeps/i386/fpu/e_exp10.S: Likewise.
80012 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80013 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80014 * sysdeps/i386/fpu/e_exp2.S: Likewise.
80015 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80016 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80017 * sysdeps/i386/fpu/e_fmod.S: Likewise.
80018 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80019 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80020 * sysdeps/i386/fpu/e_hypot.S: Likewise.
80021 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80022 * sysdeps/i386/fpu/e_log.S: Likewise.
80023 * sysdeps/i386/fpu/e_log10.S: Likewise.
80024 * sysdeps/i386/fpu/e_log10f.S: Likewise.
80025 * sysdeps/i386/fpu/e_log10l.S: Likewise.
80026 * sysdeps/i386/fpu/e_log2.S: Likewise.
80027 * sysdeps/i386/fpu/e_log2f.S: Likewise.
80028 * sysdeps/i386/fpu/e_log2l.S: Likewise.
80029 * sysdeps/i386/fpu/e_logf.S: Likewise.
80030 * sysdeps/i386/fpu/e_logl.S: Likewise.
80031 * sysdeps/i386/fpu/e_pow.S: Likewise.
80032 * sysdeps/i386/fpu/e_powf.S: Likewise.
80033 * sysdeps/i386/fpu/e_powl.S: Likewise.
80034 * sysdeps/i386/fpu/e_remainder.S: Likewise.
80035 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80036 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80037 * sysdeps/i386/fpu/e_scalb.S: Likewise.
80038 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80039 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80040 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80041 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80042 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80043 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80044 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80046 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80047 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80048 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80049 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80050 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80051 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80052 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80053 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80054 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80055 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80056 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80057 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80058 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80059 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80060 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80061 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80062 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80063 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80064 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80065 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80066 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80067 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80068 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80069 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80070 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80071 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80072 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80073 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80074 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80075 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80076 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80077 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80078 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80079 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80080 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80081 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80082 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80083 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80084 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80085 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80086 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80087 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80088 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80089 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80090 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80091 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80092 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80093 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80094 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80095 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80096 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80097 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80098 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80099 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80100 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80101 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80102 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80103 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80104 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80105 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80106 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80107 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80108 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80110 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80111 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80112 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80113 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80114 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80115 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80116 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80117 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80118 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80119 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80120 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80121 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80122 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80123 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80124 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80125 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80126 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80127 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80128 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80129 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80131 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80132 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80133 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80134 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80135 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80136 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80137 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80138 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80139 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80140 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80141 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80142 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80143 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80144 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80145 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80146 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80147 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80148 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80149 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80150 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80151 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80152 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80153 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
80154 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80155 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80156 (__isnanf): Likewise.
80157 (__isinf_ns): Likewise.
80158 (__isinf_nsf): Likewise.
80159 (__finite): Likewise.
80160 (__finitef): Likewise.
80161 (__ieee754_sqrt): Define as macro.
80162 (__ieee754_sqrtf): Define as macro.
80163 (__ieee754_sqrtl): Define as macro.
80164 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80165 inlined copy.
80166 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80167 __FINITE_MATH_ONLY__ consistent.
80168 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80169
80170 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
80171
80172 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80173 of rawmemchr.
80174
80175 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80176
80177 2011-10-09 Ulrich Drepper <drepper@gmail.com>
80178
80179 * po/ja.po: Update from translation team.
80180
80181 2011-10-08 Roland McGrath <roland@hack.frob.com>
80182
80183 * locale/programs/locarchive.c (prepare_address_space): New function.
80184 (create_archive, enlarge_archive, open_archive): Use it.
80185
80186 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80187 inside [SHARED], where it is used.
80188
80189 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80190
80191 * nss/getent.c (netgroup_keys): Remove unused variable.
80192 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80193
80194 2011-10-08 Ulrich Drepper <drepper@gmail.com>
80195
80196 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80197 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80198 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80199 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80200 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80201 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80202 * math/Makefile (libm-calls): Add s_isinf_ns.
80203 * math/divtc3.c: Use __isinf_nsl instead of isinf.
80204 * math/multc3.c: Likewise.
80205 * math/s_casin.c: Likewise.
80206 * math/s_casinf.c: Likewise.
80207 * math/s_casinl.c: Likewise.
80208 * math/s_ccos.c: Likewise.
80209 * math/s_ccosf.c: Likewise.
80210 * math/s_ccosl.c: Likewise.
80211 * math/s_ctan.c: Likewise.
80212 * math/s_ctanf.c: Likewise.
80213 * math/s_ctanh.c: Likewise.
80214 * math/s_ctanhf.c: Likewise.
80215 * math/s_ctanhl.c: Likewise.
80216 * math/s_ctanl.c: Likewise.
80217 * math/w_fmod.c: Likewise.
80218 * math/w_fmodf.c: Likewise.
80219 * math/w_fmodl.c: Likewise.
80220 * math/w_remainder.c: Likewise.
80221 * math/w_remainderf.c: Likewise.
80222 * math/w_remainderl.c: Likewise.
80223 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80224 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80227 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80228 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80229 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80230 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80231
80232 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80233 of the number.
80234 * stdio-common/printf_fphex.c: Likewise.
80235 * stdio-common/printf_size.c: Likewise.
80236
80237 * math/e_exp10.c: Include math_private.h using <...> not "...".
80238 * math/e_exp10f.c: Likewise.
80239 * math/e_exp10l.c: Likewise.
80240 * math/e_exp2l.c: Likewise.
80241 * math/e_j0l.c: Likewise.
80242 * math/e_j1l.c: Likewise.
80243 * math/e_jnl.c: Likewise.
80244 * math/e_lgammal_r.c: Likewise.
80245 * math/e_rem_pio2l.c: Likewise.
80246 * math/e_scalb.c: Likewise.
80247 * math/e_scalbf.c: Likewise.
80248 * math/e_scalbl.c: Likewise.
80249 * math/k_cosl.c: Likewise.
80250 * math/k_sinl.c: Likewise.
80251 * math/k_tanl.c: Likewise.
80252 * math/s_cacoshf.c: Likewise.
80253 * math/s_catan.c: Likewise.
80254 * math/s_catanf.c: Likewise.
80255 * math/s_catanh.c: Likewise.
80256 * math/s_catanhf.c: Likewise.
80257 * math/s_catanhl.c: Likewise.
80258 * math/s_catanl.c: Likewise.
80259 * math/s_ccosh.c: Likewise.
80260 * math/s_ccoshf.c: Likewise.
80261 * math/s_ccoshl.c: Likewise.
80262 * math/s_cexp.c: Likewise.
80263 * math/s_cexpf.c: Likewise.
80264 * math/s_cexpl.c: Likewise.
80265 * math/s_clog.c: Likewise.
80266 * math/s_clog10.c: Likewise.
80267 * math/s_clog10f.c: Likewise.
80268 * math/s_clog10l.c: Likewise.
80269 * math/s_clogf.c: Likewise.
80270 * math/s_clogl.c: Likewise.
80271 * math/s_csin.c: Likewise.
80272 * math/s_csinf.c: Likewise.
80273 * math/s_csinh.c: Likewise.
80274 * math/s_csinhf.c: Likewise.
80275 * math/s_csinhl.c: Likewise.
80276 * math/s_csinl.c: Likewise.
80277 * math/s_csqrt.c: Likewise.
80278 * math/s_csqrtf.c: Likewise.
80279 * math/s_csqrtl.c: Likewise.
80280 * math/s_ctan.c: Likewise.
80281 * math/s_ctanf.c: Likewise.
80282 * math/s_ctanh.c: Likewise.
80283 * math/s_ctanhf.c: Likewise.
80284 * math/s_ctanhl.c: Likewise.
80285 * math/s_ctanl.c: Likewise.
80286 * math/s_ldexp.c: Likewise.
80287 * math/s_ldexpf.c: Likewise.
80288 * math/s_ldexpl.c: Likewise.
80289 * math/s_significand.c: Likewise.
80290 * math/s_significandf.c: Likewise.
80291 * math/s_significandl.c: Likewise.
80292 * math/w_acos.c: Likewise.
80293 * math/w_acosf.c: Likewise.
80294 * math/w_acosh.c: Likewise.
80295 * math/w_acoshf.c: Likewise.
80296 * math/w_acoshl.c: Likewise.
80297 * math/w_acosl.c: Likewise.
80298 * math/w_asin.c: Likewise.
80299 * math/w_asinf.c: Likewise.
80300 * math/w_asinl.c: Likewise.
80301 * math/w_atan2.c: Likewise.
80302 * math/w_atan2f.c: Likewise.
80303 * math/w_atan2l.c: Likewise.
80304 * math/w_atanh.c: Likewise.
80305 * math/w_atanhf.c: Likewise.
80306 * math/w_atanhl.c: Likewise.
80307 * math/w_cosh.c: Likewise.
80308 * math/w_coshf.c: Likewise.
80309 * math/w_coshl.c: Likewise.
80310 * math/w_dremf.c: Likewise.
80311 * math/w_exp10.c: Likewise.
80312 * math/w_exp10f.c: Likewise.
80313 * math/w_exp10l.c: Likewise.
80314 * math/w_exp2.c: Likewise.
80315 * math/w_exp2f.c: Likewise.
80316 * math/w_fmod.c: Likewise.
80317 * math/w_fmodf.c: Likewise.
80318 * math/w_fmodl.c: Likewise.
80319 * math/w_hypot.c: Likewise.
80320 * math/w_hypotf.c: Likewise.
80321 * math/w_hypotl.c: Likewise.
80322 * math/w_j0.c: Likewise.
80323 * math/w_j0f.c: Likewise.
80324 * math/w_j0l.c: Likewise.
80325 * math/w_j1.c: Likewise.
80326 * math/w_j1f.c: Likewise.
80327 * math/w_j1l.c: Likewise.
80328 * math/w_jn.c: Likewise.
80329 * math/w_jnf.c: Likewise.
80330 * math/w_jnl.c: Likewise.
80331 * math/w_lgamma.c: Likewise.
80332 * math/w_lgamma_r.c: Likewise.
80333 * math/w_lgammaf.c: Likewise.
80334 * math/w_lgammaf_r.c: Likewise.
80335 * math/w_lgammal.c: Likewise.
80336 * math/w_lgammal_r.c: Likewise.
80337 * math/w_log.c: Likewise.
80338 * math/w_log10.c: Likewise.
80339 * math/w_log10f.c: Likewise.
80340 * math/w_log10l.c: Likewise.
80341 * math/w_log2.c: Likewise.
80342 * math/w_log2f.c: Likewise.
80343 * math/w_log2l.c: Likewise.
80344 * math/w_logf.c: Likewise.
80345 * math/w_logl.c: Likewise.
80346 * math/w_pow.c: Likewise.
80347 * math/w_powf.c: Likewise.
80348 * math/w_powl.c: Likewise.
80349 * math/w_remainder.c: Likewise.
80350 * math/w_remainderf.c: Likewise.
80351 * math/w_remainderl.c: Likewise.
80352 * math/w_scalb.c: Likewise.
80353 * math/w_scalbf.c: Likewise.
80354 * math/w_scalbl.c: Likewise.
80355 * math/w_sinh.c: Likewise.
80356 * math/w_sinhf.c: Likewise.
80357 * math/w_sinhl.c: Likewise.
80358 * math/w_sqrt.c: Likewise.
80359 * math/w_sqrtf.c: Likewise.
80360 * math/w_sqrtl.c: Likewise.
80361 * math/w_tgamma.c: Likewise.
80362 * math/w_tgammaf.c: Likewise.
80363 * math/w_tgammal.c: Likewise.
80364
80365 * po/ja.po: Update from translation team.
80366
80367 2011-09-29 Andreas Jaeger <aj@suse.de>
80368
80369 [BZ #13179]
80370 * sunrpc/netname.c (netname2host): Fix logic.
80371
80372 [BZ #6779]
80373 [BZ #6783]
80374 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80375 correctly.
80376 * math/w_remainder.c (__remainder): Likewise.
80377 * math/w_remainderf.c (__remainderf): Likewise.
80378 * math/libm-test.inc (remainder_test): Add test cases.
80379
80380 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
80381
80382 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
80383 sdiv_qrnnd.
80384
80385 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80386
80387 * string/test-memcmp.c: Avoid unncessary #defines.
80388 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80389
80390 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80391
80392 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80393 Use new sse2 version for core i3 - i7 as it's faster
80394 than sse42 version.
80395 (bit_Prefer_PMINUB_for_stringop): New.
80396 * sysdeps/x86_64/rawmemchr.S: Update.
80397 Replace with faster SSE2 version.
80398 * sysdeps/x86_64/memrchr.S: New file.
80399 * sysdeps/x86_64/memchr.S: Update.
80400 Replace with faster SSE2 version.
80401
80402 2011-09-12 Marek Polacek <mpolacek@redhat.com>
80403
80404 * elf/dl-load.c (lose): Add cast to avoid warning.
80405
80406 2011-10-07 Ulrich Drepper <drepper@gmail.com>
80407
80408 * po/ca.po: Update from translation team.
80409
80410 * inet/getnetgrent_r.c: Hook up nscd.
80411 * nscd/Makefile (routines): Add nscd_netgroup.
80412 (nscd-modules): Add netgroupcache.
80413 (CFLAGS-netgroupcache.c): Define.
80414 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80415 (cache_search): Add const to second parameter.
80416 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80417 INNETGR.
80418 (dbs): Add netgrdb entry.
80419 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80420 (verify_persistent_db): Handle netgrdb.
80421 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80422 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80423 GETFDNETGR.
80424 (netgroup_response_header): Define.
80425 (innetgroup_response_header): Define.
80426 (datahead): Add netgroup_response_header and innetgroup_response_header
80427 elements.
80428 * nscd/nscd.conf: Add entries for netgroup cache.
80429 * nscd/nscd.h (dbtype): Add netgrdb.
80430 (_PATH_NSCD_NETGROUP_DB): Define.
80431 (netgroup_iov_disabled): Declare.
80432 (xmalloc, xcalloc, xrealloc): Move declarations here.
80433 (cache_search): Adjust prototype.
80434 Add netgroup-related prototypes.
80435 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80436 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80437 (__nscd_innetgr): Declare.
80438 * nscd/selinux.c (perms): Use access_vector_t as element type and
80439 add netgroup-related initializers.
80440 * nscd/netgroupcache.c: New file.
80441 * nscd/nscd_netgroup.c: New file.
80442 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80443 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80444 For four parameters use innetgr.
80445 * nss/nss_files/files-init.c: Add definition and callback for netgr.
80446 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80447 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80448 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80449
80450 * nscd/connections.c (register_traced_file): Don't register file
80451 for disabled databases.
80452
80453 2011-10-06 Ulrich Drepper <drepper@gmail.com>
80454
80455 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80456
80457 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80458 from tree and freeing node.
80459
80460 2011-09-25 Jiri Olsa <jolsa@redhat.com>
80461
80462 * nss/nsswitch.c (__nss_database_lookup): Handle
80463 nss_parse_service_list out of memory case.
80464
80465 2011-09-15 Jiri Olsa <jolsa@redhat.com>
80466
80467 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80468 out of memory case.
80469
80470 2011-10-04 Andreas Schwab <schwab@redhat.com>
80471
80472 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80473 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80474 pass it down.
80475 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80476 elf_machine_rela, elf_machine_lazy_rel.
80477 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80478 (ELF_DYNAMIC_DO_REL): Likewise.
80479 (ELF_DYNAMIC_DO_RELA): Likewise.
80480 (ELF_DYNAMIC_RELOCATE): Likewise.
80481 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80482 to ELF_DYNAMIC_DO_REL.
80483 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80484 (dl_main): In trace mode always set __RTLD_NOIFUNC.
80485 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80486 elf_machine_rela.
80487 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80488 skip_ifunc, don't call ifunc function if non-zero.
80489 (elf_machine_rela): Likewise.
80490 (elf_machine_lazy_rel): Likewise.
80491 (elf_machine_lazy_rela): Likewise.
80492 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80493 (elf_machine_lazy_rel): Likewise.
80494 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80495 Likewise.
80496 (elf_machine_lazy_rel): Likewise.
80497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80498 Likewise.
80499 (elf_machine_lazy_rel): Likewise.
80500 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80501 (elf_machine_lazy_rel): Likewise.
80502 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80503 (elf_machine_lazy_rel): Likewise.
80504 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80505 (elf_machine_lazy_rel): Likewise.
80506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80507 (elf_machine_lazy_rel): Likewise.
80508 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80509 (elf_machine_lazy_rel): Likewise.
80510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80511 (elf_machine_lazy_rel): Likewise.
80512
80513 2011-09-28 Ulrich Drepper <drepper@gmail.com>
80514
80515 * nss/nss_files/files-init.c (_nss_files_init): Use static
80516 initialization for all the *_traced_file variables.
80517
80518 2011-09-28 Andreas Schwab <schwab@redhat.com>
80519
80520 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80521
80522 2011-09-27 Roland McGrath <roland@hack.frob.com>
80523
80524 [BZ #13226]
80525 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80526
80527 2011-09-27 Andreas Schwab <schwab@redhat.com>
80528
80529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80530 Reread the line before reparsing it.
80531
80532 2011-09-26 Andreas Schwab <schwab@redhat.com>
80533
80534 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80535
80536 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
80537 Maxim Kuvyrkov <maxim@codesourcery.com>
80538 Joseph Myers <joseph@codesourcery.com>
80539
80540 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80541 if needed for __stack_chk_guard.
80542
80543 2011-09-19 Roland McGrath <roland@hack.frob.com>
80544
80545 * sysdeps/posix/spawni.c (script_execute): Always define it.
80546 It will be optimized away if unused.
80547 (maybe_script_execute): New function.
80548 (__spawni): Call it.
80549
80550 * Makerules: Don't include tls.make.
80551 (config-tls): Always set to thread.
80552 * tls.make.c: File removed.
80553
80554 2011-09-19 Mike Frysinger <vapier@gentoo.org>
80555
80556 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80557 * config.make.in (CPPFLAGS-config): New substituted variable.
80558
80559 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80560
80561 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80562
80563 [BZ #13192]
80564 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80565 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80566
80567 2011-09-15 Roland McGrath <roland@hack.frob.com>
80568
80569 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80570 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80572 (CALL_FAIL): Likewise.
80573 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80574 (CALL_FAIL): Macro removed.
80575 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80576
80577 2011-09-15 Ulrich Drepper <drepper@gmail.com>
80578
80579 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80580 for __FINITE_MATH_ONLY__ == 1.
80581
80582 2011-09-15 Andreas Schwab <schwab@redhat.com>
80583
80584 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80585 __ieee754_sqrt instead of sqrt.
80586 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80587 __ieee754_sqrtf instead of sqrtf.
80588 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80589 __floorf instead of floorf.
80590 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80591 __floorf, __truncf instead of floorf, truncf.
80592
80593 2011-09-14 Ulrich Drepper <drepper@gmail.com>
80594
80595 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80596
80597 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80598 __extern_always_inline.
80599 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80600 32-bit.
80601
80602 2011-09-14 Andreas Schwab <schwab@redhat.com>
80603
80604 * elf/rtld.c (dl_main): Also relocate in dependency order when
80605 doing symbol dependency testing.
80606
80607 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
80608
80609 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80610 Always define `refsym'.
80611
80612 2011-09-13 Andreas Schwab <schwab@redhat.com>
80613
80614 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80615 (__FD_ELT): Renamed from __FDELT.
80616 * misc/bits/select2.h (__FD_ELT): Likewise.
80617 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80618 __FD_MASK instead of __FDELT, __FDMASK.
80619 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80620 Likewise.
80621 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80622 Likewise.
80623
80624 * elf/Makefile (gen-ldd): Fix pattern.
80625
80626 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80627 (init_tls): Likewise.
80628
80629 2011-09-12 Ulrich Drepper <drepper@gmail.com>
80630
80631 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80632
80633 2011-09-12 Andreas Schwab <schwab@redhat.com>
80634
80635 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80636 `struct cmsghdr *' instead of `void *'.
80637 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80638 Likewise.
80639
80640 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
80641
80642 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80643 if non-absolute.
80644 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80645 ldd_rewrite_script.
80646
80647 2011-09-11 Ulrich Drepper <drepper@gmail.com>
80648
80649 * configure.in: Remove --with-tls option.
80650 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80651 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80652 out in case it is missing.
80653 * sysdeps/ia64/elf/configure.in: Likewise.
80654 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80655 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80656 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80657 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80658 * sysdeps/sh/elf/configure.in: Likewise.
80659 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80660 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80661 * sysdeps/x86_64/elf/configure.in: Likewise.
80662 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80663 * sysdeps/mach/hurd/tls.h: Likewise.
80664
80665 [BZ #13067]
80666 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80667
80668 [BZ #13090]
80669 * configure.in: Fix use of AC_INIT.
80670
80671 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80672
80673 2011-09-10 Ulrich Drepper <drepper@gmail.com>
80674
80675 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80676 __set_errno.
80677 * malloc/hooks.c: Likewise.
80678
80679 [BZ #11929]
80680 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
80681 variables statically.
80682 (narenas): Initialize.
80683 (list_lock): Initialize.
80684 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
80685 initializtion of main_arena and list_lock. Small cleanups.
80686 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80687 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
80688 Add initializers to main_arena and mp_.
80689 (malloc_state): Remove pagesize member. Change all users to use
80690 GLRO(dl_pagesize).
80691
80692 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80693 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
80694 is always initialized.
80695
80696 * malloc/malloc.c: Removed unused configurations and dead code.
80697 * malloc/arena.c: Likewise.
80698 * malloc/hooks.c: Likewise.
80699 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80700
80701 * include/tls.h: Removed. USE___THREAD must always be defined.
80702 * bits/libc-tsd.h: Don't handle !USE___THREAD.
80703 * elf/dl-libc.c: Likewise.
80704 * elf/dl-tsd.c: Likewise.
80705 * include/errno.h: Likewise.
80706 * include/netdb.h: Likewise.
80707 * include/resolv.h: Likewise.
80708 * inet/herrno-loc.c: Likewise.
80709 * inet/herrno.c: Likewise.
80710 * malloc/arena.c: Likewise.
80711 * malloc/hooks.c: Likewise.
80712 * malloc/malloc.c: Likewise.
80713 * resolv/res-state.c: Likewise.
80714 * resolv/res_libc.c: Likewise.
80715 * sysdeps/i386/dl-machine.h: Likewise.
80716 * sysdeps/ia64/dl-machine.h: Likewise.
80717 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80718 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80719 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80720 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80721 * sysdeps/sh/dl-machine.h: Likewise.
80722 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80723 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80724 * sysdeps/unix/i386/sysdep.S: Likewise.
80725 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80726 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80728 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80730 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80731 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80732 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80733 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80734 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80735 * sysdeps/unix/x86_64/sysdep.S: Likewise.
80736 * sysdeps/x86_64/dl-machine.h: Likewise.
80737 * tls.make.c: Likewise.
80738
80739 * configure.in: Remove --with-__thread option. Make tests for
80740 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80741 tls_model attribute fail if no support is available. Remove
80742 USE_IN_LIBIO.
80743 * Makeconfig: Adjust for dropped configure option. All features are
80744 now mandatory.
80745 * Makerules: Likewise.
80746 * Versions.def: Likewise.
80747 * argp/argp-fmtstream.c: Likewise.
80748 * argp/argp-fmtstream.h: Likewise.
80749 * argp/argp-help.c: Likewise.
80750 * assert/assert.c: Likewise.
80751 * config.h.in: Likewise.
80752 * config.make.in: Likewise.
80753 * configure: Likewise.
80754 * configure.in: Likewise.
80755 * csu/Versions: Likewise.
80756 * csu/init.c: Likewise.
80757 * elf/tst-audit2.c: Likewise.
80758 * elf/tst-tls10.c: Likewise.
80759 * elf/tst-tls10.h: Likewise.
80760 * elf/tst-tls11.c: Likewise.
80761 * elf/tst-tls12.c: Likewise.
80762 * elf/tst-tls14.c: Likewise.
80763 * elf/tst-tlsmod11.c: Likewise.
80764 * elf/tst-tlsmod12.c: Likewise.
80765 * elf/tst-tlsmod13.c: Likewise.
80766 * elf/tst-tlsmod13a.c: Likewise.
80767 * elf/tst-tlsmod14a.c: Likewise.
80768 * elf/tst-tlsmod15b.c: Likewise.
80769 * elf/tst-tlsmod16a.c: Likewise.
80770 * elf/tst-tlsmod16b.c: Likewise.
80771 * elf/tst-tlsmod7.c: Likewise.
80772 * elf/tst-tlsmod8.c: Likewise.
80773 * elf/tst-tlsmod9.c: Likewise.
80774 * gmon/gmon.c: Likewise.
80775 * grp/fgetgrent_r.c: Likewise.
80776 * grp/putgrent.c: Likewise.
80777 * hurd/fopenport.c: Likewise.
80778 * include/libc-symbols.h: Likewise.
80779 * include/tls.h: Likewise.
80780 * intl/gettextP.h: Likewise.
80781 * intl/loadinfo.h: Likewise.
80782 * locale/global-locale.c: Likewise.
80783 * locale/localeinfo.h: Likewise.
80784 * mach/devstream.c: Likewise.
80785 * malloc/arena.c: Likewise.
80786 * malloc/set-freeres.c: Likewise.
80787 * misc/err.c: Likewise.
80788 * misc/getttyent.c: Likewise.
80789 * misc/mntent_r.c: Likewise.
80790 * posix/getopt.c: Likewise.
80791 * posix/wordexp.c: Likewise.
80792 * pwd/fgetpwent_r.c: Likewise.
80793 * resolv/Versions: Likewise.
80794 * resolv/res_hconf.c: Likewise.
80795 * shadow/fgetspent_r.c: Likewise.
80796 * shadow/putspent.c: Likewise.
80797 * stdio-common/printf_fphex.c: Likewise.
80798 * stdio-common/tmpfile.c: Likewise.
80799 * stdlib/abort.c: Likewise.
80800 * stdlib/fmtmsg.c: Likewise.
80801 * sunrpc/auth_unix.c: Likewise.
80802 * sunrpc/clnt_perr.c: Likewise.
80803 * sunrpc/clnt_tcp.c: Likewise.
80804 * sunrpc/clnt_udp.c: Likewise.
80805 * sunrpc/clnt_unix.c: Likewise.
80806 * sunrpc/openchild.c: Likewise.
80807 * sunrpc/svc_simple.c: Likewise.
80808 * sunrpc/svc_tcp.c: Likewise.
80809 * sunrpc/svc_udp.c: Likewise.
80810 * sunrpc/svc_unix.c: Likewise.
80811 * sunrpc/xdr.c: Likewise.
80812 * sunrpc/xdr_array.c: Likewise.
80813 * sunrpc/xdr_rec.c: Likewise.
80814 * sunrpc/xdr_ref.c: Likewise.
80815 * sunrpc/xdr_stdio.c: Likewise.
80816
80817 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80818
80819 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80820
80821 2011-07-03 Andreas Jaeger <aj@suse.de>
80822
80823 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80824 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80825 regenerate with gen-libm-tests.pl.
80826
80827 2010-05-12 Petr Baudis <pasky@suse.cz>
80828
80829 [BZ #11589]
80830 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80831 around j0() zero points by switching to j1().
80832 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80833 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80835 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80836
80837 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80838
80839 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80840 instead of 0.
80841 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80842 instead of 0.
80843 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80844 Patch in part by Pavel Roskin <proski@gnu.org>.
80845
80846 [BZ #13138]
80847 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80848 realloc.
80849 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
80850 Free memory block if necessary.
80851
80852 [BZ #12847]
80853 * libio/genops.c (INTDEF): For string streams the _lock pointer can
80854 be NULL. Don't lock in this case.
80855
80856 2011-09-09 Roland McGrath <roland@hack.frob.com>
80857
80858 * elf/elf.h (ELFOSABI_GNU): New macro.
80859 (ELFOSABI_LINUX): Define to that.
80860
80861 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
80862
80863 * string/strncat.c (strncat): Undef the symbol in case it has been
80864 defined in bits/string.h.
80865
80866 2011-09-09 Ulrich Drepper <drepper@gmail.com>
80867
80868 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80869
80870 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80871 link map.
80872
80873 2011-08-17 Andreas Jaeger <aj@suse.de>
80874
80875 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80876
80877 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
80878 Ian Lance Taylor <iant@google.com>
80879
80880 * math/libm-test.inc (lround_test): New testcase.
80881 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80882
80883 2011-09-08 Ulrich Drepper <drepper@gmail.com>
80884
80885 * Makefile: Remove support for automatic cvs check-ins.
80886 * Makerules: Likewise.
80887 * config.make.in: Likewise.
80888 * configure.in: Likewise.
80889 * intl/Makefile: Likewise.
80890 * locale/Makefile: Likewise.
80891 * po/Makefile: Likewise.
80892 * posix/Makefile: Likewise.
80893 * sysdeps/gnu/Makefile: Likewise.
80894 * sysdeps/mach/hurd/Makefile: Likewise.
80895 * sysdeps/sparc/sparc32/Makefile: Likewise.
80896
80897 [BZ #13118]
80898 * posix/Makefile (bug-regex32-ENV): Define.
80899 Patch by John Stanley <jpsinthemix@verizon.net>.
80900
80901 * misc/Makefile (headers): Add bits/select2.h.
80902 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80903 * misc/bits/select2.h: New file.
80904 * include/bits/select2.h: New file.
80905 * debug/Makefile (routines): Add fdelt_chk.
80906 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80907 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80908 FD_ISSET.
80909 * debug/fdelt_chk.c: New file.
80910
80911 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
80912 * wcsmbs/test-wmemcmp.c: Likewise.
80913 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
80914 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
80915
80916 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80917
80918 * string/Makefile (strop-tests): Add memcmp.
80919 * string/test-wmemcmp.c: New file.
80920 * string/test-memcmp.c: Add wmemcmp support.
80921
80922 2011-09-08 Roland McGrath <roland@hack.frob.com>
80923
80924 [BZ #13153]
80925 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
80926 2011-07-19 change.
80927
80928 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
80929 garbage value in a __mach_port_mod_refs call in the cases of the
80930 task-self and thread-self ports.
80931
80932 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
80933
80934 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
80935
80936 2011-09-08 Andreas Schwab <schwab@redhat.com>
80937
80938 * elf/dl-load.c (lose): Check for non-null L.
80939
80940 2011-09-07 Ulrich Drepper <drepper@gmail.com>
80941
80942 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
80943
80944 * elf/dl-libc.c (dlerror_run): Pass back error code from
80945 dl_catch_error.
80946
80947 [BZ #13123]
80948 * elf/dl-load.c (lose): Free l_origin if it is valid.
80949
80950 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
80951 names.
80952 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
80953 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80954 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
80955 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
80956 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
80957 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
80958
80959 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80960
80961 * sysdeps/powerpc/fpu/e_hypot.c: New file.
80962 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
80963 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
80964 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
80965 * sysdeps/powerpc/fpu/k_cosf.c: New file.
80966 * sysdeps/powerpc/fpu/k_sinf.c: New file.
80967 * sysdeps/powerpc/fpu/s_cosf.c: New file.
80968 * sysdeps/powerpc/fpu/s_sinf.c: New file.
80969 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
80970 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
80971
80972 2011-08-15 Alan Modra <amodra@gmail.com>
80973
80974 [BZ #13092]
80975 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
80976 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
80977 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
80978 ppc_mcount to static-only-routines.
80979 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
80980 __mcount_internal.
80981 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
80982 __mcount_internal with usual JUMPTARGET. Remove useless nop.
80983
80984 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
80985
80986 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
80987 for finite and infinity parameters.
80988
80989 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
80990
80991 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
80992 and add nop instructions for throughput optimization.
80993 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
80994
80995 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
80996
80997 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
80998 aligned copy for power7 with vector-scalar instructions.
80999 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81000
81001 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
81002
81003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81004 AVX check.
81005
81006 2011-09-07 Andreas Schwab <schwab@redhat.com>
81007
81008 [BZ #13144]
81009 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81010 last change.
81011
81012 2011-09-07 Ulrich Drepper <drepper@gmail.com>
81013
81014 * sysdeps/unix/sysv/linux/x86_64/init-first.c
81015 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81016 syscall wrapper around clock_gettime in __vdso_clock_gettime.
81017 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81018 clock_gettime.
81019
81020 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81021
81022 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81023 Forgot to demangle the pointer.
81024
81025 * sysdeps/i386/sysdep.h: Define atom_text_section.
81026 * sysdeps/x86_64/sysdep.h: Likewise.
81027 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81028 section with atom_text_section.
81029 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81030 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81031 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81032 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81033 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81034
81035 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81036 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81037 already be defined. Change to take two parameters and don't assign
81038 result to variable. Adjust all users.
81039 Define INTERNAL_GETTIME if not already defined.
81040 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81041 call.
81042 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81043 HAVE_CLOCK_GETTIME_VSYSCALL.
81044 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81045
81046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81047 gettimeofday vsyscall, just use time.
81048
81049 2011-09-06 Andreas Schwab <schwab@redhat.com>
81050
81051 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81052 <errno.h>.
81053
81054 2011-09-06 Ulrich Drepper <drepper@gmail.com>
81055
81056 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81057 syscall on x86-64.
81058 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81059 syscall.
81060 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81061 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81062 syscall if possible.
81063
81064 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81065
81066 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81067 e_ident. Don't pass to find_mapsXX.
81068 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81069
81070 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81071
81072 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81073 strchr-sse2-no-bsf strrchr-sse2-no-bsf
81074 * sysdeps/x86_64/multiarch/strchr.S: Update.
81075 Check bit_slow_BSF bit.
81076 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81077 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81078 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81079
81080 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81081
81082 [BZ #13134]
81083 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81084 before glibc 2.15.
81085 (tryshell): Define.
81086 (__spawni): Change last parameter to be flag. Test
81087 SPAWN_XFLAGS_USE_PATH flag to use path or not.
81088 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81089 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81090 * posix/spawni.c: Likewise.
81091 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81092 * posix/spawnp.c: Likewise. Change normal version to use
81093 SPAWN_XFLAGS_USE_PATH.
81094 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81095 SPAWN_XFLAGS_TRY_SHELL.
81096
81097 [BZ #13150]
81098 * posix/glob.h: Remove gcc 1.x support.
81099
81100 [BZ #13068]
81101 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81102
81103 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81104
81105 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81106 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81107 strrchr-sse2-bsf
81108 * sysdeps/i386/i686/multiarch/strchr.S: New file.
81109 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81110 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81111 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81112 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81113 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81114
81115 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81116
81117 * sysdeps/x86_64/wcscmp.S: New file.
81118
81119 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81120 wcscmp-c wcscmp-sse2
81121 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81122 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81124 * wcsmbs/wcscmp.c: Allow renaming.
81125
81126 2011-09-05 David S. Miller <davem@davemloft.net>
81127
81128 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81129 stack slot, rather than the struct return pointer slot.
81130 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81131 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81133 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81134
81135 2011-09-05 Ulrich Drepper <drepper@gmail.com>
81136
81137 * po/ja.po: Update from translation team.
81138
81139 [BZ #13144]
81140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81141 kernel in 64-bit binaries.
81142
81143 2011-09-01 David S. Miller <davem@davemloft.net>
81144
81145 * elf/elf.h (HWCAP_SPARC_*): Move to..
81146 * sysdeps/sparc/sysdep.h: this new file and add new values.
81147 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81148 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81149 _DL_HWCAP_COUNT to 24.
81150 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81151 entries.
81152 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81153 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81154 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81155 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81156 instead of magic constants.
81157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81158
81159 2011-08-31 David S. Miller <davem@davemloft.net>
81160
81161 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81162 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81163 Reimplement to do errno handling inline.
81164 (SYSCALL_ERROR_HANDLER): New macro.
81165 (__SYSCALL_STRING): Do not do errno handling in asm.
81166 (__CLONE_SYSCALL_STRING): Delete.
81167 (__INTERNAL_SYSCALL_STRING): Delete.
81168 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81169 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81170 (PSEUDO): Reimplement to do errno handling inline.
81171 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81172 (SYSCALL_ERROR_HANDLER): New macro.
81173 (__SYSCALL_STRING): Do not do errno handling in asm.
81174 (__CLONE_SYSCALL_STRING): Delete.
81175 (__INTERNAL_SYSCALL_STRING): Delete.
81176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81177 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81178 i386.
81179 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81180 (inline_syscall*): Add 'err' argument.
81181 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81182 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81183 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81184 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81185
81186 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81187 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81188
81189 2011-08-30 Andreas Schwab <schwab@redhat.com>
81190
81191 * elf/rtld.c (dl_main): Relocate objects in dependency order.
81192
81193 2011-08-29 Jiri Olsa <jolsa@redhat.com>
81194
81195 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81196 directive.
81197
81198 2011-08-24 David S. Miller <davem@davemloft.net>
81199
81200 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81201
81202 2011-08-24 Andreas Schwab <schwab@redhat.com>
81203
81204 * elf/Makefile: Add rules to build and run unload8 test.
81205 * elf/unload8.c: New file.
81206 * elf/unload8mod1.c: New file.
81207 * elf/unload8mod1x.c: New file.
81208 * elf/unload8mod2.c: New file.
81209 * elf/unload8mod3.c: New file.
81210
81211 * elf/dl-close.c (_dl_close_worker): Reset private search list if
81212 it wasn't used.
81213
81214 2011-08-23 David S. Miller <davem@davemloft.net>
81215
81216 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81217 subtract stack bias.
81218 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81219 %sp not %fp in calculations.
81220 (_JMPBUF_UNWINDS_ADJ): Likewise.
81221
81222 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81223 (aio_suspend): Call it to force an exception region around the
81224 AIO_MISC_WAIT() invocation.
81225
81226 2011-08-23 Andreas Schwab <schwab@redhat.com>
81227
81228 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81229 backslash.
81230
81231 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
81232
81233 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81234 protection macro.
81235 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81236 and <dl-machine.h>.
81237 (Elf64_FuncDesc): Remove.
81238
81239 2011-08-22 David S. Miller <davem@davemloft.net>
81240
81241 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81242 sigaltstack check, add missing cfi directives.
81243 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81244 missing cfi directives, and sigaltstack handling.
81245
81246 2011-08-16 Andreas Schwab <schwab@redhat.com>
81247
81248 [BZ #11724]
81249 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81250 object is seen twice.
81251 * elf/dl-fini.c (_dl_sort_fini): Likewise.
81252
81253 * elf/Makefile (distribute): Add tst-initorder2.c.
81254 (tests): Add tst-initorder2.
81255 (modules-names): Add tst-initorder2a tst-initorder2b
81256 tst-initorder2c tst-initorder2d. Add rules to build them.
81257 ($(objpfx)tst-initorder2.out): New rule.
81258 * elf/tst-initorder2.c: New file.
81259 * elf/tst-initorder2.exp: New file.
81260
81261 2011-08-22 Andreas Schwab <schwab@redhat.com>
81262
81263 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81264
81265 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81266 dependencies back to end of function.
81267
81268 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81269 $(elfobjdir)/ld.so.
81270
81271 2011-08-21 Ulrich Drepper <drepper@gmail.com>
81272
81273 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81274 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81275 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81276 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81277 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81278 of __vdso_gettimeofday.
81279 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81280 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
81281 attribute_hidden.
81282 (_libc_vdso_platform_setup): Remove initialization of
81283 __vdso_gettimeofday and __vdso_time.
81284
81285 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81286
81287 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81288 and fgetc_unlocked.
81289 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81290 getc_unlocked.
81291
81292 * elf/dl-open.c (add_to_global): Report additions to the global scope
81293 for LD_DEBUG=scopes.
81294 (dl_open_worker): Also print scope of newly loaded dependencies.
81295 (_dl_show_scope): Indicate if there is no scope.
81296
81297 [BZ #13114]
81298 * stdio-common/Makefile (tests): Add bug24.
81299 * stdio-common/bug24.c: New file.
81300
81301 2011-08-19 Andreas Jaeger <aj@suse.de>
81302
81303 [BZ #13114]
81304 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81305 non-existant file when using close-on-exec mode.
81306
81307 2011-08-20 Ulrich Drepper <drepper@gmail.com>
81308
81309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81310 the very first instruction.
81311
81312 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81313 the CFI state in the end.
81314 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81315 inclusion of dl-trampoline.h.
81316 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81317
81318 2011-08-19 Andreas Schwab <schwab@redhat.com>
81319
81320 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81321 expectations for long double.
81322
81323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81324 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81325
81326 2011-08-14 David S. Miller <davem@davemloft.net>
81327
81328 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81329 artificual limit depends upon the system page size.
81330
81331 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81332
81333 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81334 * resolv/Makefile: Define CFLAGS-libresolv.
81335
81336 2011-08-17 Andreas Schwab <schwab@redhat.com>
81337
81338 * nss/makedb.c (compute_tables): Make variables used in nested
81339 function static.
81340
81341 2011-08-17 Ulrich Drepper <drepper@gmail.com>
81342
81343 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81344 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81345 if buffer was too small.
81346
81347 * elf/pldd.c (main): Attach to all threads in the process.
81348 Rewrite /proc handling to use *at functions.
81349
81350 2011-08-16 Ulrich Drepper <drepper@gmail.com>
81351
81352 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81353 specifies first scope to show.
81354 (dl_open_worker): Update callers. Move printing scope of new
81355 object to before the relocation.
81356 * elf/rtld.c (dl_main): Update _dl_show_scope call.
81357 * sysdeps/generic/ldsodefs.h: Update declaration.
81358
81359 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81360 string for the scope number.
81361
81362 2011-08-14 Ulrich Drepper <drepper@gmail.com>
81363
81364 * nscd/servicescache.c (cache_addserv): Make sure written is always
81365 initialized.
81366
81367 2011-08-14 Roland McGrath <roland@hack.frob.com>
81368
81369 * sysdeps/i386/i486/bits/atomic.h
81370 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81371 statement expression, so as to suppress "set but not used" warning.
81372 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81373
81374 * string/strncat.c (STRNCAT): Use prototype definition.
81375
81376 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81377 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81378 -Iprograms here.
81379 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81380 (localedef-modules): Add localedef.
81381 (locale-modules): Add locale.
81382
81383 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81384 * elf/rtld.c (dl_main): Invert order of assignment in last change,
81385 to avoid a warning.
81386
81387 2011-08-14 David S. Miller <davem@davemloft.net>
81388
81389 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81390 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81391
81392 2011-08-13 Ulrich Drepper <drepper@gmail.com>
81393
81394 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81395 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81396 * elf/rtld.c (dl_main): Set l_name of vDSO.
81397 Call _dl_show_scope when DL_DEBUG_SCOPES.
81398 (process_dl_debug): Recognize scopes flag and also set it for all.
81399 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81400 Declare _dl_show_scope.
81401
81402 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81403 (do_dlopen): Pass caller_dlopen to dl_open.
81404 (__libc_dlopen_mode): Initialize caller_dlopen.
81405
81406 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81407 of libc. Make tolower call locale-independent. Optimize a bit by
81408 using isdigit instead of isalnum.
81409 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81410
81411 2011-08-12 Ulrich Drepper <drepper@gmail.com>
81412
81413 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81414 was a dependency or dynamically loaded.
81415
81416 2011-08-11 Ulrich Drepper <drepper@gmail.com>
81417
81418 * intl/l10nflist.c: Allow architecture-specific pop function.
81419 * sysdeps/x86_64/l10nflist.c: New file.
81420
81421 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81422 classification.
81423
81424 2011-08-10 Andreas Schwab <schwab@redhat.com>
81425
81426 * include/dirent.h: Add libc_hidden_proto for scandirat and
81427 scandirat64. Don't declare __scandirat64.
81428 * dirent/scandirat.c: Add libc_hidden_def.
81429 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81430 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81431
81432 2011-08-10 David S. Miller <davem@davemloft.net>
81433
81434 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81435 enum.
81436 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81437 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81438 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81439
81440 2011-08-09 Ulrich Drepper <drepper@gmail.com>
81441
81442 * Versions.def [libc]: Add GLIBC_2.15.
81443 * dirent/Makefile (routines): Add scandirat and scandirat64.
81444 * dirent/Versions [libc]: Export scandirat and scandirat64 for
81445 GLIBC_2.15.
81446 * dirent/dirent.h: Declare scandirat and scandirat64.
81447 * dirent/scandirat.c: New file.
81448 * dirent/scandirat64.c: New file.
81449 * sysdeps/wordsize-64/scandirat.c: New file.
81450 * sysdeps/wordsize-64/scandirat64.c: New file.
81451 * dirent/opendir.c: Define opendirat.
81452 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
81453 using scandirat.
81454 * dirent/scandir64.c: Adjust for scandir.c change.
81455 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
81456 __scandirat64, and __scandir_cancel_handler.
81457 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
81458 additional parameter and use openat instead of open (outside of ld.so).
81459 Add new __opendir as wrapper around __opendirat.
81460 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81461 here without requiring old scandirat implementation.
81462
81463 2011-08-08 Ulrich Drepper <drepper@gmail.com>
81464
81465 * dirent/scandir.c (cancel_handler): Renamed to
81466 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
81467 defined. Adjust users.
81468 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81469 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81470
81471 2011-08-04 Ulrich Drepper <drepper@gmail.com>
81472
81473 * string/test-string.h (IMPL): Use __STRING to expand name and then
81474 stringify it.
81475
81476 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
81477 of cleanups.
81478
81479 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81480
81481 * string/Makefile: Update.
81482 (strop-tests): Append strncat.
81483 * string/test-wcscmp.c: New file.
81484 New comprehensive test for wcscmp.
81485 * string/test-strcmp.c: Update.
81486 (WIDE): New define.
81487
81488 2011-07-22 Andreas Schwab <schwab@redhat.com>
81489
81490 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81491 line.
81492
81493 2011-07-26 Andreas Schwab <schwab@redhat.com>
81494
81495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81496 encoding to ACE if AI_IDN.
81497
81498 2011-08-01 Jakub Jelinek <jakub@redhat.com>
81499
81500 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81501 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81502
81503 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81504
81505 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81506 Fix overflow bug in strncat.
81507 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81508
81509 * string/test-strncat.c: Update.
81510 Add new tests for checking overflow bugs.
81511
81512 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81513
81514 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81515 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81516 * sysdeps/i386/i686/multiarch/strcat.S: New file.
81517 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81518 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81519 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81520 * sysdeps/i386/i686/multiarch/strncat.S: New file.
81521 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81522 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81523
81524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81525 (USE_AS_STRCAT): Define.
81526 Add strcat and strncat support.
81527 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81528
81529 2011-07-25 Andreas Schwab <schwab@redhat.com>
81530
81531 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81532 __n bigger than INT_MAX+1.
81533 (__strncmp_g): Likewise.
81534
81535 2011-07-23 Ulrich Drepper <drepper@gmail.com>
81536
81537 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81538 * libio/stido.h: Likewise.
81539
81540 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81541 (AF_NFC): Define.
81542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81543 (AF_NFC): Define.
81544
81545 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81546 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81548 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81549 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81550
81551 [BZ #13021]
81552 * scripts/test-installation.pl: Don't expect libnss_test1 to be
81553 installed.
81554
81555 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81556 typo.
81557 (_dl_x86_64_save_sse): Likewise.
81558
81559 2011-07-22 Ulrich Drepper <drepper@gmail.com>
81560
81561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81562 OSXSAVE.
81563 (_dl_x86_64_save_sse): Likewise.
81564
81565 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81566
81567 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81568
81569 2011-07-21 Andreas Schwab <schwab@redhat.com>
81570
81571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81572 change.
81573 (_dl_x86_64_save_sse): Use correct AVX check.
81574
81575 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81576
81577 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81578 bug in strncpy/strncat.
81579 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81580
81581 2011-07-21 Ulrich Drepper <drepper@gmail.com>
81582
81583 * string/tester.c (test_strcat): Add tests for different alignments
81584 of source and destination.
81585 (test_strncat): Likewise.
81586
81587 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81588
81589 [BZ #12852]
81590 * posix/glob.c (glob): Check passed in values before using them in
81591 expressions to avoid some overflows.
81592 (glob_in_dir): Likewise.
81593
81594 [BZ #13007]
81595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81596 check for AVX enablement so that we don't crash with old kernels and
81597 new hardware.
81598 * elf/tst-audit4.c: Add same checks here.
81599 * elf/tst-audit6.c: Likewise.
81600
81601 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81602
81603 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
81604
81605 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81606
81607 2011-07-20 Ulrich Drepper <drepper@gmail.com>
81608
81609 * po/cs.po: Update from translation team.
81610 * po/bg.po: Likewise.
81611
81612 2011-07-12 Marek Polacek <mpolacek@redhat.com>
81613
81614 * misc/sys/cdefs.h: Add support for const attribute.
81615 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81616 to gnu_dev_{major,minor,makedev} functions.
81617
81618 2011-07-20 Marek Polacek <mpolacek@redhat.com>
81619
81620 * intl/dcigettext.c (get_output_charset): Add missing bracket.
81621
81622 2011-07-20 Andreas Schwab <schwab@redhat.com>
81623
81624 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81625 strlen results.
81626
81627 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81628
81629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81630 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81631 register in order to avoid conflicts with the soft frame pointer
81632 being held in r11 when necessary.
81633 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81634 (INTERNAL_VSYSCALL_NCS): Likewise.
81635
81636 2011-07-14 Marek Polacek <mpolacek@redhat.com>
81637
81638 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81639 * elf/dl-fini.c (_dl_fini): Adjust caller.
81640 * elf/dl-close.c (_dl_close_worker): Likewise.
81641 * sysdeps/generic/ldsodefs.h: Adjust declaration.
81642
81643 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81644
81645 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81646 "aux_cache->nlibs < 0".
81647
81648 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81649 in the reload-count case.
81650
81651 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
81652
81653 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81654 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81655 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81656 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81657 * sysdeps/x86_64/multiarch/strcat.S: New file.
81658 * sysdeps/x86_64/multiarch/strncat.S: New file.
81659 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81660 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81661 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81662 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81663 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81664 (USE_AS_STRCAT): Define.
81665 Add strcat and strncat support.
81666 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81668 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81669 * string/strncat.c: Update.
81670 (USE_AS_STRNCAT): Define.
81671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81672 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81673 and i7.
81674 * sysdeps/x86_64/multiarch/init-arch.h
81675 (bit_Prefer_PMINUB_for_stringop): New.
81676 (index_Prefer_PMINUB_for_stringop): Likewise.
81677 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81678 bit_Prefer_PMINUB_for_stringop.
81679
81680 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81681
81682 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81683 buffer64.
81684 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81685 of casting of buffer.
81686 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81687 buffer32 and buffer64.
81688 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81689 writes instead of casting of buffer.
81690 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81691 buffer32.
81692 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81693 casting of buffer.
81694
81695 2011-07-19 Andreas Schwab <schwab@redhat.com>
81696
81697 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81698
81699 2011-07-19 Ulrich Drepper <drepper@gmail.com>
81700
81701 * nscd/nscd.c (termination_handler): Don't do anything for a database
81702 if it has not yet been initialized.
81703
81704 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81705
81706 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81707
81708 2011-07-15 Marek Polacek <mpolacek@redhat.com>
81709
81710 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81711
81712 2011-07-18 Ulrich Drepper <drepper@gmail.com>
81713
81714 * po/nl.po: Update from translation team.
81715 * po/sv.po: Likewise.
81716
81717 2011-07-16 Roland McGrath <roland@hack.frob.com>
81718
81719 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81720 now disallowed by GCC.
81721
81722 * configure.in (use-default-link): Default to yes if a test -shared
81723 link meets our qualifications.
81724 * configure: Regenerated.
81725
81726 * config.make.in (output-format): New variable.
81727 * configure.in: Check for ld --print-output-format support.
81728 * configure: Regenerated.
81729 * Makerules ($(common-objpfx)format.lds)
81730 [$(output-format) != unknown]: Just use $(output-format),
81731 instead of the linker-script munging.
81732
81733 2011-07-14 Roland McGrath <roland@hack.frob.com>
81734
81735 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81736 of $(common-objpfx)shlib.lds.
81737 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81738
81739 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81740 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81741
81742 * configure.in (-z relro check): Adjust test code to add a large
81743 writable data section after it.
81744 * configure: Regenerated.
81745
81746 2011-07-11 Roland McGrath <roland@hack.frob.com>
81747
81748 * configure.in (-z relro check): Fix test code to make the variable
81749 truly const.
81750 * configure: Regenerated.
81751
81752 2011-07-11 Ulrich Drepper <drepper@gmail.com>
81753
81754 * nscd/nscd.h (struct traced_file): Define.
81755 (struct database_dyn): Remove inotify_descr, reset_res, and filename
81756 elements. Add traced_files.
81757 (inotify_fd): Declare.
81758 (register_traced_file): Declare.
81759 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81760 (inotify_fd): Export.
81761 (resolv_conf_descr): Remove.
81762 (nscd_init): Move inotify descriptor creation to main.
81763 Don't register files for notification here.
81764 (register_traced_file): New function.
81765 (invalidate_cache): Don't use reset_res to determine whether to call
81766 res_init, go through the list of registered files.
81767 (main_loop_poll): The inotify descriptors are now stored in the
81768 structures for the traced files.
81769 (main_loop_epoll): Likewise.
81770 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
81771 to __nss_disable_nscd.
81772 * nscd/cache.c (prune_cache): There is no single inotify descriptor
81773 for a database anymore. Check the records for all the registered
81774 files instead.
81775 * nss/Makefile (libnss_files-routines): Add files-init.
81776 (libnss_db-routines): Add db-init.
81777 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81778 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81779 * nss/nss_db/db-init.c: New file.
81780 * nss/nss_files/files-init.c: New file.
81781 * nss/nsswitch.c (nss_load_library): New function. Broken out of
81782 __nss_lookup_function.
81783 (__nss_lookup_function): Call nss_load_library.
81784 (nss_load_all_libraries): New function.
81785 (__nss_disable_nscd): Take parameter with callback function for files
81786 to register. Set is_nscd. Load all the DSOs for the NSS modules
81787 used for the cached services.
81788 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81789 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81790 options for features to all the files in nscd.
81791
81792 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81793
81794 2011-07-10 Roland McGrath <roland@hack.frob.com>
81795
81796 * csu/elf-init.c (__libc_csu_init): Comment typo.
81797
81798 2011-07-09 Ulrich Drepper <drepper@gmail.com>
81799
81800 * po/pl.po: Update from translation team.
81801 * po/ja.po: Likewise.
81802 * po/ru.po: Likewise.
81803 * po/ko.po: Likewise.
81804 * po/fr.po: Likewise.
81805
81806 2011-07-09 Roland McGrath <roland@hack.frob.com>
81807
81808 * configure.in (.ctors/.dtors header and trailer check):
81809 Use an empirical test on a built program.
81810 * configure: Regenerated.
81811
81812 * configure.in (-z relro check): Use an empirical test on a built DSO.
81813 Detect, but do not require, on ia64.
81814 * configure: Regenerated.
81815
81816 * configure.in (READELF): Find it with AC_CHECK_TOOL.
81817 Update tests that use readelf to use $READELF instead.
81818 * configure: Regenerated.
81819
81820 2011-07-08 Ulrich Drepper <drepper@gmail.com>
81821
81822 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81823 if the result is not used.
81824
81825 2011-07-05 Andreas Jaeger <aj@suse.de>
81826
81827 [BZ#9696]
81828 * stdlib/tst-strtod.c: Add testcase.
81829
81830 2011-07-07 Ulrich Drepper <drepper@gmail.com>
81831
81832 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81833 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81834 The latter has a higher limit. Take additional parameter to pass to
81835 the new function.
81836 (__pathconf): Pass file to __statfs_link_max.
81837 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81838 __statfs_link_max.
81839 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81840 __statfs_link_max.
81841
81842 [BZ #12868]
81843 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81844 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81845 Handle Lustre.
81846 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81847 (__statfs_filesize_max): Likewise.
81848 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81849
81850 2011-07-05 Andreas Jaeger <aj@suse.de>
81851
81852 * resolv/res_comp.c (dn_skipname): Remove unused variable.
81853
81854 2011-07-06 Marek Polacek <mpolacek@redhat.com>
81855
81856 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81857 `status' variable.
81858 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81859 Likewise.
81860
81861 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
81862
81863 * Makefile (strop-tests): Add strncat.
81864 * string/test-strncat.c: New file.
81865
81866 2011-06-30 Marek Polacek <mpolacek@redhat.com>
81867
81868 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81869
81870 2011-06-21 Andreas Jaeger <aj@suse.de>
81871
81872 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81873 Copy rule from iconvdata/Makefile.
81874
81875 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81876
81877 [BZ #12922]
81878 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81879 but no long options are defined, just return 'W'.
81880
81881 2011-06-22 Marek Polacek <mpolacek@redhat.com>
81882
81883 [BZ #9696]
81884 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81885
81886 2011-07-06 Ulrich Drepper <drepper@gmail.com>
81887
81888 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81889 netgroups to read.
81890 (innetgr): Likewise.
81891
81892 2011-07-05 Roland McGrath <roland@hack.frob.com>
81893
81894 * config.make.in (install_root): Default to $(DESTDIR).
81895
81896 2011-07-05 Ulrich Drepper <drepper@gmail.com>
81897
81898 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81899
81900 2011-07-02 Roland McGrath <roland@hack.frob.com>
81901
81902 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81903
81904 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81905 containing directory rather than embedding absolute directory names.
81906
81907 * scripts/check-local-headers.sh: Rewritten using awk.
81908 Match by word, not by line. Print error messages for matches.
81909 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81910
81911 * Makerules [shlib-lds-flags empty]:
81912 ($(common-objpfx)libc_pic.opts): New target.
81913 ($(common-objpfx)libc_pic.os.clean): New target.
81914 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
81915
81916 * config.make.in (OBJCOPY): New variable.
81917 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
81918 * configure: Regenerated.
81919
81920 * config.make.in (use-default-link): New variable.
81921 * configure.in (use_default_link): Grok --with-default-link to set it.
81922 * configure: Regenerated.
81923 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
81924 (shlib-lds, shlib-lds-flags): Define to empty.
81925
81926 * Makerules (shlib-lds): New variable.
81927 (shlib-lds-flags): New variable.
81928 (build-shlib, build-moduile, build-module-asneeded): Use it.
81929 ($(common-objpfx)libc.so): Use $(shlib-lds).
81930 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
81931 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
81932
81933 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
81934 DT_FLAGS/DT_FLAGS_1 with zero flags.
81935
81936 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
81937 linker script munging.
81938
81939 2011-07-02 Ulrich Drepper <drepper@gmail.com>
81940
81941 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
81942 as 128-bit value.
81943 * crypt/sha512.c (sha512_process_block): Perform total addition using
81944 128-bit if possible.
81945 (__sha512_finish_ctx): Likewise.
81946 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
81947 as 64-bit value.
81948 * crypt/sha256.c (SWAP64): Define.
81949 (sha256_process_block): Perform total addition using 64-bit if
81950 possible.
81951 (__sha256_finish_ctx): Likewise.
81952
81953 2011-07-01 Ulrich Drepper <drepper@gmail.com>
81954
81955 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
81956 * nscd/initgrcache.c (addinitgroupsX): Likewise.
81957 * nscd/hstcache.c (cache_addhst): Likewise.
81958 * nscd/grpcache.c (cache_addgr): Likewise.
81959 * nscd/aicache.c (addhstaiX): Likewise.
81960 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
81961
81962 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
81963
81964 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
81965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
81966 * nscd/hstcache.c (cache_addhst): Likewise.
81967 * nscd/grpcache.c (cache_addgr): Likewise.
81968 * nscd/aicache.c (addhstaiX): Likewise.
81969
81970 2011-07-01 Andreas Schwab <schwab@redhat.com>
81971
81972 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
81973 domain only when needed.
81974
81975 2011-06-30 Andreas Schwab <schwab@redhat.com>
81976
81977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
81978 is always restored.
81979
81980 2011-06-29 Ulrich Drepper <drepper@gmail.com>
81981
81982 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
81983 are re-adding the entry.
81984 * nscd/servicescache.c (cache_addserv): Likewise.
81985
81986 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
81987
81988 * sysdeps/generic/dl-irel.h: fix protection against multiple
81989 inclusions.
81990 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
81991
81992 2011-06-28 Ulrich Drepper <drepper@gmail.com>
81993
81994 [BZ #12935]
81995 * malloc/memusage.sh: Fix quoting in message.
81996 * debug/xtrace.sh: Likewise.
81997
81998 * configure.in: Remove support for --experimental-malloc option, make
81999 it the default.
82000 * config.make.in: Likewise.
82001 * malloc/Makefile: Likewise.
82002
82003 2011-06-27 Andreas Schwab <schwab@redhat.com>
82004
82005 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82006 two-byte characters.
82007
82008 2011-06-27 Roland McGrath <roland@hack.frob.com>
82009
82010 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82011 AC_CACHE_CHECK invocation.
82012 * configure: Regenerated.
82013
82014 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82015
82016 2011-06-27 Ulrich Drepper <drepper@gmail.com>
82017
82018 [BZ #12350]
82019 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
82020 bit from old_res_options.
82021
82022 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82023
82024 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82025 value type for setfct.
82026
82027 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
82028
82029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82030 __gettimeofday instead of gettimeofday.
82031
82032 2011-06-26 Ulrich Drepper <drepper@gmail.com>
82033
82034 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82035
82036 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
82037
82038 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82039
82040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82041 info.
82042
82043 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82044
82045 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82046 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82047 strcpy-sse2-unaligned strncpy-sse2-unaligned
82048 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82049 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82050 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82051 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82052 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82053 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82054 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82055 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82056 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82057 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82058 (STRCPY): Support SSE2 and SSSE3 versions.
82059
82060 2011-06-24 Ulrich Drepper <drepper@gmail.com>
82061
82062 [BZ #12874]
82063 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82064 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82065 kernels which artificially limit size of requests.
82066
82067 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
82068
82069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82070 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82071 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82072 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82073 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82074 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82075 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82076 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82077 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82079 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82080 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82081 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82082 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82083 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82084 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82085 Enable unaligned load optimization for Intel Core i3, i5 and i7
82086 processors.
82087 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82088 Define.
82089 (index_Fast_Unaligned_Load): Define.
82090 (HAS_FAST_UNALIGNED_LOAD): Define.
82091
82092 2011-06-23 Marek Polacek <mpolacek@redhat.com>
82093
82094 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82095
82096 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82097
82098 [BZ #12907]
82099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82100 until it is clear that the information is realy needed.
82101 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82102
82103 2011-06-22 Andreas Schwab <schwab@redhat.com>
82104
82105 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82106
82107 2011-06-22 Ulrich Drepper <drepper@gmail.com>
82108
82109 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82110 /sys/devices/system/cpu/online if it is usable.
82111
82112 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82113 reading the information from the /proc filesystem to once a second.
82114
82115 2011-06-21 Andreas Jaeger <aj@suse.de>
82116
82117 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82118 NULL after inclusion of kernel headers.
82119
82120 2011-06-21 Ulrich Drepper <drepper@gmail.com>
82121
82122 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82123 calls to internal_setent.
82124
82125 [BZ #12885]
82126 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82127 addresses using gethostbyname4_r ignore IPv4 addresses.
82128
82129 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82130 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
82131
82132 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82133
82134 2011-06-20 David S. Miller <davem@davemloft.net>
82135
82136 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82137 inclusions.
82138 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82139
82140 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82141 (elf_irel): Use it.
82142 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82143 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82144 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82145 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82146 * sysdeps/x86_64/dl-irel.h: Likewise.
82147
82148 * elf/dl-runtime.c: Use elf_ifunc_invoke.
82149 * elf/dl-sym.c: Likewise.
82150
82151 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82152
82153 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
82154 need to dereference resplen2.
82155
82156 2011-06-14 Andreas Schwab <schwab@redhat.com>
82157
82158 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82159
82160 2011-06-15 Ulrich Drepper <drepper@gmail.com>
82161
82162 * Makeconfig: Define vardbdir and inst_vardbdir.
82163 * nss/Makefile: Add rules to install db-Makefile.
82164
82165 * nss/nss_db/db-XXX.c: Cleanup.
82166
82167 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82168 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82169 GLIBC_PRIVATE.
82170 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82171 * nss/makedb.c: Implement -g option to specify that value strings
82172 are generated and should not be added to table iterated over for
82173 get*ent calls.
82174 * nss/nss_db/db-initgroups.c: New file.
82175
82176 * nss/getent.c: Add support for initgroups lookups through getgrouplist
82177 interface.
82178
82179 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82180 (internal_getgrouplist): Adjust to name change.
82181 Update use_initgroups_entry if this is not the first call.
82182 * nss/databases.def: Add initgroups entry.
82183
82184 * nss/makedb.c (compute_tables): Check result of multiple hash table
82185 sizes to minimize maximum chain length.
82186
82187 2011-06-14 Ulrich Drepper <drepper@gmail.com>
82188
82189 * Versions.def: Add entry for libnss_db.
82190 * shlib-versions: Likewise.
82191 * nss/Makefile: Add rules to build libnss_db.
82192 * nss/Versions: Add libnss_db information. Organize libnss_files
82193 entries better.
82194 * nss/db-Makefile: Add gshadow support. Change rules for the new
82195 makedb progra. Some minor improvements to generate smaller files.
82196 * nss/nss_db/nss_db.h: Move NSS database header data structures to
82197 here from...
82198 * nss/makedb.c: ...here.
82199 Improve database format to be smaller and require less memory at
82200 runtime.
82201 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
82202 db anymore.
82203 * nss/nss_db/db-netgrp.c: Likewise.
82204 * nss/nss_db/db-open.c: Likewise.
82205 * nss/nss_files/flies-XXX.x: Adjust comments.
82206 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82207 * nss/nss_files/files-grp.c: Likewise.
82208 * nss/nss_files/files-hosts.c: Likewise.
82209 * nss/nss_files/files-network.c: Likewise.
82210 * nss/nss_files/files-proto.c: Likewise.
82211 * nss/nss_files/files-pwd.c: Likewise.
82212 * nss/nss_files/files-rpc.c: Likewise.
82213 * nss/nss_files/files-service.c: Likewise.
82214 * nss/nss_files/files-sgrp.c: Likewise.
82215 * nss/nss_files/files-spwd.c: Likewise.
82216 * nss/nss_db/db-alias.c: Removed.
82217 * nss/nss_db/dummy-db.h: Removed.
82218
82219 2011-06-02 Ulrich Drepper <drepper@gmail.com>
82220
82221 * nss/makedb.c: Rewritten to not use database library.
82222 * nss/Makefile: Update to build new makedb program.
82223
82224 2011-06-14 Andreas Jaeger <aj@suse.de>
82225
82226 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82227 memset declaration.
82228
82229 2011-06-10 Andreas Schwab <schwab@redhat.com>
82230
82231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82232 tmpbuf.
82233
82234 2011-06-10 Roland McGrath <roland@hack.frob.com>
82235
82236 * Makerules (shlib.lds): Fail if the linker script comes out empty.
82237 * elf/Makefile ($(objpfx)ld.so): Likewise.
82238
82239 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82240 Don't list ld.so twice in dependencies.
82241
82242 * posix/bug-regex31.c: Include <stdlib.h>.
82243
82244 * nscd/hstcache.c (cache_addhst): Remove unused variable.
82245
82246 * nis/nss_compat/compat-spwd.c
82247 (getspent_next_nss_netgr): Remove unused variable.
82248 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82249
82250 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82251 nonmembers" output to use the right array.
82252
82253 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82254
82255 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82256
82257 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82258 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82259 * catgets/gencat.c (read_input_file): Likewise.
82260 * locale/programs/locarchive.c (enlarge_archive): Likewise.
82261
82262 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82263 variable definition inside #if's controlling its use.
82264
82265 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82266
82267 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82268
82269 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82270
82271 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82272 unreachable code.
82273
82274 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82275
82276 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82277 * configure: Regenerated.
82278
82279 * Makerules: Revert last change.
82280 * elf/Makefile: Likewise.
82281
82282 2011-06-09 Roland McGrath <roland@hack.frob.com>
82283
82284 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82285 * elf/Makefile ($(objpfx)librtld.os): Likewise.
82286 (reloc-link): Likewise.
82287
82288 2011-06-09 Ulrich Drepper <drepper@gmail.com>
82289
82290 * elf/Makefile: Add rules to build pldd.
82291 * elf/pldd.c: New file.
82292 * elf/pldd-xx.c: New file.
82293
82294 2011-06-07 Ulrich Drepper <drepper@gmail.com>
82295
82296 * version.h: Update for 2.15 development version.
82297
82298 2011-06-07 David S. Miller <davem@davemloft.net>
82299
82300 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82301 ifuncs.
82302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82303 elf_machine_lazy_rel): Likewise.
82304 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82306 elf_machine_lazy_rel): Likewise.
82307 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82308 dl_hwcap via passed in argument.
82309 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82310 Likewise.
82311
82312 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82313
82314 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
82315
82316 2011-06-06 Roland McGrath <roland@hack.frob.com>
82317
82318 [BZ #12849]
82319 * manual/fdl-1.1.texi: New file, verbatim from:
82320 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82321 * manual/lgpl-2.1.texi: New file, verbatim from:
82322 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82323 * manual/Makefile (licenses): New variable, list those new file names.
82324 (texis): Use it.
82325 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82326
82327 * manual/fdl.texi: File removed.
82328 * manual/lesser.texi: File removed.
82329 * manual/libc.texinfo (Copying, Documentation License):
82330 Use new @include file names, put @appendix directive before @include.
82331
82332 2011-06-04 Jakub Jelinek <jakub@redhat.com>
82333
82334 [BZ #12841]
82335 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82336 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82337 (mq_open): Add __NTH.
82338
82339 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
82340
82341 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82342 Assume Intel Core i3/i5/i7 processor if AVX is available.
82343
82344 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82345
82346 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82347 typo.
82348
82349 2011-05-31 Andreas Schwab <schwab@redhat.com>
82350
82351 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82352 memory. Use alloca_account. Fix memory leak when retrying.
82353
82354 2011-05-31 Ulrich Drepper <drepper@gmail.com>
82355
82356 * version.h (RELEASE): Bump for 2.14 release.
82357 * include/features.h (__GLIBC_MINOR__): Bump to 14.
82358
82359 * config.make.in (RANLIB): Remove entry.
82360
82361 2011-05-30 Ulrich Drepper <drepper@gmail.com>
82362
82363 * po/Makefile (po-sed-cmd): Add ksh to extensions.
82364 (libc.pot): Work around missing support for .ksh extension in xgettext.
82365
82366 [BZ #12684]
82367 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82368 if both request failed.
82369 (send_dg): In case of server errors clear resplen or *resplen2.
82370
82371 [BZ #12454]
82372 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82373 when there are multiple maps.
82374 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82375 (_dl_fini): Remove test here.
82376
82377 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82378
82379 2011-05-29 Ulrich Drepper <drepper@gmail.com>
82380
82381 [BZ #12350]
82382 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82383 bit from old_res_options.
82384 (gaih_inet): Likewise.
82385
82386 [BZ #11099]
82387 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82388 as signed.
82389
82390 * resolv/res_init.c (res_setoptions): Make the code more compact.
82391
82392 [BZ #11558]
82393 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82394 set RES_USEVC.
82395
82396 [BZ #11634]
82397 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82398
82399 * malloc/malloc.h: Mark malloc hook variables as deprecated.
82400
82401 [BZ #11781]
82402 * malloc/malloc.h: Declare malloc hook variables as volatile.
82403
82404 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82405 in last patch.
82406
82407 [BZ #11799]
82408 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82409 raise in the comment.
82410 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82411 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82412 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82413
82414 2011-05-28 Ulrich Drepper <drepper@gmail.com>
82415
82416 [BZ #12811]
82417 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82418 grow the buffers more if it already has to be sufficient.
82419 (build_wcs_upper_buffer): Likewise.
82420 * posix/regexec.c (check_matching): Likewise.
82421 (clean_state_log_if_needed): Likewise.
82422 (extend_buffers): Don't enlarge buffers beyond size of the input
82423 buffer.
82424 Patches mostly by Emil Wojak <emil@wojak.eu>.
82425 * posix/bug-regex32.c: New file.
82426 * posix/Makefile (tests): Add bug-regex32.
82427
82428 * locale/findlocale.c (_nl_find_locale): Return right away if
82429 _nl_explode_name failed.
82430 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82431
82432 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82433
82434 * debug/xtrace.sh: Unify messages.
82435 * malloc/memusage.sh: Likewise.
82436
82437 [BZ #12813]
82438 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82439 time symbol from vDSO. Substitute with vsyscall if not available.
82440 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82441 __vdso_time.
82442
82443 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82444 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82445 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82446 Add sendmmsg and internal_sendmmsg.
82447 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82448 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82449 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82450
82451 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82452 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82453 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82454
82455 2011-05-27 Ulrich Drepper <drepper@gmail.com>
82456
82457 [BZ #12813]
82458 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82459 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
82460 available.
82461 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82462 __vdso_getcpu.
82463
82464 [BZ #12814]
82465 * iconvdata/Makefile (tests): Add bug-iconv9.
82466 * iconvdata/bug-iconv9.c: New file.
82467
82468 2011-05-27 Andreas Schwab <schwab@redhat.com>
82469
82470 [BZ #12814]
82471 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82472
82473 2011-05-25 Jakub Jelinek <jakub@redhat.com>
82474
82475 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82476 (struct user_regs_struct): Change intcs field back to cs.
82477
82478 2011-05-25 Ulrich Drepper <drepper@gmail.com>
82479
82480 * po/ja.po: Update from translation team.
82481
82482 2011-05-23 Ulrich Drepper <drepper@gmail.com>
82483
82484 [BZ #12795]
82485 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82486 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82487
82488 2011-05-20 Andreas Schwab <schwab@redhat.com>
82489
82490 * stdlib/longlong.h: Update from GCC.
82491
82492 2011-05-23 Andreas Schwab <schwab@redhat.com>
82493
82494 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82495 parameter name.
82496 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82497 Add parameter name.
82498 (__sysconf): Pass it down.
82499
82500 2011-05-22 Ulrich Drepper <drepper@gmail.com>
82501
82502 [BZ #12671]
82503 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82504 some situations.
82505 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82506 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82507 add in in __libc_use_alloca calls. Adjust callers.
82508 (glob): Use malloc in some situations.
82509
82510 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82511 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82512 pltexit.
82513
82514 2011-05-21 Ulrich Drepper <drepper@gmail.com>
82515
82516 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82517 and CLOCK_BOOTTIME_ALARM.
82518
82519 [BZ #12782]
82520 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82521 is returned.
82522
82523 * string/_strerror.c (__strerror_r): Print negative errors as signed
82524 numbers.
82525
82526 [BZ #12777]
82527 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82528 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82529 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82530
82531 * configure.in: Fix typo in redirection and correct removal of test
82532 files in two cases.
82533
82534 [BZ #12788]
82535 * locale/setlocale.c (new_composite_name): Fix test to check for
82536 identical name of all categories.
82537
82538 [BZ #12792]
82539 * libio/filedoalloc.c (local_isatty): New function.
82540 (_IO_file_doallocate): Use local_isatty.
82541 * stdio-common/perror.c (perror): In case a new stream is used
82542 forward the stream error.
82543 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82544 error flag.
82545
82546 2011-05-20 Ulrich Drepper <drepper@gmail.com>
82547
82548 [BZ #11884]
82549 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82550 alloca.
82551 * include/alloca.h (extend_alloca_account): Define.
82552
82553 [BZ #11857]
82554 * posix/regex.h: Fix comments with documentation of user-accessible
82555 fields after compilation and describe correct free'ing of pattern
82556 after re_compile_pattern.
82557 Patch by Reuben Thomas <rrt@sc3d.org>.
82558
82559 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
82560
82561 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82562 and -mno-altivec to prevent the compiler from using Altivec and/or
82563 VSX instructions when the corresponding registers are not available.
82564
82565 2011-05-19 Andreas Schwab <schwab@redhat.com>
82566
82567 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82568
82569 2011-05-19 Ulrich Drepper <drepper@gmail.com>
82570
82571 * libio/freopen.c (freopen): Use __dup2, not dup2.
82572 * libio/freopen64.c (freopen64): Likewise.
82573
82574 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
82575
82576 [BZ #12775]
82577 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82578 * math/Makefile (tests): Add test-powl.
82579 (CFLAGS-test-powl.c): Define.
82580 * math/test-powl.c: New file.
82581
82582 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
82583
82584 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82585
82586 2011-05-17 Ulrich Drepper <drepper@gmail.com>
82587
82588 [BZ #11837]
82589 * iconvdata/gb18030.c: Update to GB18020-2005.
82590
82591 2011-05-16 Ulrich Drepper <drepper@gmail.com>
82592
82593 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82594 RE_SYNTAX_POSIX_AWK): Update to match recent development.
82595 Patch by Aharon Robbins <arnold@skeeve.com>.
82596
82597 [BZ #11892]
82598 * stdlib/putenv.c (putenv): Don't always create copy of the variable
82599 on the stack.
82600
82601 [BZ #11895]
82602 * misc/pselect.c (__pselect): Handle timeout value errors hidden
82603 through underflows.
82604
82605 [BZ #12766]
82606 * misc/error.c (error_at_line): Ensure file_name and old_file_name
82607 point to strings before performing equality test for error_one_per_line
82608 mode.
82609
82610 [BZ #11697]
82611 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82612
82613 [BZ #11820]
82614 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82615 (struct user_fpregs_struct): Avoid __uint*_t types.
82616
82617 [BZ #6420]
82618 * malloc/mtrace.c (tr_where): Add additional parameter to point to
82619 symbol info. Use it instead of calling _dl_addr locally.
82620 (lock_and_info): New function.
82621 (tr_freehook): Call lock_and_info and pass symbol info as additional
82622 parameter to tr_where.
82623 (tr_mallochook): Likewise.
82624 (tr_reallochook): Likewise.
82625 (tr_memalignhook): Likewise.
82626
82627 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
82628 used and couldn't be at all thread-safe.
82629
82630 2011-05-15 Ulrich Drepper <drepper@gmail.com>
82631
82632 * libio/freopen.c (freopen): Don't close old file descriptor
82633 before the new one is opened. Instead dup the new file descriptor
82634 to the old one after the new stream is created.
82635 * libio/freopen64.c (freopen64): Likewise.
82636 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82637 * libio/fileops.c (_IO_new_file_close_it): Handle new
82638 _IO_FLAGS2_NOCLOSE flag.
82639 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82640 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82641 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82642 _IO_FLAGS2_NOCLOSE flag.
82643 * include/unistd.h: Add hidden_proto for dup3.
82644 Define __have_dup3.
82645 * io/dup3.c: Define hidden symbol.
82646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82647
82648 [BZ #7101]
82649 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82650 when an incomplete long option is used.
82651 * posix/tst-getopt_long1.c: New file.
82652 * posix/Makefile (tests): Add tst-getopt_long1.
82653
82654 [BZ #10138]
82655 * scripts/config.guess: Update from autoconf-2.68.
82656 * scripts/config.sub: Likewise.
82657
82658 [BZ #10157]
82659 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82660 tests into ...
82661 (has_cpuclock): ...this. New function.
82662 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82663 macro here based on has_cpuclock code.
82664
82665 [BZ #10149]
82666 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82667 First byte (not low byte) is now always NUL.
82668 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82669
82670 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82671 Use non-cancelable interfaces.
82672
82673 [BZ #9809]
82674 * locale/iso-639.def: Add entry for Sorani.
82675
82676 [BZ #11901]
82677 * include/stdlib.h: Move include protection to the right place.
82678 Define abort_msg_s. Declare __abort_msg with it.
82679 * stdlib/abort.c (__abort_msg): Adjust type.
82680 * assert/assert.c (__assert_fail_base): New function. Majority
82681 of code from __assert_fail. Allocate memory for __abort_msg with
82682 mmap.
82683 (__assert_fail): Now call __assert_fail_base.
82684 * assert/assert-perr.c: Remove bulk of implementation. Use
82685 __assert_fail_base.
82686 * include/assert.hL Declare __assert_fail_base.
82687 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82688 mmap.
82689 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82690
82691 2011-05-14 Ulrich Drepper <drepper@gmail.com>
82692
82693 [BZ #11952]
82694 [BZ #12453]
82695 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82696 until all modules are registered in the DTV.
82697 * elf/Makefile: Add rules to build and run tst-tls19.
82698 * elf/tst-tls19.c: New file.
82699 * elf/tst-tls19mod1.c: New file.
82700 * elf/tst-tls19mod2.c: New file.
82701 * elf/tst-tls19mod3.c: New file.
82702 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82703
82704 [BZ #12083]
82705 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82706 correctly.
82707
82708 [BZ #12601]
82709 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82710 two-byte sequence errors.
82711 * iconvdata/Makefile (tests): Add bug-iconv8.
82712 * iconvdata/bug-iconv8.c: New file.
82713
82714 [BZ #12626]
82715 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82716 buf2 definition.
82717
82718 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82719
82720 [BZ #12432]
82721 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82722 (dummy_getcfa): New function.
82723 (init): Get _Unwind_GetCFA address, use dummy if not found.
82724 (backtrace_helper): In recursion check, also check whether CFA changes.
82725 (__backtrace): Completely initialize arg.
82726
82727 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82728 storing incomplete byte sequence in state object. Avoid testing for
82729 guaranteed too small input if we know there is enough data available.
82730
82731 2011-05-11 Andreas Schwab <schwab@redhat.com>
82732
82733 * Makeconfig (+link-pie): Indent.
82734 * Rules (binaries-pie): Define if $(have-fpie) and
82735 $(build-shared).
82736 (binaries-shared): Also filter out $(binaries-pie).
82737 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82738 * nscd/Makefile (others-pie): Add nscd.
82739 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82740 ($(objpfx)nscd): Remove command override.
82741 * login/Makefile (others-pie): Add pt_chown.
82742 ($(objpfx)pt_chown): Remove command override.
82743 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82744 remove command overrides.
82745
82746 2011-05-13 Ulrich Drepper <drepper@gmail.com>
82747
82748 * libio/tst_putwc.c: Fix error messages.
82749
82750 [BZ #12724]
82751 * libio/fileops.c (_IO_new_file_close_it): Always flush when
82752 currently writing and seek to current position when not.
82753 * libio/Makefile (tests): Add bug-fclose1.
82754 * libio/bug-fclose1.c: New file.
82755
82756 2011-05-12 Ulrich Drepper <drepper@gmail.com>
82757
82758 [BZ #12511]
82759 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82760 don't set DF_1_NODELETE here.
82761 (do_lookup_x): When entering new entry test for copy relocation
82762 and if necessary set DF_1_NODELETE flag.
82763 * elf/tst-unique4.cc: New file.
82764 * elf/tst-unique4.h: New file.
82765 * elf/tst-unique4lib.cc: New file.
82766 * elf/Makefile: Add rules to build and run tst-unique4.
82767 Patch by Piotr Bury <pbury@goahead.com>.
82768
82769 2011-05-11 Ulrich Drepper <drepper@gmail.com>
82770
82771 [BZ #12052]
82772 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82773
82774 [BZ #12625]
82775 * misc/mntent_r.c (addmntent): Flush the stream after the output
82776
82777 [BZ #12393]
82778 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82779 (is_trusted_path_normalize): Skip initial colon. Append slash
82780 to empty buffer. Duplicate is_trusted_path code but allow
82781 constructed patch to be prefix.
82782 (is_dst): Allow $ORIGIN followed by /.
82783 (_dl_dst_substitute): Correct clearing of check_for_trusted.
82784 Correct testing of result of is_trusted_path_normalize
82785 (decompose_rpath): Fix warning.
82786
82787 2011-05-10 Ulrich Drepper <drepper@gmail.com>
82788
82789 [BZ #11257]
82790 * grp/initgroups.c (internal_getgrouplist): When we found the service
82791 list through the initgroups entry in nsswitch.conf do not always
82792 continue on a successful lookup. Don't always use the
82793 __nss_group_database value if it is set.
82794 * nss/nsswitch.conf (initgroups): Change action for successful db
82795 lookup to continue for compatibility.
82796
82797 2011-05-09 Ulrich Drepper <drepper@gmail.com>
82798
82799 [BZ #11532]
82800 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82801 and CP774 modules.
82802 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82803 and CP774 modules.
82804 * iconvdata/tst-tables.sh: Likewise.
82805 * iconvdata/cp770.c: New file.
82806 * iconvdata/cp771.c: New file.
82807 * iconvdata/cp772.c: New file.
82808 * iconvdata/cp773.c: New file.
82809 * iconvdata/cp774.c: New file.
82810 * iconvdata/testdata/CP770: New file.
82811 * iconvdata/testdata/CP770..UTF8: New file.
82812 * iconvdata/testdata/CP771: New file.
82813 * iconvdata/testdata/CP771..UTF8: New file.
82814 * iconvdata/testdata/CP772: New file.
82815 * iconvdata/testdata/CP772..UTF8: New file.
82816 * iconvdata/testdata/CP773: New file.
82817 * iconvdata/testdata/CP773..UTF8: New file.
82818 * iconvdata/testdata/CP774: New file.
82819 * iconvdata/testdata/CP774..UTF8: New file.
82820
82821 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82822 END CHARMAP line.
82823 * iconvdata/gen-8bit-gap.sh: Likewise.
82824 * iconvdata/gen-8bit.sh: Likewise.
82825
82826 * locale/iso-639.def: Add ary entry.
82827
82828 [BZ #11258]
82829 * locale/C-translit.h.in: Add U20A1 transliteration.
82830
82831 [BZ #12178]
82832 * locale/iso-639.def: Add wae entry.
82833 Patch by Kevin Bortis <bortis@translate-wae.ch>.
82834
82835 [BZ #12545]
82836 * locale/programs/localedef.c (construct_output_path): Use ssize_t
82837 for n.
82838
82839 [BZ #12711]
82840 * locale/C-translit.h.in: Add entry for U20B9.
82841 Patch by pravin.d.s@gmail.com.
82842
82843 2011-05-08 Ulrich Drepper <drepper@gmail.com>
82844
82845 [BZ #12713]
82846 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82847 ENAMETOOLONG use generic getcwd.
82848 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
82849 in rtld. Use *stat64.
82850 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82851 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82852 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82853 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82854 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82855 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82856 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82857 __fstatat64 macros.
82858 * include/dirent.h: Add libc_hidden_proto for rewinddir.
82859 * dirent/rewinddir.c: Add libc_hidden_def.
82860 * sysdeps/mach/hurd/rewinddir.c: Likewise.
82861 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
82862
82863 * include/dirent.h (__alloc_dir): Add flags parameter.
82864 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82865 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82866 __alloc_dir.
82867 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
82868 from fdopendir if O_CLOEXEC is already set.
82869
82870 2011-03-15 Alan Modra <amodra@gmail.com>
82871
82872 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82873 l_tls_firstbyte_offset non-zero. Save padding offset in
82874 l_tls_firstbyte_offset for later use.
82875 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82876 freeing static tls block.
82877
82878 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
82879
82880 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82881 where #ifdef was intended. The intent is to prevent ARG_MAX from
82882 being defined by the kernel headers.
82883
82884 2011-05-07 Ulrich Drepper <drepper@gmail.com>
82885
82886 [BZ #12734]
82887 * resolv/resolv.h: Define RES_NOTLDQUERY.
82888 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82889 no-tld-query and set RES_NOTLDQUERY.
82890 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82891 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82892 modern BIND to search name as TLD unless forbidden.
82893
82894 2011-05-07 Petr Baudis <pasky@suse.cz>
82895 Ulrich Drepper <drepper@gmail.com>
82896
82897 [BZ #12393]
82898 * elf/dl-load.c (fillin_rpath): Move trusted path check...
82899 (is_trusted_path): ...to here.
82900 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82901 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82902 using is_trusted_path_normalize() in setuid scripts.
82903
82904 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
82905
82906 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82907 __BEGIN/__END_DECLS.
82908
82909 2011-05-06 Ulrich Drepper <drepper@gmail.com>
82910
82911 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82912 NSS_STATUS_NOTFOUND if no record was found.
82913
82914 2011-05-05 Andreas Schwab <schwab@redhat.com>
82915
82916 * sunrpc/Makefile (headers): Add rpc/netdb.h.
82917 (headers-not-in-tirpc): Remove rpc/netdb.h
82918 * resolv/netdb.h: Revert last change.
82919
82920 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
82921
82922 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
82923 circular dependency between libgcc.a and libc.a.
82924
82925 2011-05-05 Andreas Schwab <schwab@redhat.com>
82926
82927 * resolv/netdb.h: Don't include <rpc/netdb.h>.
82928 * nis/Makefile: Don't install rpcsvc/*.
82929 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
82930 instead of <rpc/types.h>.
82931 (MAXHOSTNAMELEN): Define.
82932
82933 2011-05-03 Andreas Schwab <schwab@redhat.com>
82934
82935 * elf/ldconfig.c (add_dir): Don't crash on empty path.
82936
82937 2011-04-28 Maciej Babinski <mbabinski@google.com>
82938
82939 [BZ #12714]
82940 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
82941 gethostbyname4_r when IPv6 results are possible.
82942
82943 2011-05-02 Ulrich Drepper <drepper@gmail.com>
82944
82945 [BZ #12723]
82946 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
82947 _PC_PIPE_BUF handling.
82948
82949 2011-04-30 Bruno Haible <bruno@clisp.org>
82950
82951 [BZ #12717]
82952 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
82953 * resolv/netdb.h (getnameinfo): Change type of flags parameter
82954 to 'int'.
82955 * inet/getnameinfo.c (getnameinfo): Likewise.
82956
82957 2011-04-29 Ulrich Drepper <drepper@gmail.com>
82958
82959 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
82960 to groups setting in database lookup.
82961 * nss/nsswitch.conf: Add initgroups entry.
82962
82963 2011-04-22 Ulrich Drepper <drepper@gmail.com>
82964
82965 [BZ #12685]
82966 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
82967 mode string.
82968 Patch by Eric Blake <eblake@redhat.com>.
82969
82970 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
82971
82972 * sunrpc/Makefile (need-export-routines): Add svc_run.
82973 (routines): Remove svc_run.
82974 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
82975 * sunrpc/clnt_perr.c (clnt_perrno): Export.
82976 * sunrpc/svc_run.c (svc_run): Likewise.
82977 * sunrpc/svc_udp.c (svcudp_create): Likewise.
82978
82979 2011-04-21 Ulrich Drepper <drepper@gmail.com>
82980
82981 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
82982 problem in reallocation in last patch.
82983
82984 2011-04-20 Ulrich Drepper <drepper@gmail.com>
82985
82986 * sunrpc/Makefile: Move inclusion of Rules.
82987
82988 2011-04-19 Ulrich Drepper <drepper@gmail.com>
82989
82990 * nss/nss_files/files-initgroups.c: New file.
82991 * nss/Makefile (libnss_files-routines): Add files-initgroups.
82992 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
82993 _nss_files_initgroups_dyn.
82994
82995 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
82996
82997 * elf/elf.h (R_ARM_IRELATIVE): Define.
82998
82999 2011-04-19 Ulrich Drepper <drepper@gmail.com>
83000
83001 * po/ru.po: Update from translation team.
83002
83003 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83004
83005 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83006 dependencies.
83007
83008 2011-02-06 Mike Frysinger <vapier@gentoo.org>
83009
83010 [BZ #12653]
83011 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83012 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83013 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83016
83017 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
83018
83019 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83020 differing bytes.
83021 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83022 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83023 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83024
83025 2011-04-17 Ulrich Drepper <drepper@gmail.com>
83026
83027 [BZ #12420]
83028 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83029 storing it.
83030 * stdlib/bug-getcontext.c: New file.
83031 * stdlib/Makefile: Add rules to build and run bug-getcontext.
83032
83033 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83034
83035 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83036 instructions into .machine "z9-109".
83037 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83038 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83039
83040 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83041
83042 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83043 between environment variables and auxiliary vector.
83044
83045 2011-04-16 Ulrich Drepper <drepper@gmail.com>
83046
83047 * Makefile: Add rules to build linkobj/libc.so.
83048 * include/libc-symbols.h: Define libc_hidden_nolink.
83049 * include/rpc/auth.h: Mark functions which are to be hidden.
83050 * include/rpc/auth_des.h: Likewise.
83051 * include/rpc/auth_unix.h: Likewise.
83052 * include/rpc/clnt.h: Likewise.
83053 * include/rpc/des_crypt.h: Likewise.
83054 * include/rpc/key_prot.h: Likewise.
83055 * include/rpc/pmap_clnt.h: Likewise.
83056 * include/rpc/pmap_prot.h: Likewise.
83057 * include/rpc/pmap_rmt.h: Likewise.
83058 * include/rpc/rpc_msg.h: Likewise.
83059 * include/rpc/svc.h: Likewise.
83060 * include/rpc/svc_auth.h: Likewise.
83061 * include/rpc/xdr.h: Likewise.
83062 * nis/Makefile: Link all DSOs against linkobj/libc.so.
83063 * nss/Makefile: Likewise.
83064 * sunrpc/Makefile: Don't install headers. Build library with normal
83065 entry points. Don't build rpcinfo. Link RPC tests appropriately.
83066 * sunrpc/auth_des.c: Hide exported symbols by default, export some
83067 for the compat linking library. Remove use of INTDEF/INTUSE.
83068 * sunrpc/auth_none.c: Likewise.
83069 * sunrpc/auth_unix.c: Likewise.
83070 * sunrpc/authdes_prot.c: Likewise.
83071 * sunrpc/authuxprot.c: Likewise.
83072 * sunrpc/clnt_gen.c: Likewise.
83073 * sunrpc/clnt_perr.c: Likewise.
83074 * sunrpc/clnt_raw.c: Likewise.
83075 * sunrpc/clnt_simp.c: Likewise.
83076 * sunrpc/clnt_tcp.c: Likewise.
83077 * sunrpc/clnt_udp.c: Likewise.
83078 * sunrpc/clnt_unix.c: Likewise.
83079 * sunrpc/des_crypt.c: Likewise.
83080 * sunrpc/des_soft.c: Likewise.
83081 * sunrpc/get_myaddr.c: Likewise.
83082 * sunrpc/key_call.c: Likewise.
83083 * sunrpc/key_prot.c: Likewise.
83084 * sunrpc/netname.c: Likewise.
83085 * sunrpc/pm_getmaps.c: Likewise.
83086 * sunrpc/pm_getport.c: Likewise.
83087 * sunrpc/pmap_clnt.c: Likewise.
83088 * sunrpc/pmap_prot.c: Likewise.
83089 * sunrpc/pmap_prot2.c: Likewise.
83090 * sunrpc/pmap_rmt.c: Likewise.
83091 * sunrpc/publickey.c: Likewise.
83092 * sunrpc/rpc_cmsg.c: Likewise.
83093 * sunrpc/rpc_common.c: Likewise.
83094 * sunrpc/rpc_dtable.c: Likewise.
83095 * sunrpc/rpc_prot.c: Likewise.
83096 * sunrpc/rpc_thread.c: Likewise.
83097 * sunrpc/rtime.c: Likewise.
83098 * sunrpc/svc.c: Likewise.
83099 * sunrpc/svc_auth.c: Likewise.
83100 * sunrpc/svc_authux.c: Likewise.
83101 * sunrpc/svc_raw.c: Likewise.
83102 * sunrpc/svc_run.c: Likewise.
83103 * sunrpc/svc_simple.c: Likewise.
83104 * sunrpc/svc_tcp.c: Likewise.
83105 * sunrpc/svc_udp.c: Likewise.
83106 * sunrpc/svc_unix.c: Likewise.
83107 * sunrpc/svcauth_des.c: Likewise.
83108 * sunrpc/xcrypt.c: Likewise.
83109 * sunrpc/xdr.c: Likewise.
83110 * sunrpc/xdr_array.c: Likewise.
83111 * sunrpc/xdr_float.c: Likewise.
83112 * sunrpc/xdr_intXX_t.c: Likewise.
83113 * sunrpc/xdr_mem.c: Likewise.
83114 * sunrpc/xdr_rec.c: Likewise.
83115 * sunrpc/xdr_ref.c: Likewise.
83116 * sunrpc/xdr_sizeof.c: Likewise.
83117 * sunrpc/xdr_stdio.c: Likewise.
83118
83119 2011-04-10 Ulrich Drepper <drepper@gmail.com>
83120
83121 [BZ #12650]
83122 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83123 * sysdeps/ia64/dl-tls.h: Likewise.
83124 * sysdeps/powerpc/dl-tls.h: Likewise.
83125 * sysdeps/s390/dl-tls.h: Likewise.
83126 * sysdeps/sh/dl-tls.h: Likewise.
83127 * sysdeps/sparc/dl-tls.h: Likewise.
83128 * sysdeps/x86_64/dl-tls.h: Likewise.
83129 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83130
83131 2011-03-14 Andreas Schwab <schwab@redhat.com>
83132
83133 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83134 rpath element also skip the following colon.
83135 (expand_dynamic_string_token): Add is_path parameter and pass
83136 down to DL_DST_REQUIRED and _dl_dst_substitute.
83137 (decompose_rpath): Call expand_dynamic_string_token with
83138 non-zero is_path. Ignore empty rpaths.
83139 (_dl_map_object_from_fd): Call expand_dynamic_string_token
83140 with zero is_path.
83141
83142 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
83143
83144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83145 Make cancelable.
83146
83147 2011-04-09 Ulrich Drepper <drepper@gmail.com>
83148
83149 [BZ #12655]
83150 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83151 Patch by Filipe David Manana <fdmanana@apache.org>.
83152
83153 2011-04-07 Andreas Schwab <schwab@redhat.com>
83154
83155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83156 Maintain aligned stack.
83157 (CHECK_RSP): Remove unused macro.
83158
83159 2011-04-03 Ulrich Drepper <drepper@gmail.com>
83160
83161 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83162 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83163
83164 2011-04-02 Ulrich Drepper <drepper@gmail.com>
83165
83166 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83167
83168 * include/features.h: Mention __USE_XOPEN2K8 in comment.
83169
83170 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
83171
83172 [BZ #12518]
83173 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83174 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83175 * sysdeps/x86_64/memmove.c: New file.
83176 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83177 (memcpy): Renamed to ...
83178 (__new_memcpy): This.
83179 (memcpy): Provide GLIBC_2_14 memcpy.
83180 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83181 (memcpy): Provide GLIBC_2_2_5 memcpy.
83182
83183 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83184
83185 [BZ #12631]
83186 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83187
83188 2011-03-30 Andreas Schwab <schwab@redhat.com>
83189
83190 * misc/syncfs.c: New file.
83191 * misc/Makefile (routines): Add syncfs.
83192 * posix/unistd.h: Declare syncfs.
83193 * sysdeps/unix/syscalls.list: Add syncfs.
83194
83195 2011-04-01 Andreas Schwab <schwab@redhat.com>
83196
83197 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83198 open_by_handle_at.
83199 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83200 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83204 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83205 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83206
83207 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83208
83209 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83210 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83211 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83212 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83213 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83214 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83215 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83216
83217 * io/Makefile: Compile fallocate.c, fallocate64.c, and
83218 sync_file_range.c with -fexceptions.
83219 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83220 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83221 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83222 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83223 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83224 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83226 sync_file_range as cancellation point
83227 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
83228 now a wrapper around __call_sync_file_range with cancellation handling.
83229 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83230 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
83231 function name to __call_sync_file_range.
83232 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83233 Add call_sync_file_range.
83234
83235 2011-04-01 Andreas Schwab <schwab@redhat.com>
83236
83237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83238 bits/timex.h.
83239
83240 2011-04-01 Ulrich Drepper <drepper@gmail.com>
83241
83242 * iconv/iconv.h: Fix typo in comment.
83243 * io/fcntl.h: Likewise.
83244 * libio/stdio.h: Likewise.
83245 * posix/spawn.h: Likewise.
83246 * posix/unistd.h: Likewise.
83247 * stdlib/stdlib.h: Likewise.
83248 * time/time.h: Likewise.
83249 * wcsmbs/wchar.h: Likewise.
83250
83251 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83252 open_by_handle): Add.
83253 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83254 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
83255 Augment a few comments.
83256 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83258 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83261 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83262 open_by_handle.
83263
83264 * io/fcntl.h (AT_EMPTY_PATH): Define.
83265
83266 2011-03-30 Ulrich Drepper <drepper@gmail.com>
83267
83268 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83269 * sysdeps/unix/sysv/linux/bits/time.h: New file.
83270 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83271 to...
83272 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
83273 * Versions.def: Add GLIBC_2.14.
83274 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83275 Export.
83276
83277 2011-03-22 Ulrich Drepper <drepper@gmail.com>
83278
83279 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83280 round counter.
83281 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83282
83283 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
83284
83285 [BZ #12597]
83286 * string/test-strncmp.c (do_page_test): New function.
83287 (check2): Likewise.
83288 (test_main): Call check2.
83289 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83290
83291 2011-03-20 Ulrich Drepper <drepper@gmail.com>
83292
83293 [BZ #12587]
83294 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83295 Handle cache information in CPU leaf 4.
83296 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83297
83298 2011-03-18 Ulrich Drepper <drepper@gmail.com>
83299
83300 [BZ #12583]
83301 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83302 character representation.
83303 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83304
83305 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
83306
83307 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83308 END(__isnan) to END(__isnanf) to match function entry point/label
83309 EALIGN(__isnanf,...).
83310
83311 2011-03-10 Jakub Jelinek <jakub@redhat.com>
83312
83313 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83314
83315 2011-03-10 Ulrich Drepper <drepper@gmail.com>
83316
83317 [BZ #12510]
83318 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83319 copy from the symbol referenced in the relocation to initialize the
83320 used variable.
83321 Patch by Piotr Bury <pbury@goahead.com>.
83322 * elf/Makefile: Add rules to build and tst-unique3.
83323 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83324 * elf/tst-unique3.cc: New file.
83325 * elf/tst-unique3.h: New file.
83326 * elf/tst-unique3lib.cc: New file.
83327 * elf/tst-unique3lib2.cc: New file.
83328
83329 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83330
83331 2011-03-10 Mike Frysinger <vapier@gentoo.org>
83332
83333 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83334 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
83335 to _start.
83336
83337 2011-03-06 Ulrich Drepper <drepper@gmail.com>
83338
83339 * elf/dl-load.c (_dl_map_object): If we are looking for the first
83340 to-be-loaded object along a path to loader is ld.so.
83341
83342 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83343 Ulrich Drepper <drepper@gmail.com>
83344
83345 * sysdeps/x86_64/memset.S: After aligning destination, code
83346 branches to different locations depending on the value of
83347 misalignment, when multiarch is enabled. Fix this.
83348
83349 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
83350
83351 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83352 Set _x86_64_preferred_memory_instruction for AMD processsors.
83353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83354 Set bit_Prefer_SSE_for_memop for AMD processors.
83355
83356 2011-03-04 Ulrich Drepper <drepper@gmail.com>
83357
83358 * libio/fmemopen.c (fmemopen): Optimize a bit.
83359
83360 2011-03-03 Andreas Schwab <schwab@redhat.com>
83361
83362 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83363
83364 2011-03-03 Roland McGrath <roland@redhat.com>
83365
83366 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83367
83368 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
83369
83370 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83371 __bzero_ultra1 instead of __memset_ultra1.
83372
83373 2011-02-23 Andreas Schwab <schwab@redhat.com>
83374 Ulrich Drepper <drepper@gmail.com>
83375
83376 [BZ #12509]
83377 * include/link.h (struct link_map): Add l_orig_initfini.
83378 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83379 returning unsuccessfully.
83380 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83381 close of a file loaded at startup, restore the original l_initfini
83382 list.
83383 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83384 list, store the pointer.
83385 * elf/Makefile ($(objpfx)noload-mem): New rule.
83386 (noload-ENV): Define.
83387 (tests): Add $(objpfx)noload-mem.
83388 * elf/noload.c: Include <memcheck.h>.
83389 (main): Call mtrace. Close all opened handles.
83390
83391 2011-02-17 Andreas Schwab <schwab@redhat.com>
83392
83393 [BZ #12454]
83394 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83395 dependencies are missing.
83396
83397 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
83398
83399 Fix __if_freereq crash: Unlike the generic version which uses free,
83400 Hurd needs munmap.
83401 * sysdeps/mach/hurd/ifreq.h: New file.
83402
83403 2011-01-27 Petr Baudis <pasky@suse.cz>
83404 Ulrich Drepper <drepper@gmail.com>
83405
83406 [BZ 12445]#
83407 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83408 to extend_alloca().
83409 * stdio-common/bug23.c: New file.
83410 * stdio-common/Makefile (tests): Add bug23.
83411
83412 2010-09-28 Andreas Schwab <schwab@redhat.com>
83413 Ulrich Drepper <drepper@gmail.com>
83414
83415 [BZ #12489]
83416 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83417 before performing relro protection. At old place add assertion
83418 to make sure nothing changed.
83419
83420 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
83421 Glauber de Oliveira Costa <glommer@gmail.com>
83422
83423 * elf/elf.h: Add new ARM TLS relocs.
83424
83425 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
83426
83427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83428 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83429 cast from r3.
83430 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
83431 'tests' variable.
83432 * sysdeps/wordsize-64/tst-writev.c: New file.
83433
83434 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
83435
83436 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83437 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83438 insns in _dl_start to prevent a TOC reference before relocs are
83439 resolved.
83440
83441 2011-02-15 Ulrich Drepper <drepper@gmail.com>
83442
83443 [BZ #12469]
83444 * Makeconfig: Remove RANLIB definition.
83445 * Makerules: Don't use RANLIB.
83446 * aclocal.m4: Remove ranlib test.
83447 * configure.in: No need to check for ranlib.
83448 * elf/rtld-Rules: Don't use RANLIB.
83449
83450 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
83451
83452 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83453 protection macro.
83454 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83455 inclusion protection macro.
83456
83457 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83458 SIGRTMIN and SIGRTMAX and print information in that case only when
83459 SIGRTMIN is defined.
83460
83461 2011-02-11 Jakub Jelinek <jakub@redhat.com>
83462
83463 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83464 arginfo fn returning -1.
83465
83466 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83467 and thousands string is zero terminated.
83468
83469 2011-02-03 Andreas Schwab <schwab@redhat.com>
83470
83471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83472 sysdeps/unix/sysv/linux/bits/socket.h.
83473
83474 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
83475
83476 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83477 (__CPU_COUNT): Remove old macros.
83478 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83479 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83480 (__CPU_ALLOC, __CPU_FREE): Add macros.
83481 (__sched_cpualloc, __sched_cpufree): Add declarations.
83482
83483 2011-02-05 Ulrich Drepper <drepper@gmail.com>
83484
83485 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83486 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83487 * nscd/aicache.c (addhstaiX): Return timeout of added value.
83488 (readdhstai): Return value of addhstaiX call.
83489 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83490 (addgrbyX): Return value returned by cache_addgr.
83491 (readdgrbyname): Return value returned by addgrbyX.
83492 (readdgrbygid): Likewise.
83493 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83494 (addpwbyX): Return value returned by cache_addpw.
83495 (readdpwbyname): Return value returned by addhstbyX.
83496 (readdpwbyuid): Likewise.
83497 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83498 (addservbyX): Return value returned by cache_addserv.
83499 (readdservbyname): Return value returned by addservbyX:
83500 (readdservbyport): Likewise.
83501 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83502 (addhstbyX): Return value returned by cache_addhst.
83503 (readdhstbyname): Return value returned by addhstbyX.
83504 (readdhstbyaddr): Likewise.
83505 (readdhstbynamev6): Likewise.
83506 (readdhstbyaddrv6): Likewise.
83507 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83508 (readdinitgroups): Return value returned by addinitgroupsX.
83509 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83510 (prune_cache): Keep track of timeout value of re-added entries.
83511 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83512 * nscd/nscd.h: Adjust prototypes of readd* functions.
83513
83514 2011-02-04 Roland McGrath <roland@redhat.com>
83515
83516 * nis/nis_server.c (nis_servstate): Use the right name for 0.
83517 (nis_stats): Likewise.
83518 * nis/nis_modify.c (nis_modify): Likewise.
83519 * nis/nis_remove.c (nis_remove): Likewise.
83520 * nis/nis_add.c (nis_add): Likewise.
83521
83522 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83523
83524 * posix/fnmatch_loop.c: Add some consts.
83525
83526 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83527
83528 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
83529
83530 [BZ #12460]
83531 * config.make.in (config-cflags-novzeroupper): Define.
83532 * configure.in: Substitute libc_cv_cc_novzeroupper.
83533 * elf/Makefile (AVX-CFLAGS): Define.
83534 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83535 (CFLAGS-tst-auditmod4a.c): Likewise.
83536 (CFLAGS-tst-auditmod4b.c): Likewise.
83537 (CFLAGS-tst-auditmod6b.c): Likewise.
83538 (CFLAGS-tst-auditmod6c.c): Likewise.
83539 (CFLAGS-tst-auditmod7b.c): Likewise.
83540 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83541
83542 2011-02-02 Ulrich Drepper <drepper@gmail.com>
83543
83544 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83545 function to the callback.
83546 Patch partly by Jiri Olsa <jolsa@redhat.com>.
83547
83548 2011-02-02 Andreas Schwab <schwab@redhat.com>
83549
83550 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83551 of errno.
83552
83553 2011-01-19 Ulrich Drepper <drepper@gmail.com>
83554
83555 [BZ #11724]
83556 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83557 of constructors.
83558 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83559 of destructors.
83560 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83561
83562 [BZ #11724]
83563 * elf/Makefile: Add rules to build and run new test.
83564 * elf/tst-initorder.c: New file.
83565 * elf/tst-initorder.exp: New file.
83566 * elf/tst-initordera1.c: New file.
83567 * elf/tst-initordera2.c: New file.
83568 * elf/tst-initordera3.c: New file.
83569 * elf/tst-initordera4.c: New file.
83570 * elf/tst-initorderb1.c: New file.
83571 * elf/tst-initorderb2.c: New file.
83572 * elf/tst-order-a1.c: New file.
83573 * elf/tst-order-a2.c: New file.
83574 * elf/tst-order-a3.c: New file.
83575 * elf/tst-order-a4.c: New file.
83576 * elf/tst-order-b1.c: New file.
83577 * elf/tst-order-b2.c: New file.
83578 * elf/tst-order-main.c: New file.
83579 New test case by George Gensure <werkt0@gmail.com>.
83580
83581 2010-10-01 Andreas Schwab <schwab@redhat.com>
83582
83583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83584 decoding ACE if AI_CANONIDN.
83585
83586 2011-01-18 Ulrich Drepper <drepper@gmail.com>
83587
83588 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83589
83590 2011-01-17 Ulrich Drepper <drepper@gmail.com>
83591
83592 * version.h (RELEASE): Bump for 2.13 release.
83593 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83594
83595 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83596
83597 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83598 MADV_NOHUGEPAGE.
83599 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83600 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83601 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83602 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83603 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83604 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83605
83606 * posix/getconf.c: Update copyright year.
83607 * catgets/gencat.c: Likewise.
83608 * csu/version.c: Likewise.
83609 * debug/catchsegv.sh: Likewise.
83610 * debug/xtrace.sh: Likewise.
83611 * elf/ldconfig.c: Likewise.
83612 * elf/ldd.bash.in: Likewise.
83613 * elf/sprof.c (print_version): Likewise.
83614 * iconv/iconv_prog.c: Likewise.
83615 * iconv/iconvconfig.c: Likewise.
83616 * locale/programs/locale.c: Likewise.
83617 * locale/programs/localedef.c: Likewise.
83618 * malloc/memusage.sh: Likewise.
83619 * malloc/mtrace.pl: Likewise.
83620 * nscd/nscd.c (print_version): Likewise.
83621 * nss/getent.c: Likewise.
83622
83623 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83624 PF_CAIF, and PF_ALG.
83625 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83626
83627 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
83628
83629 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83630 (modules-names): Use them.
83631 (ifunc-test-modules, ifunc-pie-tests): Define.
83632 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83633 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83634 (test-extras): Likewise.
83635 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83636 $(compile-command.c).
83637 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83638 (all-built-dso): Define.
83639 (check-textrel.out, check-execstack.out): Depend on it.
83640
83641 * configure.in: Don't override --enable-multi-arch.
83642
83643 2011-01-15 Ulrich Drepper <drepper@gmail.com>
83644
83645 [BZ #6812]
83646 * nscd/hstcache.c (tryagain): Define.
83647 (cache_addhst): Return tryagain not notfound for temporary errors.
83648 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83649 failed.
83650
83651 2011-01-14 Ulrich Drepper <drepper@gmail.com>
83652
83653 [BZ #10563]
83654 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83655 to make the syscall.
83656 * sysdeps/unix/sysv/linux/setgroups.c: New file.
83657
83658 [BZ #12378]
83659 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83660 and fall back to matching as normal character if the string ends before
83661 the matching ']' is found. This is what POSIX requires.
83662 * posix/testfnm.c: Adjust test result.
83663 * posix/globtest.sh: Adjust test result. Add new test.
83664 * posix/tst-fnmatch.input: Likewise.
83665 * posix/tst-fnmatch2.c: Add new test.
83666
83667 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
83668
83669 * elf/Makefile (check-execstack): Revert last change. Depend on
83670 check-execstack.h.
83671 (check-execstack.h): New target.
83672 (generated): Add check-execstack.h.
83673 * elf/check-execstack.c: Include "check-execstack.h".
83674 (main): Revert last change.
83675 (handle_file): Return zero if GNU_STACK is absent and
83676 DEFAULT_STACK_PERMS doesn't include PF_X.
83677
83678 2011-01-13 Ulrich Drepper <drepper@gmail.com>
83679
83680 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83681 in child fails because the descriptor is already closed.
83682 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83683 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83684 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83685
83686 [BZ #12397]
83687 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83688 syscall.
83689
83690 [BZ #10484]
83691 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83692 temporary buffer used to handle multi lookups locally.
83693 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83694
83695 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83696
83697 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83698 loader is ld.so.
83699
83700 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
83701
83702 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83703 alignment for SSE2.
83704
83705 2011-01-12 Ulrich Drepper <drepper@gmail.com>
83706
83707 [BZ #12394]
83708 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83709 characters. When rounding increased number of integer digits recompute
83710 number of groups.
83711 * stdio-common/tst-grouping.c: New file.
83712 * stdio-common/Makefile: Add rules to build and run tst-grouping.
83713
83714 2011-01-09 Ulrich Drepper <drepper@gmail.com>
83715
83716 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83717 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
83718
83719 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83720 void.
83721 * bits/select.h: Likewise.
83722
83723 2011-01-08 Ulrich Drepper <drepper@gmail.com>
83724
83725 * po/ja.po: Update from translation team.
83726
83727 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
83728
83729 [BZ #11155]
83730 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83731 implementation just like for lxstat, fxstatat, et al.
83732
83733 2010-12-27 Jim Meyering <meyering@redhat.com>
83734
83735 [BZ #12348]
83736 * posix/regexec.c (build_trtable): Return failure indication upon
83737 calloc failure. Otherwise, re_search_internal could infloop on OOM.
83738
83739 2010-12-25 Ulrich Drepper <drepper@gmail.com>
83740
83741 [BZ #12201]
83742 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83743 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83744 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83745 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83746
83747 [BZ #12207]
83748 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83749
83750 [BZ #12204]
83751 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83752 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83753
83754 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
83755
83756 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83757 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83758 script has SORT_BY_INIT_PRIORITY.
83759 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83760 NO_CTORS_DTORS_SECTIONS is defined.
83761 * elf/soinit.c: Likewise.
83762 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83763 NO_CTORS_DTORS_SECTIONS is defined.
83764 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83765 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83766 * sysdeps/sh/init-first.c: Likewise.
83767 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83768
83769 2010-12-24 Ulrich Drepper <drepper@gmail.com>
83770
83771 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83772 always use the slow path.
83773
83774 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
83775
83776 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83777 similar rule which adds the sysdep directories to the header search in
83778 order to pick up the correct platform stackinfo.h.
83779 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83780 perform test if it is, otherwise return successfully without testing.
83781 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83782 DEFAULT_STACK_PERMS define in stackinfo.h.
83783 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83784 defined in stackinfo.h.
83785 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83786 DEFAULT_STACK_PERMS defined in stackinfo.h.
83787 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83788 * sysdeps/ia64/stackinfo.h: Likewise.
83789 * sysdeps/s390/stackinfo.h: Likewise.
83790 * sysdeps/sh/stackinfo.h: Likewise.
83791 * sysdeps/sparc/stackinfo.h: Likewise.
83792 * sysdeps/x86_64/stackinfo.h: Likewise.
83793 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83794 PF_X for powerpc64. Retain PF_X for powerpc32.
83795
83796 2010-12-19 Ulrich Drepper <drepper@gmail.com>
83797
83798 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83799 accurately.
83800 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83801 GETDENTS_64BIT_ALIGNED.
83802
83803 2010-12-14 Ulrich Drepper <dreper@gmail.com>
83804
83805 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83806
83807 2010-12-10 Andreas Schwab <schwab@redhat.com>
83808
83809 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83810 _GNU_SOURCE.
83811
83812 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83813 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83814 Remove __restrict.
83815 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83816 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83817
83818 2010-12-09 Ulrich Drepper <drepper@gmail.com>
83819
83820 [BZ #11655]
83821 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83822 are initialized.
83823
83824 2010-12-09 Jakub Jelinek <jakub@redhat.com>
83825
83826 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83827
83828 2010-12-03 Ulrich Drepper <drepper@gmail.com>
83829
83830 * po/it.po: Update from translation team.
83831
83832 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
83833
83834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83835 unused codes.
83836
83837 2010-11-30 Ulrich Drepper <drepper@gmail.com>
83838
83839 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83840
83841 2010-11-24 Andreas Schwab <schwab@redhat.com>
83842
83843 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83844 specially.
83845 (gaih_getanswer_slice): Likewise.
83846
83847 2010-10-20 Jakub Jelinek <jakub@redhat.com>
83848
83849 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83850
83851 2010-05-31 Petr Baudis <pasky@suse.cz>
83852
83853 [BZ #11149]
83854 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83855 silently even in the chroot mode.
83856
83857 2010-11-22 Ulrich Drepper <drepper@gmail.com>
83858
83859 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83860 last patch a bit. Pretty printing
83861
83862 2010-05-31 Petr Baudis <pasky@suse.cz>
83863
83864 [BZ #10085]
83865 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83866 initialization of skip_initgroups_dyn.
83867
83868 2010-11-19 Ulrich Drepper <drepper@gmail.com>
83869
83870 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83871 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83872
83873 2010-11-16 Ulrich Drepper <drepper@gmail.com>
83874
83875 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83876
83877 2010-11-11 Andreas Schwab <schwab@redhat.com>
83878
83879 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83880 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83881 (tst-fnmatch-ENV): Set MALLOC_TRACE.
83882 ($(objpfx)tst-fnmatch-mem): New rule.
83883 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83884 * posix/tst-fnmatch.c (main): Call mtrace.
83885
83886 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
83887
83888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83889 Support Intel processor model 6 and model 0x2c.
83890
83891 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
83892
83893 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83894 signed comparison.
83895
83896 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
83897
83898 [BZ #12205]
83899 * string/test-strncasecmp.c (check_result): New function.
83900 (do_one_test): Use it.
83901 (check1): New function.
83902 (test_main): Use it.
83903 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83904 Support strcasecmp and strncasecmp.
83905
83906 2010-11-08 Ulrich Drepper <drepper@gmail.com>
83907
83908 [BZ #12194]
83909 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83910 * sysdeps/x86_64/bits/byteswap.h: Likewise.
83911
83912 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
83913
83914 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
83915 IFUNC support.
83916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83917 memset-x86-64.
83918 * sysdeps/x86_64/multiarch/bzero.S: New file.
83919 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
83920 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
83921 * sysdeps/x86_64/multiarch/memset.S: New file.
83922 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
83923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83924 Set bit_Prefer_SSE_for_memop for Intel processors.
83925 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
83926 Define.
83927 (index_Prefer_SSE_for_memop): Define.
83928 (HAS_PREFER_SSE_FOR_MEMOP): Define.
83929
83930 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
83931
83932 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
83933 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
83934
83935 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
83936
83937 [BZ #12191]
83938 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83939 (__x86_64_raw_data_cache_size_half): Likewise.
83940 (__x86_64_raw_shared_cache_size): Likewise.
83941 (__x86_64_raw_shared_cache_size_half): Likewise.
83942
83943 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83944 (__x86_64_raw_data_cache_size_half): Likewise.
83945 (__x86_64_raw_shared_cache_size): Likewise.
83946 (__x86_64_raw_shared_cache_size_half): Likewise.
83947 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
83948 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
83949 and __x86_64_raw_shared_cache_size_half. Round
83950 __x86_64_data_cache_size_half, __x86_64_data_cache_size
83951 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
83952 to multiple of 256 bytes.
83953
83954 2010-11-03 Ulrich Drepper <drepper@gmail.com>
83955
83956 [BZ #12167]
83957 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
83958 of inacessible symlinks. Verify result of symlink before returning it.
83959 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
83960 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
83961
83962 2010-10-28 Erich Ritz <erichritz@gmail.com>
83963
83964 * math/math.h (isinf): Fix typo in comment.
83965
83966 2010-11-01 Ulrich Drepper <drepper@gmail.com>
83967
83968 * po/da.po: Update from translation team.
83969
83970 2010-10-26 Ulrich Drepper <drepper@gmail.com>
83971
83972 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
83973 is added to the list.
83974
83975 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83976 Ulrich Drepper <drepper@gmail.com>
83977
83978 * elf/dl-object.c (_dl_new_object): Don't append the new object to
83979 the global list here. Move code to...
83980 (_dl_add_to_namespace_list): ...here. New function.
83981 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
83982 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
83983 * elf/dl-load.c (lose): Don't remove the element from the list.
83984 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
83985 (_dl_map_object): Likewise.
83986
83987 2010-10-25 Ulrich Drepper <drepper@gmail.com>
83988
83989 [BZ #12159]
83990 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
83991 into all bytes of SSE register.
83992 Patch by Richard Li <richardpku@gmail.com>.
83993
83994 2010-10-24 Ulrich Drepper <drepper@gmail.com>
83995
83996 [BZ #12140]
83997 * malloc/malloc.c (_int_free): Fill correct number of bytes when
83998 perturbing.
83999
84000 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
84001
84002 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84003 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84004 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84005 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84007 submachine.
84008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84009
84010 2010-10-22 Andreas Schwab <schwab@redhat.com>
84011
84012 * include/dlfcn.h (__RTLD_SECURE): Define.
84013 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
84014 mode & __RTLD_SECURE instead.
84015 (open_path): Rename preloaded parameter to secure.
84016 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84017 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84018 * elf/dl-deps.c (openaux): Likewise.
84019 * elf/rtld.c (struct map_args): Remove is_preloaded.
84020 (map_doit): Don't use it.
84021 (dl_main): Likewise.
84022 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84023 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84024
84025 2010-09-09 Andreas Schwab <schwab@redhat.com>
84026
84027 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84028 (sysd-rules-targets): Remove duplicates.
84029 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84030 rtld-%.$o dependency.
84031
84032 2010-10-18 Andreas Schwab <schwab@redhat.com>
84033
84034 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84035 _dl_map_object do it.
84036
84037 2010-10-19 Ulrich Drepper <drepper@gmail.com>
84038
84039 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84040 fast fma builtins, define the macros in the C99 standard.
84041 (FP_FAST_FMAF): Likewise.
84042 (FP_FAST_FMAL): Likewise.
84043 * sysdeps/x86_64/bits/mathdef.h: Likewise.
84044
84045 * bits/mathdef.h: Update copyright year.
84046 * sysdeps/powerpc/bits/mathdef.h: Likewise.
84047
84048 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
84049
84050 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84051 builtins, define the macros in the C99 standard.
84052 (FP_FAST_FMAF): Likewise.
84053 (FP_FAST_FMAL): Likewise.
84054 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84055 multiply/add.
84056 (FP_FAST_FMAF): Likewise.
84057
84058 2010-10-15 Jakub Jelinek <jakub@redhat.com>
84059
84060 [BZ #3268]
84061 * math/libm-test.inc (fma_test): Some new testcases.
84062 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84063 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84064 y and infinite z. Do multiplication by C already in long double.
84065 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84066 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84067 y and infinite z. Do bitwise or of inexact bit into u.d.
84068 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84069 * sysdeps/i386/fpu/s_fmaf.S: Removed.
84070 * sysdeps/i386/fpu/s_fma.S: Removed.
84071 * sysdeps/i386/fpu/s_fmal.S: Removed.
84072
84073 2010-10-16 Jakub Jelinek <jakub@redhat.com>
84074
84075 [BZ #3268]
84076 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84078 computation is not scheduled after fetestexcept. Fix value
84079 of minimum denormal long double.
84080
84081 2010-10-14 Jakub Jelinek <jakub@redhat.com>
84082
84083 [BZ #3268]
84084 * math/libm-test.inc (fma_test): Add some more tests.
84085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84086 correctly.
84087
84088 2010-10-15 Andreas Schwab <schwab@redhat.com>
84089
84090 * scripts/data/localplt-s390-linux-gnu.data: New file.
84091 * scripts/data/localplt-s390x-linux-gnu.data: New file.
84092
84093 2010-10-13 Jakub Jelinek <jakub@redhat.com>
84094
84095 [BZ #3268]
84096 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84097 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84098 instead of dbl-64.
84099 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84100 inlines.
84101 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84103 if one of x and y is very large and the other is subnormal.
84104 * sysdeps/s390/fpu/s_fmaf.c: New file.
84105 * sysdeps/s390/fpu/s_fma.c: New file.
84106 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84107 * sysdeps/powerpc/fpu/s_fma.S: New file.
84108 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84109 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84110 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84111
84112 2010-10-12 Jakub Jelinek <jakub@redhat.com>
84113
84114 [BZ #3268]
84115 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84116 fma tests.
84117 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84118 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84119 * sysdeps/i386/i686/multiarch/s_fma.c: Include
84120 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84121 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84122 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84123 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84124
84125 2010-10-12 Ulrich Drepper <drepper@redhat.com>
84126
84127 [BZ #12078]
84128 * posix/regcomp.c (parse_branch): One more memory leak plugged.
84129 * posix/bug-regex31.input: Add test case.
84130
84131 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84132
84133 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84134 * posix/bug-regex31.input: New file.
84135
84136 [BZ #12078]
84137 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84138 (parse_sub_exp): Fix last change, use postorder.
84139
84140 * posix/bug-regex31.c: New file.
84141 * posix/Makefile: Add rules to build and run bug-regex31.
84142
84143 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84144
84145 [BZ #12078]
84146 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84147
84148 [BZ #12108]
84149 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84150 to have entries in sys_siglist.
84151
84152 [BZ #12093]
84153 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84154 be NULL.
84155
84156 2010-10-07 Jakub Jelinek <jakub@redhat.com>
84157
84158 [BZ #3268]
84159 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84160 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84161 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84162 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84163 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84164 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84165 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84166 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84167 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84168 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84169 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84170 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84171 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84172 * math/ftestexcept.c (fetestexcept): Likewise.
84173 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84174 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84175 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84176 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84177 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84178 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84179 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84180
84181 2010-10-11 Ulrich Drepper <drepper@gmail.com>
84182
84183 [BZ #12107]
84184 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84185 newline.
84186
84187 2010-10-06 Ulrich Drepper <drepper@gmail.com>
84188
84189 * string/bug-strstr1.c: New file.
84190 * string/Makefile: Add rules to build and run bug-strstr1.
84191
84192 2010-10-05 Eric Blake <eblake@redhat.com>
84193
84194 [BZ #12092]
84195 * string/str-two-way.h (two_way_long_needle): Always clear memory
84196 when skipping input due to the shift table.
84197
84198 2010-10-03 Ulrich Drepper <drepper@gmail.com>
84199
84200 [BZ #12005]
84201 * malloc/mcheck.c: Handle large requests.
84202
84203 [BZ #12077]
84204 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84205 for strncmp and strncasecmp.
84206 * string/stratcliff.c: Add tests for strcmp and strncmp.
84207 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84208
84209 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
84210
84211 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84212 __set_fpscr.
84213
84214 2010-09-30 Andreas Jaeger <aj@suse.de>
84215
84216 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84217 (CGROUP_SUPER_MAGIC): Define.
84218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84219 Handle btrfs and cgroup file systems.
84220 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84221 Likewise.
84222
84223 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
84224
84225 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84226 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84227
84228 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84229
84230 [BZ #12067]
84231 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84232 trying to locate the ELF header.
84233
84234 2010-09-27 Andreas Schwab <schwab@redhat.com>
84235
84236 [BZ #11611]
84237 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84238 Mask out sign-bit copies when constructing f_fsid.
84239
84240 2010-09-24 Petr Baudis <pasky@suse.cz>
84241
84242 * debug/stack_chk_fail_local.c: Add missing licence exception.
84243 * debug/warning-nop.c: Likewise.
84244
84245 2010-09-15 Joseph Myers <joseph@codesourcery.com>
84246
84247 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84248 implementing getdents64 using getdents syscall, set d_type if
84249 __ASSUME_GETDENTS32_D_TYPE.
84250
84251 2010-09-16 Andreas Schwab <schwab@redhat.com>
84252
84253 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84254 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84255
84256 2010-09-21 Ulrich Drepper <drepper@redhat.com>
84257
84258 [BZ #12037]
84259 * posix/unistd.h: Undo change of feature selection for ftruncate from
84260 2010-01-11.
84261
84262 2010-09-20 Ulrich Drepper <drepper@redhat.com>
84263
84264 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84265 detection.
84266
84267 2010-09-20 Andreas Schwab <schwab@redhat.com>
84268
84269 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84270 fanotify_mark.
84271 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84272
84273 2010-09-14 Andreas Schwab <schwab@redhat.com>
84274
84275 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84276 variables after CHECK_SP call.
84277 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84278
84279 2010-09-13 Andreas Schwab <schwab@redhat.com>
84280 Ulrich Drepper <drepper@redhat.com>
84281
84282 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84283 re-relocationg ld.so.
84284 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84285 _dl_init_paths call.
84286 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
84287 here anymore.
84288
84289 2010-09-14 Ulrich Drepper <drepper@redhat.com>
84290
84291 * resolv/res_init.c (__res_vinit): Count the default server we added.
84292
84293 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
84294 Ulrich Drepper <drepper@redhat.com>
84295
84296 [BZ #11968]
84297 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84298 (____longjmp_chk): Use %ebx for saving value across system call.
84299 Add unwind info.
84300
84301 2010-09-06 Andreas Schwab <schwab@redhat.com>
84302
84303 * manual/Makefile: Don't mix pattern rules with normal rules.
84304
84305 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
84306
84307 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84308 operation.
84309 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84310 * libio/iofopncook.c (_IO_cookie_init): Likewise.
84311 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84312 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84313 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84314 Likewise.
84315
84316 2010-09-04 Ulrich Drepper <drepper@redhat.com>
84317
84318 [BZ #11979]
84319 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84320 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84321
84322 2010-09-02 Ulrich Drepper <drepper@redhat.com>
84323
84324 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84325 * sysdeps/x86_64/addmul_1.S: Likewise.
84326 * sysdeps/x86_64/lshift.S: Likewise.
84327 * sysdeps/x86_64/mul_1.S: Likewise.
84328 * sysdeps/x86_64/rshift.S: Likewise.
84329 * sysdeps/x86_64/sub_n.S: Likewise.
84330 * sysdeps/x86_64/submul_1.S: Likewise.
84331
84332 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
84333
84334 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84335 Define __sched_param instead of SCHED_* and sched_param when
84336 <bits/sched.h> is included with __need_schedparam defined.
84337 * bits/sched.h [__need_schedparam]
84338 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84339 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84340 (__defined_schedparam): Define to 1.
84341 (__sched_param): New structure, identical to sched_param.
84342 (__need_schedparam): Undefine.
84343
84344 2010-08-31 Mike Frysinger <vapier@gentoo.org>
84345
84346 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84347 (epoll_create1): Declare.
84348
84349 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84350
84351 2010-08-31 Andreas Schwab <schwab@redhat.com>
84352
84353 [BZ #7066]
84354 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84355 shifting retval into place.
84356
84357 2010-09-01 Ulrich Drepper <drepper@redhat.com>
84358
84359 * nis/rpcsvc/nis.h: Update copyright notice.
84360 * nis/rpcsvc/nis.x: Likewise.
84361 * nis/rpcsvc/nis_callback.h: Likewise.
84362 * nis/rpcsvc/nis_callback.x: Likewise.
84363 * nis/rpcsvc/nis_object.x: Likewise.
84364 * nis/rpcsvc/nis_tags.h: Likewise.
84365 * nis/rpcsvc/yp.h: Likewise.
84366 * nis/rpcsvc/yp.x: Likewise.
84367 * nis/rpcsvc/ypupd.h: Likewise.
84368 * nis/yp_xdr.c: Likewise.
84369 * nis/ypupdate_xdr.c: Likewise.
84370
84371 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
84372 mainly the body of pmap_getport. Add parameters to specify timeouts.
84373 (pmap_getport): Use __libc_rpc_getport.
84374 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84375 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84376 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84377
84378 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
84379
84380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84381 fanotify_mark.
84382
84383 2010-08-27 Roland McGrath <roland@redhat.com>
84384
84385 * sysdeps/i386/i686/multiarch/Makefile
84386 (CFLAGS-varshift.c): New variable.
84387
84388 2010-08-27 Ulrich Drepper <drepper@redhat.com>
84389
84390 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84391 * sysdeps/i386/i686/multiarch/varshift.c: New file.
84392
84393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84394
84395 * sysdeps/x86_64/strlen.S: Minimal code improvement.
84396
84397 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
84398
84399 * sysdeps/x86_64/strlen.S: Unroll the loop.
84400 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84401 strlen-sse2 strlen-sse2-bsf.
84402 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84403 __strlen_no_bsf if bit_Slow_BSF is set.
84404 (__strlen_sse42): Removed.
84405 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84406 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84407
84408 2010-08-25 Roland McGrath <roland@redhat.com>
84409
84410 * sysdeps/x86_64/multiarch/varshift.S: File removed.
84411 * sysdeps/x86_64/multiarch/varshift.c: New file.
84412 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84413 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84414 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84415 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84416
84417 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
84418
84419 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84420 strlen-sse2 strlen-sse2-bsf.
84421 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84422 __strlen_sse2_bsf if bit_Slow_BSF is unset.
84423 (__strlen_sse2): Removed.
84424 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84425 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84427 bit_Slow_BSF for Atom.
84428 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84429 (index_Slow_BSF): Define.
84430 (HAS_SLOW_BSF): Define.
84431
84432 2010-08-25 Ulrich Drepper <drepper@redhat.com>
84433
84434 [BZ #10851]
84435 * resolv/res_init.c (__res_vinit): When no server address at all
84436 is given default to loopback.
84437
84438 2010-08-24 Roland McGrath <roland@redhat.com>
84439
84440 * configure.in: Remove config-name.h generation.
84441 * configure: Regenerated.
84442 * config-name.in: File removed.
84443 * scripts/config-uname.sh: New file.
84444 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84445 ($(objdir)config-name.h): New target.
84446
84447 * sunrpc/rpc_parse.h: Avoid nested comment.
84448
84449 2010-08-24 Richard Henderson <rth@redhat.com>
84450 Ulrich Drepper <drepper@redhat.com>
84451 H.J. Lu <hongjiu.lu@intel.com>
84452
84453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84455 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84456 Replace _mm_srli_si128 with __m128i_shift_right. Replace
84457 _mm_alignr_epi8 with _mm_loadu_si128.
84458 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84459 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84460 (__m128i_shift_right): Removed.
84461 * sysdeps/i386/i686/multiarch/varshift.h: New file.
84462 * sysdeps/i386/i686/multiarch/varshift.S: New file.
84463 * sysdeps/x86_64/multiarch/varshift.h: New file.
84464 * sysdeps/x86_64/multiarch/varshift.S: New file.
84465
84466 2010-08-21 Mike Frysinger <vapier@gentoo.org>
84467
84468 * configure.in: Move assembler checks to before sysdep dir checking.
84469
84470 2010-08-20 Petr Baudis <pasky@suse.cz>
84471
84472 * LICENSES: Sync the sunrpc license.
84473
84474 2010-08-19 Ulrich Drepper <drepper@redhat.com>
84475
84476 * sunrpc/auth_des.c: Update copyright notice once again.
84477 * sunrpc/auth_none.c: Likewise.
84478 * sunrpc/auth_unix.c: Likewise.
84479 * sunrpc/authdes_prot.c: Likewise.
84480 * sunrpc/authuxprot.c: Likewise.
84481 * sunrpc/bindrsvprt.c: Likewise.
84482 * sunrpc/clnt_gen.c: Likewise.
84483 * sunrpc/clnt_perr.c: Likewise.
84484 * sunrpc/clnt_raw.c: Likewise.
84485 * sunrpc/clnt_simp.c: Likewise.
84486 * sunrpc/clnt_tcp.c: Likewise.
84487 * sunrpc/clnt_udp.c: Likewise.
84488 * sunrpc/clnt_unix.c: Likewise.
84489 * sunrpc/des_crypt.c: Likewise.
84490 * sunrpc/des_soft.c: Likewise.
84491 * sunrpc/get_myaddr.c: Likewise.
84492 * sunrpc/getrpcport.c: Likewise.
84493 * sunrpc/key_call.c: Likewise.
84494 * sunrpc/key_prot.c: Likewise.
84495 * sunrpc/openchild.c: Likewise.
84496 * sunrpc/pm_getmaps.c: Likewise.
84497 * sunrpc/pm_getport.c: Likewise.
84498 * sunrpc/pmap_clnt.c: Likewise.
84499 * sunrpc/pmap_prot.c: Likewise.
84500 * sunrpc/pmap_prot2.c: Likewise.
84501 * sunrpc/pmap_rmt.c: Likewise.
84502 * sunrpc/rpc/auth.h: Likewise.
84503 * sunrpc/rpc/auth_unix.h: Likewise.
84504 * sunrpc/rpc/clnt.h: Likewise.
84505 * sunrpc/rpc/des_crypt.h: Likewise.
84506 * sunrpc/rpc/key_prot.h: Likewise.
84507 * sunrpc/rpc/netdb.h: Likewise.
84508 * sunrpc/rpc/pmap_clnt.h: Likewise.
84509 * sunrpc/rpc/pmap_prot.h: Likewise.
84510 * sunrpc/rpc/pmap_rmt.h: Likewise.
84511 * sunrpc/rpc/rpc.h: Likewise.
84512 * sunrpc/rpc/rpc_des.h: Likewise.
84513 * sunrpc/rpc/rpc_msg.h: Likewise.
84514 * sunrpc/rpc/svc.h: Likewise.
84515 * sunrpc/rpc/svc_auth.h: Likewise.
84516 * sunrpc/rpc/types.h: Likewise.
84517 * sunrpc/rpc/xdr.h: Likewise.
84518 * sunrpc/rpc_clntout.c: Likewise.
84519 * sunrpc/rpc_cmsg.c: Likewise.
84520 * sunrpc/rpc_common.c: Likewise.
84521 * sunrpc/rpc_cout.c: Likewise.
84522 * sunrpc/rpc_dtable.c: Likewise.
84523 * sunrpc/rpc_hout.c: Likewise.
84524 * sunrpc/rpc_main.c: Likewise.
84525 * sunrpc/rpc_parse.c: Likewise.
84526 * sunrpc/rpc_parse.h: Likewise.
84527 * sunrpc/rpc_prot.c: Likewise.
84528 * sunrpc/rpc_sample.c: Likewise.
84529 * sunrpc/rpc_scan.c: Likewise.
84530 * sunrpc/rpc_scan.h: Likewise.
84531 * sunrpc/rpc_svcout.c: Likewise.
84532 * sunrpc/rpc_tblout.c: Likewise.
84533 * sunrpc/rpc_util.c: Likewise.
84534 * sunrpc/rpc_util.h: Likewise.
84535 * sunrpc/rpcinfo.c: Likewise.
84536 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84537 * sunrpc/rpcsvc/key_prot.x: Likewise.
84538 * sunrpc/rpcsvc/klm_prot.x: Likewise.
84539 * sunrpc/rpcsvc/mount.x: Likewise.
84540 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84541 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84542 * sunrpc/rpcsvc/rex.x: Likewise.
84543 * sunrpc/rpcsvc/rstat.x: Likewise.
84544 * sunrpc/rpcsvc/rusers.x: Likewise.
84545 * sunrpc/rpcsvc/sm_inter.x: Likewise.
84546 * sunrpc/rpcsvc/spray.x: Likewise.
84547 * sunrpc/rpcsvc/yppasswd.x: Likewise.
84548 * sunrpc/rtime.c: Likewise.
84549 * sunrpc/svc.c: Likewise.
84550 * sunrpc/svc_auth.c: Likewise.
84551 * sunrpc/svc_authux.c: Likewise.
84552 * sunrpc/svc_raw.c: Likewise.
84553 * sunrpc/svc_run.c: Likewise.
84554 * sunrpc/svc_simple.c: Likewise.
84555 * sunrpc/svc_tcp.c: Likewise.
84556 * sunrpc/svc_udp.c: Likewise.
84557 * sunrpc/svc_unix.c: Likewise.
84558 * sunrpc/svcauth_des.c: Likewise.
84559 * sunrpc/xcrypt.c: Likewise.
84560 * sunrpc/xdr.c: Likewise.
84561 * sunrpc/xdr_array.c: Likewise.
84562 * sunrpc/xdr_float.c: Likewise.
84563 * sunrpc/xdr_mem.c: Likewise.
84564 * sunrpc/xdr_rec.c: Likewise.
84565 * sunrpc/xdr_ref.c: Likewise.
84566 * sunrpc/xdr_sizeof.c: Likewise.
84567 * sunrpc/xdr_stdio.c: Likewise.
84568
84569 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84570 handling.
84571
84572 2010-08-19 Andreas Schwab <schwab@redhat.com>
84573
84574 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84575
84576 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
84577
84578 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84579 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84580 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84581 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84582 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84583 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84584 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84585 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84586 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84587 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84588 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84589 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84590 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84591 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84592
84593 2010-07-26 Anton Blanchard <anton@samba.org>
84594
84595 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84596 * malloc/arena.c (heap_trim): Likewise.
84597
84598 2010-08-16 Ulrich Drepper <drepper@redhat.com>
84599
84600 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84601 here. Not...
84602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84603 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84604
84605 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
84606
84607 * sysdeps/i386/elf/Makefile: New file.
84608
84609 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84610
84611 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84612 from fanotify_init.
84613 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84614 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84615
84616 2010-08-15 Ulrich Drepper <drepper@redhat.com>
84617
84618 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84619 of strncasecmp_l.
84620 * sysdeps/multiarch/strcmp.S: Likewise.
84621
84622 2010-08-14 Ulrich Drepper <drepper@redhat.com>
84623
84624 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84625 strncase_l-nonascii.
84626 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84627 Add strncase_l-ssse3.
84628 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84629 * sysdeps/x86_64/strcmp.S: Likewise.
84630 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84631 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84632 * sysdeps/x86_64/strncase.S: New file.
84633 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84634 * sysdeps/x86_64/strncase_l.S: New file.
84635 * string/Makefile (strop-tests): Add strncasecmp.
84636 * string/test-strncasecmp.c: New file.
84637
84638 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84639 warning.
84640
84641 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84642 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84643
84644 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
84645
84646 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84647
84648 2010-08-12 Ulrich Drepper <drepper@redhat.com>
84649
84650 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84651 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84652 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84653
84654 2010-05-01 Alan Modra <amodra@gmail.com>
84655
84656 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84657 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84658 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84659 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84660 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84661 tidying. Don't tail-call __sigjmp_save for static lib.
84662 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84663 save location.
84664 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84665 (CALL_MCOUNT): Add eh info, and nop after bl.
84666 (TAIL_CALL_SYSCALL_ERROR): New macro.
84667 (PSEUDO_RET): Use it.
84668 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84669 Correct save location of integer regs and cr.
84670 (_dl_profile_resolve): Correct cr save location. Delete nops
84671 after bl when SHARED. Reduce cfi size a little by better
84672 placement of cfi directives.
84673 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84674 make a stack frame. Instead use parm save area as a temp.
84675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84676 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
84677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84678 Don't make a stack frame for parent, use parm save area.
84679 Increase child stack frame to 112 bytes. Don't save unused reg,
84680 and adjust reg usage. Set up cfi on error recovery and
84681 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84683 (__makecontext): Add dummy nop after jump to exit.
84684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84685 Use correct parm save area and cr save, reduce stack frame.
84686 Correct cfi for possible PSEUDO_RET frame setup.
84687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84688 Branch to local label emitted by PSEUDO_RET rather than
84689 __syscall_error.
84690
84691 2010-08-12 Andreas Schwab <schwab@redhat.com>
84692
84693 [BZ #11904]
84694 * locale/programs/locale.c (print_assignment): New function.
84695 (show_locale_vars): Use it.
84696
84697 2010-08-11 Ulrich Drepper <drepper@redhat.com>
84698
84699 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84700 field.
84701 (struct statfs64): Likewise.
84702 (_STATFS_F_FLAGS): Define.
84703 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84704 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84705 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84706 (ST_VALID): Define locally.
84707 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84708 __statvfs_getflags, use the provided value.
84709 * sysdeps/unix/sysv/linux/kernel-features.h: Define
84710 __ASSUME_STATFS_F_FLAGS.
84711
84712 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84713
84714 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84715 Add sys/fanotify.h.
84716 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84717 fanotify_mask for GLIBC_2.13.
84718 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84719 fanotify_init and fanotify_mark.
84720 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84721 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84722
84723 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84724 Add prlimit.
84725 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84726 prlimit64 for GLIBC_2.13.
84727 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84728 prlimit64.
84729 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84730 syscall.
84731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84732 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84733 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84734 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84735 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
84736 add prlimit alias.
84737 * sysdeps/unix/sysv/linux/prlimit.c: New file.
84738
84739 [BZ #11903]
84740 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84741 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84742
84743 * nss/Makefile: Add rules to build and run tst-nss-test1.
84744 * shlib-versions: Add entry for libnss_test1.
84745 * nss/nss_test1.c: New file.
84746 * nss/tst-nss-test1.c: New file.
84747
84748 * nss/nsswitch.c (__nss_database_custom): Define new variable.
84749 (__nss_configure_lookup): Set appropriate entry in
84750 __nss_configure_lookup to true.
84751 * nss/nsswitch.h: Define enum with indeces of databases in
84752 databases and __nss_database_custom arrays. Declare
84753 __nss_database_custom.
84754 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84755 to avoid using nscd when custom rules are installed.
84756 * nss/getXXbyYY_r.c: Likewise.
84757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84758
84759 * nss/nss_files/files-parse.c: Whitespace fixes.
84760
84761 2010-08-09 Ulrich Drepper <drepper@redhat.com>
84762
84763 [BZ #11883]
84764 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84765 * posix/fnmatch_loop.c: Likewise.
84766
84767 2010-07-17 Andi Kleen <ak@linux.intel.com>
84768
84769 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84770 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84771 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84772 * Versions.def [GLIBC_2.13]: Add.
84773
84774 2010-08-06 Ulrich Drepper <drepper@redhat.com>
84775
84776 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84777 Also fail if tpwd after pwuid call is NULL.
84778
84779 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
84780
84781 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84782 when converting to ms.
84783
84784 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
84785
84786 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84787 EOPNOTSUPP errors with ENOTTY.
84788 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84789 EOPNOTSUPP errors with ENOTTY.
84790
84791 2010-07-31 Ulrich Drepper <drepper@redhat.com>
84792
84793 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84794 Add strcasecmp_l-ssse3.
84795 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84796 strcasecmp.
84797 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84798 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84799 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84800
84801 2010-07-30 Ulrich Drepper <drepper@redhat.com>
84802
84803 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84804
84805 * string/Makefile (strop-tests): Add strcasecmp.
84806 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84807 strcasecmp_l-nonascii.
84808 (gen-as-const-headers): Add locale-defines.sym.
84809 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84810 * sysdeps/x86_64/strcasecmp.S: New file.
84811 * sysdeps/x86_64/strcasecmp_l.S: New file.
84812 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84813 * sysdeps/x86_64/locale-defines.sym: New file.
84814 * string/test-strcasecmp.c: New file.
84815
84816 * string/test-strcasestr.c: Test both ends of the range of characters.
84817 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84818
84819 2010-07-29 Roland McGrath <roland@redhat.com>
84820
84821 [BZ #11856]
84822 * manual/locale.texi (Yes-or-No Questions): Fix example code.
84823
84824 2010-07-27 Ulrich Drepper <drepper@redhat.com>
84825
84826 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84827 for ld.so.
84828
84829 2010-07-27 Andreas Schwab <schwab@redhat.com>
84830
84831 * manual/memory.texi (Malloc Tunable Parameters): Document
84832 M_PERTURB.
84833
84834 2010-07-26 Roland McGrath <roland@redhat.com>
84835
84836 [BZ #11840]
84837 * configure.in (-fgnu89-inline check): Set and substitute
84838 gnu89_inline, not libc_cv_gnu89_inline.
84839 * configure: Regenerated.
84840 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84841
84842 2010-07-26 Ulrich Drepper <drepper@redhat.com>
84843
84844 * string/test-strnlen.c: New file.
84845 * string/Makefile (strop-tests): Add strnlen.
84846 * string/tester.c (test_strnlen): Add a few more test cases.
84847 * string/tst-strlen.c: Better error reporting.
84848
84849 * sysdeps/x86_64/strnlen.S: New file.
84850
84851 2010-07-24 Ulrich Drepper <drepper@redhat.com>
84852
84853 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84854 lower-latency instructions.
84855
84856 2010-07-23 Ulrich Drepper <drepper@redhat.com>
84857
84858 * string/test-strcasestr.c: New file.
84859 * string/test-strstr.c: New file.
84860 * string/Makefile (strop-tests): Add strstr and strcasestr.
84861 * string/str-two-way.h: Don't undefine MAX.
84862 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84863
84864 2010-07-21 Andreas Schwab <schwab@redhat.com>
84865
84866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84867 strcasestr-nonascii.
84868 (CFLAGS-strcasestr-nonascii.c): Define.
84869 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84870 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84871 Remove unused attribute.
84872
84873 2010-07-20 Roland McGrath <roland@redhat.com>
84874
84875 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84876 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
84877 ld.so.cache was broken. With it, there is no way to disable dsocaps
84878 like LD_HWCAP_MASK can disable hwcaps.
84879
84880 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
84881
84882 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84883
84884 2010-07-16 Ulrich Drepper <drepper@redhat.com>
84885
84886 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84887 call in strcasestr.
84888 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84889 __strcasestr_sse42_nonascii.
84890 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84891 strcasestr-nonascii.c.
84892 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84893
84894 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
84895
84896 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84897 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84899 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84900
84901 2010-07-09 Ulrich Drepper <drepper@redhat.com>
84902
84903 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84904 fcntl.
84905
84906 2010-07-06 Andreas Schwab <schwab@redhat.com>
84907
84908 [BZ #11577]
84909 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84910 dl_signal_cerror.
84911
84912 2010-07-06 Ulrich Drepper <drepper@redhat.com>
84913
84914 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
84915 _PC_PIPE_BUF using F_GETPIPE_SZ.
84916
84917 2010-07-05 Roland McGrath <roland@redhat.com>
84918
84919 * manual/arith.texi (Rounding Functions): Fix rint description
84920 implicit in round description.
84921
84922 2010-07-02 Ulrich Drepper <drepper@redhat.com>
84923
84924 * elf/Makefile: Fix linking for a few tests to make recent linker
84925 happy.
84926
84927 2010-06-30 Andreas Schwab <schwab@redhat.com>
84928
84929 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84930 $(common-objpfx)libc_nonshared.a.
84931
84932 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
84933
84934 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
84935 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
84936 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84937 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84938 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
84939 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
84940 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84941 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
84943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
84944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
84945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
84947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
84949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
84950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
84951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
84952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
84954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
84956 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
84957 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
84958 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
84959 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
84960 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
84961 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
84962 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
84963 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
84964 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
84965 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
84966 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
84967 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
84968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
84969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
84970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
84971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
84972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
84973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
84974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
84975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
84976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
84977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
84978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
84979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
84980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
84981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
84982
84983 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
84984
84985 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
84986 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
84987 * string/memmove.c (memmove): Renamed to ...
84988 (MEMMOVE): ...this. Default to memmove.
84989 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
84990 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
84991 (END_CHK): Define.
84992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84993 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
84994 mempcpy-ssse3-back memmove-ssse3-back.
84995 * sysdeps/x86_64/multiarch/bcopy.S: New file .
84996 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
84997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
84998 * sysdeps/x86_64/multiarch/memcpy.S: New file.
84999 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85000 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85001 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85002 * sysdeps/x86_64/multiarch/memmove.c: New file.
85003 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85004 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85005 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85006 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85007 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85008 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85009 Define.
85010 (index_Fast_Copy_Backward): Define.
85011 (HAS_ARCH_FEATURE): Define.
85012 (HAS_FAST_REP_STRING): Define.
85013 (HAS_FAST_COPY_BACKWARD): Define.
85014
85015 2010-06-21 Andreas Schwab <schwab@redhat.com>
85016
85017 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85018 Restore proper fallback handling.
85019
85020 2010-06-19 Ulrich Drepper <drepper@redhat.com>
85021
85022 [BZ #11701]
85023 * posix/group_member.c (__group_member): Correct checking loop.
85024
85025 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85026 OOM in getpwuid_r correctly. Return error number when the caller
85027 should return, otherwise -1.
85028 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85029 call returning > 0 value.
85030 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85031
85032 2010-06-07 Andreas Schwab <schwab@redhat.com>
85033
85034 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85035 libc_nonshared.a from targets in modules-names.
85036
85037 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
85038
85039 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85040 requires it.
85041
85042 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
85043
85044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85045 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85048
85049 2010-06-02 Andreas Schwab <schwab@redhat.com>
85050
85051 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85052
85053 2010-06-14 Ulrich Drepper <drepper@redhat.com>
85054
85055 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85056 and F_GETPIPE_SZ.
85057 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85058 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85061 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85062 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85063
85064 2010-06-14 Roland McGrath <roland@redhat.com>
85065
85066 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85067
85068 2010-06-07 Jakub Jelinek <jakub@redhat.com>
85069
85070 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85071 __REDIRECT followed by __THROW.
85072 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85073 * posix/getopt.h (getopt): Likewise.
85074
85075 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
85076
85077 * hurd/lookup-at.c (__file_name_lookup_at): Accept
85078 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
85079 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85080 in AT_FLAGS.
85081 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85082 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85083
85084 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
85085
85086 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85087
85088 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
85089
85090 [BZ #11640]
85091 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85092 Properly check family and model.
85093
85094 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
85095
85096 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85097
85098 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
85099
85100 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85101
85102 2010-05-21 Ulrich Drepper <drepper@redhat.com>
85103
85104 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85105 symbol reference.
85106
85107 2010-05-19 Andreas Schwab <schwab@redhat.com>
85108
85109 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85110 symbol reference.
85111
85112 2010-05-21 Andreas Schwab <schwab@redhat.com>
85113
85114 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85115 and internal_recvmmsg.
85116 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85117 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85118 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85119 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85120
85121 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85122 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85123 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85124
85125 2010-05-20 Andreas Schwab <schwab@redhat.com>
85126
85127 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85128
85129 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
85130
85131 POWER7 optimizations.
85132 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85133 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85134
85135 2010-05-19 Ulrich Drepper <drepper@redhat.com>
85136
85137 * version.h: Update for 2.13 development version.
85138
85139 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
85140
85141 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85142 exceptions. Return 0.
85143
85144 2010-05-07 Roland McGrath <roland@redhat.com>
85145
85146 * elf/ldconfig.c (main): Add a const.
85147
85148 2010-05-06 Ulrich Drepper <drepper@redhat.com>
85149
85150 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85151 (args_options): Add no-idn option.
85152 (ahosts_keys_int): Add idn_flags to ai_flags.
85153 (parse_option): Handle 'i' option to clear idn_flags.
85154
85155 * malloc/malloc.c (_int_free): Possible race in the most recently
85156 added check. Only act on the data if no current modification
85157 happened.
85158
85159 See ChangeLog.17 for earlier changes.